The eth_maxPriorityFeePerGas
method returns the current maximum priority fee per gas in wei. This fee, also known as a "tip," is an additional amount paid directly to miners to incentivize them to include a transaction in a block. This is part of the EIP-1559 transaction pricing mechanism.
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
- None
Response
result
: The current maximum priority fee per gas, returned as a hexadecimal number.
Use case
This method is crucial for users and applications to dynamically adjust transaction fees to ensure timely processing, especially during periods of high network congestion. By specifying an appropriate max priority fee, transactions can be prioritized by miners without overpaying.
Try the eth_maxPriorityFeePerGas
RPC method yourself
eth_maxPriorityFeePerGas
RPC method yourself