UNPKG

gateio-api

Version:

Complete & Robust Node.js SDK for Gate.com's REST APIs, WebSockets & WebSocket APIs, with TypeScript declarations.

20 lines (19 loc) 519 B
export interface CreateSubAccountReq { login_name: string; remark?: string; password?: string; email?: string; } export interface CreateSubAccountApiKeyReq { user_id: number; mode?: number; name?: string; perms?: { name?: 'wallet' | 'spot' | 'futures' | 'delivery' | 'earn' | 'options' | 'account' | 'unified' | 'loan'; read_only?: boolean; }[]; ip_whitelist?: string[]; } export type UpdateSubAccountApiKeyReq = { key: string; } & CreateSubAccountApiKeyReq;