/v1/accounts/{account_hash}/events/{event_handle}/{field_name} - Aptos
Example code for the /v1/accounts/{account_hash}/events/{event_handle}/{field_name} json-rpc method. Сomplete guide on how to use /v1/accounts/{account_hash}/events/{event_handle}/{field_name} json-rp
Parameters
limit
-
Maximum number of events to retrieve. Gets default page size if not provided.
start
-
Optional starting sequence number of events. Defaults to the most recent events.
Request
curl --location --request GET 'https://go.getblock.io/<ACCESS-TOKEN>/v1/accounts/0xc20ea5a196c81d8d7aff814aa37f8a5823acffbc4193efd3b2aafc9ef2803255/events/0x1::coin::CoinStore<0x1::aptos_coin::AptosCoin>/withdraw_events?limit=10' \
--header 'Content-Type: application/json'
Response
[
{
"data": {
"amount": "0"
},
"guid": {
"account_address": "0xc20ea5a196c81d8d7aff814aa37f8a5823acffbc4193efd3b2aafc9ef2803255",
"creation_number": "3"
},
"sequence_number": "0",
"type": "0x1::coin::WithdrawEvent",
"version": "129525896"
}
]
Previous/v1/accounts/{account_hash}/events/{creation_number} - AptosNext/v1/accounts/{account_hash}/module/{module_name} - Aptos
Last updated