eth_maxPriorityFeePerGas - Ethereum

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.

Parameters

none


Returns

QUANTITY - The estimated priority fee per gas.


Example

Request

curl https://eth-mainnet.unifra.io/v1/your-api-key \
-X POST \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"eth_maxPriorityFeePerGas","params":[],"id":1}'
URL: https://eth-mainnet.unifra.io/v1/your-api-key
RequestType: POST
Body:
{
    "jsonrpc":"2.0",
    "method":"eth_maxPriorityFeePerGas",
    "params":[],
    "id":1
}

Result

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