JSON-RPCMethods

eth_getTransactionReceipt: parameters, returns and CU

Return the receipt (execution result) of a transaction by its hash.

Summary

Return the receipt (execution result) of a transaction by its hash.

Compute units (CU) and pricing

CU per call

10 CU

Price per 1M calls (USD)

$1.00

Parameters

ParameterTypeDescription
transactionHashHASH32-byte transaction hash as 0x-prefixed hex.

Returns

  • Type: OBJECT|NULL
  • Description: Transaction receipt object with fields such as status, gasUsed, logs and effectiveGasPrice; null when the transaction is unknown or not yet mined.

Notes

A receipt exists only after the transaction is mined; status reports success or revert, and logs are delivered together with the receipt.

Request example

export BLOCKVECTRA_API_KEY=rgw_your_api_key

curl -X POST "https://api.blockvectra.com/v1/robinhood_mainnet" \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $BLOCKVECTRA_API_KEY" \
  -d '{
    "jsonrpc": "2.0",
    "method": "eth_getTransactionReceipt",
    "params": [
      "<transactionHash>"
    ],
    "id": 1
  }'

Supported chains

Available on all 29 supported chains.

Last updated: