Skip to main content

eth_getTransactionReceipt

Returns the receipt of a transaction by transaction hash.

Params

(1)

1. tx_hash (required)

string<hex>

Result

(MonadEthGetTransactionReceiptResult)
blockHash
any
blockNumber
any
contractAddress
any
cumulativeGasUsed
string
effectiveGasPrice
string
from
string
gasUsed
any
logs
array
logsBloom
string
to
any
transactionHash
any
transactionIndex
string
type
string

Example

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"
}

Params

tx_hash


Request

await window.ethereum.request({
"method": "eth_getTransactionReceipt",
"params": [
null
]
});