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.
POST https://<network>.infura.io/v3/YOUR-API-KEY
Content-Type: application/json
## 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}'
result
- a hex code of an integer representing the fee per gas to include a transaction in the current block{
"jsonrpc": "2.0",
"id": 1,
"result": "0xbebc200"
}
Last modified 4mo ago