Returns the receipt for a transaction by its hash. ReturnsDocumentation Index
Fetch the complete documentation index at: https://docs.base.org/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. |