eth_newFilter
Creates a filter object, based on filter options, to notify when the state changes (logs).
https://api.1inch.com/web3/10
Supported on: Optimism
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)JSON-RPC version
2.0
method
* string The method to call
params
array Method parameters
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 Request ID
JavaScript
Copy
1
Response
Filter identifier
Filter identifier
string JSON
Copy
1