Returns the current maximum priority fee per gas for EIP-1559 transactions. On Hyperliquid, this method always returns zero as priority fees are not used.
Get your own node endpoint todayStart 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 takes no parameters.
Returns
Returns the maximum priority fee per gas as a hexadecimal string. On Hyperliquid, this is always "0x0".
On Hyperliquid, priority fees are always zero. The network uses only base fees for transaction pricing, so setting a priority fee will not affect transaction inclusion speed or priority.
cURL example
curl -X POST \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"eth_maxPriorityFeePerGas","params":[],"id":1}' \
https://hyperliquid-mainnet.core.chainstack.com/4f8d8f4040bdacd1577bff8058438274/evm
Example response:
{"jsonrpc":"2.0","id":1,"result":"0x0"}
Use cases
- EIP-1559 compatibility — Maintain compatibility with EIP-1559 transaction format
- Wallet applications — Handle priority fee queries for cross-chain compatibility
- Fee estimation — Calculate transaction costs knowing priority fees are zero
- Protocol integration — Integrate with protocols that query priority fees
jsonrpc
enum<string>
default:2.0
required
method
enum<string>
default:eth_maxPriorityFeePerGas
required
Available options:
eth_maxPriorityFeePerGas
Successful response with the maximum priority fee per gas
The maximum priority fee per gas in wei as a hexadecimal string