/ DEVELOPERS / API / ETH_GETLOGS

eth_getLogs

Scan the chain for event logs matching an address/topic filter. Limited to 10,000 results and a 10,000-block range per call.

eth_getLogs

Scan the chain for event logs matching an address/topic filter. Limited to 10,000 results and a 10,000-block range per call.

eth_*category: logsreturns: object[]
Share link

Parameters

{ fromBlock?, toBlock?, blockHash?, address?, topics? }

Response

Press Send Request to see a response.

Copy as

curl -X POST '/rpc' \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","method":"eth_getLogs","params":[{"fromBlock":"earliest","toBlock":"latest","topics":[]}],"id":1}'