Skip to main content
POST
eth_newFilter
Arc API method that creates a new filter for logs matching specified criteria. The filter can be polled with eth_getFilterChanges.
Get your own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.

Parameters

  • filterObject — the filter object:
    • fromBlock — (optional) block number (hex) or tag to start from
    • toBlock — (optional) block number (hex) or tag to end at
    • address — (optional) contract address or array of addresses
    • topics — (optional) array of topic filters

Response

  • result — the filter ID

eth_newFilter code examples

Body

application/json
id
integer
default:1
jsonrpc
string
default:2.0
method
string
default:eth_newFilter
params
array

Response

200 - application/json

Returns the result of eth_newFilter.

jsonrpc
string
id
integer
result
string
Last modified on August 3, 2026