eth_maxPriorityFeePerGas

Returns an estimate of how much you can pay as a priority fee per gas to get a transaction included in the current block.This method was introduced with EIP 1559.

📘

Use the value returned to set maxFeePerGas in subsequent transactions.

Parameters

None

Result

A hex code of an integer that represents the the estimated priority fee per transaction.

Example

Request

curl <your-endpoint> \
    -X POST \
    -H "Content-Type: application/json" \
    -d '{"jsonrpc":"2.0","method":"eth_maxPriorityFeePerGas","params": [],"id":0}'

Return

{
    "jsonrpc": "2.0",
    "id": 0,
    "result": "0x3b9aca00"
}
Language
Click Try It! to start a request and see the response here!