eth_maxPriorityFeePerGas

AvalancheC1

Returns a suggested EIP-1559 max priority fee per gas in wei, based on recent blocks. Pair with eth_feeHistory for finer control.

Endpoint
POST https://api.1st-node.com/v1/avalanche/rpc

Returns

QUANTITY — the suggested priority fee in wei.

Request

curl https://api.1st-node.com/v1/avalanche/rpc \
  -H "Authorization: Bearer $ONE_KEY" \
  -H "content-type: application/json" \
  -d '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "eth_maxPriorityFeePerGas",
  "params": []
}'
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "eth_maxPriorityFeePerGas",
  "params": []
}

Response

{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "0x5f5e100"
}
More chain methods on Avalanche

Avalanche API

Пополнили, получили ключ, запустили.

Полное самообслуживание. Оплата криптой или картой. Тарификация в кредитах — тяжёлые примитивы дороже, простые дёшевы.

Получить API-ключ