@huangapple/okx-api
Version:
Complete & robust Node.js SDK for OKX's REST APIs and WebSockets, with TypeScript & end-to-end tests.
22 lines (21 loc) • 470 B
TypeScript
export interface FundsTransferRequest {
ccy: string;
amt: string;
from: '6' | '18';
to: '6' | '18';
subAcct?: string;
type?: '0' | '1' | '2' | '3' | '4';
loanTrans?: boolean;
clientId?: string;
omitPosRisk?: string;
}
export interface WithdrawRequest {
ccy: string;
amt: string;
dest: '3' | '4';
toAddr: string;
fee: string;
chain?: string;
areaCode?: string;
clientId?: string;
}