eth_maxPriorityFeePerGas | Optimism

Optimism API method eth_maxPriorityFeePerGas queries the current maximum priority fee per gas. This method is particularly useful in periods of high network congestion to estimate the appropriate priority fee for a transaction.

👍

Get you own node endpoint today

Start for free and get your app to production levels immediately. No credit card required.

You can sign up with your GitHub, X, Google, or Microsoft account.

Parameters

This method does not require any parameters.

Response

  • result — the current maximum priority fee per gas, returned as a hexadecimal string.

Use case

The eth_maxPriorityFeePerGas method is essential for:

  • Wallets and transaction builders that dynamically adjust transaction fees to ensure timely inclusion in a block.
  • Users and services looking to estimate transaction costs more accurately during periods of network congestion.
  • Developers and analysts monitoring Optimism network fee dynamics.

Try the eth_maxPriorityFeePerGas RPC method yourself

Language
Click Try It! to start a request and see the response here!