RPC method

eth_maxPriorityFeePerGas on Sonic

Supported on SwiftNodes

Everything below was measured on 2026-10-13 by calling eth_maxPriorityFeePerGas on Sonic through the same endpoint customers use, and is re-measured weekly.

What eth_maxPriorityFeePerGas does

Returns the node's suggested priority fee (tip) per gas for an EIP-1559 transaction, in wei. Libraries such as viem and ethers fill maxPriorityFeePerGas from it by default, so its accuracy decides what your users pay.

eth_maxPriorityFeePerGas on Sonic: what we measured

Suggested tip76.89 gwei
Median tip paid (median of the per-block medians, last 20 blocks)79.03 gwei
Base fee50.00 gwei

Should you use the suggestion?

The suggestion is in line with the tips actually paid on Sonic, so the library default is fine.

Chains where the suggested tip is far above what is paid

On 28 of the chains we measure, the suggested tip was at least ten times the median tip paid (or the median paid was zero).

Example request

curl -s https://rpc.swiftnodes.io/rpc/sonic?key=YOUR_API_KEY \
  -X POST -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"eth_maxPriorityFeePerGas","params":[]}'
import { createPublicClient, http } from "viem";

const client = createPublicClient({
  transport: http("https://rpc.swiftnodes.io/rpc/sonic?key=YOUR_API_KEY"),
});

// Tip from what recent blocks paid, not the node's suggestion
const { 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[Math.floor(tips.length / 2)];

await wallet.sendTransaction({ to, value, maxPriorityFeePerGas });

Other methods on Sonic

eth_maxPriorityFeePerGas on other chains

Frequently asked questions

Does Sonic support eth_maxPriorityFeePerGas?

Yes. eth_maxPriorityFeePerGas answered on the SwiftNodes Sonic endpoint when our weekly probe called it through the customer path (2026-10-13).

What priority fee should I use on Sonic?

The median tip paid over the last 20 blocks was 79.03 gwei on 2026-10-13; the node suggested 76.89 gwei. Take the tip from eth_feeHistory percentiles.

Sonic endpoints, live block height and WebSocket status are on the Sonic RPC page.

One key covers every chain we serve, and SwiftNodes has a free tier.