curl --request POST \
--url https://optimism-mainnet.core.chainstack.com/efb0a5eccd2caa5135eb54eba6f7f300 \
--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://optimism-mainnet.core.chainstack.com/efb0a5eccd2caa5135eb54eba6f7f300 \
--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:
Was this page helpful?