⚠️Blast API (blastapi.io) ends Oct 31. Migrate to Dwellir and skip Alchemy's expensive compute units.
Switch Today →
Skip to main content

eth_maxPriorityFeePerGas

Get the current max priority fee per gas on Avalanche C-Chain.

Parameters

This method accepts no parameters.

{
"jsonrpc": "2.0",
"method": "eth_maxPriorityFeePerGas",
"params": [],
"id": 1
}

Returns

QUANTITY - Integer of the current max priority fee per gas in wei.

Implementation Example

curl -X POST https://api-avalanche-mainnet-archive.n.dwellir.com/YOUR_API_KEY/ext/bc/C/rpc \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "eth_maxPriorityFeePerGas",
"params": [],
"id": 1
}'

Response Example

{
"jsonrpc": "2.0",
"id": 1,
"result": "0x3b9aca00"
}

Note: This method is useful for EIP-1559 transactions on Avalanche C-Chain, which supports dynamic fee pricing.


Need help? Contact our support team or check the Avalanche documentation.