跳转到主要内容
GET
/
v1
/
tokens
Fetch all known tokens
curl --request GET \
  --url https://li.quest/v1/tokens
{
  "1": [
    {
      "address": "0x8f3cf7ad23cd3cadbd9735aff958023239c6a063",
      "symbol": "DAI",
      "decimals": 18,
      "chainId": 137,
      "name": "(PoS) Dai Stablecoin",
      "coinKey": "DAI",
      "priceUSD": "1",
      "logoURI": "https://static.debank.com/image/matic_token/logo_url/0x8f3cf7ad23cd3cadbd9735aff958023239c6a063/549c4205dbb199f1b8b03af783f35e71.png"
    }
  ]
}

请求头

x-lifi-api-key
string

Authentication header, contact support if you want to get registered.

查询参数

chains
string

Restrict the resulting tokens to the given chains

chainTypes
string

Restrict the resulting tokens to the given chainTypes.

minPriceUSD
number

Filters results by minimum token price in USD. Minimum value for this parameter is 0. Defaults to 0.0001 USD.

响应

200 - application/json
1
Root Type for Token · object[]

The requested tokens