Skip to content
Stablecoin registry

LCX Liberty. American DeFi. Your keys. Your assets. Your control.

Stablecoin API

Stablecoin registry

GET /v1/stablecoins/coins lists every stablecoin the API quotes, by chain, with its currency.

Request

GET/v1/stablecoins/coins
Query
chainIdnumber

One chain only. A chain we do not serve is refused with unknown_chain. Omit for every chain.

bash
curl "https://swap-api.lcx.com/v1/stablecoins/coins?chainId=1" \
  -H "Authorization: Bearer YOUR_KEY"

Response

json
{
  "success": true,
  "data": {
    "chains": [
      {
        "chainId": 1,
        "chain": "Ethereum",
        "named": true,
        "coins": [
          { "address": "0xdAC17F958D2ee523a2206206994597C13D831ec7", "symbol": "USDT", "decimals": 6, "currency": "USD" },
          { "address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48", "symbol": "USDC", "decimals": 6, "currency": "USD" },
          { "address": "0x1aBaEA1f7C830bD89Acc67eC4af516284b1bC33c", "symbol": "EURC", "decimals": 6, "currency": "EUR" }
        ]
      }
    ]
  }
}
data.chains[]
chainIdnumber

The chain.

chainstring

Its name.

namedboolean

The chain has passed our benchmark gate, a measured run on production. The API quotes every chain listed here under the same rules either way.

coins[].addressstring

Checksummed. Send this as tokenIn or tokenOut.

coins[].symbol / decimalsstring | null, number | null

From our token index. Null when the index holds no metadata for the contract; the coin is still quoted.

coins[].currency"USD" | "EUR" | "CHF"

What the coin is pegged to. Two coins of one currency are measured against par; two currencies against a reference rate.

A coin is listed when it is one the engine anchors at its peg on that chain (USDC, USDT, DAI and each chain's own dollar hub), or when its address on that chain was checked against the coin's published contract and against the token our index holds there before it was added. A coin on the exclusion list is not listed. The registry changes when the API is deployed, not per request, so it is safe to cache for an hour.