eth_getBlockReceipts

Returns the receipts of a block by number or hash.

Path parameters

apiKeystringRequired

Request

This endpoint expects an object.
Block number or tag or hashstring or enumRequired
The block number, tag, or hash to retrieve receipts from.

Response

An array of transaction receipt objects.
transactionHashstringformat: "^0x[0-9a-f]{64}$"
transactionIndexstringformat: "^0x([1-9a-f]+[0-9a-f]*|0)$"
blockHashstringformat: "^0x[0-9a-f]{64}$"
blockNumberstringformat: "^0x([1-9a-f]+[0-9a-f]*|0)$"
fromstringformat: "^0x[0-9a-fA-F]{40}$"
cumulativeGasUsedstringformat: "^0x([1-9a-f]+[0-9a-f]*|0)$"
The sum of gas used by this transaction and all preceding transactions in the same block.
gasUsedstringformat: "^0x([1-9a-f]+[0-9a-f]*|0)$"
The amount of gas used for this specific transaction alone.
logslist of objects
logsBloomstringformat: "^0x[0-9a-f]{512}$"
effectiveGasPricestringformat: "^0x([1-9a-f]+[0-9a-f]*|0)$"

The actual value per gas deducted from the sender’s account. Before EIP-1559, this is equal to the transaction’s gas price. After, it is equal to baseFeePerGas + min(maxFeePerGas - baseFeePerGas, maxPriorityFeePerGas).

typestring or nullformat: "^0x([0-9a-fA-F]?){1,2}$"
tostring or nullformat: "^0x[0-9a-fA-F]{40}$"
Address of the receiver or null in a contract creation transaction.
blobGasUsedstring or nullformat: "^0x([1-9a-f]+[0-9a-f]*|0)$"

The amount of blob gas used for this specific transaction. Only specified for blob transactions as defined by EIP-4844.

contractAddressstring or nullformat: "^0x[0-9a-fA-F]{40}$"
The contract address created, if the transaction was a contract creation, otherwise null.
rootstring or nullformat: "^0x[0-9a-f]{64}$"

The post-transaction state root. Only specified for transactions included before the Byzantium upgrade.

statusstring or nullformat: "^0x([1-9a-f]+[0-9a-f]*|0)$"

Either 1 (success) or 0 (failure). Only specified for transactions included after the Byzantium upgrade.

blobGasPricestring or nullformat: "^0x([1-9a-f]+[0-9a-f]*|0)$"

The actual value per gas deducted from the sender’s account for blob gas. Only specified for blob transactions as defined by EIP-4844.