Skip to main content

eth_getLogs

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

Parameters

block*
Type: oneOf: object | FixedData_for_32 (string)
Enter block numbers in hex, "latest" tag, or leave empty for null
address*
Type: array of string
Enter values (comma separated)
Example: $string1, $string2, $string3
topics*
Type: array of string
Enter values (comma separated)
Example: $string1, $string2, $string3

Returns

array

Items Type:

Array Items

📤 Request

curl --request POST \
     --url https://testnet-rpc.monad.xyz \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '
{
  "id": 0,
  "jsonrpc": "2.0",
  "method": "eth_getLogs",
  "params": []
}
'