Get logs by filter
GET/:network/chain/logs
Get logs by filter
Request
Path Parameters
network stringrequired
Blockchain network name or chain id
Query Parameters
start_block number
The starting block number.
end_block number
The ending block number. Must be greater than startBlock and not more than 2000 blocks further.
block_hash string
The block hash to filter logs.
contract_address string
The contract address to filter logs.
topics string[]
The topics array to filter logs.
Responses
- 200
- 400
The logs for the specified filter.
- application/json
- Schema
- Example (from schema)
Schema
array
[
null
]
Failed to fetch logs.
Loading...