跳转到主要内容
GET
/
v1
/
integrators
/
{integratorId}
Get integrator's collected fees data for all supported chains
curl --request GET \
  --url https://li.quest/v1/integrators/{integratorId}
{
  "integratorId": "fee-demo",
  "feeBalances": [
    {
      "chainId": 137,
      "tokenBalances": [
        {
          "token": {
            "address": "0x0000000000000000000000000000000000000000",
            "symbol": "MATIC",
            "decimals": 18,
            "chainId": 137,
            "name": "MATIC",
            "coinKey": "MATIC",
            "priceUSD": "0.742896",
            "logoURI": "https://static.debank.com/image/matic_token/logo_url/matic/6f5a6b6f0732a7a235131bd7804d357c.png"
          },
          "amount": 0,
          "amountUsd": 0
        }
      ]
    }
  ]
}

请求头

x-lifi-api-key
string

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

路径参数

integratorId
string
必填

Id of the integrator that requests fee balances

响应

Response of the Integrator request

Integrator's fee balance by chain

integratorId
string
必填

The integrator's name or wallet address

feeBalances
object[]

The fee balances of the integrator