Parameters
- fromBlockstringREQUIRED
The block hash, the block number (height), or a block tag (latest, pre_confirmed, or l1_accepted)
- toBlockstringREQUIRED
The block hash, the block number (height), or a block tag (latest, pre_confirmed, or l1_accepted)
- addressstring
The contract address
- keysarray
The key values used to filter the events
- chunk_sizeintegerREQUIRED
The chunk size
- continuation_tokenstring
The token returned from the previous query. If no token is provided the first page is returned
Returns
- resultobject
An object with the following fields
- eventsarray
An event object with following fields
- from_addressstring
From address
- dataarray
The data
- keysarray
The values used to filter the events
- block_hashstring
The hash of the block in which the event was emitted
- block_numberinteger
The number of the block in which the event was emitted
- transaction_hashstring
The transaction hash
- continuation_tokenstring
The token returned from the previous query. If no token is provided the first page is returned