eth_getTransactionReceipt
Returns the receipt of a transaction by transaction hash.
Params
(1)1. tx_hash (required)
string<hex>
Result
(MonadTransactionReceipt)blockHash
anyblockNumber
anycontractAddress
anycumulativeGasUsed
stringeffectiveGasPrice
stringfrom
stringgasUsed
anylogs
arraylogsBloom
stringto
anytransactionHash
anytransactionIndex
stringtype
stringExample
Request
await window.ethereum.request({
"method": "eth_getTransactionReceipt",
"params": []
});
Result
{
"blockHash": null,
"blockNumber": null,
"contractAddress": null,
"cumulativeGasUsed": "0x0",
"effectiveGasPrice": "0x0",
"from": "0x0000000000000000000000000000000000000000",
"gasUsed": null,
"logs": [],
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"to": null,
"transactionHash": null,
"transactionIndex": "0x0",
"type": "0x0"
}