Utility
Get logs
Commonly used to get all the event logs of the latest block, or for a range of blocks. Includes sender contract metadata as well as decoded logs.
GET
/
v1
/
{chainName}
/
events
/
Credit Cost: 5 per block.
Processing: Realtime
Processing: Realtime
Limits:
Path Parameters
chainName
string
requiredThe chain name eg: eth-mainnet
.
Query Parameters
starting-block
integer
The first block to retrieve log events with. Accepts decimals, hexadecimals, or the strings earliest
and latest
.
ending-block
string
The last block to retrieve log events with. Accepts decimals, hexadecimals, or the strings earliest
and latest
.
address
string
The address of the log events sender contract.
topics
string
The topic hash(es) to retrieve logs with.
block-hash
string
The block hash to retrieve logs for.
skip-decode
boolean
Omit decoded log events.
Response
200 - application/json
updated_at
string
The timestamp when the response was generated. Useful to show data staleness to users.
chain_id
integer
The requested chain ID eg: 1
.
chain_name
string
The requested chain name eg: eth-mainnet
.
items
object[]
List of response items.