⚠️Blast API (blastapi.io) ends Oct 31. Migrate to Dwellir and skip Alchemy's expensive compute units.
Switch Today →
Skip to main content

eth_maxPriorityFeePerGas

Returns the current max priority fee per gas in wei.

Parameters

None

Examples

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

Response

Returns the max priority fee per gas in wei as a hexadecimal string. Common error responses:

  • {"code": -32700, "message": "Parse error"} - Invalid JSON
  • {"code": -32602, "message": "Invalid params"} - Invalid parameters
  • {"code": -32603, "message": "Internal error"} - Server error