UNPKG

mexc-futures-sdk

Version:

Unofficial TypeScript SDK for MEXC Futures trading with maintenance bypass. Uses browser session tokens to work 24/7 even during API downtime.

40 lines 2.06 kB
export declare const API_BASE_URL = "https://futures.mexc.com/api/v1"; export declare const ENDPOINTS: { readonly SUBMIT_ORDER: "/private/order/submit"; readonly CANCEL_ORDER: "/private/order/cancel"; readonly CANCEL_ORDER_BY_EXTERNAL_ID: "/private/order/cancel_with_external"; readonly CANCEL_ALL_ORDERS: "/private/order/cancel_all"; readonly ORDER_HISTORY: "/private/order/list/history_orders"; readonly ORDER_DEALS: "/private/order/list/order_deals"; readonly GET_ORDER: "/private/order/get"; readonly GET_ORDER_BY_EXTERNAL_ID: "/private/order/external"; readonly RISK_LIMIT: "/private/account/risk_limit"; readonly FEE_RATE: "/private/account/contract/fee_rate"; readonly ACCOUNT_ASSET: "/private/account/asset"; readonly OPEN_POSITIONS: "/private/position/open_positions"; readonly POSITION_HISTORY: "/private/position/list/history_positions"; readonly TICKER: "/contract/ticker"; readonly CONTRACT_DETAIL: "/contract/detail"; readonly CONTRACT_DEPTH: "/contract/depth"; }; export declare const DEFAULT_HEADERS: { readonly accept: "*/*"; readonly "accept-language": "en-US,en;q=0.9,ru;q=0.8,it;q=0.7,la;q=0.6,vi;q=0.5,lb;q=0.4"; readonly "cache-control": "no-cache"; readonly "content-type": "application/json"; readonly dnt: "1"; readonly language: "English"; readonly origin: "https://www.mexc.com"; readonly pragma: "no-cache"; readonly priority: "u=1, i"; readonly referer: "https://www.mexc.com/"; readonly "sec-ch-ua": "\"Chromium\";v=\"136\", \"Google Chrome\";v=\"136\", \"Not.A/Brand\";v=\"99\""; readonly "sec-ch-ua-mobile": "?0"; readonly "sec-ch-ua-platform": "\"macOS\""; readonly "sec-fetch-dest": "empty"; readonly "sec-fetch-mode": "cors"; readonly "sec-fetch-site": "same-site"; readonly "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36"; readonly "x-language": "en-US"; }; //# sourceMappingURL=constants.d.ts.map