Skip to content
Alchemy Logo

erigon_getLogsByHash

POST
/{apiKey}

Returns all logs generated by transactions in the block with the given hash, grouped by transaction.

Path Parameters

stringrequireddefaults to docs-demo

For higher throughput, create your own API key

Request

stringformat: "^0x[0-9a-f]{64}$"required

The block hash.

Responses

200

Array of arrays of log objects, grouped by transaction.

Was this page helpful?