@strong-roots-capital/bybit-api
Version:
TypeScript API for Bybit cryptocurrency exchange
18 lines • 526 B
TypeScript
import * as t from 'io-ts';
export declare const BybitRestMessage: <C extends t.Mixed>(codec: C) => t.TypeC<{
ret_code: t.BrandC<t.NumberC, t.IntBrand>;
ret_msg: t.StringC;
ext_code: t.StringC;
ext_info: t.StringC;
result: t.ArrayC<C>;
time_now: t.Type<Date, string, unknown>;
}>;
export declare type BybitRestMessage<T> = {
ret_code: t.Int;
ret_msg: string;
ext_code: string;
ext_info: string;
result: Array<T>;
time_now: Date;
};
//# sourceMappingURL=BybitRestMessage.d.ts.map