curl --request POST \
--url https://base-mainnet.core.chainstack.com/2fc1de7f08c0465f6a28e3c355e0cb14 \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"method": "eth_maxPriorityFeePerGas",
"id": 1
}'
{
"jsonrpc": "<string>",
"id": 123,
"result": "<string>"
}
curl --request POST \
--url https://base-mainnet.core.chainstack.com/2fc1de7f08c0465f6a28e3c355e0cb14 \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"method": "eth_maxPriorityFeePerGas",
"id": 1
}'
{
"jsonrpc": "<string>",
"id": 123,
"result": "<string>"
}
eth_maxPriorityFeePerGas
queries the current maximum priority fee per gas. This method is particularly useful in periods of high network congestion to estimate the appropriate priority fee for a transaction.
result
— the current maximum priority fee per gas, returned as a hexadecimal string.eth_maxPriorityFeePerGas
method is essential for:
Current maximum priority fee per gas
The response is of type object
.
Was this page helpful?