GET /v1/{chainID}/gasprices

Provides calculated gas price values in GWEI (nAVAX for Avalanche)

Input Parameters

NameRequiredDescription

chainId

+

The blockchain ID for which the gas price is requested.

Response Options

NameData TypeDescription

high

str

The gas price at which the transaction is most likely to be accepted in the next block.

medium

str

The gas price at which the transaction is most likely to be accepted in the next 2-3 blocks.

low

str

The gas price at which the transaction is most likely to be accepted not earlier than after block 5. There is a risk of a long transaction confirmation.

Request Example

https://api.yad.finance/v1/1/gasprices

Response Example

{
  "low": "29.521",
  "medium": "31.521",
  "high": "33.521"
}

Last updated

Change request #88: