eth_newFilter
Install a log filter in the server, allowing for later polling. Registers client interest in logs matching the filter, and returns an identifier.
Parameters (by position)
Filter object required
filter
Show Filter object
Filter objectFilter fields
-
fromBlock
stringfrom block
Match pattern:
^0x(0|[1-9a-f][0-9a-f]*)$
-
toBlock
stringto block
Match pattern:
^0x(0|[1-9a-f][0-9a-f]*)$
-
address
null or string or array<string>
Show Option 1
Any AddressnullShow Option 2
AddressstringShow Option 3
Addressesarray -
topics
null or array<unknown>
Show Option 1
Any Topic MatchnullShow Option 2
Specified Filter TopicsarraySpecified Filter Topicsfieldstopics
string or array<string>Show Option 1
Single Topic MatchstringShow Option 2
Multiple Topic Matcharray -
additionalProperties
false
Result
Filter identifier string
hex encoded unsigned integer
Match pattern: ^0x(0|[1-9a-f][0-9a-f]*)$