eth_getLogs
POST https://mainnet.valuechain.xyz
Returns log entries matching a filter.
Parameters
Name
Type
Required
Description
filter
object
Yes
fromBlock, toBlock, address, topics, and optionally blockHash. fromBlock / toBlock accept a hex number or earliest, latest, safe, finalized, or pending. Do not combine blockHash with block range fields. See block tags.
Result
Logs (object[]): Matching log objects.
Example
Response
{
"jsonrpc": "2.0",
"id": 1,
"result": []
}Code examples
cURL
JavaScript
Python
Last updated