Skip to main content
POST
eth_getLogs
Robinhood Chain API method that returns an array of all logs matching a given filter object.

Parameters

  • object — the filter options with fields like fromBlock, toBlock, address, topics, blockHash

Response

  • array — an array of log objects

eth_getLogs code examples

Body

application/json
id
integer
default:1
jsonrpc
string
default:2.0
method
string
default:eth_getLogs
params
Filter options · object[]

Response

200 - application/json

Returns an array of all logs matching a given filter object.

jsonrpc
string
id
integer
result
object | null
Last modified on July 18, 2026