v1

latestOpenAPI 3.0.02026-07-242830146.7 KB
Currency Pairs

Getting the list of available currency pairs for swap crypto

get/v2/currency/pairs/swap-crypto

Headers

X-User-IDstring

User ID detected by a public endpoint that uses the current one

X-User-IPstring

User IP detected by a public endpoint that uses the current one

Response

Currency pairs for swap crypto

Example response

{
  "data": [
    {
      "displayName": "Bitcoin",
      "name": "partner-btc",
      "pairs": [
        {
          "fromAssetId": "BTC-TESTNET",
          "to": [
            "USDT-TRC20"
          ]
        },
        {
          "fromAssetId": "USDT-TRC20",
          "to": [
            "BTC-TESTNET"
          ]
        }
      ]
    }
  ],
  "meta": {
    "currencies": [
      {
        "code": "BTC-TESTNET",
        "name": "Bitcoin (Testnet)",
        "image": "https://google.lv/image/btc.png",
        "hasDestinationTag": false
      },
      {
        "code": "USDT-TRC20",
        "name": "Tether USD (TRC20)",
        "image": "https://google.lv/image/usdt.png",
        "hasDestinationTag": false
      }
    ]
  }
}