@coinset/btcbox
Version:
BTCBOX API client
16 lines • 493 B
TypeScript
import type { BTCBOXSymbol } from '../../shared/types/currency';
import type { PublicAPI } from '../../shared/types/fetch';
declare type OrdersOptions = {
coin: BTCBOXSymbol;
};
declare type OrdersResponse = {
date: Date;
price: number;
amount: number;
tid: string;
type: 'buy' | 'sell';
}[];
declare const fetchOrders: PublicAPI<OrdersOptions, OrdersResponse>;
export { fetchOrders };
export type { OrdersOptions, OrdersResponse };
//# sourceMappingURL=orders.d.ts.map