Current count

Get current value of the events counter for a contract

GEThttps://alephium.nownodes.io/events/contract/{contractAddress}/current-count
Path parameters
contractAddress*string (address)
Response

Ok

Body
integer (int32)
Request
const response = await fetch('https://alephium.nownodes.io/events/contract/{contractAddress}/current-count', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
0