Node API
Get events by creation number
Event types are globally identifiable by an account address
and
monotonically increasing creation_number
, one per event type emitted
to the given account. This API returns events corresponding to that
that event type.
Path Parameters
addressstring
Hex-encoded 32 byte Aptos account, with or without a 0x
prefix, for
which events are queried. This refers to the account that events were
emitted to, not the account hosting the move module that emits that
event type.
Format
hex
creation_numberstring
Creation number corresponding to the event stream originating from the given account.
Format
uint64
Query Parameters
start?string
Starting sequence number of events.
If unspecified, by default will retrieve the most recent events
Format
uint64
limit?integer
Max number of events to retrieve.
If unspecified, defaults to default page size
Format
uint16
Response Body
curl -X GET "https://full.mainnet.movementinfra.xyz/v1/accounts/0x88fbd33f54e1126269769780feb24480428179f552e2313fbe571b72e62a1ca1 /events/32425224034?start=32425224034&limit=0"
[
{
"version": "32425224034",
"guid": {
"creation_number": "32425224034",
"account_address": "0x88fbd33f54e1126269769780feb24480428179f552e2313fbe571b72e62a1ca1 "
},
"sequence_number": "32425224034",
"type": "string",
"data": null
}
]
{
"message": "string",
"error_code": "account_not_found",
"vm_error_code": 0
}
{
"message": "string",
"error_code": "account_not_found",
"vm_error_code": 0
}
{
"message": "string",
"error_code": "account_not_found",
"vm_error_code": 0
}
{
"message": "string",
"error_code": "account_not_found",
"vm_error_code": 0
}
{
"message": "string",
"error_code": "account_not_found",
"vm_error_code": 0
}
{
"message": "string",
"error_code": "account_not_found",
"vm_error_code": 0
}