Events
Get events by event key
This endpoint allows you to get a list of events of a specific type as identified by its event key, which is a globally unique ID.
get/events/{event_key}
Path parameters
event_keystring hex required
Event key is a global index for an event stream.
It is hex-encoded BCS bytes of EventHandle guid field value, which is a combination of a uint64 creation number and account address (without trimming leading zeros).
For example, event key 0x000000000000000088fbd33f54e1126269769780feb24480428179f552e2313fbe571b72e62a1ca1 is combined by the following 2 parts:
- 0000000000000000: uint64 representation of 0.
- 88fbd33f54e1126269769780feb24480428179f552e2313fbe571b72e62a1ca1: 32 bytes of account address.
Query parameters
startstring uint64
A string containing a 64-bit unsigned integer.
We represent u64 values as a string to ensure compatability with languages such as JavaScript that do not parse u64s in JSON natively.
Example:32425224034
limitinteger
Response
Example response
[
{
"version": "32425224034",
"sequence_number": "32425224034"
}
]