跳转到主要内容
GET
/
v1
/
gas
/
prices
/
{chainId}
Get gas price for the specified chainId
curl --request GET \
  --url https://li.quest/v1/gas/prices/{chainId}
{
  "standard": 123,
  "fast": 123,
  "fastest": 123,
  "lastUpdated": 123
}

请求头

x-lifi-api-key
string

Authentication header, register in the LI.FI Partner Portal (https://portal.li.fi/ ) to get your API Key.

路径参数

chainId
string
必填

ChaindId from which gas prices should be shown

响应

Gas Prices for the supplied chainID

standard
number
fast
number
fastest
number
lastUpdated
number