PreciosGitHubPanel

Aptos

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

Get events by event handle

Red: apt

Parámetros

NombreTipoDescripción
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. (opcional)
limitintegerQuery. Max number of events to return. Defaults to the node page size. (opcional)

Valor devuelto

Tipo

object[]

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

Ejemplos de código

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