Base
Ready to call this in production?
Free tier covers personal projects. Pay-as-you-go scales without a card.
Base
Free tier covers personal projects. Pay-as-you-go scales without a card.
eth_maxPriorityFeePerGas returns the node's suggested priority fee — the miner/sequencer tip — per unit of gas for EIP-1559 transactions, expressed in wei (ETH is the gas token on Base). The value is a heuristic the node derives from recent block history and is meant to be used as the maxPriorityFeePerGas field when assembling a type-2 transaction. Base is an OP Stack rollup with roughly 2-second blocks, so its tips are usually small, but they still climb during bursts of consumer-app and DEX activity. Call it against https://base.therpc.io/YOUR_API_KEY (Base mainnet, chain ID 8453 / 0x2105) with no parameters.
maxPriorityFeePerGas field when building an EIP-1559 transaction to send on Base, pairing it with a base-fee figure from eth_getBlockByNumber or eth_feeHistory.This method takes no parameters. Pass an empty array [].
| Type | Description |
|---|---|
| string | Hex-encoded priority fee in wei. This is the node's heuristic — typically derived from recent block history. |
Try it live in the Base playground.
| Code | Message | Cause |
|---|---|---|
-32000 | method not supported | The connected network does not implement EIP-1559 and does not support this method. |
eth_gasPrice instead.eth_feeHistory with explicit reward percentiles over this single heuristic value.