AptosAptos Network's breakthrough technology and seamless user experience are now available on QuickNode.

Start building today!     

Contents

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.

Parameters:

  1. None

Returns:

  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.

curl --location --request POST http://sample-endpoint-name.network.quiknode.pro/token-goes-here/ext/bc/C/rpc \
--header 'Content-Type: application/json' \
--data-raw '{
    "jsonrpc": "2.0",
    "method": "eth_maxPriorityFeePerGas",
    "params": [],
    "id": 1
}'
Ready to get started? Create a free account