eth_getTransactionReceipt on Scroll
Everything below was measured on 2026-11-29 by calling eth_getTransactionReceipt on Scroll through the same endpoint customers use, and is re-measured weekly.
What eth_getTransactionReceipt does
Returns the outcome of a mined transaction: status (1 success, 0 reverted), gas used, the effective gas price, the logs it emitted and any contract it created. It returns null until the transaction is in a block.
eth_getTransactionReceipt on Scroll: what we measured
| Fields | 15 (1 beyond the Ethereum set) |
|---|---|
| Receipt for an unknown hash | null |
| Size of the sample receipt | 1.0 KB |
Reading the fee and fields
Beyond the Ethereum fields, Scroll receipts carry one more. l1Fee: the L1 data fee in wei, charged on top of gasUsed × effectiveGasPrice. Add it to get the real cost.
gasUsed × effectiveGasPrice is not the whole cost on Scroll. In the sample receipt below, execution cost 2,732,247,000 wei and the L1 data fee (l1Fee) 210,236,772,107 wei, so 98.7% of what the sender paid was the L1 fee. A wallet or accounting tool that ignores l1Fee understates fees.
A hash the node has not seen returns null, not an error, so poll until it is non-null (viem's waitForTransactionReceipt does this) and give up after a timeout.
A real Scroll receipt
As our endpoint returned it; logs collapsed to a count and long hex values shortened.
{
"blockHash": "0xb3802f2675ee30cf94ca82e3e55a7ac4afb7bf11fb9881389ef38fb551d9ddc7",
"blockNumber": "0x226214c",
"contractAddress": null,
"cumulativeGasUsed": "0x5208",
"effectiveGasPrice": "0x1fc3b",
"from": "0x77c35da4088b0a16ef6277061f85f3a422c8aa64",
"gasUsed": "0x5208",
"l1Fee": "0x30f3168f0b",
"logs": "0 logs",
"logsBloom": "0x0000000000000000…(256 bytes)",
"status": "0x1",
"to": "0xed9ab5bc05a0152b9dc2f7902e8369af7bc18771",
"transactionHash": "0xb9b4e8c9b3f5f20d69dfe6de185d349b8f32cf550aee10a8b6013f65ed855198",
"transactionIndex": "0x0",
"type": "0x2"
}Example request
curl -s https://rpc.swiftnodes.io/rpc/scroll?key=YOUR_API_KEY \
-X POST -H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"eth_getTransactionReceipt","params":["0xb9b4e8c9b3f5f20d69dfe6de185d349b8f32cf550aee10a8b6013f65ed855198"]}'import { createPublicClient, http } from "viem";
const client = createPublicClient({
transport: http("https://rpc.swiftnodes.io/rpc/scroll?key=YOUR_API_KEY"),
});
const receipt = await client.waitForTransactionReceipt({ hash, timeout: 60_000 });
if (receipt.status !== "success") throw new Error("reverted");
// Total cost on Scroll: execution plus the L1 data fee
const execution = receipt.gasUsed * receipt.effectiveGasPrice;
const total = execution + (receipt.l1Fee ?? 0n);Other methods on Scroll
- eth_blockNumberSupported
- eth_chainIdSupported
- eth_getBalanceSupported
- eth_getBlockByNumberSupported
- eth_getTransactionByHashSupported
- eth_callSupported
- eth_estimateGasSupported
- eth_gasPriceSupported
- eth_feeHistorySupported
- eth_maxPriorityFeePerGasSupported
- eth_sendRawTransactionSupported
- eth_getTransactionCountSupported
- eth_getCodeSupported
- eth_subscribeSupported
- eth_getLogsSupported
- eth_getBlockReceiptsSupported
- eth_getProofSupported
- eth_createAccessListSupported
- debug_traceCallNot available
- trace_blockNot available
- trace_transactionNot available
eth_getTransactionReceipt on other chains
- Ethereum
- Base
- Arbitrum
- Optimism
- Polygon
- BNB Smart Chain
- Avalanche
- Sonic
- Linea
- zkSync Era
- 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
- Flare
- Core
- Chiliz
- Telos EVM
- Tempo
- Cronos
- Manta Pacific
- Shibarium
- Boba Network
- Arbitrum Nova
- Immutable zkEVM
Frequently asked questions
Does Scroll support eth_getTransactionReceipt?
Yes. eth_getTransactionReceipt answered on the SwiftNodes Scroll endpoint when our weekly probe called it through the customer path (2026-11-29).
How do I get the total fee of a transaction on Scroll?
Add the receipt's l1Fee to gasUsed × effectiveGasPrice.
Why is the Scroll receipt null?
The transaction is not in a block yet, or the hash is unknown to the node. Keep polling with a timeout.
Scroll endpoints, live block height and WebSocket status are on the Scroll RPC page.
One key covers every chain we serve, and SwiftNodes has a free tier.