Marketplace has launched, further enabling blockchain developers! Learn more


eth_max_priority_fee_per_gas RPC method

The eth_max_priority_fee_per_gas EVM method is only supported on the Avalanche C-Chain.


  1. None


  1. Result - String - The hex value of the priority fee needed to be included in a block.

Code Examples:

To use the eth_max_priority_fee_per_gas EVM method on the Avalanche C-Chain, ensure that the end of your URL includes ext/bc/C/rpc.

const ethers = require("ethers");

(async () => {
  const provider = new ethers.providers.JsonRpcProvider(
  const params = [];
  const result = await provider.send("eth_maxPriorityFeePerGas", params);
Ready to get started? Create a free account