UNPKG

@coinset/bitflyer

Version:

Bitflyer API client for Node.js

23 lines 670 B
import type { BitflyerSpotPair, BitflyerFXPair } from '../../shared/types/currency'; import type { SimplePublicAPI } from '../../shared/types/fetch'; declare type MarketsOptions = {}; declare type MarketsResponse = ({ product_code: BitflyerSpotPair; market_type: 'Spot'; } | { product_code: BitflyerFXPair; market_type: 'FX'; } | { product_code: string; alias: string; market_type: 'Futures'; })[]; /** * @throws `Error` * * @see https://lightning.bitflyer.com/docs?lang=en#market-list * @beta */ declare const fetchMarkets: SimplePublicAPI<MarketsOptions, MarketsResponse>; export { fetchMarkets }; //# sourceMappingURL=markets.d.ts.map