Aptos
/v1/accounts/{address}/events/{event_handle}/{field_name}30 额度
Get events by event handle
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| address | string | Path. Account address the events were emitted to, with or without the 0x prefix. |
| event_handle | string | Path. Struct tag holding the event handle, e.g. 0x1::account::Account. |
| field_name | string | Path. Name of the event handle field, e.g. withdraw_events. |
| start | string (u64) | Query. Starting event sequence number. Defaults to the most recent events. (可选) |
| limit | integer | Query. 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}'