Skip to main content

[Filter] kaia_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).

NOTE: In versions earlier than Kaia v1.7.0, only integer block number, the string "earliest" and "latest" are available.

JSONRPC: kaia_getLogs

Request​

Responses​

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

Make this page better