UNPKG

@coinset/zaif

Version:

Zaif API client for Node.js

18 lines 549 B
import type { ZaifPair } from '../../shared/types/currency'; import type { PublicAPI } from '../../shared/types'; declare type LastPriceOptions = { pair: ZaifPair; }; declare type LastPriceResponse = { last_price: number; }; /** * @throws `Error` * * @see https://zaif-api-document.readthedocs.io/ja/latest/PublicAPI.html#id17 * @beta */ declare const fetchLastPrice: PublicAPI<LastPriceOptions, LastPriceResponse>; export { fetchLastPrice }; export type { LastPriceOptions, LastPriceResponse }; //# sourceMappingURL=last_price.d.ts.map