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.
14 lines • 541 B
TypeScript
export interface SDKOptions {
authToken: string;
userAgent?: string;
customHeaders?: Record<string, string>;
}
/**
* Generate HTTP headers for API requests
* @param options SDK configuration options
* @param includeAuth Whether to include authentication headers
* @param requestBody Request body for signature (optional)
* @returns Record of HTTP headers
*/
export declare function generateHeaders(options: SDKOptions, includeAuth?: boolean, requestBody?: any): Record<string, string>;
//# sourceMappingURL=headers.d.ts.map