Links

eth_maxPriorityFeePerGas

Returns a fee per gas that is an estimate of how much you can pay as a priority fee, or "tip", to get a transaction included in the current block.

REQUEST

POST https://<network>.infura.io/v3/YOUR-API-KEY

HEADERS

Content-Type: application/json

EXAMPLE

## JSON-RPC over HTTPS POST
## Replace YOUR-API-KEY with an API key from your Infura Dashboard
curl https://celo.infura.io/v3/<YOUR-API-KEY> \
-X POST \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"eth_maxPriorityFeePerGas","id":1}'

RESPONSE

result - a hex code of an integer representing the fee per gas to include a transaction in the current block

BODY

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