v1
latestOpenAPI 3.0.32026-07-173986194.3 KBReturns a list of consensus events.
Query parameters
The maximum numbers of items to return.
The number of items to skip before starting to collect the result set.
A filter on block height.
A filter on transaction index. The returned events all need to originate from a transaction that appeared in tx_index-th position in the block. It is invalid to specify this filter without also specifying a block. Specifying tx_index and block is an alternative to specifying tx_hash; either works to fetch events from a specific transaction.
A filter on the hash of the transaction that originated the events. Specifying tx_index and block is an alternative to specifying tx_hash; either works to fetch events from a specific transaction.
An Oasis-style (bech32) address.
A filter on related accounts. Every returned event will refer to this account. For example, for a Transfer event, this will be the the sender or the recipient of tokens.
A filter on the event type.
Response
Consensus events matching the filters, sorted by most recent first.
Example response
{
"total_count": 412,
"is_total_count_clipped": true,
"events": [
{
"block": 8048956,
"tx_index": 5,
"tx_hash": "0d0531d6b8a468c07440182b1cdda517f5a076d69fb2199126a83082ecfc0f41",
"roothash_runtime_id": "000000000000000000000000000000000000000000000000e2eaa99fc008f87f",
"timestamp": "2022-03-01T00:00:00Z",
"type": "staking.escrow.take"
}
]
}