Skip to main content

eth_maxPriorityFeePerGas

Returns the current recommended priority fee per gas on Astar for EIP-1559 transactions.

Use Cases#

  • EIP-1559 transactions - Set appropriate priority fees
  • Transaction acceleration - Calculate tips for faster inclusion
  • Gas optimization - Balance speed vs cost for cross-chain DeFi, multi-VM smart contracts, and XCM-enabled interoperability with Ethereum and Cosmos

Parameters#

This method accepts no parameters.

Request#

{
"jsonrpc": "2.0",
"method": "eth_maxPriorityFeePerGas",
"params": [],
"id": 1
}

Code Examples#

curl -X POST https://api-astar.n.dwellir.com/YOUR_API_KEY \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "eth_maxPriorityFeePerGas",
"params": [],
"id": 1
}'