本页面使用机器翻译自英语,可能包含错误或不清楚的语言。如需最准确的信息,请参阅英文原文。由于更新频繁,部分内容可能与英文原文有出入。请加入我们在 Crowdin 上的努力,帮助我们改进本页面的翻译。 (Crowdin translation page, Contributing guide)
[Gas] eth_maxPriorityFeePerGas
Returns a recommended maxPriorityFeePerGas for a new transaction.
- Before Magma, returns the fixed UnitPrice
- After Magma, returns zero
- After Kaia, returns zero if network is uncongested (i.e. next baseFee at its lower bound), otherwise 60% percentile effective tip from previous 20 blocks (under default setting)
NOTE: This API has different behavior from Ethereum's and returns a gas price of Kaia instead of suggesting a gas price as in Ethereum.
JSONRPC: eth_maxPriorityFeePerGas
Request
- application/json
Body
params array