Skip to main content

/v1/accounts/{address}/events/{event_handle}/{field_name} REST API Endpoint

Retrieves events emitted to the given account matching that event type.

Updated on
Oct 4, 2023

/v1/accounts/{address}/events/{event_handle}/{field_name} REST API Endpoint

Path Parameters

address
string
REQUIRED
The address associated with the event. This refers to the account that events were emitted to, not the account hosting the move module that emits that event type
event_handle
string
REQUIRED
The unique handle associated with the event
field_name
string
REQUIRED
The name of the field used for filtering events when retrieving events by event handle

Query Parameters

limit
integer
The maximum number of events to be retrieved
start
string
The starting index of the events to be retrieved

Returns

version
The version number of the event to be retrieved
guid
The globally unique identifier (GUID) of the event
creation_number
The creation number assigned to the event
account_address
The address associated with the account for which events are being retrieved
sequence_number
The sequence number associated with the event
type
The type of the event
data
The additional data associated with the event
Request
1
curl -X 'GET' 'https://docs-demo.aptos-mainnet.quiknode.pro/v1/accounts/0x190d44266241744264b964a37b8f09863167a12d3e70cda39376cfb4e3561e12/events/0x1::account::Account/coin_register_events' \
2
-H 'Content-Type: application/json'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free