RPC method

eth_getTransactionByHash on Fraxtal

Supported on SwiftNodes

Everything below was measured on 2026-10-13 by calling eth_getTransactionByHash on Fraxtal 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 Fraxtal

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

0x7e L1-to-L2 deposit (OP Stack)5 (100%)

Fields beyond Ethereum's

Type 0x7e (L1-to-L2 deposit (OP Stack)) transactions carry extra fields. sourceHash: the unique ID of an L1-to-L2 deposit, derived from its L1 origin; mint: the amount of ETH minted on L2 by a deposit; depositReceiptVersion: the version of the deposit receipt format.

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

A real Fraxtal transaction

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

{
  "type": "0x7e",
  "sourceHash": "0x2039bb52b93517958ff65ce6230829dacbff36cae6aef869dec9bd7390ef3c39",
  "from": "0xdeaddeaddeaddeaddeaddeaddeaddeaddead0001",
  "to": "0x4200000000000000000000000000000000000015",
  "mint": "0x0",
  "value": "0x0",
  "gas": "0xf4240",
  "input": "0x098999be02faf080…(176 bytes)",
  "hash": "0xba4deddf9b66a1f392433bb07d1a28668d63dc5751991d74320a13eeba3aa313",
  "r": "0x0",
  "s": "0x0",
  "yParity": "0x0",
  "v": "0x0",
  "blockHash": "0x400448d438d5338492fa85e53483f4671e579b32b7d59b7c1c4c4bbb05412230",
  "blockNumber": "0x2892485",
  "transactionIndex": "0x0",
  "blockTimestamp": "0x6ace2661",
  "depositReceiptVersion": "0x1",
  "gasPrice": "0x0",
  "nonce": "0x2892488"
}

Example request

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

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

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

Other methods on Fraxtal

eth_getTransactionByHash on other chains

Frequently asked questions

Does Fraxtal support eth_getTransactionByHash?

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

Which transaction types does Fraxtal use?

In five recent blocks: 5 × 0x7e (L1-to-L2 deposit (OP Stack)).

Why does eth_getTransactionByHash return null on Fraxtal?

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.

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

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