Skip to main content

eth_getLogs RPC Method

Loading...

Updated on
Apr 24, 2025

eth_getLogs RPC Method

Please note that the eth_getLogs method supports up to 4 topics and is most reliable when used with block ranges of 50 blocks or fewer. Keeping queries within this range helps maintain optimal performance and reduces the risk of timeouts or incomplete results.

Parameters

object
object
Loading...
fromBlock
string
Loading...
toBlock
string
Loading...
address
string
Loading...
topics
string
Loading...
blockHash
string
Loading...

Returns

result
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