eth_getTransactionByHash on Flare
Everything below was measured on 2026-10-13 by calling eth_getTransactionByHash on Flare 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 Flare
Types of the 102 transactions in five consecutive blocks when we measured. Decoders that reject unknown types will fail on Flare if any of these is missing from their list.
| 0x2 EIP-1559 | 99 (97%) |
|---|---|
| 0x0 legacy | 3 (3%) |
A real Flare transaction
A type 0x2 transaction from one of the latest blocks, as our endpoint returned it (long hex values shortened).
{
"blockHash": "0xae6df1794486c0409c6696d2c6c918183cf510400088f6a5382460de63f60a3e",
"blockNumber": "0x44acfd6",
"from": "0x56ff5146af0b3101baf3f1da549c5ac01b1a7868",
"gas": "0x2dc6c0",
"gasPrice": "0x15d3ef79800",
"maxFeePerGas": "0x2ba7def3000",
"maxPriorityFeePerGas": "0xe8d4a51000",
"hash": "0xccde1a48d47cebb095e6cf24c3e379766c4247fcf78f76f7ad9bc135796684ec",
"input": "0x833bf6c000000000…(484 bytes)",
"nonce": "0x5382c",
"to": "0x2ca6571daa15ce734bbd0bf27d5c9d16787fc33f",
"transactionIndex": "0x0",
"value": "0x0",
"type": "0x2",
"accessList": [],
"chainId": "0xe",
"v": "0x0",
"r": "0x46ef1077d5286b17fec37e621e608f96e10bc213458575041ecc15682012d74d",
"s": "0x4c9a8dab6495d483d4f8c8f637c53e9b54e012d578e7ef9459edf5caa83a5a16",
"yParity": "0x0"
}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_getTransactionByHash","params":["0xccde1a48d47cebb095e6cf24c3e379766c4247fcf78f76f7ad9bc135796684ec"]}'import { createPublicClient, http } from "viem";
const client = createPublicClient({
transport: http("https://rpc.swiftnodes.io/rpc/flare?key=YOUR_API_KEY"),
});
const tx = await client.getTransaction({ hash: "0xccde1a48d47cebb095e6cf24c3e379766c4247fcf78f76f7ad9bc135796684ec" });
if (tx.blockNumber === null) console.log("still pending");
console.log(tx.type, tx.from, tx.to, tx.value);Other methods on Flare
- eth_blockNumberSupported
- eth_chainIdSupported
- eth_getBalanceSupported
- eth_getBlockByNumberSupported
- eth_getTransactionReceiptSupported
- eth_callSupported
- eth_estimateGasSupported
- eth_gasPriceSupported
- eth_maxPriorityFeePerGasSupported
- eth_sendRawTransactionSupported
- eth_getTransactionCountSupported
- eth_getCodeSupported
- eth_subscribeSupported
- eth_getLogsSupported
- eth_getBlockReceiptsSupported
- eth_feeHistorySupported
- eth_getProofSupported
- eth_createAccessListSupported
- debug_traceCallSupported
- trace_blockSupported
- trace_transactionNot available
eth_getTransactionByHash on other chains
- Ethereum
- Base
- Arbitrum
- Optimism
- Polygon
- BNB Smart Chain
- Avalanche
- Sonic
- Linea
- Scroll
- zkSync Era
- Blast
- Mantle
- Gnosis
- Celo
- Berachain
- Monad
- Unichain
- Kaia
- PulseChain
- World Chain
- Ronin
- Abstract
- ApeChain
- MegaETH
- Fantom
- Lisk
- Hemi
- X Layer
- BOB
- Plasma
- Fraxtal
- Zora
- Story
- Soneium
- Sei
- Hyperliquid
- Taiko
- Morph
- Ink
- Katana
- Ethereum Classic
- opBNB
- Mode
- Core
- Chiliz
- Telos EVM
- Tempo
- Cronos
- Manta Pacific
- Shibarium
- Boba Network
- Arbitrum Nova
- Immutable zkEVM
Frequently asked questions
Does Flare support eth_getTransactionByHash?
Yes. eth_getTransactionByHash answered on the SwiftNodes Flare endpoint when our weekly probe called it through the customer path (2026-10-13).
Which transaction types does Flare use?
In five recent blocks: 99 × 0x2 (EIP-1559), 3 × 0x0 (legacy).
Why does eth_getTransactionByHash return null on Flare?
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.
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.