RPC method

eth_getTransactionReceipt on Ethereum Classic

Supported on SwiftNodes

Everything below was measured on 2026-11-29 by calling eth_getTransactionReceipt on Ethereum Classic through the same endpoint customers use, and is re-measured weekly.

What eth_getTransactionReceipt does

Returns the outcome of a mined transaction: status (1 success, 0 reverted), gas used, the effective gas price, the logs it emitted and any contract it created. It returns null until the transaction is in a block.

eth_getTransactionReceipt on Ethereum Classic: what we measured

Fields14
Receipt for an unknown hashnull
Size of the sample receipt1.0 KB

Reading the fee and fields

The fee is gasUsed × effectiveGasPrice, the same as on Ethereum: Ethereum Classic receipts carry no separate L1 or data fee field.

A hash the node has not seen returns null, not an error, so poll until it is non-null (viem's waitForTransactionReceipt does this) and give up after a timeout.

A real Ethereum Classic receipt

As our endpoint returned it; logs collapsed to a count and long hex values shortened.

{
  "blockHash": "0x68a3c742097f626c939e5fc43cb2d2c2ee59bed0c58b9b0057200a6900d04654",
  "blockNumber": "0x18a1636",
  "contractAddress": null,
  "cumulativeGasUsed": "0x5208",
  "effectiveGasPrice": "0x2540be400",
  "from": "0xfad4a236c87880035497043f24ea58d73c3e50de",
  "gasUsed": "0x5208",
  "logs": "0 logs",
  "logsBloom": "0x0000000000000000…(256 bytes)",
  "status": "0x1",
  "to": "0x1cb52b97f6dcbab936d097779483113073fafd7e",
  "transactionHash": "0xf1622d9b6443df5bd54e76ca26be31a709868308f27d62b1934e7055ed6f318a",
  "transactionIndex": "0x0",
  "type": "0x0"
}

Example request

curl -s https://rpc.swiftnodes.io/rpc/etc?key=YOUR_API_KEY \
  -X POST -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"eth_getTransactionReceipt","params":["0xf1622d9b6443df5bd54e76ca26be31a709868308f27d62b1934e7055ed6f318a"]}'
import { createPublicClient, http } from "viem";

const client = createPublicClient({
  transport: http("https://rpc.swiftnodes.io/rpc/etc?key=YOUR_API_KEY"),
});

const receipt = await client.waitForTransactionReceipt({ hash, timeout: 60_000 });
if (receipt.status !== "success") throw new Error("reverted");

const total = receipt.gasUsed * receipt.effectiveGasPrice;

Other methods on Ethereum Classic

eth_getTransactionReceipt on other chains

Frequently asked questions

Does Ethereum Classic support eth_getTransactionReceipt?

Yes. eth_getTransactionReceipt answered on the SwiftNodes Ethereum Classic endpoint when our weekly probe called it through the customer path (2026-11-29).

How do I get the total fee of a transaction on Ethereum Classic?

gasUsed × effectiveGasPrice from the receipt.

Why is the Ethereum Classic receipt null?

The transaction is not in a block yet, or the hash is unknown to the node. Keep polling with a timeout.

Ethereum Classic endpoints, live block height and WebSocket status are on the Ethereum Classic RPC page.

One key covers every chain we serve, and SwiftNodes has a free tier.