Skip to main content

eth_getFilterLogs

Ethereum API

Returns an array of all logs matching filter with given id.

Params

(1)

1. Filter Identifier (required)

string
Match pattern:
^0x([1-9a-f]+[0-9a-f]*|0)$

Result

(Log objects)
(one of)
array[string]

Params

Filter Identifier


Request

await window.ethereum.request({
"method": "eth_getFilterLogs",
"params": [
null
]
});