RPC method

eth_getTransactionByHash on Arc

Supported on SwiftNodes

Everything below was measured on 2026-12-06 by calling eth_getTransactionByHash on Arc through the same endpoint customers use, and is re-measured weekly.

What eth_getTransactionByHash does

Returns a transaction by its hash: sender, recipient, value, input data, gas fields and signature, plus the block it was included in. It returns null for a hash the node does not know, and a transaction still in the mempool has a null blockNumber.

Transaction types on Arc

Types of the 4 transactions in five consecutive blocks when we measured. Decoders that reject unknown types will fail on Arc if any of these is missing from their list.

0x0 legacy2 (50%)
0x2 EIP-15592 (50%)

Fields beyond Ethereum's

Transactions include blockTimestamp, so you get the block time without a second call for the block.

A real Arc transaction

A type 0x0 transaction from one of the latest blocks, as our endpoint returned it (long hex values shortened).

{
  "type": "0x0",
  "chainId": "0x13b2",
  "nonce": "0x1b132e",
  "gasPrice": "0x6fc23ac00",
  "gas": "0x1a783",
  "to": "0x03a13352ef67977d1601ec1276e9bc27c0ee7b75",
  "value": "0x0",
  "input": "0xbd66528a80dd73a878b157dcd1b016d7838e18629023b40fca647fcf3a0c9da32dc655f6",
  "r": "0xbb8e7efd7c402d471114ba1452224878823a194f59879646329916b588b65a8b",
  "s": "0x5f2a22ec0677516850763a041d243de2caa1395d761f639a0755147432006c00",
  "v": "0x2787",
  "hash": "0x0184d8724350469d9856aea1bbfd87e7355645774d3a99402a599359615f9bed",
  "blockHash": "0x3bb29c90a6098f8f3d2c5445e383bfec2dbaa0cf7a29d989b3f4ae6be092deef",
  "blockNumber": "0x214993f",
  "transactionIndex": "0x0",
  "from": "0xe2f1a5290de193581cd16e4d4bec6cf67ea13281",
  "blockTimestamp": "0x6b150199"
}

Example request

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

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

const tx = await client.getTransaction({ hash: "0x0184d8724350469d9856aea1bbfd87e7355645774d3a99402a599359615f9bed" });
if (tx.blockNumber === null) console.log("still pending");
console.log(tx.type, tx.from, tx.to, tx.value);

Other methods on Arc

eth_getTransactionByHash on other chains

Frequently asked questions

Does Arc support eth_getTransactionByHash?

Yes. eth_getTransactionByHash answered on the SwiftNodes Arc endpoint when our weekly probe called it through the customer path (2026-12-06).

Which transaction types does Arc use?

In five recent blocks: 2 × 0x0 (legacy), 2 × 0x2 (EIP-1559).

Why does eth_getTransactionByHash return null on Arc?

The node does not know the hash: it was never broadcast, it was dropped from the mempool, or it was sent to another chain. Check the hash and the chain ID before retrying.

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

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