Skip to main content
POST
eth_newFilter
Robinhood Chain API method that creates a filter object based on filter options to notify when the state changes (logs).

Parameters

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

Response

  • quantity — a filter ID

eth_newFilter code examples

Body

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

Response

200 - application/json

Creates a filter object based on filter options to notify when the state changes (logs).

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