Skip to content

Get public transitions by address and block range

Returns the transitions for a given address within a certain block range. These are only public transitions. The latest (according to block timestamp) transitions are returned first. We limit the number of returned transitions to a maximum of 1000 per call.

ENDPOINT
GET https://aleo-mainnet.obscura.network/v1/<API_KEY>/transitions/address/{address}/blocks?start={start_height}&end={end_height}&limit={limit}
ENDPOINT
GET https://aleo-testnetbeta.obscura.network/v1/<API_KEY>/transitions/address/{address}/blocks?start={start_height}&end={end_height}&limit={limit}

Arguments

Parameter Type Required Description
address string Yes The aleo address of the transitions.
start_height u32 Yes The starting block height of the requested transitions.
end_height u32 Yes The ending block height of the requested transitions, where end_height is inclusive.
limit number No Optional parameter which if set limits the number of items returned.

Response

Parameter Type Description
result Array<{address: string, transition_id: string, transition: Transition, transaction_id: string, block_height: number, timestamp: number}> The requested transitions.