文档
定价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}'