Skip to main content

erigon_getLogsByHash RPC Method

Returns an array of all logs for the given block hash.

Updated on
Feb 09, 2026

Parameters

blockHash
string
REQUIRED

The block hash for which the logs to be fetched

Returns

result
array | null

An array with one entry per transaction in the block. Each entry is an array of log objects, or null when the transaction has no logs.

Request
Response
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": null
5
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": null
5
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free