TarifsGitHubTableau de bord

Aptos

/v1/accounts/{address}/events/{event_handle}/{field_name}30 crédits

Get events by event handle

Réseau: apt

Paramètres

NomTypeDescription
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. (facultatif)
limitintegerQuery. Max number of events to return. Defaults to the node page size. (facultatif)

Valeur renvoyée

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).

Exemples de code

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