Skip to content
Alchemy Logo

alchemy_getTransactionReceipts

POST
/{apiKey}

An enhanced API that gets all transaction receipts for a given block by number or block hash.

Path Parameters

stringrequireddefaults to docs-demo

For higher throughput, create your own API key

Request

stringformat: "^0[xX]([1-9A-Fa-f]+[0-9A-Fa-f]*|0)$"optional

The block number you want to get transaction receipts for, in hex. One of blockNumber or blockHash must be provided.

stringformat: "^0[xX][0-9A-Fa-f]{64}$"optional

The block hash you want to get transaction receipts for, in hex. One of blockNumber or blockHash must be provided.

Responses

200

A list of transaction receipt objects for each transaction in this block.

Was this page helpful?