跳转到主要内容
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, contact support if you want to get registered.

路径参数

chainId
string
必填

ChaindId from which gas prices should be shown

响应

Gas Prices for the supplied chainID

standard
number
fast
number
fastest
number
lastUpdated
number