Skip to main content
GET
/
api
/
v1
/
market
/
pairs
TypeScript SDK
import { KaleidoClient } from '@kaleidoswap/kaleidoswap-sdk';

const client = new KaleidoClient({
  baseUrl: 'https://api.staging.kaleidoswap.com/api/v1'
});

const pairs = await client.listPairs();
console.log(`Found ${pairs.pairs.length} trading pairs`);
{
  "pairs": [
    {
      "base_asset": "<string>",
      "base_asset_id": "<string>",
      "base_precision": 123,
      "quote_asset": "<string>",
      "quote_asset_id": "<string>",
      "quote_precision": 123,
      "is_active": true,
      "min_base_order_size": 123,
      "max_base_order_size": 123,
      "min_quote_order_size": 123,
      "max_quote_order_size": 123,
      "id": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json

Successful Response

pairs
Pair · object[]
required