pulsechain.box
eth

eth_getTransactionReceipt

Returns the receipt of a transaction by its hash. The receipt contains the execution result, including status, gas used, and event logs. Only available for confirmed transactions.

Returns the receipt of a transaction by its hash. The receipt contains the execution result, including status, gas used, and event logs. Only available for confirmed transactions.

Parameters

#TypeDescription
1stringThe transaction hash (32 bytes, hex-encoded with 0x prefix).

Returns

object -- A transaction receipt object, or null if the transaction is not found or is still pending. The object contains:

FieldTypeDescription
transactionHashstringHash of the transaction.
transactionIndexstringIndex of the transaction within the block (hex).
blockHashstringHash of the block containing the transaction.
blockNumberstringBlock number (hex).
fromstringAddress of the sender.
tostringAddress of the receiver. null for contract creation.
cumulativeGasUsedstringTotal gas used in the block up to and including this transaction (hex).
effectiveGasPricestringActual gas price paid per unit of gas (hex).
gasUsedstringGas used by this transaction (hex).
contractAddressstringAddress of the created contract, or null if not a contract creation.
logsarrayArray of log objects emitted during execution.
logsBloomstringBloom filter for the logs.
statusstring"0x1" for success, "0x0" for failure (revert).
typestringTransaction type (hex).

Example

curl -s -X POST https://rpc.pulsechain.box \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "method": "eth_getTransactionReceipt",
    "params": ["0x01c5a8461d06c2c195035c148af0f871c7679841d86ae5bb98676bb2d8e68dfa"],
    "id": 1
  }'
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "transactionHash": "0x01c5a8461d06c2c195035c148af0f871c7679841d86ae5bb98676bb2d8e68dfa",
    "transactionIndex": "0x0",
    "blockHash": "0x...",
    "blockNumber": "0x...",
    "from": "0x...",
    "to": "0x...",
    "cumulativeGasUsed": "0x5208",
    "effectiveGasPrice": "0x3b9aca00",
    "gasUsed": "0x5208",
    "contractAddress": null,
    "logs": [],
    "logsBloom": "0x0000...",
    "status": "0x1",
    "type": "0x0"
  }
}
TRY IT

Notes

  • Returns null for pending transactions. A null result means the transaction either does not exist or has not yet been included in a block. Poll this method to wait for transaction confirmation.
  • The status field indicates execution success ("0x1") or failure/revert ("0x0"). Failed transactions are still included in the block and consume gas.
  • The logs array is essential for tracking token transfers and contract events. Each log contains topics and data that must be ABI-decoded.
  • The contractAddress field is only populated for contract creation transactions (where to is null).
  • Use eth_getTransactionByHash to get the original transaction data (value, input, gas limit). The receipt provides the execution outcome.
Copyright © 2026 AvecdrA. Made with love.