UNPKG

okx-api

Version:

Complete Node.js SDK for OKX's REST APIs and WebSockets, with TypeScript & end-to-end tests

15 lines (14 loc) 522 B
export interface APICredentials { apiKey: string; apiSecret: string; apiPass: string; } /** * The API Market represents the OKX Domain that you have signed up for. At this time, there are 4 supported domain groups: * * - GLOBAL, otherwise known as "www.okx.com". * - OPENAPI_GLOBAL, OKX Global REST at openapi.okx.com (same WS as GLOBAL). * - EEA, otherwise known as "my.okx.com". * - US, otherwise known as "app.okx.com". */ export type APIMarket = 'prod' | 'GLOBAL' | 'OPENAPI_GLOBAL' | 'EEA' | 'US';