BitMart TypeScript SDK example: spot-get-symbols.ts

BitMart TypeScript SDK REST Spot example for Bitmart/Rest/Spot/spot-get-symbols.ts. Source code reference for exchange REST, WebSocket, and API integration patterns with links to matching Siebly SDK documentation.

Example Path

Bitmart/Rest/Spot/spot-get-symbols.ts

Source Link

Repository source: https://github.com/sieblyio/crypto-api-examples/blob/master/examples/Bitmart/Rest/Spot/spot-get-symbols.ts

Related SDK Docs

Example Source

import { RestClient } from 'bitmart-api';

const client = new RestClient();

async function getTickers() {
  try {
    const tickers = await client.getSpotTickersV3();

    console.log('Tickers: ', JSON.stringify(tickers, null, 2));
  } catch (e) {
    console.error('Req error: ', e);
  }
}

getTickers();