本頁面使用機器翻譯自英語,可能包含錯誤或不清楚的語言。如需最準確的信息,請參閱英文原文。由於更新頻繁,部分內容可能與英文原文有出入。請加入我們在 Crowdin 上的努力,幫助我們改進本頁面的翻譯。 (Crowdin translation page, Contributing guide)
[Gas] klay_gasPrice
Returns a recommended gasPrice for a new transaction.
- Before Magma, returns the fixed UnitPrice
- After Magma, returns the twice of next baseFee (2*baseFee)
- After Kaia, returns slightly buffered baseFee plus recommended tip (BaseFee * (1.10 or 1.15) + eth_maxPriorityFeePerGas)
JSONRPC: klay_gasPrice
Request
Responses
- 200
Recommended gas price in kei.