Skip to main content
POST
eth_getLogs

Body

application/json
jsonrpc
string
default:2.0
required

JSON-RPC version

method
string
default:eth_getLogs
required

The method to call

params
any[]
required

Filter options

id
integer
default:1
required

Request identifier

Response

200 - application/json

Returns the matching logs

jsonrpc
string
Example:

"2.0"

id
integer
Example:

1

result
object[]

Array of log objects