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.

Связанные методы