Skip to main content
Defined in the Ethereum JSON-RPC Specification
Returns the receipt of a transaction by transaction hash. Note that the receipt is not available for pending transactions.

Parameters

transactionHash
string
required
The hash of a transaction (32 bytes).

Returns

result
object
A transaction receipt object, or null when no receipt was found.

Error Handling

Transaction receipts are only available for mined transactions. Pending transactions will return null.