eth_getLogs - Fraxtal Holesky
Summary
Returns an array of all logs matching a given filter object.Parameters
1. Filter Object
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
Address Array Address
Contract address (
string
) or a list of addresses (string[]
) from which logs should originateExample:Â
0xb59f67a8bff5d8cd03f6ac17265c550ed8f33907
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"]}