Skip to main content

GetSwapCounterTokensOutput

Output from the swap counter-token list endpoint.

  • Array [
  • idstringrequired

    Canonical token identifier accepted by the API, e.g. BITCOIN-BTC, LIGHTNING-BTC, STARKNET-STRK.

    chainIdstringrequired

    Chain identifier, e.g. STARKNET, BITCOIN, LIGHTNING.

    tickerstringrequired

    Token ticker, e.g. STRK.

    namestringrequired

    Full token name.

    decimalsintegerrequired

    Decimal places of the token.

    addressstringrequired

    Token contract address, or empty string for BTC on Bitcoin/Lightning.

  • ]
  • GetSwapCounterTokensOutput
    [
    {
    "id": "string",
    "chainId": "string",
    "ticker": "string",
    "name": "string",
    "decimals": 0,
    "address": "string"
    }
    ]