Skip to main content

eth_newFilter RPC Method

Loading...

Updated on
Mar 18, 2026

eth_newFilter RPC Method

Parameters

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

Returns

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