JavaScript
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>" } ] }
Retrieve all available trading pairs and their limits
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response
Show child attributes