eth_getTransactionByHash on ApeChain
Everything below was measured on 2026-10-13 by calling eth_getTransactionByHash on ApeChain 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 ApeChain
Types of the 10 transactions in five consecutive blocks when we measured. Decoders that reject unknown types will fail on ApeChain if any of these is missing from their list.
| 0x6a Arbitrum internal (per-block system update) | 5 (50%) |
|---|---|
| 0x2 EIP-1559 | 5 (50%) |
A real ApeChain transaction
A type 0x2 transaction from one of the latest blocks, as our endpoint returned it (long hex values shortened).
{
"blockHash": "0x073b5cfe1a457a25ad1977ad68bab1253586cf7101a507632f4988b5ad289c50",
"blockNumber": "0x3189e23",
"from": "0xabd82aab17c0a1fc27697bc20cb6f30624b9b705",
"gas": "0x7a120",
"gasPrice": "0x17acc3c940",
"maxFeePerGas": "0x2f59879280",
"maxPriorityFeePerGas": "0x0",
"hash": "0x1ee827dd7350d0cd3901ef03a4088fb3306c32979f95108640905dde65aec1d9",
"input": "0xd1f9f92400000000…(196 bytes)",
"nonce": "0x691e1d",
"to": "0x031a84f81a9505e48624936c274f4dfd497676ae",
"transactionIndex": "0x1",
"value": "0x0",
"type": "0x2",
"accessList": [],
"chainId": "0x8173",
"v": "0x1",
"r": "0xac0ba1e6bc1794fb6608da3227301d8cfe6520186fdfe176ad5eb3cdd875deec",
"s": "0x28ce87cef9493ff4fd0609d902ca025cccef6eb4bda59daa77411f8eae536739",
"yParity": "0x1"
}Example request
curl -s https://rpc.swiftnodes.io/rpc/apechain?key=YOUR_API_KEY \
-X POST -H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"eth_getTransactionByHash","params":["0x1ee827dd7350d0cd3901ef03a4088fb3306c32979f95108640905dde65aec1d9"]}'import { createPublicClient, http } from "viem";
const client = createPublicClient({
transport: http("https://rpc.swiftnodes.io/rpc/apechain?key=YOUR_API_KEY"),
});
const tx = await client.getTransaction({ hash: "0x1ee827dd7350d0cd3901ef03a4088fb3306c32979f95108640905dde65aec1d9" });
if (tx.blockNumber === null) console.log("still pending");
console.log(tx.type, tx.from, tx.to, tx.value);Other methods on ApeChain
- 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
- MegaETH
- Fantom
- Lisk
- Hemi
- 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 ApeChain support eth_getTransactionByHash?
Yes. eth_getTransactionByHash answered on the SwiftNodes ApeChain endpoint when our weekly probe called it through the customer path (2026-10-13).
Which transaction types does ApeChain use?
In five recent blocks: 5 × 0x6a (Arbitrum internal (per-block system update)), 5 × 0x2 (EIP-1559).
Why does eth_getTransactionByHash return null on ApeChain?
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.
ApeChain endpoints, live block height and WebSocket status are on the ApeChain RPC page.
One key covers every chain we serve, and SwiftNodes has a free tier.