UNPKG

@coinset/zaif

Version:

Zaif API client for Node.js

23 lines 632 B
import type { ZaifPair } from '../../shared/types/currency'; import type { PublicAPI, AskBid } from '../../shared/types'; declare type TradesOptions = { pair: ZaifPair; }; declare type TradesResponse = { date: number; price: number; amount: number; tid: number; currency_pair: string; trade_type: AskBid; }[]; /** * @throws `Error` * * @see https://zaif-api-document.readthedocs.io/ja/latest/PublicAPI.html#id28 * @beta */ declare const fetchTrades: PublicAPI<TradesOptions, TradesResponse>; export { fetchTrades }; export type { TradesOptions, TradesResponse }; //# sourceMappingURL=trades.d.ts.map