Method reference
eth_getTransactionByHash
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 seen in five consecutive blocks on each chain. A decoder must accept every type listed for the chains it reads.
eth_getTransactionByHash on 50 chains, measured
Measured 2026-11-29 by calling eth_getTransactionByHash through the SwiftNodes endpoint for each chain, re-measured weekly. Each chain links to its own page with the full response and code.
| Chain | Transaction types seen |
|---|---|
| Abstract | 0x71 ×4, 0x0 ×1 |
| ApeChain | 0x6a ×5, 0x2 ×4, 0x0 ×1 |
| Arbitrum | 0x0 ×10, 0x2 ×6, 0x6a ×5 |
| Arbitrum Nova | 0x6a ×6, 0x0 ×4 |
| Avalanche | 0x2 ×5, 0x0 ×1 |
| Berachain | 0x2 ×10, 0x7e ×5 |
| BNB Smart Chain | 0x0 ×241, 0x2 ×159, 0x1 ×5, 0x4 ×2, 0x3 ×1 |
| BOB | 0x7e ×5, 0x0 ×2 |
| Boba Network | 0x7e ×5 |
| Celo | 0x7b ×51, 0x2 ×7, 0x7e ×5, 0x0 ×3 |
| Chiliz | 0x0 ×5 |
| Core | 0x0 ×22 |
| Cronos | 0x0 ×1 |
| Ethereum | 0x2 ×604, 0x0 ×66, 0x4 ×19, 0x3 ×8 |
| Ethereum Classic | 0x0 ×33 |
| Fantom | 0x2 ×3, 0x0 ×3 |
| Flare | 0x2 ×9, 0x0 ×2 |
| Fraxtal | 0x7e ×5, 0x2 ×4, 0x0 ×1 |
| Gnosis | 0x2 ×181, 0x0 ×24, 0x4 ×1 |
| Hemi | 0x7e ×5, 0x0 ×1 |
| Hyperliquid | 0x2 ×22 |
| Immutable zkEVM | 0x2 ×1, 0x0 ×1 |
| Ink | 0x2 ×55, 0x7e ×5 |
| Kaia | 0x0 ×2, 0x2 ×1 |
| Katana | 0x7e ×5 |
| Linea | 0x2 ×4, 0x0 ×2 |
| Lisk | 0x7e ×5 |
| Manta Pacific | 0x2 ×24, 0x7e ×5 |
| Mantle | 0x7e ×5 |
| MegaETH | 0x2 ×92, 0x0 ×51, 0x7e ×5 |
| Mode | 0x7e ×5 |
| Monad | 0x2 ×261, 0x0 ×6 |
| Morph | 0x2 ×1 |
| opBNB | 0x2 ×20, 0x0 ×9, 0x7e ×5 |
| Optimism | 0x2 ×357, 0x7e ×5, 0x0 ×2 |
| Plasma | 0x2 ×34, 0x0 ×6 |
| Polygon | 0x2 ×194, 0x0 ×19, 0x4 ×3, 0x1 ×2 |
| PulseChain | 0x2 ×169, 0x0 ×49 |
| Ronin | 0x2 ×8, 0x7e ×5, 0x1 ×1, 0x0 ×1 |
| Scroll | 0x2 ×8 |
| Soneium | 0x2 ×16, 0x7e ×5 |
| Sonic | 0x2 ×3 |
| Story | 0x2 ×18 |
| Taiko | 0x2 ×5 |
| Tempo | 0x76 ×2 |
| Unichain | 0x2 ×20, 0x7e ×5, 0x0 ×2 |
| World Chain | 0x2 ×32, 0x7e ×5, 0x0 ×2 |
| X Layer | 0x2 ×111, 0x7e ×5, 0x0 ×2 |
| zkSync Era | 0x71 ×3, 0x0 ×2 |
| Zora | 0x7e ×5 |
Not served through our endpoint when measured: Base.
Replace YOUR_API_KEY in the examples on each chain page with your SwiftNodes key (free tier available).