UNPKG

@coinset/zaif

Version:

Zaif API client for Node.js

21 lines 634 B
import type { ZaifSymbol } from '../../shared/types/currency'; import type { PublicAPI } from '../../shared/types'; declare type CurrenciesOptions = { symbol: ZaifSymbol | 'all'; }; declare type CurrenciesResponse = { id: number; token_id: number | null; is_token: boolean; name: string; }[]; /** * @throws `Error` * * @see https://zaif-api-document.readthedocs.io/ja/latest/PublicAPI.html#id7 * @beta */ declare const fetchCurrencies: PublicAPI<CurrenciesOptions, CurrenciesResponse>; export { fetchCurrencies }; export type { CurrenciesOptions, CurrenciesResponse }; //# sourceMappingURL=currencies.d.ts.map