Eth getFilterLogs

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

Request body sample: {"jsonrpc":"2.0","method":"eth_getFilterLogs","params":["0x16"],"id":74}

POSTeth_getFilterLogs
Body
idinteger
jsonrpcstring
methodstring
paramsnullable array of any
Response

OK

Body
idinteger
jsonrpcstring
resultstring
Request
const response = await fetch('eth_getFilterLogs', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({}),
});
const data = await response.json();
Response
{
  "jsonrpc": "text",
  "result": "text"
}

Last updated