eth_getLogs RPC Method
Please note that this RPC method have a block range limit of 10,000 blocks to ensure reliability, so it's best to break down queries into smaller chunks for faster responses and better error handling. For more information about the block range limit and how to avoid it, refer to this FAQTo use the eth_getLogs method on the Avalanche C-Chain, ensure that the end of your URL includes ext/bc/C/rpc.
Parameters
object
array
Loading...
fromBlock
string
Loading...
toBlock
string
Loading...
address
string
Loading...
topics
string
Loading...
blockHash
string
Loading...
Returns
array
array
Loading...
address
string
Loading...
topics
array
Loading...
data
string
Loading...
blockNumber
string
Loading...
transactionHash
string
Loading...
transactionIndex
string
Loading...
blockHash
string
Loading...
logIndex
string
Loading...
removed
boolean
Loading...
Request
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free