Skip to content

Get transitions by program id and block heights list

Returns the transitions for the program with the given program id in the given block heights list. Only valid heights will return transitions.

ENDPOINT
GET https://aleo-mainnet.obscura.network/v1/<API_KEY>/program/{programID}/transitions/blockHeights
ENDPOINT
GET https://aleo-testnetbeta.obscura.network/v1/<API_KEY>/program/{programID}/transitions/blockHeights

Arguments

Parameter Type Required Description
programId string Yes The program id of the requested transitions

Request Body

Type Required Description
Array Yes The block heights of the requested transitions. Must be of maximum length 1000 and consist of non-negative integers

Response

Parameter Type Description
result Array<Transition> The requested transitions