JSON-RPCMethods
eth_maxPriorityFeePerGas: parameters, returns and CU
Return the suggested EIP-1559 priority fee per gas in wei.
Summary
Return the node's suggested EIP-1559 priority fee (tip) per gas, in wei.
Compute units (CU) and pricing
CU per call
10 CU
Price per 1M calls (USD)
$1.00
Parameters
This method takes no parameters.
Returns
- Type:
QUANTITY - Description: Suggested priority fee as a 0x-prefixed hexadecimal quantity in wei.
Notes
The value covers only the tip, not the base fee; an EIP-1559 transaction also needs the block base fee to derive maxFeePerGas.
Request example
export BLOCKVECTRA_API_KEY=rgw_your_api_key
curl -X POST "https://api.blockvectra.com/v1/robinhood_mainnet" \
-H 'Content-Type: application/json' \
-H "x-api-key: $BLOCKVECTRA_API_KEY" \
-d '{
"jsonrpc": "2.0",
"method": "eth_maxPriorityFeePerGas",
"params": [],
"id": 1
}'Supported chains
Available on all supported chains except: Rootstock (rootstock_mainnet).
Related references
Last updated: