Skip to main content

eth_newFilter RPC Method

Loading...

Updated on
Apr 29, 2026

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
object
Loading...
fromBlock
string
Loading...
toBlock
string
Loading...
address
string
Loading...
topics
array
Loading...

Returns

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