Skip to main content

eth_newFilter RPC Method

Loading...

Updated on
Dec 04, 2024

eth_newFilter RPC Method

To use the eth_newFilter method on the C-Chain, ensure that the end of your URL includes ext/bc/C/rpc.

Parameters

object
array
Loading...
fromBlock
string
Loading...
toBlock
string
Loading...
address
string
Loading...
topics
string
Loading...

Returns

result
string
Loading...
Request
1
curl https://docs-demo.flare-mainnet.quiknode.pro/ext/bc/C/rpc \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{"jsonrpc":"2.0","method":"eth_newFilter","params":[{"fromBlock": "0xe20360", "toBlock": "0xe20411", "address": "0x6b175474e89094c44da98b954eedeac495271d0f","topics": []}],"id":1}'
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free