eth_getTransactionByHash on Hemi
Everything below was measured on 2026-10-13 by calling eth_getTransactionByHash on Hemi 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 Hemi
Types of the 5 transactions in five consecutive blocks when we measured. Decoders that reject unknown types will fail on Hemi 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.
A real Hemi transaction
A type 0x7e transaction from one of the latest blocks, as our endpoint returned it (long hex values shortened).
{
"blockHash": "0x30542907fec9ca083ed15185d941704e1644f78ed640bd833d48a6d7350eae5d",
"blockNumber": "0x53f612",
"from": "0xdeaddeaddeaddeaddeaddeaddeaddeaddead0001",
"gas": "0xf4240",
"gasPrice": "0x0",
"hash": "0x5666f06e1d6f0d471a65470b1c273fc88251d24d2610b023b2f2438c73883d6a",
"input": "0x098999be000f4240…(176 bytes)",
"nonce": "0x53f614",
"to": "0x4200000000000000000000000000000000000015",
"transactionIndex": "0x0",
"value": "0x0",
"type": "0x7e",
"v": "0x0",
"r": "0x0",
"s": "0x0",
"sourceHash": "0x1e54445847aecd5821582d7f08c781d7f97ef0adbb876ba9066a6f8e22e4f4d2",
"mint": "0x0",
"depositReceiptVersion": "0x1"
}Example request
curl -s https://rpc.swiftnodes.io/rpc/hemi?key=YOUR_API_KEY \
-X POST -H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"eth_getTransactionByHash","params":["0x5666f06e1d6f0d471a65470b1c273fc88251d24d2610b023b2f2438c73883d6a"]}'import { createPublicClient, http } from "viem";
const client = createPublicClient({
transport: http("https://rpc.swiftnodes.io/rpc/hemi?key=YOUR_API_KEY"),
});
const tx = await client.getTransaction({ hash: "0x5666f06e1d6f0d471a65470b1c273fc88251d24d2610b023b2f2438c73883d6a" });
if (tx.blockNumber === null) console.log("still pending");
console.log(tx.type, tx.from, tx.to, tx.value);Other methods on Hemi
- 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_blockNot available
- 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
- X Layer
- BOB
- Plasma
- Fraxtal
- Zora
- Story
- Soneium
- Sei
- Hyperliquid
- Taiko
- Morph
- Ink
- Katana
- Ethereum Classic
- opBNB
- Mode
- Flare
- Core
- Chiliz
- Telos EVM
- Tempo
- Cronos
- Manta Pacific
- Shibarium
- Boba Network
- Arbitrum Nova
- Immutable zkEVM
Frequently asked questions
Does Hemi support eth_getTransactionByHash?
Yes. eth_getTransactionByHash answered on the SwiftNodes Hemi endpoint when our weekly probe called it through the customer path (2026-10-13).
Which transaction types does Hemi use?
In five recent blocks: 5 × 0x7e (L1-to-L2 deposit (OP Stack)).
Why does eth_getTransactionByHash return null on Hemi?
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.
Hemi endpoints, live block height and WebSocket status are on the Hemi RPC page.
One key covers every chain we serve, and SwiftNodes has a free tier.