PricingGitHubDashboard

Aptos

/v1/accounts/{address}/events/{event_handle}/{field_name}8 credits

Get events by event handle

Network: apt

Parameters

NameTypeDescription
addressstringPath. Account address the events were emitted to, with or without the 0x prefix.
event_handlestringPath. Struct tag holding the event handle, e.g. 0x1::account::Account.
field_namestringPath. Name of the event handle field, e.g. withdraw_events.
startstring (u64)Query. Starting event sequence number. Defaults to the most recent events. (optional)
limitintegerQuery. Max number of events to return. Defaults to the node page size. (optional)

Returns

Type

object[]

Array of events, each with version, guid (creation_number, account_address), sequence_number, type (Move type) and data (JSON payload of the event).

Code examples

curl 'https://holy-burned-sky-apt-mainnet.rpcnode.dev/7c9e6679-7425-40de-944b-e07fc1f90ae7/v1/accounts/{address}/events/{event_handle}/{field_name}'