UNPKG

bitso-bert-api

Version:

<h1 align="center">bitso-bert-api</h1>

8 lines (7 loc) 468 B
import { BitsoBook } from '../types/common.types'; export declare const isBookAvailable: (book: BitsoBook) => boolean; export declare const isValidConversion: (from: string, to: string) => boolean; export declare const generatePlaceOrderParams: (book: BitsoBook, amount: string, currency?: "mxn" | "usd" | "ars" | "brl" | "btc" | "eth" | "xrp" | "ltc" | "bch" | "tusd" | "bat" | "dai" | "mana" | undefined) => { [x: string]: string; book: BitsoBook; };