Skip to main content
POST
Returns an array of all logs matching a given filter object.

Body

number
Serves as a unique identifier for the request
string
Indicates the version of JSON-RPC being used
string
Represents the name of the remote procedure or method to be called
array
Contains the list of parameters passed to the remote method.

Response

number
Returns unique identifier for the request
string
Returns the version of JSON-RPC being used.
array
For filters created with eth_newBlockFilter the return are block hashes (DATA, 32 Bytes), e.g. [“0x3454645634534…”].For filters created with eth_newPendingTransactionFilter the return are transaction hashes (DATA, 32 Bytes), e.g. [“0x6345343454645…”].For filters created with eth_newFilter logs are objects with following params: