eth_newFilter

Description

Creates a new log filter.

Counts as 1 request. See Request Counting.

Parameters

ParameterTypeRequiredDescription
fromBlockblockTagNoStart block
toBlockblockTagNoEnd block
addressaddressNoContract address

Request

{ "jsonrpc": "2.0", "method": "eth_newFilter", "params": [ { "fromBlock": "latest", "toBlock": "latest", "address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" } ], "id": 1 }

Code Examples

curl -X POST https://base-rpc.blockreq.com/v1/rpc/public \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","method":"eth_newFilter","params":[{"fromBlock":"latest","toBlock":"latest","address":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"}],"id":1}'

Try It