跳至主要內容

[Filter] eth_getLogs

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

NOTE: In Kaia v2.0.0 or later, the pending blocks are not captured by this API. The "pending" block argument will be treated as the "latest" block.

The execution of this API can be limited by two node configurations to manage resources of Kaia node safely.

  • The number of maximum returned results in a single query (Default: 10,000).

  • The execution duration limit of a single query (Default: 10 seconds).

JSONRPC: eth_getLogs

Request​

Responses​

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

讓這個頁面變得更好