요금GitHub대시보드

Aptos

/v1/accounts/{address}/events/{event_handle}/{field_name}30 크레딧

Get events by event handle

네트워크: apt

매개변수

이름타입설명
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. (선택)
limitintegerQuery. Max number of events to return. Defaults to the node page size. (선택)

반환값

타입

object[]

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

코드 예제

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