fix spot leverage token endpoint v5

This commit is contained in:
tiagosiebler
2023-02-21 13:30:25 +00:00
parent 6d24317022
commit 00a45e4cd0
4 changed files with 28 additions and 10 deletions

View File

@@ -78,6 +78,7 @@ export const API_ERROR_CODE = {
SUB_USER_NOT_FOUND: 141009,
SPOT_LEVERAGE_TOKEN_INSUFFICIENT_BALANCE: 175006,
SPOT_LEVERAGE_TOKEN_ORDER_NOT_FOUND: 175007,
SPOT_LEVERAGE_QUIZ_REQUIRED: 175010,
SPOT_MARGIN_NOT_ENABLED: 176008,
SPOT_MARGIN_QUESTIONNAIRE_NOT_SUBMIT: 176037,
/** E.g. USDC Options trading, trying to access a symbol that is no longer active */

View File

@@ -2,7 +2,7 @@ import { LTOrderTypeV5 } from '../v5-shared';
export interface PurchaseSpotLeveragedTokenParamsV5 {
ltCoin: string;
ltAmount: string;
amount: string;
serialNo?: string;
}