Skip to content

Get transitions by program Id

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

Returns the transitions for the program with the given program id. Optionally, pass the latest query parameter to get the x latest (based on timestamp) transitions for that program.

Arguments

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

Query parameters

Parameter Type Required Description
latest number No Get the x latest (based on timestamp) transitions for the given program. Should be a positive integer.

Response

Parameter Type Description
result Array<Transition> The requested transitions