RPC method

eth_getTransactionReceipt on Core

Supported on SwiftNodes

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

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

Reading the fee and fields

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

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

{
  "blockHash": "0x5bd82385165556d40bee8429cc9c0b69deb78b3e9c7ae41cc3e5dcc5fff2566d",
  "blockNumber": "0x26fac3f",
  "contractAddress": null,
  "cumulativeGasUsed": "0xa53220",
  "effectiveGasPrice": "0xdf8475800",
  "from": "0x193f2c060e182236c220f809aabd386f217d77ae",
  "gasUsed": "0xa53220",
  "logs": "1441 logs",
  "logsBloom": "0x1000000000000800…(256 bytes)",
  "status": "0x1",
  "to": "0x342b40d181f498e523271f8870c78037ba8953bb",
  "transactionHash": "0x5362dcaa553fe995891d33bc45fffd7c7f47170a297e0b270841cb7b39efad70",
  "transactionIndex": "0x0",
  "type": "0x0"
}

Example request

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

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

eth_getTransactionReceipt on other chains

Frequently asked questions

Does Core support eth_getTransactionReceipt?

Yes. eth_getTransactionReceipt answered on the SwiftNodes Core 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 Core?

gasUsed × effectiveGasPrice from the receipt.

Why is the Core receipt null?

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

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

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