Skip to main content

eth_max_priority_fee_per_gas RPC Method

Get the priority fee needed to be included in a block.

Updated on
Nov 2, 2023

eth_max_priority_fee_per_gas RPC Method

Parameters

This method does not accept any parameters

Returns

result
string
The hex value of the priority fee needed to be included in a block.
Request
1
curl --location --request POST https://docs-demo.avalanche-mainnet.quiknode.pro/ext/bc/C/rpc/ext/bc/C/rpc \
2
--header 'Content-Type: application/json' \
3
--data-raw '{
4
"jsonrpc": "2.0",
5
"method": "eth_maxPriorityFeePerGas",
6
"params": [],
7
"id": 1
8
}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free