getTransactionReceipt
getTransactionReceipt is a function in Ethereum-compatible JSON-RPC interfaces that retrieves the receipt of a specific transaction by its hash. A transaction receipt is produced only after the transaction has been mined and included in a block, and it contains the outcome and metadata of the execution. If the transaction has not yet been mined, the method returns null.
The receipt object includes details such as the transactionHash, transactionIndex, blockHash, blockNumber, from, to, and gas-related
Usage in JSON-RPC and libraries: the JSON-RPC method is eth_getTransactionReceipt and takes a single parameter—the transaction
Applications and considerations: getTransactionReceipt is used to verify execution results, inspect emitted events via logs, and