eth_getTransactionReceipt on Morph
Everything below was measured on 2026-10-13 by calling eth_getTransactionReceipt on Morph 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 Morph: what we measured
| Fields | 22 (8 beyond the Ethereum set) |
|---|---|
| Receipt for an unknown hash | null |
| Size of the sample receipt | 1.8 KB |
Reading the fee and fields
Beyond the Ethereum fields, Morph receipts carry 8 more. feeLimit: the maximum amount of fee token the sender allowed; feeRate: the exchange rate used to convert the gas cost into the fee token; feeTokenID: the token gas was paid in for a MorphTx (0 means ETH); l1Fee: the L1 data fee in wei, charged on top of gasUsed × effectiveGasPrice. Add it to get the real cost; memo: an optional payment memo; reference: an optional 32-byte payment reference; tokenScale: the scale for the fee token's exchange rate; version: the transaction format version.
gasUsed × effectiveGasPrice is not the whole cost on Morph. In the sample receipt below, execution cost 153,558,400,000 wei and the L1 data fee (l1Fee) 529,939,524,024 wei, so 77.5% 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 Morph receipt
As our endpoint returned it; logs collapsed to a count and long hex values shortened.
{
"blockHash": "0xf7265572187895b519f1b65f918af89d10fe2fa047535056f6f385b61a9c1152",
"blockNumber": "0x1aeaa39",
"contractAddress": null,
"cumulativeGasUsed": "0x176e6",
"effectiveGasPrice": "0x186a00",
"feeLimit": "0x0",
"feeRate": "0x0",
"feeTokenID": "0x0",
"from": "0xe27d4cb1759bae0188126bd62d415a6fa528ffe5",
"gasUsed": "0x176e6",
"l1Fee": "0x7b62db69b8",
"logs": "1 logs",
"logsBloom": "0x0040000000000000…(256 bytes)",
"memo": null,
"reference": null,
"status": "0x1",
"to": "0x0c2ebc9ff9383a7cbb81d7fdc24881430c9933b6",
"tokenScale": "0x0",
"transactionHash": "0x160819be7f788960c005ffa1b0a39aae4d267348980c4aabeabdb59dc9957665",
"transactionIndex": "0x0",
"type": "0x0",
"version": "0x0"
}Example request
curl -s https://rpc.swiftnodes.io/rpc/morph?key=YOUR_API_KEY \
-X POST -H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"eth_getTransactionReceipt","params":["0x160819be7f788960c005ffa1b0a39aae4d267348980c4aabeabdb59dc9957665"]}'import { createPublicClient, http } from "viem";
const client = createPublicClient({
transport: http("https://rpc.swiftnodes.io/rpc/morph?key=YOUR_API_KEY"),
});
const receipt = await client.waitForTransactionReceipt({ hash, timeout: 60_000 });
if (receipt.status !== "success") throw new Error("reverted");
// Total cost on Morph: execution plus the L1 data fee
const execution = receipt.gasUsed * receipt.effectiveGasPrice;
const total = execution + (receipt.l1Fee ?? 0n);Other methods on Morph
- eth_blockNumberSupported
- eth_chainIdSupported
- eth_getBalanceSupported
- eth_getBlockByNumberSupported
- eth_getTransactionByHashSupported
- 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_transactionSupported
eth_getTransactionReceipt 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
- 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 Morph support eth_getTransactionReceipt?
Yes. eth_getTransactionReceipt answered on the SwiftNodes Morph endpoint when our weekly probe called it through the customer path (2026-10-13).
How do I get the total fee of a transaction on Morph?
Add the receipt's l1Fee to gasUsed × effectiveGasPrice.
Why is the Morph receipt null?
The transaction is not in a block yet, or the hash is unknown to the node. Keep polling with a timeout.
Morph endpoints, live block height and WebSocket status are on the Morph RPC page.
One key covers every chain we serve, and SwiftNodes has a free tier.