Get events by event handle
This API extracts event key from the account resource identified by the event_handle_struct and field_name, then returns events identified by the event key.
Path parameters
Hex encoded 32 byte Aptos account address
String representation of a MoveStructTag (on-chain Move struct type). This exists so you can specify MoveStructTags as path / query parameters, e.g. for get_events_by_event_handle.
It is a combination of:
- move_module_address, module_name and struct_name, all joined by ::
- struct generic type parameters joined by ,
Examples:
- 0x1::coin::CoinStore<0x1::aptos_coin::AptosCoin>
- 0x1::account::Account
Note:
- Empty chars should be ignored when comparing 2 struct tag ids.
- When used in an URL path, should be encoded by url-encoding (AKA percent-encoding).
See doc for more details.
Query parameters
A string containing a 64-bit unsigned integer.
We represent u64 values as a string to ensure compatability with languages such as JavaScript that do not parse u64s in JSON natively.
Response
Example response
[
{
"version": "32425224034",
"sequence_number": "32425224034"
}
]Changes
Changed in 3 of the 6 revisions of this API.41522
- ○
added the required property
items/versionto the response with the200statusresponse-required-property-added
- ○
- ●
added the new
bcs_serialization_errorenum value to theerror_coderesponse property for the response status400response-property-enum-value-added
- ●
added the new
bcs_serialization_errorenum value to theerror_coderesponse property for the response status404response-property-enum-value-added
- ●
added the new
bcs_serialization_errorenum value to theerror_coderesponse property for the response status500response-property-enum-value-added
- ●
added the new
invalid_bcs_in_storage_errorenum value to theerror_coderesponse property for the response status400response-property-enum-value-added
- ●
added the new
invalid_bcs_in_storage_errorenum value to theerror_coderesponse property for the response status404response-property-enum-value-added
- ●
added the new
invalid_bcs_in_storage_errorenum value to theerror_coderesponse property for the response status500response-property-enum-value-added
- ●
added the new
invalid_limit_paramenum value to theerror_coderesponse property for the response status400response-property-enum-value-added
- ●
added the new
invalid_limit_paramenum value to theerror_coderesponse property for the response status404response-property-enum-value-added
- ●
added the new
invalid_limit_paramenum value to theerror_coderesponse property for the response status500response-property-enum-value-added
- ●
added the new
invalid_start_paramenum value to theerror_coderesponse property for the response status400response-property-enum-value-added
- ●
added the new
invalid_start_paramenum value to theerror_coderesponse property for the response status404response-property-enum-value-added
- ●
added the new
invalid_start_paramenum value to theerror_coderesponse property for the response status500response-property-enum-value-added
- ●
added the new
read_from_storage_errorenum value to theerror_coderesponse property for the response status400response-property-enum-value-added
- ●
added the new
read_from_storage_errorenum value to theerror_coderesponse property for the response status404response-property-enum-value-added
- ●
added the new
read_from_storage_errorenum value to theerror_coderesponse property for the response status500response-property-enum-value-added
- ○
removed the
BcsSerializationErrorenum value from theerror_coderesponse property for the response status400response-property-enum-value-removed
- ○
removed the
BcsSerializationErrorenum value from theerror_coderesponse property for the response status404response-property-enum-value-removed
- ○
removed the
BcsSerializationErrorenum value from theerror_coderesponse property for the response status500response-property-enum-value-removed
- ○
removed the
InvalidBcsInStorageErrorenum value from theerror_coderesponse property for the response status400response-property-enum-value-removed
- ○
removed the
InvalidBcsInStorageErrorenum value from theerror_coderesponse property for the response status404response-property-enum-value-removed
- ○
removed the
InvalidBcsInStorageErrorenum value from theerror_coderesponse property for the response status500response-property-enum-value-removed
- ○
removed the
InvalidLimitParamenum value from theerror_coderesponse property for the response status400response-property-enum-value-removed
- ○
removed the
InvalidLimitParamenum value from theerror_coderesponse property for the response status404response-property-enum-value-removed
- ○
removed the
InvalidLimitParamenum value from theerror_coderesponse property for the response status500response-property-enum-value-removed
- ○
removed the
InvalidStartParamenum value from theerror_coderesponse property for the response status400response-property-enum-value-removed
- ○
removed the
InvalidStartParamenum value from theerror_coderesponse property for the response status404response-property-enum-value-removed
- ○
removed the
InvalidStartParamenum value from theerror_coderesponse property for the response status500response-property-enum-value-removed
- ○
removed the
ReadFromStorageErrorenum value from theerror_coderesponse property for the response status400response-property-enum-value-removed
- ○
removed the
ReadFromStorageErrorenum value from theerror_coderesponse property for the response status404response-property-enum-value-removed
- ○
removed the
ReadFromStorageErrorenum value from theerror_coderesponse property for the response status500response-property-enum-value-removed
- ○
removed the
UnsupportedAcceptTypeenum value from theerror_coderesponse property for the response status400response-property-enum-value-removed
- ○
removed the
UnsupportedAcceptTypeenum value from theerror_coderesponse property for the response status404response-property-enum-value-removed
- ○
removed the
UnsupportedAcceptTypeenum value from theerror_coderesponse property for the response status500response-property-enum-value-removed
- ●
- ▲
added the pattern
^0x[0-9a-zA-Z:_<>]+$to thepathrequest parameterevent_handlerequest-parameter-pattern-added
- ▲
for the
pathrequest parameteraddress, the type/format was changed fromstring/tostring/hexrequest-parameter-type-changed
- ▲
for the
queryrequest parameterstart, the type/format was changed fromstring/tostring/uint64request-parameter-type-changed
- ▲
the
items/typeresponse's property type/format changed fromobject/tostring/for status200response-property-type-changed
- ○
for the
pathrequest parameterevent_handle, the type/format was generalized fromobject/tostring/request-parameter-type-generalized
- ○
removed the non-success response with the status
415response-non-success-status-removed
- ○
the
items/typeresponse's property pattern^(bool|u8|u64|u128|address|signer|vector<.+>|0x[0-9a-zA-Z:_<>]+)$was added for the status200response-property-pattern-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲