eth_gasPrice on Avalanche
Everything below was measured on 2026-10-13 by calling eth_gasPrice on Avalanche through the same endpoint customers use, and is re-measured weekly.
What eth_gasPrice does
Returns the node's suggested gas price in wei for a legacy (type 0) transaction. On EIP-1559 chains it is usually the current base fee plus a suggested tip, which can sit well above what transactions actually pay.
eth_gasPrice on Avalanche: what we measured
| eth_gasPrice | 5.00 gwei |
|---|---|
| Base fee of the latest block | 5.00 gwei |
| eth_maxPriorityFeePerGas | 150 wei |
| Median tip paid (last 20 blocks) | 2.50 gwei |
Should you use it?
eth_gasPrice (5.00 gwei) was below the base fee plus the median tip paid (7.50 gwei). A legacy transaction at that price pays less tip than most and can wait longer when blocks are busy; set maxPriorityFeePerGas from eth_feeHistory if inclusion time matters.
Example request
curl -s https://rpc.swiftnodes.io/rpc/avalanche?key=YOUR_API_KEY \
-X POST -H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"eth_gasPrice","params":[]}'import { createPublicClient, http } from "viem";
const client = createPublicClient({
transport: http("https://rpc.swiftnodes.io/rpc/avalanche?key=YOUR_API_KEY"),
});
const gasPrice = await client.getGasPrice(); // legacy price, wei
// EIP-1559 fees from recent blocks instead of the suggestion
const { baseFeePerGas, reward } = await client.getFeeHistory({ blockCount: 20, rewardPercentiles: [50] });
const tips = reward!.map((r) => r[0]).sort((a, b) => (a < b ? -1 : a > b ? 1 : 0));
const maxPriorityFeePerGas = tips[10];
const maxFeePerGas = baseFeePerGas.at(-1)! * 2n + maxPriorityFeePerGas;Other methods on Avalanche
- eth_blockNumberSupported
- eth_chainIdSupported
- eth_getBalanceSupported
- eth_getBlockByNumberSupported
- eth_getTransactionByHashSupported
- eth_getTransactionReceiptSupported
- eth_callSupported
- eth_estimateGasSupported
- 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_gasPrice on other chains
- Ethereum
- Base
- Arbitrum
- Optimism
- Polygon
- BNB Smart Chain
- 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
- 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 Avalanche support eth_gasPrice?
Yes. eth_gasPrice answered on the SwiftNodes Avalanche endpoint when our weekly probe called it through the customer path (2026-10-13).
What is the gas price on Avalanche?
eth_gasPrice returned 5.00 gwei on 2026-10-13, with a base fee of 5.00 gwei. Live values are on our Avalanche gas page.
Avalanche endpoints, live block height and WebSocket status are on the Avalanche RPC page.
One key covers every chain we serve, and SwiftNodes has a free tier.