eth_getLogs

Returns an array of all logs matching a given filter object.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
🚧

Limit

To ensure the efficiency of filter execution, it is recommended to query a range of no more than 200 blocks.

Path Params
string
required
Defaults to public
Body Params
int32
required
Defaults to 1
string
required
Defaults to 2.0
string
required
Defaults to eth_getLogs
params
array
required
length between 1 and 1
Defaults to [object Object]
params*
string

(optional, default: "latest") Integer block number, or "latest" for the last mined block

string

(optional, default: "latest") Integer block number, or "latest" for the last mined block

address
array of strings

(optional) Contract address or a list of addresses from which logs should originate.

address
topics
array of strings

(optional) Array of 32 Bytes DATA topics. Topics are order-dependent. Each topic can also be an array of DATA with "or" options.

topics
string

optional, Block hash

Response

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here!