跳至主要内容

[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

Responses

Recommended maxPriorityFeePerGas in kei.

让这个页面变得更好