eth_maxPriorityFeePerGas

πŸ“˜

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!