@coinset/bitmart
Version:
Universal BitMart API client
14 lines (13 loc) • 507 B
TypeScript
import { SuccessResponse } from "./_utils.js";
export declare type SymbolsResponse = SuccessResponse<{
/** Array of trading pairs */
symbols: `${string}_${string}`[];
}>;
/** Get a list of all trading pairs on the platform.
* ```ts
* import { fetchSymbols } from "https://deno.land/x/bitmart@$VERSION/mod.ts"
* await fetchSymbols()
* ```
* @see https://developer-pro.bitmart.com/en/spot/basic/symbols.html
*/
export declare function fetchSymbols(init?: RequestInit): Promise<SymbolsResponse>;