RPC method

eth_getTransactionReceipt on Cronos

Supported on SwiftNodes

Everything below was measured on 2026-11-15 by calling eth_getTransactionReceipt on Cronos 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 Cronos: what we measured

Fields14
Receipt for an unknown hashnull
Size of the sample receipt7.5 KB

Reading the fee and fields

The fee is gasUsed × effectiveGasPrice, the same as on Ethereum: Cronos 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 Cronos receipt

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

{
  "blockHash": "0x901040b1d0c2d503faf4f3e2be7a86aaf5339e0241163488e79d9f210eda05b4",
  "blockNumber": "0x650b43f",
  "contractAddress": null,
  "cumulativeGasUsed": "0x2fb4c",
  "effectiveGasPrice": "0x5bd6fb9277",
  "from": "0x0e64c1a21ead7315ca86def9240126d98398c7c8",
  "gasUsed": "0x2fb4c",
  "logs": "10 logs",
  "logsBloom": "0x0020000000000200…(256 bytes)",
  "status": "0x1",
  "to": "0x68248204febd137c70d8b53c3a28badb8457c4a5",
  "transactionHash": "0xf59e865cafda0c8bfdb16065b561bcf4e869d682a5066477eb09e1db348b6b56",
  "transactionIndex": "0x0",
  "type": "0x0"
}

Example request

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

const client = createPublicClient({
  transport: http("https://rpc.swiftnodes.io/rpc/cronos?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 Cronos

eth_getTransactionReceipt on other chains

Frequently asked questions

Does Cronos support eth_getTransactionReceipt?

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

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

gasUsed × effectiveGasPrice from the receipt.

Why is the Cronos receipt null?

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

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

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