Parameters
- typestringREQUIRED
The type of event and also called as the identifier of the event
- start_heightstring
The starting height of the block range for events. It must be used with end_height. This parameter is incompatible with block_ids
- end_heightstring
The ending height of the block range for events. It must be used with start_height. This parameter is incompatible with block_ids
- block_idsstring
The list of block IDs. Either provide block_ids or both height parameters. This parameter is incompatible with both heights parameters
- selectstring
A comma-separated list indicating which properties of the content to return
Returns
- arrayarray
An array of event result objects for the requested block range or block IDs
- block_idstring
The id of the block
- block_heightstring
The height of the block
- block_timestampstring
The timestamp associated with the block
- eventsarray
An array of events that were emitted during the execution of the transactions. It contains the following fields:
- typestring
The type of the event, which is typically a string that identifies the purpose or function of the event
- transaction_idstring
The unique id of the transaction that emitted the event
- transaction_indexstring
The index of the transaction that emitted the event
- event_indexstring
The index of the event within the transaction
- payloadstring
The data payload associated with the event, which can be used to provide additional information about the event
- _linksobject
An object that contains links to related resources or endpoints
- _selfstring
It is a link that refers to the current resource itself