Skip to content

Get transitions by program id and timestamps

ENDPOINT
GET https://aleo-testnetbeta.obscura.network/v1/<API_KEY>/program/{programID}/transitions/timestamps?start={startTimestamp}&end={endTimestamp}

Returns the transitions that involve the program for the given program id within the given timestamps range. The provided timestamp difference cannot be over 24 hours.

Arguments

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

Query Parameters

Parameter Type Required Description
startTimestamp number Yes The starting timestamp of the requested transitions. Should be a nonnegative integer.
endTimestamp number Yes The ending timestamp of the requested transitions. Should be a nonnegative integer and greater or equal than startTimestamp. endTimestamp is inclusive.

Response

Parameter Type Description
result Array<[Transition]>(https://developer.aleo.org/concepts/transitions) The array of transitions for the given program id in the given timestamps range