RPC method

eth_getTransactionReceipt on Flare

Supported on SwiftNodes

Everything below was measured on 2026-10-13 by calling eth_getTransactionReceipt on Flare 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 Flare: what we measured

Fields14
Receipt for an unknown hashnull
Size of the sample receipt4.6 KB

Reading the fee and fields

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

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

{
  "blockHash": "0xae6df1794486c0409c6696d2c6c918183cf510400088f6a5382460de63f60a3e",
  "blockNumber": "0x44acfd6",
  "contractAddress": null,
  "cumulativeGasUsed": "0x319f0",
  "effectiveGasPrice": "0x15d3ef79800",
  "from": "0x56ff5146af0b3101baf3f1da549c5ac01b1a7868",
  "gasUsed": "0x319f0",
  "logs": "7 logs",
  "logsBloom": "0x0002000000004000…(256 bytes)",
  "status": "0x1",
  "to": "0x2ca6571daa15ce734bbd0bf27d5c9d16787fc33f",
  "transactionHash": "0xccde1a48d47cebb095e6cf24c3e379766c4247fcf78f76f7ad9bc135796684ec",
  "transactionIndex": "0x0",
  "type": "0x2"
}

Example request

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

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

eth_getTransactionReceipt on other chains

Frequently asked questions

Does Flare support eth_getTransactionReceipt?

Yes. eth_getTransactionReceipt answered on the SwiftNodes Flare endpoint when our weekly probe called it through the customer path (2026-10-13).

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

gasUsed × effectiveGasPrice from the receipt.

Why is the Flare receipt null?

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

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

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