eth_getLogs
Field | Type | Description |
---|---|---|
fromBlock | QUANTITY | TAG (optional, default: "latest") Integer block number, or "latest" for the last mined block |
toBlock | QUANTITY | TAG (optional, default: "latest") Integer block number, or "latest" for the last mined block |
address | DATA | Array, 20 Bytes (optional) Contract address or a list of addresses from which logs should originate. |
topics | Array | Array of DATA (optional) Array of 32 Bytes DATA topics. Topics are order-dependent. Each topic can also be an array of DATA with "or" options. |
blockhash | DATA, 32 Bytes | (optional) Block hash |
cURL
{
"jsonrpc": "2.0",
"id": 71,
"result": []
}