L0vdL0vd

eth_maxPriorityFeePerGas

Returns a suggested EIP-1559 priority fee (tip).

curl https://eth.l0vdinfra.com/YOUR_KEY \
  -X POST \
  -H "Content-Type: application/json" \
  --data '{"jsonrpc":"2.0","id":1,"method":"eth_maxPriorityFeePerGas","params":[]}'

响应示例

{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "0x2ded"
}
参数与您的端点

参数

此方法没有参数。

返回值

string Priority fee in wei, hex.

适用场景

Get a suggested priority fee (tip) for EIP-1559 transactions.

如何解读结果

Hex wei per gas.

提示

  • A common setting is maxFeePerGas = 2 × next base fee + this tip.

相关方法