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

eth_maxPriorityFeePerGas

Returns the priority fee needed for inclusion in the next block on the Zora network. This method is essential for EIP-1559 transactions, helping you determine the appropriate tip to incentivize miners.

Parameters

None required - this method takes no parameters.

Returns

QUANTITY - The hex-encoded priority fee per gas in wei needed for inclusion in the next block.

Implementation Example

curl -X POST https://api-zora-mainnet.n.dwellir.com/2307f636-d01d-4f85-ba5e-514ff37069f5 \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "eth_maxPriorityFeePerGas",
"params": [],
"id": 1
}'

Response Example

{
"jsonrpc": "2.0",
"id": 1,
"result": "0x77359400"
}

The result 0x77359400 represents 2,000,000,000 wei (2 gwei) as the suggested priority fee.


Need help? Contact our support team or check the Zora documentation.