@coinset/bitflyer
Version:
Bitflyer API client for Node.js
24 lines • 739 B
TypeScript
import type { BitflyerPair } from '../../shared/types/currency';
import type { PublicAPI } from '../../shared/types/fetch';
declare type ExecutionsOptions = {
productCode: BitflyerPair;
};
declare type ExecutionsResponse = {
id: number;
side: 'BUY' | 'SELL' | '';
price: number;
size: number;
exec_date: Date;
buy_child_order_acceptance_id: string;
sell_child_order_acceptance_id: string;
}[];
/**
* @throws `Error`
*
* @see https://lightning.bitflyer.com/docs?lang=en#execution-history
* @beta
*/
declare const fetchExecutions: PublicAPI<ExecutionsOptions, ExecutionsResponse>;
export { fetchExecutions };
export type { ExecutionsOptions, ExecutionsResponse };
//# sourceMappingURL=executions.d.ts.map