Returns the receipt for a transaction by its hash. ReturnsDocumentation Index
Fetch the complete documentation index at: https://base-a060aa97-meyer9-move-azul-to-top-of-upgrades.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
null for transactions that are pending or have not been mined.
Receipts are only available for mined transactions. To monitor a transaction before it is sealed, use
base_transactionStatus to confirm it is in the mempool, or subscribe to newFlashblockTransactions to detect its pre-confirmation in a Flashblock.Parameters
The 32-byte transaction hash.
Returns
The transaction receipt object, or
null if the transaction has not been mined.Error Codes
| Code | Message | Description |
|---|---|---|
-32000 | transaction indexing is in progress | The node is still indexing transactions. Retry after the node has finished syncing. |
Flashblock-Specific Response Fields
The Flashblocks infrastructure stream includes pre-confirmed receipt data inside themetadata.receipts object of each Flashblock payload before the block seals. This abbreviated receipt matches the full receipt shape:
| Field | Flashblock metadata.receipts[hash] |
|---|---|
type | Transaction type (0x0, 0x1, 0x2, 0x7e) |
status | "0x1" success / "0x0" failure |
cumulativeGasUsed | Cumulative gas in block to this transaction |
logs | Emitted log objects |
logsBloom | Bloom filter |
transactionIndex | Index in block |