eth_newFilter - Boba Ethereum
Summary
Creates a filter object based on the given filter options, to notify when the state changes (logs). To check if the state has changed, call eth_getFilterChanges. Filters that are not requested by eth_getFilterChanges time out after 24 hours.Parameters
1. Filter Object
Address Array Address
Contract address (
string
) or a list of addresses (string[]
) from which logs should originateExample:Â
0xb59f67a8bff5d8cd03f6ac17265c550ed8f33907
From Block Quantity or Tag
Hex block number, or the tag
latest
, earliest
, pending
, finalized
or safe
Example:Â
latest
To Block Quantity or Tag
Hex block number, or the tag
latest
, earliest
, pending
, finalized
or safe
Example:Â
latest
Topics DATA[]
Array of 32 Bytes DATA topics. Topics are order-dependent. Each topic can also be an array of DATA with "or" options
Example:Â
{topics: ["0x241ea03ca20251805084d27d4440371c34a0b85ff108f6bb5611248f73818b80"]}