Skip to content

Get block/transaction/transition counts in a date range

Returns the total number of blocks, transactions and transitions for the given date range.

ENDPOINT
GET https://aleo-mainnet.obscura.network/v1/<API_KEY>/counter/total?start_date={start_date}&end_date={end_date}
ENDPOINT
GET https://aleo-testnetbeta.obscura.network/v1/<API_KEY>/counter/total?start_date={start_date}&end_date={end_date}

Query parameters

Parameter Type Required Description
start_date Date Yes The starting date of the requested transactions. Date format: YYYY-MM-DD
end_date Date Yes The ending date of the requested transactions. Date format: YYYY-MM-DD

Response

Parameter Type Description
result { blocks: number, transactions: number, transitions: number } The number of blocks, transactions and transitions