Search
⌘K
Sonic
Methods
debug_getBadBlocks
debug_getRawBlock
debug_getRawHeader
debug_getRawReceipts
debug_getRawTransaction
debug_traceBlockByHash
debug_traceBlockByNumber
debug_traceCall
debug_traceTransaction
eth_accounts
eth_blobBaseFee
eth_blockNumber
eth_call
eth_chainId
eth_coinbase
eth_createAccessList
eth_estimateGas
eth_feeHistory
eth_gasPrice
eth_getAccount
eth_getBalance
eth_getBlockByHash
eth_getBlockByNumber
eth_getBlockReceipts
eth_getBlockTransactionCountByHash
eth_getBlockTransactionCountByNumber
eth_getCode
eth_getFilterChanges
eth_getFilterLogs
eth_getLogs
eth_getProof
eth_getStorageAt
eth_getTransactionByBlockHashAndIndex
eth_getTransactionByBlockNumberAndIndex
eth_getTransactionByHash
eth_getTransactionCount
eth_getTransactionReceipt
eth_getUncleByBlockHashAndIndex
eth_getUncleByBlockNumberAndIndex
eth_getUncleCountByBlockHash
eth_getUncleCountByBlockNumber
eth_hashrate
eth_maxPriorityFeePerGas
eth_mining
eth_newBlockFilter
eth_newFilter
eth_newPendingTransactionFilter
eth_protocolVersion
eth_sendRawTransaction
eth_sendTransaction
eth_sign
eth_signTransaction
eth_subscribe
eth_syncing
eth_uninstallFilter
eth_unsubscribe
net_listening
net_peerCount
net_version
trace_block
trace_call
trace_filter
trace_get
trace_rawTransaction
trace_replayBlockTransactions
trace_replayTransaction
trace_transaction
txpool_content
web3_clientVersion
web3_sha3
Docs·APIs·Web3 RPC API·Sonic·Methods·eth_newFilter

eth_newFilter

Creates a filter object, based on filter options, to notify when the state changes (logs).

https://api.1inch.com/web3/146

Parameters

Filter (required)

Filter
* object
fromBlock
string
toBlock
string
address
any
oneOf[0]
null
oneOf[1]
string
oneOf[2]
array
items
string
topics
any
oneOf[0]
null
oneOf[1]
array
items
any
oneOf[0]
string
oneOf[1]
array
items
string
additionalProperties
none

Request

Request
object
jsonrpc
* string (Enum)
2.0
method
* string
params
array
items
object
fromBlock
string
toBlock
string
address
any
oneOf[0]
null
oneOf[1]
string
oneOf[2]
array
items
string
topics
any
oneOf[0]
null
oneOf[1]
array
items
any
oneOf[0]
string
oneOf[1]
array
items
string
additionalProperties
none
id
* number
1

Response

Filter identifier

Filter identifier
string
JSON
1

Did you find what you need?