Skip to main content

eth_getTransactionReceipt

Ethereum API

Returns the receipt of a transaction by transaction hash.

Params

(1)

1. Transaction hash (required)

string
Match pattern:
^0x[0-9a-f]{64}$

Result

(Receipt information)
(one of)
null

Params

Transaction hash


Request

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