import { BadRequestError, ConfigurationRestAPI, ConnectorClientError, ForbiddenError, NetworkError, NotFoundError, RateLimitBanError, RequiredError, RestApiResponse, ServerError, TooManyRequestsError, UnauthorizedError, WALLET_REST_API_PROD_URL } from "@binance/common"; //#region rolldown:runtime //#endregion //#region src/rest-api/types/account-api-trading-status-response-data-trigger-condition.d.ts /** * Binance Wallet REST API * * OpenAPI Specification for the Binance Wallet REST API * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface AccountApiTradingStatusResponseDataTriggerCondition */ interface AccountApiTradingStatusResponseDataTriggerCondition { /** * * @type {number | bigint} * @memberof AccountApiTradingStatusResponseDataTriggerCondition */ GCR?: number | bigint; /** * * @type {number | bigint} * @memberof AccountApiTradingStatusResponseDataTriggerCondition */ IFER?: number | bigint; /** * * @type {number | bigint} * @memberof AccountApiTradingStatusResponseDataTriggerCondition */ UFR?: number | bigint; } //#endregion //#region src/rest-api/types/account-api-trading-status-response-data.d.ts /** * * @export * @interface AccountApiTradingStatusResponseData */ interface AccountApiTradingStatusResponseData { /** * * @type {boolean} * @memberof AccountApiTradingStatusResponseData */ isLocked?: boolean; /** * * @type {number | bigint} * @memberof AccountApiTradingStatusResponseData */ plannedRecoverTime?: number | bigint; /** * * @type {AccountApiTradingStatusResponseDataTriggerCondition} * @memberof AccountApiTradingStatusResponseData */ triggerCondition?: AccountApiTradingStatusResponseDataTriggerCondition; /** * * @type {number | bigint} * @memberof AccountApiTradingStatusResponseData */ updateTime?: number | bigint; } //#endregion //#region src/rest-api/types/account-api-trading-status-response.d.ts /** * * @export * @interface AccountApiTradingStatusResponse */ interface AccountApiTradingStatusResponse { /** * * @type {AccountApiTradingStatusResponseData} * @memberof AccountApiTradingStatusResponse */ data?: AccountApiTradingStatusResponseData; } //#endregion //#region src/rest-api/types/account-info-response.d.ts /** * Binance Wallet REST API * * OpenAPI Specification for the Binance Wallet REST API * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface AccountInfoResponse */ interface AccountInfoResponse { /** * * @type {number | bigint} * @memberof AccountInfoResponse */ vipLevel?: number | bigint; /** * * @type {boolean} * @memberof AccountInfoResponse */ isMarginEnabled?: boolean; /** * * @type {boolean} * @memberof AccountInfoResponse */ isFutureEnabled?: boolean; /** * * @type {boolean} * @memberof AccountInfoResponse */ isOptionsEnabled?: boolean; /** * * @type {boolean} * @memberof AccountInfoResponse */ isPortfolioMarginRetailEnabled?: boolean; } //#endregion //#region src/rest-api/types/account-status-response.d.ts /** * Binance Wallet REST API * * OpenAPI Specification for the Binance Wallet REST API * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface AccountStatusResponse */ interface AccountStatusResponse { /** * * @type {string} * @memberof AccountStatusResponse */ data?: string; } //#endregion //#region src/rest-api/types/all-coins-information-response-inner-network-list-inner.d.ts /** * Binance Wallet REST API * * OpenAPI Specification for the Binance Wallet REST API * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface AllCoinsInformationResponseInnerNetworkListInner */ interface AllCoinsInformationResponseInnerNetworkListInner { /** * * @type {string} * @memberof AllCoinsInformationResponseInnerNetworkListInner */ network?: string; /** * * @type {string} * @memberof AllCoinsInformationResponseInnerNetworkListInner */ coin?: string; /** * * @type {string} * @memberof AllCoinsInformationResponseInnerNetworkListInner */ withdrawIntegerMultiple?: string; /** * * @type {boolean} * @memberof AllCoinsInformationResponseInnerNetworkListInner */ isDefault?: boolean; /** * * @type {boolean} * @memberof AllCoinsInformationResponseInnerNetworkListInner */ depositEnable?: boolean; /** * * @type {boolean} * @memberof AllCoinsInformationResponseInnerNetworkListInner */ withdrawEnable?: boolean; /** * * @type {string} * @memberof AllCoinsInformationResponseInnerNetworkListInner */ depositDesc?: string; /** * * @type {string} * @memberof AllCoinsInformationResponseInnerNetworkListInner */ withdrawDesc?: string; /** * * @type {string} * @memberof AllCoinsInformationResponseInnerNetworkListInner */ specialTips?: string; /** * * @type {string} * @memberof AllCoinsInformationResponseInnerNetworkListInner */ specialWithdrawTips?: string; /** * * @type {string} * @memberof AllCoinsInformationResponseInnerNetworkListInner */ name?: string; /** * * @type {boolean} * @memberof AllCoinsInformationResponseInnerNetworkListInner */ resetAddressStatus?: boolean; /** * * @type {string} * @memberof AllCoinsInformationResponseInnerNetworkListInner */ addressRegex?: string; /** * * @type {string} * @memberof AllCoinsInformationResponseInnerNetworkListInner */ memoRegex?: string; /** * * @type {string} * @memberof AllCoinsInformationResponseInnerNetworkListInner */ withdrawFee?: string; /** * * @type {string} * @memberof AllCoinsInformationResponseInnerNetworkListInner */ withdrawMin?: string; /** * * @type {string} * @memberof AllCoinsInformationResponseInnerNetworkListInner */ withdrawMax?: string; /** * * @type {string} * @memberof AllCoinsInformationResponseInnerNetworkListInner */ withdrawInternalMin?: string; /** * * @type {string} * @memberof AllCoinsInformationResponseInnerNetworkListInner */ depositDust?: string; /** * * @type {number | bigint} * @memberof AllCoinsInformationResponseInnerNetworkListInner */ minConfirm?: number | bigint; /** * * @type {number | bigint} * @memberof AllCoinsInformationResponseInnerNetworkListInner */ unLockConfirm?: number | bigint; /** * * @type {boolean} * @memberof AllCoinsInformationResponseInnerNetworkListInner */ sameAddress?: boolean; /** * * @type {boolean} * @memberof AllCoinsInformationResponseInnerNetworkListInner */ withdrawTag?: boolean; /** * * @type {number | bigint} * @memberof AllCoinsInformationResponseInnerNetworkListInner */ estimatedArrivalTime?: number | bigint; /** * * @type {boolean} * @memberof AllCoinsInformationResponseInnerNetworkListInner */ busy?: boolean; /** * * @type {string} * @memberof AllCoinsInformationResponseInnerNetworkListInner */ contractAddressUrl?: string; /** * * @type {string} * @memberof AllCoinsInformationResponseInnerNetworkListInner */ contractAddress?: string; /** * * @type {number | bigint} * @memberof AllCoinsInformationResponseInnerNetworkListInner */ denomination?: number | bigint; } //#endregion //#region src/rest-api/types/all-coins-information-response-inner.d.ts /** * * @export * @interface AllCoinsInformationResponseInner */ interface AllCoinsInformationResponseInner { /** * * @type {string} * @memberof AllCoinsInformationResponseInner */ coin?: string; /** * * @type {boolean} * @memberof AllCoinsInformationResponseInner */ depositAllEnable?: boolean; /** * * @type {boolean} * @memberof AllCoinsInformationResponseInner */ withdrawAllEnable?: boolean; /** * * @type {string} * @memberof AllCoinsInformationResponseInner */ name?: string; /** * * @type {string} * @memberof AllCoinsInformationResponseInner */ free?: string; /** * * @type {string} * @memberof AllCoinsInformationResponseInner */ locked?: string; /** * * @type {string} * @memberof AllCoinsInformationResponseInner */ freeze?: string; /** * * @type {string} * @memberof AllCoinsInformationResponseInner */ withdrawing?: string; /** * * @type {string} * @memberof AllCoinsInformationResponseInner */ ipoing?: string; /** * * @type {string} * @memberof AllCoinsInformationResponseInner */ ipoable?: string; /** * * @type {string} * @memberof AllCoinsInformationResponseInner */ storage?: string; /** * * @type {boolean} * @memberof AllCoinsInformationResponseInner */ isLegalMoney?: boolean; /** * * @type {boolean} * @memberof AllCoinsInformationResponseInner */ trading?: boolean; /** * * @type {Array} * @memberof AllCoinsInformationResponseInner */ networkList?: Array; } //#endregion //#region src/rest-api/types/all-coins-information-response.d.ts /** * * @export * @interface AllCoinsInformationResponse */ interface AllCoinsInformationResponse extends Array {} //#endregion //#region src/rest-api/types/asset-detail-response-ctr.d.ts /** * Binance Wallet REST API * * OpenAPI Specification for the Binance Wallet REST API * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface AssetDetailResponseCTR */ interface AssetDetailResponseCTR { /** * * @type {string} * @memberof AssetDetailResponseCTR */ minWithdrawAmount?: string; /** * * @type {boolean} * @memberof AssetDetailResponseCTR */ depositStatus?: boolean; /** * * @type {number | bigint} * @memberof AssetDetailResponseCTR */ withdrawFee?: number | bigint; /** * * @type {boolean} * @memberof AssetDetailResponseCTR */ withdrawStatus?: boolean; /** * * @type {string} * @memberof AssetDetailResponseCTR */ depositTip?: string; } //#endregion //#region src/rest-api/types/asset-detail-response-sky.d.ts /** * Binance Wallet REST API * * OpenAPI Specification for the Binance Wallet REST API * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface AssetDetailResponseSKY */ interface AssetDetailResponseSKY { /** * * @type {string} * @memberof AssetDetailResponseSKY */ minWithdrawAmount?: string; /** * * @type {boolean} * @memberof AssetDetailResponseSKY */ depositStatus?: boolean; /** * * @type {number} * @memberof AssetDetailResponseSKY */ withdrawFee?: number; /** * * @type {boolean} * @memberof AssetDetailResponseSKY */ withdrawStatus?: boolean; } //#endregion //#region src/rest-api/types/asset-detail-response.d.ts /** * * @export * @interface AssetDetailResponse */ interface AssetDetailResponse { /** * * @type {AssetDetailResponseCTR} * @memberof AssetDetailResponse */ CTR?: AssetDetailResponseCTR; /** * * @type {AssetDetailResponseSKY} * @memberof AssetDetailResponse */ SKY?: AssetDetailResponseSKY; } //#endregion //#region src/rest-api/types/asset-dividend-record-response-rows-inner.d.ts /** * Binance Wallet REST API * * OpenAPI Specification for the Binance Wallet REST API * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface AssetDividendRecordResponseRowsInner */ interface AssetDividendRecordResponseRowsInner { /** * * @type {number | bigint} * @memberof AssetDividendRecordResponseRowsInner */ id?: number | bigint; /** * * @type {string} * @memberof AssetDividendRecordResponseRowsInner */ amount?: string; /** * * @type {string} * @memberof AssetDividendRecordResponseRowsInner */ asset?: string; /** * * @type {number | bigint} * @memberof AssetDividendRecordResponseRowsInner */ divTime?: number | bigint; /** * * @type {string} * @memberof AssetDividendRecordResponseRowsInner */ enInfo?: string; /** * * @type {number | bigint} * @memberof AssetDividendRecordResponseRowsInner */ tranId?: number | bigint; /** * * @type {number | bigint} * @memberof AssetDividendRecordResponseRowsInner */ direction?: number | bigint; } //#endregion //#region src/rest-api/types/asset-dividend-record-response.d.ts /** * * @export * @interface AssetDividendRecordResponse */ interface AssetDividendRecordResponse { /** * * @type {Array} * @memberof AssetDividendRecordResponse */ rows?: Array; /** * * @type {number | bigint} * @memberof AssetDividendRecordResponse */ total?: number | bigint; } //#endregion //#region src/rest-api/types/broker-withdraw-response.d.ts /** * Binance Wallet REST API * * OpenAPI Specification for the Binance Wallet REST API * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface BrokerWithdrawResponse */ interface BrokerWithdrawResponse { /** * * @type {number | bigint} * @memberof BrokerWithdrawResponse */ trId?: number | bigint; /** * * @type {boolean} * @memberof BrokerWithdrawResponse */ accpted?: boolean; /** * * @type {string} * @memberof BrokerWithdrawResponse */ info?: string; } //#endregion //#region src/rest-api/types/check-questionnaire-requirements-response.d.ts /** * Binance Wallet REST API * * OpenAPI Specification for the Binance Wallet REST API * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface CheckQuestionnaireRequirementsResponse */ interface CheckQuestionnaireRequirementsResponse { /** * * @type {string} * @memberof CheckQuestionnaireRequirementsResponse */ questionnaireCountryCode?: string; } //#endregion //#region src/rest-api/types/daily-account-snapshot-response-snapshot-vos-inner-data-assets-inner.d.ts /** * Binance Wallet REST API * * OpenAPI Specification for the Binance Wallet REST API * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface DailyAccountSnapshotResponseSnapshotVosInnerDataAssetsInner */ interface DailyAccountSnapshotResponseSnapshotVosInnerDataAssetsInner { /** * * @type {string} * @memberof DailyAccountSnapshotResponseSnapshotVosInnerDataAssetsInner */ asset?: string; /** * * @type {string} * @memberof DailyAccountSnapshotResponseSnapshotVosInnerDataAssetsInner */ marginBalance?: string; /** * * @type {string} * @memberof DailyAccountSnapshotResponseSnapshotVosInnerDataAssetsInner */ walletBalance?: string; } //#endregion //#region src/rest-api/types/daily-account-snapshot-response-snapshot-vos-inner-data-balances-inner.d.ts /** * Binance Wallet REST API * * OpenAPI Specification for the Binance Wallet REST API * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface DailyAccountSnapshotResponseSnapshotVosInnerDataBalancesInner */ interface DailyAccountSnapshotResponseSnapshotVosInnerDataBalancesInner { /** * * @type {string} * @memberof DailyAccountSnapshotResponseSnapshotVosInnerDataBalancesInner */ asset?: string; /** * * @type {string} * @memberof DailyAccountSnapshotResponseSnapshotVosInnerDataBalancesInner */ free?: string; /** * * @type {string} * @memberof DailyAccountSnapshotResponseSnapshotVosInnerDataBalancesInner */ locked?: string; } //#endregion //#region src/rest-api/types/daily-account-snapshot-response-snapshot-vos-inner-data-position-inner.d.ts /** * Binance Wallet REST API * * OpenAPI Specification for the Binance Wallet REST API * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface DailyAccountSnapshotResponseSnapshotVosInnerDataPositionInner */ interface DailyAccountSnapshotResponseSnapshotVosInnerDataPositionInner { /** * * @type {string} * @memberof DailyAccountSnapshotResponseSnapshotVosInnerDataPositionInner */ entryPrice?: string; /** * * @type {string} * @memberof DailyAccountSnapshotResponseSnapshotVosInnerDataPositionInner */ markPrice?: string; /** * * @type {string} * @memberof DailyAccountSnapshotResponseSnapshotVosInnerDataPositionInner */ positionAmt?: string; /** * * @type {string} * @memberof DailyAccountSnapshotResponseSnapshotVosInnerDataPositionInner */ symbol?: string; /** * * @type {string} * @memberof DailyAccountSnapshotResponseSnapshotVosInnerDataPositionInner */ unRealizedProfit?: string; } //#endregion //#region src/rest-api/types/daily-account-snapshot-response-snapshot-vos-inner-data-user-assets-inner.d.ts /** * Binance Wallet REST API * * OpenAPI Specification for the Binance Wallet REST API * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface DailyAccountSnapshotResponseSnapshotVosInnerDataUserAssetsInner */ interface DailyAccountSnapshotResponseSnapshotVosInnerDataUserAssetsInner { /** * * @type {string} * @memberof DailyAccountSnapshotResponseSnapshotVosInnerDataUserAssetsInner */ asset?: string; /** * * @type {string} * @memberof DailyAccountSnapshotResponseSnapshotVosInnerDataUserAssetsInner */ borrowed?: string; /** * * @type {string} * @memberof DailyAccountSnapshotResponseSnapshotVosInnerDataUserAssetsInner */ free?: string; /** * * @type {string} * @memberof DailyAccountSnapshotResponseSnapshotVosInnerDataUserAssetsInner */ interest?: string; /** * * @type {string} * @memberof DailyAccountSnapshotResponseSnapshotVosInnerDataUserAssetsInner */ locked?: string; /** * * @type {string} * @memberof DailyAccountSnapshotResponseSnapshotVosInnerDataUserAssetsInner */ netAsset?: string; } //#endregion //#region src/rest-api/types/daily-account-snapshot-response-snapshot-vos-inner-data.d.ts /** * * @export * @interface DailyAccountSnapshotResponseSnapshotVosInnerData */ interface DailyAccountSnapshotResponseSnapshotVosInnerData { /** * * @type {Array} * @memberof DailyAccountSnapshotResponseSnapshotVosInnerData */ balances?: Array; /** * * @type {string} * @memberof DailyAccountSnapshotResponseSnapshotVosInnerData */ totalAssetOfBtc?: string; /** * * @type {string} * @memberof DailyAccountSnapshotResponseSnapshotVosInnerData */ marginLevel?: string; /** * * @type {string} * @memberof DailyAccountSnapshotResponseSnapshotVosInnerData */ totalLiabilityOfBtc?: string; /** * * @type {string} * @memberof DailyAccountSnapshotResponseSnapshotVosInnerData */ totalNetAssetOfBtc?: string; /** * * @type {Array} * @memberof DailyAccountSnapshotResponseSnapshotVosInnerData */ userAssets?: Array; /** * * @type {Array} * @memberof DailyAccountSnapshotResponseSnapshotVosInnerData */ assets?: Array; /** * * @type {Array} * @memberof DailyAccountSnapshotResponseSnapshotVosInnerData */ position?: Array; } //#endregion //#region src/rest-api/types/daily-account-snapshot-response-snapshot-vos-inner.d.ts /** * * @export * @interface DailyAccountSnapshotResponseSnapshotVosInner */ interface DailyAccountSnapshotResponseSnapshotVosInner { /** * * @type {DailyAccountSnapshotResponseSnapshotVosInnerData} * @memberof DailyAccountSnapshotResponseSnapshotVosInner */ data?: DailyAccountSnapshotResponseSnapshotVosInnerData; /** * * @type {string} * @memberof DailyAccountSnapshotResponseSnapshotVosInner */ type?: string; /** * * @type {number | bigint} * @memberof DailyAccountSnapshotResponseSnapshotVosInner */ updateTime?: number | bigint; } //#endregion //#region src/rest-api/types/daily-account-snapshot-response.d.ts /** * * @export * @interface DailyAccountSnapshotResponse */ interface DailyAccountSnapshotResponse { /** * * @type {number | bigint} * @memberof DailyAccountSnapshotResponse */ code?: number | bigint; /** * * @type {string} * @memberof DailyAccountSnapshotResponse */ msg?: string; /** * * @type {Array} * @memberof DailyAccountSnapshotResponse */ snapshotVos?: Array; } //#endregion //#region src/rest-api/types/deposit-address-response.d.ts /** * Binance Wallet REST API * * OpenAPI Specification for the Binance Wallet REST API * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface DepositAddressResponse */ interface DepositAddressResponse { /** * * @type {string} * @memberof DepositAddressResponse */ address?: string; /** * * @type {string} * @memberof DepositAddressResponse */ coin?: string; /** * * @type {string} * @memberof DepositAddressResponse */ tag?: string; /** * * @type {string} * @memberof DepositAddressResponse */ url?: string; } //#endregion //#region src/rest-api/types/deposit-history-response-inner.d.ts /** * Binance Wallet REST API * * OpenAPI Specification for the Binance Wallet REST API * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface DepositHistoryResponseInner */ interface DepositHistoryResponseInner { /** * * @type {string} * @memberof DepositHistoryResponseInner */ id?: string; /** * * @type {string} * @memberof DepositHistoryResponseInner */ amount?: string; /** * * @type {string} * @memberof DepositHistoryResponseInner */ coin?: string; /** * * @type {string} * @memberof DepositHistoryResponseInner */ network?: string; /** * * @type {number | bigint} * @memberof DepositHistoryResponseInner */ status?: number | bigint; /** * * @type {string} * @memberof DepositHistoryResponseInner */ address?: string; /** * * @type {string} * @memberof DepositHistoryResponseInner */ addressTag?: string; /** * * @type {string} * @memberof DepositHistoryResponseInner */ txId?: string; /** * * @type {number | bigint} * @memberof DepositHistoryResponseInner */ insertTime?: number | bigint; /** * * @type {number | bigint} * @memberof DepositHistoryResponseInner */ completeTime?: number | bigint; /** * * @type {number | bigint} * @memberof DepositHistoryResponseInner */ transferType?: number | bigint; /** * * @type {string} * @memberof DepositHistoryResponseInner */ confirmTimes?: string; /** * * @type {number | bigint} * @memberof DepositHistoryResponseInner */ unlockConfirm?: number | bigint; /** * * @type {number | bigint} * @memberof DepositHistoryResponseInner */ walletType?: number | bigint; /** * * @type {number | bigint} * @memberof DepositHistoryResponseInner */ travelRuleStatus?: number | bigint; } //#endregion //#region src/rest-api/types/deposit-history-response.d.ts /** * * @export * @interface DepositHistoryResponse */ interface DepositHistoryResponse extends Array {} //#endregion //#region src/rest-api/types/deposit-history-travel-rule-response-inner.d.ts /** * Binance Wallet REST API * * OpenAPI Specification for the Binance Wallet REST API * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface DepositHistoryTravelRuleResponseInner */ interface DepositHistoryTravelRuleResponseInner { /** * * @type {number | bigint} * @memberof DepositHistoryTravelRuleResponseInner */ trId?: number | bigint; /** * * @type {number | bigint} * @memberof DepositHistoryTravelRuleResponseInner */ tranId?: number | bigint; /** * * @type {string} * @memberof DepositHistoryTravelRuleResponseInner */ amount?: string; /** * * @type {string} * @memberof DepositHistoryTravelRuleResponseInner */ coin?: string; /** * * @type {string} * @memberof DepositHistoryTravelRuleResponseInner */ network?: string; /** * * @type {number | bigint} * @memberof DepositHistoryTravelRuleResponseInner */ depositStatus?: number | bigint; /** * * @type {number | bigint} * @memberof DepositHistoryTravelRuleResponseInner */ travelRuleStatus?: number | bigint; /** * * @type {string} * @memberof DepositHistoryTravelRuleResponseInner */ address?: string; /** * * @type {string} * @memberof DepositHistoryTravelRuleResponseInner */ addressTag?: string; /** * * @type {string} * @memberof DepositHistoryTravelRuleResponseInner */ txId?: string; /** * * @type {number | bigint} * @memberof DepositHistoryTravelRuleResponseInner */ insertTime?: number | bigint; /** * * @type {number | bigint} * @memberof DepositHistoryTravelRuleResponseInner */ transferType?: number | bigint; /** * * @type {string} * @memberof DepositHistoryTravelRuleResponseInner */ confirmTimes?: string; /** * * @type {number | bigint} * @memberof DepositHistoryTravelRuleResponseInner */ unlockConfirm?: number | bigint; /** * * @type {number | bigint} * @memberof DepositHistoryTravelRuleResponseInner */ walletType?: number | bigint; /** * * @type {boolean} * @memberof DepositHistoryTravelRuleResponseInner */ requireQuestionnaire?: boolean; /** * * @type {string} * @memberof DepositHistoryTravelRuleResponseInner */ questionnaire?: string; } //#endregion //#region src/rest-api/types/deposit-history-travel-rule-response.d.ts /** * * @export * @interface DepositHistoryTravelRuleResponse */ interface DepositHistoryTravelRuleResponse extends Array {} //#endregion //#region src/rest-api/types/deposit-history-v2-response-inner-questionnaire.d.ts /** * Binance Wallet REST API * * OpenAPI Specification for the Binance Wallet REST API * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface DepositHistoryV2ResponseInnerQuestionnaire */ interface DepositHistoryV2ResponseInnerQuestionnaire { /** * * @type {string} * @memberof DepositHistoryV2ResponseInnerQuestionnaire */ vaspName?: string; /** * * @type {number | bigint} * @memberof DepositHistoryV2ResponseInnerQuestionnaire */ depositOriginator?: number | bigint; } //#endregion //#region src/rest-api/types/deposit-history-v2-response-inner.d.ts /** * * @export * @interface DepositHistoryV2ResponseInner */ interface DepositHistoryV2ResponseInner { /** * * @type {string} * @memberof DepositHistoryV2ResponseInner */ depositId?: string; /** * * @type {string} * @memberof DepositHistoryV2ResponseInner */ amount?: string; /** * * @type {string} * @memberof DepositHistoryV2ResponseInner */ network?: string; /** * * @type {string} * @memberof DepositHistoryV2ResponseInner */ coin?: string; /** * * @type {number | bigint} * @memberof DepositHistoryV2ResponseInner */ depositStatus?: number | bigint; /** * * @type {number | bigint} * @memberof DepositHistoryV2ResponseInner */ travelRuleReqStatus?: number | bigint; /** * * @type {string} * @memberof DepositHistoryV2ResponseInner */ address?: string; /** * * @type {string} * @memberof DepositHistoryV2ResponseInner */ addressTag?: string; /** * * @type {string} * @memberof DepositHistoryV2ResponseInner */ txId?: string; /** * * @type {number | bigint} * @memberof DepositHistoryV2ResponseInner */ transferType?: number | bigint; /** * * @type {string} * @memberof DepositHistoryV2ResponseInner */ confirmTimes?: string; /** * * @type {boolean} * @memberof DepositHistoryV2ResponseInner */ requireQuestionnaire?: boolean; /** * * @type {DepositHistoryV2ResponseInnerQuestionnaire} * @memberof DepositHistoryV2ResponseInner */ questionnaire?: DepositHistoryV2ResponseInnerQuestionnaire; /** * * @type {number | bigint} * @memberof DepositHistoryV2ResponseInner */ insertTime?: number | bigint; } //#endregion //#region src/rest-api/types/deposit-history-v2-response.d.ts /** * * @export * @interface DepositHistoryV2Response */ interface DepositHistoryV2Response extends Array {} //#endregion //#region src/rest-api/types/dust-convert-response-transfer-result-inner.d.ts /** * Binance Wallet REST API * * OpenAPI Specification for the Binance Wallet REST API * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface DustConvertResponseTransferResultInner */ interface DustConvertResponseTransferResultInner { /** * * @type {number | bigint} * @memberof DustConvertResponseTransferResultInner */ tranId?: number | bigint; /** * * @type {string} * @memberof DustConvertResponseTransferResultInner */ fromAsset?: string; /** * * @type {string} * @memberof DustConvertResponseTransferResultInner */ amount?: string; /** * * @type {string} * @memberof DustConvertResponseTransferResultInner */ transferedAmount?: string; /** * * @type {string} * @memberof DustConvertResponseTransferResultInner */ serviceChargeAmount?: string; /** * * @type {number | bigint} * @memberof DustConvertResponseTransferResultInner */ operateTime?: number | bigint; } //#endregion //#region src/rest-api/types/dust-convert-response.d.ts /** * * @export * @interface DustConvertResponse */ interface DustConvertResponse { /** * * @type {string} * @memberof DustConvertResponse */ totalTransfered?: string; /** * * @type {string} * @memberof DustConvertResponse */ totalServiceCharge?: string; /** * * @type {Array} * @memberof DustConvertResponse */ transferResult?: Array; } //#endregion //#region src/rest-api/types/dust-convertible-assets-response-details-inner.d.ts /** * Binance Wallet REST API * * OpenAPI Specification for the Binance Wallet REST API * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface DustConvertibleAssetsResponseDetailsInner */ interface DustConvertibleAssetsResponseDetailsInner { /** * * @type {string} * @memberof DustConvertibleAssetsResponseDetailsInner */ asset?: string; /** * * @type {string} * @memberof DustConvertibleAssetsResponseDetailsInner */ assetFullName?: string; /** * * @type {string} * @memberof DustConvertibleAssetsResponseDetailsInner */ amountFree?: string; /** * * @type {string} * @memberof DustConvertibleAssetsResponseDetailsInner */ exchange?: string; /** * * @type {string} * @memberof DustConvertibleAssetsResponseDetailsInner */ toQuotaAssetAmount?: string; /** * * @type {string} * @memberof DustConvertibleAssetsResponseDetailsInner */ toTargetAssetAmount?: string; /** * * @type {string} * @memberof DustConvertibleAssetsResponseDetailsInner */ toTargetAssetOffExchange?: string; } //#endregion //#region src/rest-api/types/dust-convertible-assets-response.d.ts /** * * @export * @interface DustConvertibleAssetsResponse */ interface DustConvertibleAssetsResponse { /** * * @type {string} * @memberof DustConvertibleAssetsResponse */ dribbletPercentage?: string; /** * * @type {string} * @memberof DustConvertibleAssetsResponse */ totalTransferQuotaAssetAmount?: string; /** * * @type {string} * @memberof DustConvertibleAssetsResponse */ totalTransferTargetAssetAmount?: string; /** * * @type {string} * @memberof DustConvertibleAssetsResponse */ dribbletBase?: string; /** * * @type {Array} * @memberof DustConvertibleAssetsResponse */ details?: Array; } //#endregion //#region src/rest-api/types/dust-transfer-response-transfer-result-inner.d.ts /** * Binance Wallet REST API * * OpenAPI Specification for the Binance Wallet REST API * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface DustTransferResponseTransferResultInner */ interface DustTransferResponseTransferResultInner { /** * * @type {string} * @memberof DustTransferResponseTransferResultInner */ amount?: string; /** * * @type {string} * @memberof DustTransferResponseTransferResultInner */ fromAsset?: string; /** * * @type {number | bigint} * @memberof DustTransferResponseTransferResultInner */ operateTime?: number | bigint; /** * * @type {string} * @memberof DustTransferResponseTransferResultInner */ serviceChargeAmount?: string; /** * * @type {number | bigint} * @memberof DustTransferResponseTransferResultInner */ tranId?: number | bigint; /** * * @type {string} * @memberof DustTransferResponseTransferResultInner */ transferedAmount?: string; } //#endregion //#region src/rest-api/types/dust-transfer-response.d.ts /** * * @export * @interface DustTransferResponse */ interface DustTransferResponse { /** * * @type {string} * @memberof DustTransferResponse */ totalServiceCharge?: string; /** * * @type {string} * @memberof DustTransferResponse */ totalTransfered?: string; /** * * @type {Array} * @memberof DustTransferResponse */ transferResult?: Array; } //#endregion //#region src/rest-api/types/dustlog-response-user-asset-dribblets-inner-user-asset-dribblet-details-inner.d.ts /** * Binance Wallet REST API * * OpenAPI Specification for the Binance Wallet REST API * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface DustlogResponseUserAssetDribbletsInnerUserAssetDribbletDetailsInner */ interface DustlogResponseUserAssetDribbletsInnerUserAssetDribbletDetailsInner { /** * * @type {number | bigint} * @memberof DustlogResponseUserAssetDribbletsInnerUserAssetDribbletDetailsInner */ transId?: number | bigint; /** * * @type {string} * @memberof DustlogResponseUserAssetDribbletsInnerUserAssetDribbletDetailsInner */ serviceChargeAmount?: string; /** * * @type {string} * @memberof DustlogResponseUserAssetDribbletsInnerUserAssetDribbletDetailsInner */ amount?: string; /** * * @type {number | bigint} * @memberof DustlogResponseUserAssetDribbletsInnerUserAssetDribbletDetailsInner */ operateTime?: number | bigint; /** * * @type {string} * @memberof DustlogResponseUserAssetDribbletsInnerUserAssetDribbletDetailsInner */ transferedAmount?: string; /** * * @type {string} * @memberof DustlogResponseUserAssetDribbletsInnerUserAssetDribbletDetailsInner */ fromAsset?: string; } //#endregion //#region src/rest-api/types/dustlog-response-user-asset-dribblets-inner.d.ts /** * * @export * @interface DustlogResponseUserAssetDribbletsInner */ interface DustlogResponseUserAssetDribbletsInner { /** * * @type {number | bigint} * @memberof DustlogResponseUserAssetDribbletsInner */ operateTime?: number | bigint; /** * * @type {string} * @memberof DustlogResponseUserAssetDribbletsInner */ totalTransferedAmount?: string; /** * * @type {string} * @memberof DustlogResponseUserAssetDribbletsInner */ totalServiceChargeAmount?: string; /** * * @type {number | bigint} * @memberof DustlogResponseUserAssetDribbletsInner */ transId?: number | bigint; /** * * @type {Array} * @memberof DustlogResponseUserAssetDribbletsInner */ userAssetDribbletDetails?: Array; } //#endregion //#region src/rest-api/types/dustlog-response.d.ts /** * * @export * @interface DustlogResponse */ interface DustlogResponse { /** * * @type {number | bigint} * @memberof DustlogResponse */ total?: number | bigint; /** * * @type {Array} * @memberof DustlogResponse */ userAssetDribblets?: Array; } //#endregion //#region src/rest-api/types/fetch-address-verification-list-response-inner-address-questionnaire.d.ts /** * Binance Wallet REST API * * OpenAPI Specification for the Binance Wallet REST API * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface FetchAddressVerificationListResponseInnerAddressQuestionnaire */ interface FetchAddressVerificationListResponseInnerAddressQuestionnaire { /** * * @type {number | bigint} * @memberof FetchAddressVerificationListResponseInnerAddressQuestionnaire */ sendTo?: number | bigint; /** * * @type {string} * @memberof FetchAddressVerificationListResponseInnerAddressQuestionnaire */ satoshiToken?: string; /** * * @type {number | bigint} * @memberof FetchAddressVerificationListResponseInnerAddressQuestionnaire */ isAddressOwner?: number | bigint; /** * * @type {number | bigint} * @memberof FetchAddressVerificationListResponseInnerAddressQuestionnaire */ verifyMethod?: number | bigint; } //#endregion //#region src/rest-api/types/fetch-address-verification-list-response-inner.d.ts /** * * @export * @interface FetchAddressVerificationListResponseInner */ interface FetchAddressVerificationListResponseInner { /** * * @type {string} * @memberof FetchAddressVerificationListResponseInner */ status?: string; /** * * @type {string} * @memberof FetchAddressVerificationListResponseInner */ token?: string; /** * * @type {string} * @memberof FetchAddressVerificationListResponseInner */ network?: string; /** * * @type {string} * @memberof FetchAddressVerificationListResponseInner */ walletAddress?: string; /** * * @type {FetchAddressVerificationListResponseInnerAddressQuestionnaire} * @memberof FetchAddressVerificationListResponseInner */ addressQuestionnaire?: FetchAddressVerificationListResponseInnerAddressQuestionnaire; } //#endregion //#region src/rest-api/types/fetch-address-verification-list-response.d.ts /** * * @export * @interface FetchAddressVerificationListResponse */ interface FetchAddressVerificationListResponse extends Array {} //#endregion //#region src/rest-api/types/fetch-deposit-address-list-with-network-response-inner.d.ts /** * Binance Wallet REST API * * OpenAPI Specification for the Binance Wallet REST API * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface FetchDepositAddressListWithNetworkResponseInner */ interface FetchDepositAddressListWithNetworkResponseInner { /** * * @type {string} * @memberof FetchDepositAddressListWithNetworkResponseInner */ coin?: string; /** * * @type {string} * @memberof FetchDepositAddressListWithNetworkResponseInner */ address?: string; /** * * @type {string} * @memberof FetchDepositAddressListWithNetworkResponseInner */ tag?: string; /** * * @type {number | bigint} * @memberof FetchDepositAddressListWithNetworkResponseInner */ isDefault?: number | bigint; } //#endregion //#region src/rest-api/types/fetch-deposit-address-list-with-network-response.d.ts /** * * @export * @interface FetchDepositAddressListWithNetworkResponse */ interface FetchDepositAddressListWithNetworkResponse extends Array {} //#endregion //#region src/rest-api/types/fetch-withdraw-address-list-response-inner.d.ts /** * Binance Wallet REST API * * OpenAPI Specification for the Binance Wallet REST API * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface FetchWithdrawAddressListResponseInner */ interface FetchWithdrawAddressListResponseInner { /** * * @type {string} * @memberof FetchWithdrawAddressListResponseInner */ address?: string; /** * * @type {string} * @memberof FetchWithdrawAddressListResponseInner */ addressTag?: string; /** * * @type {string} * @memberof FetchWithdrawAddressListResponseInner */ coin?: string; /** * * @type {string} * @memberof FetchWithdrawAddressListResponseInner */ name?: string; /** * * @type {string} * @memberof FetchWithdrawAddressListResponseInner */ network?: string; /** * * @type {string} * @memberof FetchWithdrawAddressListResponseInner */ origin?: string; /** * * @type {string} * @memberof FetchWithdrawAddressListResponseInner */ originType?: string; /** * * @type {boolean} * @memberof FetchWithdrawAddressListResponseInner */ whiteStatus?: boolean; } //#endregion //#region src/rest-api/types/fetch-withdraw-address-list-response.d.ts /** * * @export * @interface FetchWithdrawAddressListResponse */ interface FetchWithdrawAddressListResponse extends Array {} //#endregion //#region src/rest-api/types/fetch-withdraw-quota-response.d.ts /** * Binance Wallet REST API * * OpenAPI Specification for the Binance Wallet REST API * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface FetchWithdrawQuotaResponse */ interface FetchWithdrawQuotaResponse { /** * * @type {string} * @memberof FetchWithdrawQuotaResponse */ wdQuota?: string; /** * * @type {string} * @memberof FetchWithdrawQuotaResponse */ usedWdQuota?: string; } //#endregion //#region src/rest-api/types/funding-wallet-response-inner.d.ts /** * Binance Wallet REST API * * OpenAPI Specification for the Binance Wallet REST API * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface FundingWalletResponseInner */ interface FundingWalletResponseInner { /** * * @type {string} * @memberof FundingWalletResponseInner */ asset?: string; /** * * @type {string} * @memberof FundingWalletResponseInner */ free?: string; /** * * @type {string} * @memberof FundingWalletResponseInner */ locked?: string; /** * * @type {string} * @memberof FundingWalletResponseInner */ freeze?: string; /** * * @type {string} * @memberof FundingWalletResponseInner */ withdrawing?: string; /** * * @type {string} * @memberof FundingWalletResponseInner */ btcValuation?: string; } //#endregion //#region src/rest-api/types/funding-wallet-response.d.ts /** * * @export * @interface FundingWalletResponse */ interface FundingWalletResponse extends Array {} //#endregion //#region src/rest-api/types/get-api-key-permission-response.d.ts /** * Binance Wallet REST API * * OpenAPI Specification for the Binance Wallet REST API * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface GetApiKeyPermissionResponse */ interface GetApiKeyPermissionResponse { /** * * @type {boolean} * @memberof GetApiKeyPermissionResponse */ ipRestrict?: boolean; /** * * @type {number | bigint} * @memberof GetApiKeyPermissionResponse */ createTime?: number | bigint; /** * * @type {boolean} * @memberof GetApiKeyPermissionResponse */ enableReading?: boolean; /** * * @type {boolean} * @memberof GetApiKeyPermissionResponse */ enableWithdrawals?: boolean; /** * * @type {boolean} * @memberof GetApiKeyPermissionResponse */ enableInternalTransfer?: boolean; /** * * @type {boolean} * @memberof GetApiKeyPermissionResponse */ enableMargin?: boolean; /** * * @type {boolean} * @memberof GetApiKeyPermissionResponse */ enableFutures?: boolean; /** * * @type {boolean} * @memberof GetApiKeyPermissionResponse */ permitsUniversalTransfer?: boolean; /** * * @type {boolean} * @memberof GetApiKeyPermissionResponse */ enableVanillaOptions?: boolean; /** * * @type {boolean} * @memberof GetApiKeyPermissionResponse */ enableFixApiTrade?: boolean; /** * * @type {boolean} * @memberof GetApiKeyPermissionResponse */ enableFixReadOnly?: boolean; /** * * @type {boolean} * @memberof GetApiKeyPermissionResponse */ enableSpotAndMarginTrading?: boolean; /** * * @type {boolean} * @memberof GetApiKeyPermissionResponse */ enablePortfolioMarginTrading?: boolean; } //#endregion //#region src/rest-api/types/get-assets-that-can-be-converted-into-bnb-response-details-inner.d.ts /** * Binance Wallet REST API * * OpenAPI Specification for the Binance Wallet REST API * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface GetAssetsThatCanBeConvertedIntoBnbResponseDetailsInner */ interface GetAssetsThatCanBeConvertedIntoBnbResponseDetailsInner { /** * * @type {string} * @memberof GetAssetsThatCanBeConvertedIntoBnbResponseDetailsInner */ asset?: string; /** * * @type {string} * @memberof GetAssetsThatCanBeConvertedIntoBnbResponseDetailsInner */ assetFullName?: string; /** * * @type {string} * @memberof GetAssetsThatCanBeConvertedIntoBnbResponseDetailsInner */ amountFree?: string; /** * * @type {string} * @memberof GetAssetsThatCanBeConvertedIntoBnbResponseDetailsInner */ toBTC?: string; /** * * @type {string} * @memberof GetAssetsThatCanBeConvertedIntoBnbResponseDetailsInner */ toBNB?: string; /** * * @type {string} * @memberof GetAssetsThatCanBeConvertedIntoBnbResponseDetailsInner */ toBNBOffExchange?: string; /** * * @type {string} * @memberof GetAssetsThatCanBeConvertedIntoBnbResponseDetailsInner */ exchange?: string; } //#endregion //#region src/rest-api/types/get-assets-that-can-be-converted-into-bnb-response.d.ts /** * * @export * @interface GetAssetsThatCanBeConvertedIntoBnbResponse */ interface GetAssetsThatCanBeConvertedIntoBnbResponse { /** * * @type {Array} * @memberof GetAssetsThatCanBeConvertedIntoBnbResponse */ details?: Array; /** * * @type {string} * @memberof GetAssetsThatCanBeConvertedIntoBnbResponse */ totalTransferBtc?: string; /** * * @type {string} * @memberof GetAssetsThatCanBeConvertedIntoBnbResponse */ totalTransferBNB?: string; /** * * @type {string} * @memberof GetAssetsThatCanBeConvertedIntoBnbResponse */ dribbletPercentage?: string; } //#endregion //#region src/rest-api/types/get-cloud-mining-payment-and-refund-history-response-rows-inner.d.ts /** * Binance Wallet REST API * * OpenAPI Specification for the Binance Wallet REST API * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface GetCloudMiningPaymentAndRefundHistoryResponseRowsInner */ interface GetCloudMiningPaymentAndRefundHistoryResponseRowsInner { /** * * @type {number | bigint} * @memberof GetCloudMiningPaymentAndRefundHistoryResponseRowsInner */ createTime?: number | bigint; /** * * @type {number | bigint} * @memberof GetCloudMiningPaymentAndRefundHistoryResponseRowsInner */ tranId?: number | bigint; /** * * @type {number | bigint} * @memberof GetCloudMiningPaymentAndRefundHistoryResponseRowsInner */ type?: number | bigint; /** * * @type {string} * @memberof GetCloudMiningPaymentAndRefundHistoryResponseRowsInner */ asset?: string; /** * * @type {string} * @memberof GetCloudMiningPaymentAndRefundHistoryResponseRowsInner */ amount?: string; /** * * @type {string} * @memberof GetCloudMiningPaymentAndRefundHistoryResponseRowsInner */ status?: string; } //#endregion //#region src/rest-api/types/get-cloud-mining-payment-and-refund-history-response.d.ts /** * * @export * @interface GetCloudMiningPaymentAndRefundHistoryResponse */ interface GetCloudMiningPaymentAndRefundHistoryResponse { /** * * @type {number | bigint} * @memberof GetCloudMiningPaymentAndRefundHistoryResponse */ total?: number | bigint; /** * * @type {Array} * @memberof GetCloudMiningPaymentAndRefundHistoryResponse */ rows?: Array; } //#endregion //#region src/rest-api/types/get-country-list-response-countries-inner.d.ts /** * Binance Wallet REST API * * OpenAPI Specification for the Binance Wallet REST API * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface GetCountryListResponseCountriesInner */ interface GetCountryListResponseCountriesInner { /** * * @type {string} * @memberof GetCountryListResponseCountriesInner */ countryCode?: string; /** * * @type {string} * @memberof GetCountryListResponseCountriesInner */ countryName?: string; /** * * @type {string} * @memberof GetCountryListResponseCountriesInner */ blockType?: string; /** * * @type {boolean} * @memberof GetCountryListResponseCountriesInner */ depositAllowed?: boolean; /** * * @type {boolean} * @memberof GetCountryListResponseCountriesInner */ withdrawalAllowed?: boolean; /** * * @type {boolean} * @memberof GetCountryListResponseCountriesInner */ hasRegionRestrictions?: boolean; } //#endregion //#region src/rest-api/types/get-country-list-response.d.ts /** * * @export * @interface GetCountryListResponse */ interface GetCountryListResponse { /** * * @type {Array} * @memberof GetCountryListResponse */ countries?: Array; /** * * @type {number | bigint} * @memberof GetCountryListResponse */ lastUpdated?: number | bigint; } //#endregion //#region src/rest-api/types/get-open-symbol-list-response-inner.d.ts /** * Binance Wallet REST API * * OpenAPI Specification for the Binance Wallet REST API * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface GetOpenSymbolListResponseInner */ interface GetOpenSymbolListResponseInner { /** * * @type {number | bigint} * @memberof GetOpenSymbolListResponseInner */ openTime?: number | bigint; /** * * @type {Array} * @memberof GetOpenSymbolListResponseInner */ symbols?: Array; } //#endregion //#region src/rest-api/types/get-open-symbol-list-response.d.ts /** * * @export * @interface GetOpenSymbolListResponse */ interface GetOpenSymbolListResponse extends Array {} //#endregion //#region src/rest-api/types/get-region-list-response-regions-inner.d.ts /** * Binance Wallet REST API * * OpenAPI Specification for the Binance Wallet REST API * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface GetRegionListResponseRegionsInner */ interface GetRegionListResponseRegionsInner { /** * * @type {string} * @memberof GetRegionListResponseRegionsInner */ regionName?: string; /** * * @type {string} * @memberof GetRegionListResponseRegionsInner */ blockType?: string; /** * * @type {boolean} * @memberof GetRegionListResponseRegionsInner */ depositAllowed?: boolean; /** * * @type {boolean} * @memberof GetRegionListResponseRegionsInner */ withdrawalAllowed?: boolean; } //#endregion //#region src/rest-api/types/get-region-list-response.d.ts /** * * @export * @interface GetRegionListResponse */ interface GetRegionListResponse { /** * * @type {string} * @memberof GetRegionListResponse */ countryCode?: string; /** * * @type {Array} * @memberof GetRegionListResponse */ regions?: Array; /** * * @type {number | bigint} * @memberof GetRegionListResponse */ lastUpdated?: number | bigint; } //#endregion //#region src/rest-api/types/get-spot-delist-schedule-response-inner.d.ts /** * Binance Wallet REST API * * OpenAPI Specification for the Binance Wallet REST API * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface GetSpotDelistScheduleResponseInner */ interface GetSpotDelistScheduleResponseInner { /** * * @type {number | bigint} * @memberof GetSpotDelistScheduleResponseInner */ delistTime?: number | bigint; /** * * @type {Array} * @memberof GetSpotDelistScheduleResponseInner */ symbols?: Array; } //#endregion //#region src/rest-api/types/get-spot-delist-schedule-response.d.ts /** * * @export * @interface GetSpotDelistScheduleResponse */ interface GetSpotDelistScheduleResponse extends Array {} //#endregion //#region src/rest-api/types/get-symbols-delist-schedule-for-spot-response-inner.d.ts /** * Binance Wallet REST API * * OpenAPI Specification for the Binance Wallet REST API * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface GetSymbolsDelistScheduleForSpotResponseInner */ interface GetSymbolsDelistScheduleForSpotResponseInner { /** * * @type {number | bigint} * @memberof GetSymbolsDelistScheduleForSpotResponseInner */ delistTime?: number | bigint; /** * * @type {Array} * @memberof GetSymbolsDelistScheduleForSpotResponseInner */ symbols?: Array; } //#endregion //#region src/rest-api/types/get-symbols-delist-schedule-for-spot-response.d.ts /** * * @export * @interface GetSymbolsDelistScheduleForSpotResponse */ interface GetSymbolsDelistScheduleForSpotResponse extends Array {} //#endregion //#region src/rest-api/types/one-click-arrival-deposit-apply-response.d.ts /** * Binance Wallet REST API * * OpenAPI Specification for the Binance Wallet REST API * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface OneClickArrivalDepositApplyResponse */ interface OneClickArrivalDepositApplyResponse { /** * * @type {string} * @memberof OneClickArrivalDepositApplyResponse */ code?: string; /** * * @type {string} * @memberof OneClickArrivalDepositApplyResponse */ message?: string; /** * * @type {boolean} * @memberof OneClickArrivalDepositApplyResponse */ data?: boolean; /** * * @type {boolean} * @memberof OneClickArrivalDepositApplyResponse */ success?: boolean; } //#endregion //#region src/rest-api/types/query-user-delegation-history-response-rows-inner.d.ts /** * Binance Wallet REST API * * OpenAPI Specification for the Binance Wallet REST API * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface QueryUserDelegationHistoryResponseRowsInner */ interface QueryUserDelegationHistoryResponseRowsInner { /** * * @type {string} * @memberof QueryUserDelegationHistoryResponseRowsInner */ clientTranId?: string; /** * * @type {string} * @memberof QueryUserDelegationHistoryResponseRowsInner */ transferType?: string; /** * * @type {string} * @memberof QueryUserDelegationHistoryResponseRowsInner */ asset?: string; /** * * @type {string} * @memberof QueryUserDelegationHistoryResponseRowsInner */ amount?: string; /** * * @type {number | bigint} * @memberof QueryUserDelegationHistoryResponseRowsInner */ time?: number | bigint; } //#endregion //#region src/rest-api/types/query-user-delegation-history-response.d.ts /** * * @export * @interface QueryUserDelegationHistoryResponse */ interface QueryUserDelegationHistoryResponse { /** * * @type {number | bigint} * @memberof QueryUserDelegationHistoryResponse */ total?: number | bigint; /** * * @type {Array} * @memberof QueryUserDelegationHistoryResponse */ rows?: Array; } //#endregion //#region src/rest-api/types/query-user-universal-transfer-history-response-rows-inner.d.ts /** * Binance Wallet REST API * * OpenAPI Specification for the Binance Wallet REST API * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface QueryUserUniversalTransferHistoryResponseRowsInner */ interface QueryUserUniversalTransferHistoryResponseRowsInner { /** * * @type {string} * @memberof QueryUserUniversalTransferHistoryResponseRowsInner */ asset?: string; /** * * @type {string} * @memberof QueryUserUniversalTransferHistoryResponseRowsInner */ amount?: string; /** * * @type {string} * @memberof QueryUserUniversalTransferHistoryResponseRowsInner */ type?: string; /** * * @type {string} * @memberof QueryUserUniversalTransferHistoryResponseRowsInner */ status?: string; /** * * @type {number | bigint} * @memberof QueryUserUniversalTransferHistoryResponseRowsInner */ tranId?: number | bigint; /** * * @type {number | bigint} * @memberof QueryUserUniversalTransferHistoryResponseRowsInner */ timestamp?: number | bigint; } //#endregion //#region src/rest-api/types/query-user-universal-transfer-history-response.d.ts /** * * @export * @interface QueryUserUniversalTransferHistoryResponse */ interface QueryUserUniversalTransferHistoryResponse { /** * * @type {number | bigint} * @memberof QueryUserUniversalTransferHistoryResponse */ total?: number | bigint; /** * * @type {Array} * @memberof QueryUserUniversalTransferHistoryResponse */ rows?: Array; } //#endregion //#region src/rest-api/types/query-user-wallet-balance-response-inner.d.ts /** * Binance Wallet REST API * * OpenAPI Specification for the Binance Wallet REST API * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface QueryUserWalletBalanceResponseInner */ interface QueryUserWalletBalanceResponseInner { /** * * @type {boolean} * @memberof QueryUserWalletBalanceResponseInner */ activate?: boolean; /** * * @type {string} * @memberof QueryUserWalletBalanceResponseInner */ balance?: string; /** * * @type {string} * @memberof QueryUserWalletBalanceResponseInner */ walletName?: string; } //#endregion //#region src/rest-api/types/query-user-wallet-balance-response.d.ts /** * * @export * @interface QueryUserWalletBalanceResponse */ interface QueryUserWalletBalanceResponse extends Array {} //#endregion //#region src/rest-api/types/submit-deposit-questionnaire-response.d.ts /** * Binance Wallet REST API * * OpenAPI Specification for the Binance Wallet REST API * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface SubmitDepositQuestionnaireResponse */ interface SubmitDepositQuestionnaireResponse { /** * * @type {number | bigint} * @memberof SubmitDepositQuestionnaireResponse */ trId?: number | bigint; /** * * @type {boolean} * @memberof SubmitDepositQuestionnaireResponse */ accepted?: boolean; /** * * @type {string} * @memberof SubmitDepositQuestionnaireResponse */ info?: string; } //#endregion //#region src/rest-api/types/submit-deposit-questionnaire-travel-rule-response.d.ts /** * Binance Wallet REST API * * OpenAPI Specification for the Binance Wallet REST API * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface SubmitDepositQuestionnaireTravelRuleResponse */ interface SubmitDepositQuestionnaireTravelRuleResponse { /** * * @type {number | bigint} * @memberof SubmitDepositQuestionnaireTravelRuleResponse */ trId?: number | bigint; /** * * @type {boolean} * @memberof SubmitDepositQuestionnaireTravelRuleResponse */ accepted?: boolean; /** * * @type {string} * @memberof SubmitDepositQuestionnaireTravelRuleResponse */ info?: string; } //#endregion //#region src/rest-api/types/submit-deposit-questionnaire-v2-response.d.ts /** * Binance Wallet REST API * * OpenAPI Specification for the Binance Wallet REST API * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface SubmitDepositQuestionnaireV2Response */ interface SubmitDepositQuestionnaireV2Response { /** * * @type {number | bigint} * @memberof SubmitDepositQuestionnaireV2Response */ trId?: number | bigint; /** * * @type {boolean} * @memberof SubmitDepositQuestionnaireV2Response */ accepted?: boolean; /** * * @type {string} * @memberof SubmitDepositQuestionnaireV2Response */ info?: string; } //#endregion //#region src/rest-api/types/system-status-response.d.ts /** * Binance Wallet REST API * * OpenAPI Specification for the Binance Wallet REST API * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface SystemStatusResponse */ interface SystemStatusResponse { /** * * @type {number | bigint} * @memberof SystemStatusResponse */ status?: number | bigint; /** * * @type {string} * @memberof SystemStatusResponse */ msg?: string; } //#endregion //#region src/rest-api/types/toggle-bnb-burn-on-spot-trade-and-margin-interest-response.d.ts /** * Binance Wallet REST API * * OpenAPI Specification for the Binance Wallet REST API * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface ToggleBnbBurnOnSpotTradeAndMarginInterestResponse */ interface ToggleBnbBurnOnSpotTradeAndMarginInterestResponse { /** * * @type {boolean} * @memberof ToggleBnbBurnOnSpotTradeAndMarginInterestResponse */ spotBNBBurn?: boolean; /** * * @type {boolean} * @memberof ToggleBnbBurnOnSpotTradeAndMarginInterestResponse */ interestBNBBurn?: boolean; } //#endregion //#region src/rest-api/types/trade-fee-response-inner.d.ts /** * Binance Wallet REST API * * OpenAPI Specification for the Binance Wallet REST API * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface TradeFeeResponseInner */ interface TradeFeeResponseInner { /** * * @type {string} * @memberof TradeFeeResponseInner */ symbol?: string; /** * * @type {string} * @memberof TradeFeeResponseInner */ makerCommission?: string; /** * * @type {string} * @memberof TradeFeeResponseInner */ takerCommission?: string; } //#endregion //#region src/rest-api/types/trade-fee-response.d.ts /** * * @export * @interface TradeFeeResponse */ interface TradeFeeResponse extends Array {} //#endregion //#region src/rest-api/types/user-asset-response-inner.d.ts /** * Binance Wallet REST API * * OpenAPI Specification for the Binance Wallet REST API * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface UserAssetResponseInner */ interface UserAssetResponseInner { /** * * @type {string} * @memberof UserAssetResponseInner */ asset?: string; /** * * @type {string} * @memberof UserAssetResponseInner */ free?: string; /** * * @type {string} * @memberof UserAssetResponseInner */ locked?: string; /** * * @type {string} * @memberof UserAssetResponseInner */ freeze?: string; /** * * @type {string} * @memberof UserAssetResponseInner */ withdrawing?: string; /** * * @type {string} * @memberof UserAssetResponseInner */ ipoable?: string; /** * * @type {string} * @memberof UserAssetResponseInner */ btcValuation?: string; } //#endregion //#region src/rest-api/types/user-asset-response.d.ts /** * * @export * @interface UserAssetResponse */ interface UserAssetResponse extends Array {} //#endregion //#region src/rest-api/types/user-universal-transfer-response.d.ts /** * Binance Wallet REST API * * OpenAPI Specification for the Binance Wallet REST API * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface UserUniversalTransferResponse */ interface UserUniversalTransferResponse { /** * * @type {number | bigint} * @memberof UserUniversalTransferResponse */ tranId?: number | bigint; } //#endregion //#region src/rest-api/types/vasp-list-response-inner.d.ts /** * Binance Wallet REST API * * OpenAPI Specification for the Binance Wallet REST API * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface VaspListResponseInner */ interface VaspListResponseInner { /** * * @type {string} * @memberof VaspListResponseInner */ vaspCode?: string; /** * * @type {string} * @memberof VaspListResponseInner */ vaspName?: string; /** * * @type {string} * @memberof VaspListResponseInner */ identifier?: string; } //#endregion //#region src/rest-api/types/vasp-list-response.d.ts /** * * @export * @interface VaspListResponse */ interface VaspListResponse extends Array {} //#endregion //#region src/rest-api/types/withdraw-history-response-inner.d.ts /** * Binance Wallet REST API * * OpenAPI Specification for the Binance Wallet REST API * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface WithdrawHistoryResponseInner */ interface WithdrawHistoryResponseInner { /** * * @type {string} * @memberof WithdrawHistoryResponseInner */ id?: string; /** * * @type {string} * @memberof WithdrawHistoryResponseInner */ amount?: string; /** * * @type {string} * @memberof WithdrawHistoryResponseInner */ transactionFee?: string; /** * * @type {string} * @memberof WithdrawHistoryResponseInner */ coin?: string; /** * * @type {number | bigint} * @memberof WithdrawHistoryResponseInner */ status?: number | bigint; /** * * @type {string} * @memberof WithdrawHistoryResponseInner */ address?: string; /** * * @type {string} * @memberof WithdrawHistoryResponseInner */ txId?: string; /** * * @type {string} * @memberof WithdrawHistoryResponseInner */ applyTime?: string; /** * * @type {string} * @memberof WithdrawHistoryResponseInner */ network?: string; /** * * @type {number | bigint} * @memberof WithdrawHistoryResponseInner */ transferType?: number | bigint; /** * * @type {string} * @memberof WithdrawHistoryResponseInner */ withdrawOrderId?: string; /** * * @type {string} * @memberof WithdrawHistoryResponseInner */ info?: string; /** * * @type {number | bigint} * @memberof WithdrawHistoryResponseInner */ confirmNo?: number | bigint; /** * * @type {number | bigint} * @memberof WithdrawHistoryResponseInner */ walletType?: number | bigint; /** * * @type {string} * @memberof WithdrawHistoryResponseInner */ txKey?: string; /** * * @type {string} * @memberof WithdrawHistoryResponseInner */ completeTime?: string; } //#endregion //#region src/rest-api/types/withdraw-history-response.d.ts /** * * @export * @interface WithdrawHistoryResponse */ interface WithdrawHistoryResponse extends Array {} //#endregion //#region src/rest-api/types/withdraw-history-v2-response-inner.d.ts /** * Binance Wallet REST API * * OpenAPI Specification for the Binance Wallet REST API * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface WithdrawHistoryV2ResponseInner */ interface WithdrawHistoryV2ResponseInner { /** * * @type {string} * @memberof WithdrawHistoryV2ResponseInner */ id?: string; /** * * @type {number | bigint} * @memberof WithdrawHistoryV2ResponseInner */ trId?: number | bigint; /** * * @type {string} * @memberof WithdrawHistoryV2ResponseInner */ amount?: string; /** * * @type {string} * @memberof WithdrawHistoryV2ResponseInner */ transactionFee?: string; /** * * @type {string} * @memberof WithdrawHistoryV2ResponseInner */ coin?: string; /** * * @type {number | bigint} * @memberof WithdrawHistoryV2ResponseInner */ withdrawalStatus?: number | bigint; /** * * @type {number | bigint} * @memberof WithdrawHistoryV2ResponseInner */ travelRuleStatus?: number | bigint; /** * * @type {string} * @memberof WithdrawHistoryV2ResponseInner */ address?: string; /** * * @type {string} * @memberof WithdrawHistoryV2ResponseInner */ txId?: string; /** * * @type {string} * @memberof WithdrawHistoryV2ResponseInner */ applyTime?: string; /** * * @type {string} * @memberof WithdrawHistoryV2ResponseInner */ network?: string; /** * * @type {number | bigint} * @memberof WithdrawHistoryV2ResponseInner */ transferType?: number | bigint; /** * * @type {string} * @memberof WithdrawHistoryV2ResponseInner */ withdrawOrderId?: string; /** * * @type {string} * @memberof WithdrawHistoryV2ResponseInner */ info?: string; /** * * @type {number | bigint} * @memberof WithdrawHistoryV2ResponseInner */ confirmNo?: number | bigint; /** * * @type {number | bigint} * @memberof WithdrawHistoryV2ResponseInner */ walletType?: number | bigint; /** * * @type {string} * @memberof WithdrawHistoryV2ResponseInner */ txKey?: string; /** * * @type {string} * @memberof WithdrawHistoryV2ResponseInner */ questionnaire?: string; /** * * @type {string} * @memberof WithdrawHistoryV2ResponseInner */ completeTime?: string; } //#endregion //#region src/rest-api/types/withdraw-history-v1-response.d.ts /** * * @export * @interface WithdrawHistoryV1Response */ interface WithdrawHistoryV1Response extends Array {} //#endregion //#region src/rest-api/types/withdraw-history-v2-response.d.ts /** * * @export * @interface WithdrawHistoryV2Response */ interface WithdrawHistoryV2Response extends Array {} //#endregion //#region src/rest-api/types/withdraw-response.d.ts /** * Binance Wallet REST API * * OpenAPI Specification for the Binance Wallet REST API * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface WithdrawResponse */ interface WithdrawResponse { /** * * @type {string} * @memberof WithdrawResponse */ id?: string; } //#endregion //#region src/rest-api/types/withdraw-travel-rule-response.d.ts /** * Binance Wallet REST API * * OpenAPI Specification for the Binance Wallet REST API * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface WithdrawTravelRuleResponse */ interface WithdrawTravelRuleResponse { /** * * @type {number | bigint} * @memberof WithdrawTravelRuleResponse */ trId?: number | bigint; /** * * @type {boolean} * @memberof WithdrawTravelRuleResponse */ accpted?: boolean; /** * * @type {string} * @memberof WithdrawTravelRuleResponse */ info?: string; } //#endregion //#region src/rest-api/modules/account-api.d.ts /** * AccountApi - interface * @interface AccountApi */ interface AccountApiInterface { /** * Fetch account api trading status detail. * * Weight: 1 * * @summary Account API Trading Status (USER_DATA) * @param {AccountApiTradingStatusRequest} requestParameters Request parameters. * * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof AccountApiInterface */ accountApiTradingStatus(requestParameters?: AccountApiTradingStatusRequest): Promise>; /** * Fetch account info detail. * * Weight: 1 * * @summary Account info (USER_DATA) * @param {AccountInfoRequest} requestParameters Request parameters. * * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof AccountApiInterface */ accountInfo(requestParameters?: AccountInfoRequest): Promise>; /** * Fetch account status detail. * * Weight: 1 * * @summary Account Status (USER_DATA) * @param {AccountStatusRequest} requestParameters Request parameters. * * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof AccountApiInterface */ accountStatus(requestParameters?: AccountStatusRequest): Promise>; /** * Daily account snapshot * * The query time period must be less then 30 days * Support query within the last one month only * If startTimeand endTime not sent, return records of the last 7 days by default * * Weight: 2400 * * @summary Daily Account Snapshot (USER_DATA) * @param {DailyAccountSnapshotRequest} requestParameters Request parameters. * * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof AccountApiInterface */ dailyAccountSnapshot(requestParameters: DailyAccountSnapshotRequest): Promise>; /** * * Weight: 1 * * @summary Disable Fast Withdraw Switch (USER_DATA) * @param {DisableFastWithdrawSwitchRequest} requestParameters Request parameters. * * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof AccountApiInterface */ disableFastWithdrawSwitch(requestParameters?: DisableFastWithdrawSwitchRequest): Promise>; /** * Enable Fast Withdraw Switch (USER_DATA) * * This request will enable fastwithdraw switch under your account.

* When Fast Withdraw Switch is on, transferring funds to a Binance account will be done instantly. There is no on-chain transaction, no transaction ID and no withdrawal fee. * * Weight: 1 * * @summary Enable Fast Withdraw Switch (USER_DATA) * @param {EnableFastWithdrawSwitchRequest} requestParameters Request parameters. * * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof AccountApiInterface */ enableFastWithdrawSwitch(requestParameters?: EnableFastWithdrawSwitchRequest): Promise>; /** * Get API Key Permission * * Weight: 1 * * @summary Get API Key Permission (USER_DATA) * @param {GetApiKeyPermissionRequest} requestParameters Request parameters. * * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof AccountApiInterface */ getApiKeyPermission(requestParameters?: GetApiKeyPermissionRequest): Promise>; } /** * Request parameters for accountApiTradingStatus operation in AccountApi. * @interface AccountApiTradingStatusRequest */ interface AccountApiTradingStatusRequest { /** * * @type {number | bigint} * @memberof AccountApiAccountApiTradingStatus */ readonly recvWindow?: number | bigint; } /** * Request parameters for accountInfo operation in AccountApi. * @interface AccountInfoRequest */ interface AccountInfoRequest { /** * * @type {number | bigint} * @memberof AccountApiAccountInfo */ readonly recvWindow?: number | bigint; } /** * Request parameters for accountStatus operation in AccountApi. * @interface AccountStatusRequest */ interface AccountStatusRequest { /** * * @type {number | bigint} * @memberof AccountApiAccountStatus */ readonly recvWindow?: number | bigint; } /** * Request parameters for dailyAccountSnapshot operation in AccountApi. * @interface DailyAccountSnapshotRequest */ interface DailyAccountSnapshotRequest { /** * * @type {string} * @memberof AccountApiDailyAccountSnapshot */ readonly type: string; /** * * @type {number | bigint} * @memberof AccountApiDailyAccountSnapshot */ readonly startTime?: number | bigint; /** * * @type {number | bigint} * @memberof AccountApiDailyAccountSnapshot */ readonly endTime?: number | bigint; /** * min 7, max 30, default 7 * @type {number | bigint} * @memberof AccountApiDailyAccountSnapshot */ readonly limit?: number | bigint; /** * * @type {number | bigint} * @memberof AccountApiDailyAccountSnapshot */ readonly recvWindow?: number | bigint; } /** * Request parameters for disableFastWithdrawSwitch operation in AccountApi. * @interface DisableFastWithdrawSwitchRequest */ interface DisableFastWithdrawSwitchRequest { /** * * @type {number | bigint} * @memberof AccountApiDisableFastWithdrawSwitch */ readonly recvWindow?: number | bigint; } /** * Request parameters for enableFastWithdrawSwitch operation in AccountApi. * @interface EnableFastWithdrawSwitchRequest */ interface EnableFastWithdrawSwitchRequest { /** * * @type {number | bigint} * @memberof AccountApiEnableFastWithdrawSwitch */ readonly recvWindow?: number | bigint; } /** * Request parameters for getApiKeyPermission operation in AccountApi. * @interface GetApiKeyPermissionRequest */ interface GetApiKeyPermissionRequest { /** * * @type {number | bigint} * @memberof AccountApiGetApiKeyPermission */ readonly recvWindow?: number | bigint; } /** * AccountApi - object-oriented interface * @class AccountApi */ declare class AccountApi implements AccountApiInterface { private readonly configuration; private localVarAxiosParamCreator; constructor(configuration: ConfigurationRestAPI); /** * Fetch account api trading status detail. * * Weight: 1 * * @summary Account API Trading Status (USER_DATA) * @param {AccountApiTradingStatusRequest} requestParameters Request parameters. * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof AccountApi * @see {@link https://developers.binance.com/docs/wallet/account/Account-API-Trading-Status Binance API Documentation} */ accountApiTradingStatus(requestParameters?: AccountApiTradingStatusRequest): Promise>; /** * Fetch account info detail. * * Weight: 1 * * @summary Account info (USER_DATA) * @param {AccountInfoRequest} requestParameters Request parameters. * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof AccountApi * @see {@link https://developers.binance.com/docs/wallet/account/Account-info Binance API Documentation} */ accountInfo(requestParameters?: AccountInfoRequest): Promise>; /** * Fetch account status detail. * * Weight: 1 * * @summary Account Status (USER_DATA) * @param {AccountStatusRequest} requestParameters Request parameters. * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof AccountApi * @see {@link https://developers.binance.com/docs/wallet/account/Account-Status Binance API Documentation} */ accountStatus(requestParameters?: AccountStatusRequest): Promise>; /** * Daily account snapshot * * The query time period must be less then 30 days * Support query within the last one month only * If startTimeand endTime not sent, return records of the last 7 days by default * * Weight: 2400 * * @summary Daily Account Snapshot (USER_DATA) * @param {DailyAccountSnapshotRequest} requestParameters Request parameters. * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof AccountApi * @see {@link https://developers.binance.com/docs/wallet/account/daily-account-snapshoot Binance API Documentation} */ dailyAccountSnapshot(requestParameters: DailyAccountSnapshotRequest): Promise>; /** * * Weight: 1 * * @summary Disable Fast Withdraw Switch (USER_DATA) * @param {DisableFastWithdrawSwitchRequest} requestParameters Request parameters. * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof AccountApi * @see {@link https://developers.binance.com/docs/wallet/account/Disable-Fast-Withdraw-Switch Binance API Documentation} */ disableFastWithdrawSwitch(requestParameters?: DisableFastWithdrawSwitchRequest): Promise>; /** * Enable Fast Withdraw Switch (USER_DATA) * * This request will enable fastwithdraw switch under your account.

* When Fast Withdraw Switch is on, transferring funds to a Binance account will be done instantly. There is no on-chain transaction, no transaction ID and no withdrawal fee. * * Weight: 1 * * @summary Enable Fast Withdraw Switch (USER_DATA) * @param {EnableFastWithdrawSwitchRequest} requestParameters Request parameters. * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof AccountApi * @see {@link https://developers.binance.com/docs/wallet/account/Enable-Fast-Withdraw-Switch Binance API Documentation} */ enableFastWithdrawSwitch(requestParameters?: EnableFastWithdrawSwitchRequest): Promise>; /** * Get API Key Permission * * Weight: 1 * * @summary Get API Key Permission (USER_DATA) * @param {GetApiKeyPermissionRequest} requestParameters Request parameters. * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof AccountApi * @see {@link https://developers.binance.com/docs/wallet/account/api-key-permission Binance API Documentation} */ getApiKeyPermission(requestParameters?: GetApiKeyPermissionRequest): Promise>; } //#endregion //#region src/rest-api/modules/asset-api.d.ts /** * AssetApi - interface * @interface AssetApi */ interface AssetApiInterface { /** * Fetch details of assets supported on Binance. * * * Please get network and other deposit or withdraw details from ``GET /sapi/v1/capital/config/getall``. * * Weight: 1 * * @summary Asset Detail (USER_DATA) * @param {AssetDetailRequest} requestParameters Request parameters. * * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof AssetApiInterface */ assetDetail(requestParameters?: AssetDetailRequest): Promise>; /** * Query asset dividend record. * * * There cannot be more than 180 days between parameter `startTime` and `endTime`. * * Weight: 10 * * @summary Asset Dividend Record (USER_DATA) * @param {AssetDividendRecordRequest} requestParameters Request parameters. * * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof AssetApiInterface */ assetDividendRecord(requestParameters?: AssetDividendRecordRequest): Promise>; /** * Convert dust assets * * Weight: 10 * * @summary Dust Convert (USER_DATA) * @param {DustConvertRequest} requestParameters Request parameters. * * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof AssetApiInterface */ dustConvert(requestParameters: DustConvertRequest): Promise>; /** * Query dust convertible assets * * Weight: 1 * * @summary Dust Convertible Assets (USER_DATA) * @param {DustConvertibleAssetsRequest} requestParameters Request parameters. * * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof AssetApiInterface */ dustConvertibleAssets(requestParameters: DustConvertibleAssetsRequest): Promise>; /** * Convert dust assets to BNB. * * You need to open`Enable Spot & Margin Trading` permission for the API Key which requests this endpoint. * * Weight: 10 * * @summary Dust Transfer (USER_DATA) * @param {DustTransferRequest} requestParameters Request parameters. * * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof AssetApiInterface */ dustTransfer(requestParameters: DustTransferRequest): Promise>; /** * Dustlog * * Only return last 100 records * Only return records after 2020/12/01 * * Weight: 1 * * @summary DustLog(USER_DATA) * @param {DustlogRequest} requestParameters Request parameters. * * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof AssetApiInterface */ dustlog(requestParameters?: DustlogRequest): Promise>; /** * Query Funding Wallet * * * Currently supports querying the following business assets:Binance Pay, Binance Card, Binance Gift Card, Stock Token * * Weight: 1 * * @summary Funding Wallet (USER_DATA) * @param {FundingWalletRequest} requestParameters Request parameters. * * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof AssetApiInterface */ fundingWallet(requestParameters?: FundingWalletRequest): Promise>; /** * Get Assets That Can Be Converted Into BNB * * Weight: 1 * * @summary Get Assets That Can Be Converted Into BNB (USER_DATA) * @param {GetAssetsThatCanBeConvertedIntoBnbRequest} requestParameters Request parameters. * * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof AssetApiInterface */ getAssetsThatCanBeConvertedIntoBnb(requestParameters?: GetAssetsThatCanBeConvertedIntoBnbRequest): Promise>; /** * The query of Cloud-Mining payment and refund history * * Just return the SUCCESS records of payment and refund. * For response, type = 248 means payment, type = 249 means refund, status =S means SUCCESS. * * Weight: 600 * * @summary Get Cloud-Mining payment and refund history (USER_DATA) * @param {GetCloudMiningPaymentAndRefundHistoryRequest} requestParameters Request parameters. * * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof AssetApiInterface */ getCloudMiningPaymentAndRefundHistory(requestParameters: GetCloudMiningPaymentAndRefundHistoryRequest): Promise>; /** * Get the list of symbols that are scheduled to be opened for trading in the market. * * Weight: 100 * * @summary Get Open Symbol List (MARKET_DATA) * * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof AssetApiInterface */ getOpenSymbolList(): Promise>; /** * Query User Delegation History * * Weight: 60 * * @summary Query User Delegation History(For Master Account)(USER_DATA) * @param {QueryUserDelegationHistoryRequest} requestParameters Request parameters. * * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof AssetApiInterface */ queryUserDelegationHistory(requestParameters: QueryUserDelegationHistoryRequest): Promise>; /** * Query User Universal Transfer History * * * `fromSymbol` must be sent when type are ISOLATEDMARGIN_MARGIN and ISOLATEDMARGIN_ISOLATEDMARGIN * `toSymbol` must be sent when type are MARGIN_ISOLATEDMARGIN and ISOLATEDMARGIN_ISOLATEDMARGIN * Support query within the last 6 months only * If `startTime`and `endTime` not sent, return records of the last 7 days by default * * Weight: 1 * * @summary Query User Universal Transfer History(USER_DATA) * @param {QueryUserUniversalTransferHistoryRequest} requestParameters Request parameters. * * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof AssetApiInterface */ queryUserUniversalTransferHistory(requestParameters: QueryUserUniversalTransferHistoryRequest): Promise>; /** * Query User Wallet Balance * * Weight: 60 * * @summary Query User Wallet Balance (USER_DATA) * @param {QueryUserWalletBalanceRequest} requestParameters Request parameters. * * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof AssetApiInterface */ queryUserWalletBalance(requestParameters?: QueryUserWalletBalanceRequest): Promise>; /** * Toggle BNB Burn On Spot Trade And Margin Interest * * "spotBNBBurn" and "interestBNBBurn" should be sent at least one. * * Weight: 1(IP) * * @summary Toggle BNB Burn On Spot Trade And Margin Interest (USER_DATA) * @param {ToggleBnbBurnOnSpotTradeAndMarginInterestRequest} requestParameters Request parameters. * * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof AssetApiInterface */ toggleBnbBurnOnSpotTradeAndMarginInterest(requestParameters?: ToggleBnbBurnOnSpotTradeAndMarginInterestRequest): Promise>; /** * Fetch trade fee * * Weight: 1 * * @summary Trade Fee (USER_DATA) * @param {TradeFeeRequest} requestParameters Request parameters. * * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof AssetApiInterface */ tradeFee(requestParameters?: TradeFeeRequest): Promise>; /** * Get user assets, just for positive data. * * If asset is set, then return this asset, otherwise return all assets positive. * If needBtcValuation is set, then return btcValudation. * * Weight: 5 * * @summary User Asset (USER_DATA) * @param {UserAssetRequest} requestParameters Request parameters. * * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof AssetApiInterface */ userAsset(requestParameters?: UserAssetRequest): Promise>; /** * user universal transfer * * `fromSymbol` must be sent when type are ISOLATEDMARGIN_MARGIN and ISOLATEDMARGIN_ISOLATEDMARGIN * `toSymbol` must be sent when type are MARGIN_ISOLATEDMARGIN and ISOLATEDMARGIN_ISOLATEDMARGIN * ENUM of transfer types: * MAIN_UMFUTURE Spot account transfer to USDⓈ-M Futures account * MAIN_CMFUTURE Spot account transfer to COIN-M Futures account * MAIN_MARGIN Spot account transfer to Margin(cross)account * UMFUTURE_MAIN USDⓈ-M Futures account transfer to Spot account * UMFUTURE_MARGIN USDⓈ-M Futures account transfer to Margin(cross)account * CMFUTURE_MAIN COIN-M Futures account transfer to Spot account * CMFUTURE_MARGIN COIN-M Futures account transfer to Margin(cross) account * MARGIN_MAIN Margin(cross)account transfer to Spot account * MARGIN_UMFUTURE Margin(cross)account transfer to USDⓈ-M Futures * MARGIN_CMFUTURE Margin(cross)account transfer to COIN-M Futures * ISOLATEDMARGIN_MARGIN Isolated margin account transfer to Margin(cross) account * MARGIN_ISOLATEDMARGIN Margin(cross) account transfer to Isolated margin account * ISOLATEDMARGIN_ISOLATEDMARGIN Isolated margin account transfer to Isolated margin account * MAIN_FUNDING Spot account transfer to Funding account * FUNDING_MAIN Funding account transfer to Spot account * FUNDING_UMFUTURE Funding account transfer to UMFUTURE account * UMFUTURE_FUNDING UMFUTURE account transfer to Funding account * MARGIN_FUNDING MARGIN account transfer to Funding account * FUNDING_MARGIN Funding account transfer to Margin account * FUNDING_CMFUTURE Funding account transfer to CMFUTURE account * CMFUTURE_FUNDING CMFUTURE account transfer to Funding account * MAIN_OPTION Spot account transfer to Options account * OPTION_MAIN Options account transfer to Spot account * UMFUTURE_OPTION USDⓈ-M Futures account transfer to Options account * OPTION_UMFUTURE Options account transfer to USDⓈ-M Futures account * MARGIN_OPTION Margin(cross)account transfer to Options account * OPTION_MARGIN Options account transfer to Margin(cross)account * FUNDING_OPTION Funding account transfer to Options account * OPTION_FUNDING Options account transfer to Funding account * MAIN_PORTFOLIO_MARGIN Spot account transfer to Portfolio Margin account * PORTFOLIO_MARGIN_MAIN Portfolio Margin account transfer to Spot account * * Weight: 900 * * @summary User Universal Transfer (USER_DATA) * @param {UserUniversalTransferRequest} requestParameters Request parameters. * * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof AssetApiInterface */ userUniversalTransfer(requestParameters: UserUniversalTransferRequest): Promise>; } /** * Request parameters for assetDetail operation in AssetApi. * @interface AssetDetailRequest */ interface AssetDetailRequest { /** * If asset is blank, then query all positive assets user have. * @type {string} * @memberof AssetApiAssetDetail */ readonly asset?: string; /** * * @type {number | bigint} * @memberof AssetApiAssetDetail */ readonly recvWindow?: number | bigint; } /** * Request parameters for assetDividendRecord operation in AssetApi. * @interface AssetDividendRecordRequest */ interface AssetDividendRecordRequest { /** * If asset is blank, then query all positive assets user have. * @type {string} * @memberof AssetApiAssetDividendRecord */ readonly asset?: string; /** * * @type {number | bigint} * @memberof AssetApiAssetDividendRecord */ readonly startTime?: number | bigint; /** * * @type {number | bigint} * @memberof AssetApiAssetDividendRecord */ readonly endTime?: number | bigint; /** * min 7, max 30, default 7 * @type {number | bigint} * @memberof AssetApiAssetDividendRecord */ readonly limit?: number | bigint; /** * * @type {number | bigint} * @memberof AssetApiAssetDividendRecord */ readonly recvWindow?: number | bigint; } /** * Request parameters for dustConvert operation in AssetApi. * @interface DustConvertRequest */ interface DustConvertRequest { /** * * @type {string} * @memberof AssetApiDustConvert */ readonly asset: string; /** * `SPOT` or `MARGIN`,default `SPOT` * @type {string} * @memberof AssetApiDustConvert */ readonly accountType?: string; /** * A unique id for the request * @type {string} * @memberof AssetApiDustConvert */ readonly clientId?: string; /** * * @type {string} * @memberof AssetApiDustConvert */ readonly targetAsset?: string; /** * * @type {string} * @memberof AssetApiDustConvert */ readonly thirdPartyClientId?: string; /** * * @type {number} * @memberof AssetApiDustConvert */ readonly dustQuotaAssetToTargetAssetPrice?: number; } /** * Request parameters for dustConvertibleAssets operation in AssetApi. * @interface DustConvertibleAssetsRequest */ interface DustConvertibleAssetsRequest { /** * * @type {string} * @memberof AssetApiDustConvertibleAssets */ readonly targetAsset: string; /** * `SPOT` or `MARGIN`,default `SPOT` * @type {string} * @memberof AssetApiDustConvertibleAssets */ readonly accountType?: string; /** * * @type {number} * @memberof AssetApiDustConvertibleAssets */ readonly dustQuotaAssetToTargetAssetPrice?: number; } /** * Request parameters for dustTransfer operation in AssetApi. * @interface DustTransferRequest */ interface DustTransferRequest { /** * * @type {string} * @memberof AssetApiDustTransfer */ readonly asset: string; /** * `SPOT` or `MARGIN`,default `SPOT` * @type {string} * @memberof AssetApiDustTransfer */ readonly accountType?: string; /** * * @type {number | bigint} * @memberof AssetApiDustTransfer */ readonly recvWindow?: number | bigint; } /** * Request parameters for dustlog operation in AssetApi. * @interface DustlogRequest */ interface DustlogRequest { /** * `SPOT` or `MARGIN`,default `SPOT` * @type {string} * @memberof AssetApiDustlog */ readonly accountType?: string; /** * * @type {number | bigint} * @memberof AssetApiDustlog */ readonly startTime?: number | bigint; /** * * @type {number | bigint} * @memberof AssetApiDustlog */ readonly endTime?: number | bigint; /** * * @type {number | bigint} * @memberof AssetApiDustlog */ readonly recvWindow?: number | bigint; } /** * Request parameters for fundingWallet operation in AssetApi. * @interface FundingWalletRequest */ interface FundingWalletRequest { /** * If asset is blank, then query all positive assets user have. * @type {string} * @memberof AssetApiFundingWallet */ readonly asset?: string; /** * true or false * @type {string} * @memberof AssetApiFundingWallet */ readonly needBtcValuation?: string; /** * * @type {number | bigint} * @memberof AssetApiFundingWallet */ readonly recvWindow?: number | bigint; } /** * Request parameters for getAssetsThatCanBeConvertedIntoBnb operation in AssetApi. * @interface GetAssetsThatCanBeConvertedIntoBnbRequest */ interface GetAssetsThatCanBeConvertedIntoBnbRequest { /** * `SPOT` or `MARGIN`,default `SPOT` * @type {string} * @memberof AssetApiGetAssetsThatCanBeConvertedIntoBnb */ readonly accountType?: string; /** * * @type {number | bigint} * @memberof AssetApiGetAssetsThatCanBeConvertedIntoBnb */ readonly recvWindow?: number | bigint; } /** * Request parameters for getCloudMiningPaymentAndRefundHistory operation in AssetApi. * @interface GetCloudMiningPaymentAndRefundHistoryRequest */ interface GetCloudMiningPaymentAndRefundHistoryRequest { /** * * @type {number | bigint} * @memberof AssetApiGetCloudMiningPaymentAndRefundHistory */ readonly startTime: number | bigint; /** * * @type {number | bigint} * @memberof AssetApiGetCloudMiningPaymentAndRefundHistory */ readonly endTime: number | bigint; /** * The transaction id * @type {number | bigint} * @memberof AssetApiGetCloudMiningPaymentAndRefundHistory */ readonly tranId?: number | bigint; /** * The unique flag * @type {string} * @memberof AssetApiGetCloudMiningPaymentAndRefundHistory */ readonly clientTranId?: string; /** * If asset is blank, then query all positive assets user have. * @type {string} * @memberof AssetApiGetCloudMiningPaymentAndRefundHistory */ readonly asset?: string; /** * current page, default 1, the min value is 1 * @type {number | bigint} * @memberof AssetApiGetCloudMiningPaymentAndRefundHistory */ readonly current?: number | bigint; /** * page size, default 10, the max value is 100 * @type {number | bigint} * @memberof AssetApiGetCloudMiningPaymentAndRefundHistory */ readonly size?: number | bigint; } /** * Request parameters for queryUserDelegationHistory operation in AssetApi. * @interface QueryUserDelegationHistoryRequest */ interface QueryUserDelegationHistoryRequest { /** * * @type {string} * @memberof AssetApiQueryUserDelegationHistory */ readonly email: string; /** * * @type {number | bigint} * @memberof AssetApiQueryUserDelegationHistory */ readonly startTime: number | bigint; /** * * @type {number | bigint} * @memberof AssetApiQueryUserDelegationHistory */ readonly endTime: number | bigint; /** * Delegate/Undelegate * @type {string} * @memberof AssetApiQueryUserDelegationHistory */ readonly type?: string; /** * If asset is blank, then query all positive assets user have. * @type {string} * @memberof AssetApiQueryUserDelegationHistory */ readonly asset?: string; /** * current page, default 1, the min value is 1 * @type {number | bigint} * @memberof AssetApiQueryUserDelegationHistory */ readonly current?: number | bigint; /** * page size, default 10, the max value is 100 * @type {number | bigint} * @memberof AssetApiQueryUserDelegationHistory */ readonly size?: number | bigint; /** * * @type {number | bigint} * @memberof AssetApiQueryUserDelegationHistory */ readonly recvWindow?: number | bigint; } /** * Request parameters for queryUserUniversalTransferHistory operation in AssetApi. * @interface QueryUserUniversalTransferHistoryRequest */ interface QueryUserUniversalTransferHistoryRequest { /** * * @type {string} * @memberof AssetApiQueryUserUniversalTransferHistory */ readonly type: string; /** * * @type {number | bigint} * @memberof AssetApiQueryUserUniversalTransferHistory */ readonly startTime?: number | bigint; /** * * @type {number | bigint} * @memberof AssetApiQueryUserUniversalTransferHistory */ readonly endTime?: number | bigint; /** * current page, default 1, the min value is 1 * @type {number | bigint} * @memberof AssetApiQueryUserUniversalTransferHistory */ readonly current?: number | bigint; /** * page size, default 10, the max value is 100 * @type {number | bigint} * @memberof AssetApiQueryUserUniversalTransferHistory */ readonly size?: number | bigint; /** * * @type {string} * @memberof AssetApiQueryUserUniversalTransferHistory */ readonly fromSymbol?: string; /** * * @type {string} * @memberof AssetApiQueryUserUniversalTransferHistory */ readonly toSymbol?: string; /** * * @type {number | bigint} * @memberof AssetApiQueryUserUniversalTransferHistory */ readonly recvWindow?: number | bigint; } /** * Request parameters for queryUserWalletBalance operation in AssetApi. * @interface QueryUserWalletBalanceRequest */ interface QueryUserWalletBalanceRequest { /** * `USDT`, `ETH`, `USDC`, `BNB`, etc. default `BTC` * @type {string} * @memberof AssetApiQueryUserWalletBalance */ readonly quoteAsset?: string; /** * * @type {number | bigint} * @memberof AssetApiQueryUserWalletBalance */ readonly recvWindow?: number | bigint; } /** * Request parameters for toggleBnbBurnOnSpotTradeAndMarginInterest operation in AssetApi. * @interface ToggleBnbBurnOnSpotTradeAndMarginInterestRequest */ interface ToggleBnbBurnOnSpotTradeAndMarginInterestRequest { /** * "true" or "false"; Determines whether to use BNB to pay for trading fees on SPOT * @type {string} * @memberof AssetApiToggleBnbBurnOnSpotTradeAndMarginInterest */ readonly spotBNBBurn?: string; /** * "true" or "false"; Determines whether to use BNB to pay for margin loan's interest * @type {string} * @memberof AssetApiToggleBnbBurnOnSpotTradeAndMarginInterest */ readonly interestBNBBurn?: string; /** * * @type {number | bigint} * @memberof AssetApiToggleBnbBurnOnSpotTradeAndMarginInterest */ readonly recvWindow?: number | bigint; } /** * Request parameters for tradeFee operation in AssetApi. * @interface TradeFeeRequest */ interface TradeFeeRequest { /** * * @type {string} * @memberof AssetApiTradeFee */ readonly symbol?: string; /** * * @type {number | bigint} * @memberof AssetApiTradeFee */ readonly recvWindow?: number | bigint; } /** * Request parameters for userAsset operation in AssetApi. * @interface UserAssetRequest */ interface UserAssetRequest { /** * If asset is blank, then query all positive assets user have. * @type {string} * @memberof AssetApiUserAsset */ readonly asset?: string; /** * Whether need btc valuation or not. * @type {boolean} * @memberof AssetApiUserAsset */ readonly needBtcValuation?: boolean; /** * * @type {number | bigint} * @memberof AssetApiUserAsset */ readonly recvWindow?: number | bigint; } /** * Request parameters for userUniversalTransfer operation in AssetApi. * @interface UserUniversalTransferRequest */ interface UserUniversalTransferRequest { /** * * @type {string} * @memberof AssetApiUserUniversalTransfer */ readonly type: string; /** * * @type {string} * @memberof AssetApiUserUniversalTransfer */ readonly asset: string; /** * * @type {number} * @memberof AssetApiUserUniversalTransfer */ readonly amount: number; /** * * @type {string} * @memberof AssetApiUserUniversalTransfer */ readonly fromSymbol?: string; /** * * @type {string} * @memberof AssetApiUserUniversalTransfer */ readonly toSymbol?: string; /** * * @type {number | bigint} * @memberof AssetApiUserUniversalTransfer */ readonly recvWindow?: number | bigint; } /** * AssetApi - object-oriented interface * @class AssetApi */ declare class AssetApi implements AssetApiInterface { private readonly configuration; private localVarAxiosParamCreator; constructor(configuration: ConfigurationRestAPI); /** * Fetch details of assets supported on Binance. * * * Please get network and other deposit or withdraw details from ``GET /sapi/v1/capital/config/getall``. * * Weight: 1 * * @summary Asset Detail (USER_DATA) * @param {AssetDetailRequest} requestParameters Request parameters. * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof AssetApi * @see {@link https://developers.binance.com/docs/wallet/asset/Asset-Detail Binance API Documentation} */ assetDetail(requestParameters?: AssetDetailRequest): Promise>; /** * Query asset dividend record. * * * There cannot be more than 180 days between parameter `startTime` and `endTime`. * * Weight: 10 * * @summary Asset Dividend Record (USER_DATA) * @param {AssetDividendRecordRequest} requestParameters Request parameters. * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof AssetApi * @see {@link https://developers.binance.com/docs/wallet/asset/assets-divided-record Binance API Documentation} */ assetDividendRecord(requestParameters?: AssetDividendRecordRequest): Promise>; /** * Convert dust assets * * Weight: 10 * * @summary Dust Convert (USER_DATA) * @param {DustConvertRequest} requestParameters Request parameters. * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof AssetApi * @see {@link https://developers.binance.com/docs/wallet/asset/Dust-Convert Binance API Documentation} */ dustConvert(requestParameters: DustConvertRequest): Promise>; /** * Query dust convertible assets * * Weight: 1 * * @summary Dust Convertible Assets (USER_DATA) * @param {DustConvertibleAssetsRequest} requestParameters Request parameters. * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof AssetApi * @see {@link https://developers.binance.com/docs/wallet/asset/Dust-Convertible-Assets Binance API Documentation} */ dustConvertibleAssets(requestParameters: DustConvertibleAssetsRequest): Promise>; /** * Convert dust assets to BNB. * * You need to open`Enable Spot & Margin Trading` permission for the API Key which requests this endpoint. * * Weight: 10 * * @summary Dust Transfer (USER_DATA) * @param {DustTransferRequest} requestParameters Request parameters. * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof AssetApi * @see {@link https://developers.binance.com/docs/wallet/asset/Dust-Transfer Binance API Documentation} */ dustTransfer(requestParameters: DustTransferRequest): Promise>; /** * Dustlog * * Only return last 100 records * Only return records after 2020/12/01 * * Weight: 1 * * @summary DustLog(USER_DATA) * @param {DustlogRequest} requestParameters Request parameters. * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof AssetApi * @see {@link https://developers.binance.com/docs/wallet/asset/dust-log Binance API Documentation} */ dustlog(requestParameters?: DustlogRequest): Promise>; /** * Query Funding Wallet * * * Currently supports querying the following business assets:Binance Pay, Binance Card, Binance Gift Card, Stock Token * * Weight: 1 * * @summary Funding Wallet (USER_DATA) * @param {FundingWalletRequest} requestParameters Request parameters. * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof AssetApi * @see {@link https://developers.binance.com/docs/wallet/asset/Funding-Wallet Binance API Documentation} */ fundingWallet(requestParameters?: FundingWalletRequest): Promise>; /** * Get Assets That Can Be Converted Into BNB * * Weight: 1 * * @summary Get Assets That Can Be Converted Into BNB (USER_DATA) * @param {GetAssetsThatCanBeConvertedIntoBnbRequest} requestParameters Request parameters. * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof AssetApi * @see {@link https://developers.binance.com/docs/wallet/asset/assets-can-convert-bnb Binance API Documentation} */ getAssetsThatCanBeConvertedIntoBnb(requestParameters?: GetAssetsThatCanBeConvertedIntoBnbRequest): Promise>; /** * The query of Cloud-Mining payment and refund history * * Just return the SUCCESS records of payment and refund. * For response, type = 248 means payment, type = 249 means refund, status =S means SUCCESS. * * Weight: 600 * * @summary Get Cloud-Mining payment and refund history (USER_DATA) * @param {GetCloudMiningPaymentAndRefundHistoryRequest} requestParameters Request parameters. * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof AssetApi * @see {@link https://developers.binance.com/docs/wallet/asset/cloud-mining-payment-and-refund-history Binance API Documentation} */ getCloudMiningPaymentAndRefundHistory(requestParameters: GetCloudMiningPaymentAndRefundHistoryRequest): Promise>; /** * Get the list of symbols that are scheduled to be opened for trading in the market. * * Weight: 100 * * @summary Get Open Symbol List (MARKET_DATA) * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof AssetApi * @see {@link https://developers.binance.com/docs/wallet/asset/open-symbol-list Binance API Documentation} */ getOpenSymbolList(): Promise>; /** * Query User Delegation History * * Weight: 60 * * @summary Query User Delegation History(For Master Account)(USER_DATA) * @param {QueryUserDelegationHistoryRequest} requestParameters Request parameters. * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof AssetApi * @see {@link https://developers.binance.com/docs/wallet/asset/query-user-delegation Binance API Documentation} */ queryUserDelegationHistory(requestParameters: QueryUserDelegationHistoryRequest): Promise>; /** * Query User Universal Transfer History * * * `fromSymbol` must be sent when type are ISOLATEDMARGIN_MARGIN and ISOLATEDMARGIN_ISOLATEDMARGIN * `toSymbol` must be sent when type are MARGIN_ISOLATEDMARGIN and ISOLATEDMARGIN_ISOLATEDMARGIN * Support query within the last 6 months only * If `startTime`and `endTime` not sent, return records of the last 7 days by default * * Weight: 1 * * @summary Query User Universal Transfer History(USER_DATA) * @param {QueryUserUniversalTransferHistoryRequest} requestParameters Request parameters. * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof AssetApi * @see {@link https://developers.binance.com/docs/wallet/asset/query-user-universal-transfer Binance API Documentation} */ queryUserUniversalTransferHistory(requestParameters: QueryUserUniversalTransferHistoryRequest): Promise>; /** * Query User Wallet Balance * * Weight: 60 * * @summary Query User Wallet Balance (USER_DATA) * @param {QueryUserWalletBalanceRequest} requestParameters Request parameters. * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof AssetApi * @see {@link https://developers.binance.com/docs/wallet/asset/Query-User-Wallet-Balance Binance API Documentation} */ queryUserWalletBalance(requestParameters?: QueryUserWalletBalanceRequest): Promise>; /** * Toggle BNB Burn On Spot Trade And Margin Interest * * "spotBNBBurn" and "interestBNBBurn" should be sent at least one. * * Weight: 1(IP) * * @summary Toggle BNB Burn On Spot Trade And Margin Interest (USER_DATA) * @param {ToggleBnbBurnOnSpotTradeAndMarginInterestRequest} requestParameters Request parameters. * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof AssetApi * @see {@link https://developers.binance.com/docs/wallet/asset/Toggle-BNB-Burn-On-Spot-Trade-And-Margin-Interest Binance API Documentation} */ toggleBnbBurnOnSpotTradeAndMarginInterest(requestParameters?: ToggleBnbBurnOnSpotTradeAndMarginInterestRequest): Promise>; /** * Fetch trade fee * * Weight: 1 * * @summary Trade Fee (USER_DATA) * @param {TradeFeeRequest} requestParameters Request parameters. * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof AssetApi * @see {@link https://developers.binance.com/docs/wallet/asset/Trade-Fee Binance API Documentation} */ tradeFee(requestParameters?: TradeFeeRequest): Promise>; /** * Get user assets, just for positive data. * * If asset is set, then return this asset, otherwise return all assets positive. * If needBtcValuation is set, then return btcValudation. * * Weight: 5 * * @summary User Asset (USER_DATA) * @param {UserAssetRequest} requestParameters Request parameters. * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof AssetApi * @see {@link https://developers.binance.com/docs/wallet/asset/user-assets Binance API Documentation} */ userAsset(requestParameters?: UserAssetRequest): Promise>; /** * user universal transfer * * `fromSymbol` must be sent when type are ISOLATEDMARGIN_MARGIN and ISOLATEDMARGIN_ISOLATEDMARGIN * `toSymbol` must be sent when type are MARGIN_ISOLATEDMARGIN and ISOLATEDMARGIN_ISOLATEDMARGIN * ENUM of transfer types: * MAIN_UMFUTURE Spot account transfer to USDⓈ-M Futures account * MAIN_CMFUTURE Spot account transfer to COIN-M Futures account * MAIN_MARGIN Spot account transfer to Margin(cross)account * UMFUTURE_MAIN USDⓈ-M Futures account transfer to Spot account * UMFUTURE_MARGIN USDⓈ-M Futures account transfer to Margin(cross)account * CMFUTURE_MAIN COIN-M Futures account transfer to Spot account * CMFUTURE_MARGIN COIN-M Futures account transfer to Margin(cross) account * MARGIN_MAIN Margin(cross)account transfer to Spot account * MARGIN_UMFUTURE Margin(cross)account transfer to USDⓈ-M Futures * MARGIN_CMFUTURE Margin(cross)account transfer to COIN-M Futures * ISOLATEDMARGIN_MARGIN Isolated margin account transfer to Margin(cross) account * MARGIN_ISOLATEDMARGIN Margin(cross) account transfer to Isolated margin account * ISOLATEDMARGIN_ISOLATEDMARGIN Isolated margin account transfer to Isolated margin account * MAIN_FUNDING Spot account transfer to Funding account * FUNDING_MAIN Funding account transfer to Spot account * FUNDING_UMFUTURE Funding account transfer to UMFUTURE account * UMFUTURE_FUNDING UMFUTURE account transfer to Funding account * MARGIN_FUNDING MARGIN account transfer to Funding account * FUNDING_MARGIN Funding account transfer to Margin account * FUNDING_CMFUTURE Funding account transfer to CMFUTURE account * CMFUTURE_FUNDING CMFUTURE account transfer to Funding account * MAIN_OPTION Spot account transfer to Options account * OPTION_MAIN Options account transfer to Spot account * UMFUTURE_OPTION USDⓈ-M Futures account transfer to Options account * OPTION_UMFUTURE Options account transfer to USDⓈ-M Futures account * MARGIN_OPTION Margin(cross)account transfer to Options account * OPTION_MARGIN Options account transfer to Margin(cross)account * FUNDING_OPTION Funding account transfer to Options account * OPTION_FUNDING Options account transfer to Funding account * MAIN_PORTFOLIO_MARGIN Spot account transfer to Portfolio Margin account * PORTFOLIO_MARGIN_MAIN Portfolio Margin account transfer to Spot account * * Weight: 900 * * @summary User Universal Transfer (USER_DATA) * @param {UserUniversalTransferRequest} requestParameters Request parameters. * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof AssetApi * @see {@link https://developers.binance.com/docs/wallet/asset/User-Universal-Transfer Binance API Documentation} */ userUniversalTransfer(requestParameters: UserUniversalTransferRequest): Promise>; } //#endregion //#region src/rest-api/modules/capital-api.d.ts /** * CapitalApi - interface * @interface CapitalApi */ interface CapitalApiInterface { /** * Get information of coins (available for deposit and withdraw) for user. * * Weight: 10 * * @summary All Coins\' Information (USER_DATA) * @param {AllCoinsInformationRequest} requestParameters Request parameters. * * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof CapitalApiInterface */ allCoinsInformation(requestParameters?: AllCoinsInformationRequest): Promise>; /** * Fetch deposit address with network. * * If `network` is not send, return with default network of the coin. * You can get `network` and `isDefault` in `networkList` in the response of `Get /sapi/v1/capital/config/getall (HMAC SHA256)`. * `amount` needs to be sent if using LIGHTNING network * * Weight: 10 * * @summary Deposit Address(supporting network) (USER_DATA) * @param {DepositAddressRequest} requestParameters Request parameters. * * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof CapitalApiInterface */ depositAddress(requestParameters: DepositAddressRequest): Promise>; /** * Fetch deposit history. * * * Please notice the default `startTime` and `endTime` to make sure that time interval is within 0-90 days. * If both ``startTime`` and ``endTime`` are sent, time between ``startTime`` and ``endTime`` must be less than 90 days. * * Weight: 1 * * @summary Deposit History (supporting network) (USER_DATA) * @param {DepositHistoryRequest} requestParameters Request parameters. * * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof CapitalApiInterface */ depositHistory(requestParameters?: DepositHistoryRequest): Promise>; /** * Fetch deposit address list with network. * * * If network is not send, return with default network of the coin. * You can get network and isDefault in networkList in the response of `Get /sapi/v1/capital/config/getall`. * * Weight: 10 * * @summary Fetch deposit address list with network(USER_DATA) * @param {FetchDepositAddressListWithNetworkRequest} requestParameters Request parameters. * * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof CapitalApiInterface */ fetchDepositAddressListWithNetwork(requestParameters: FetchDepositAddressListWithNetworkRequest): Promise>; /** * Fetch withdraw address list * * Weight: 10 * * @summary Fetch withdraw address list (USER_DATA) * * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof CapitalApiInterface */ fetchWithdrawAddressList(): Promise>; /** * Fetch withdraw quota * * Weight: 10 * * @summary Fetch withdraw quota (USER_DATA) * * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof CapitalApiInterface */ fetchWithdrawQuota(): Promise>; /** * Apply deposit credit for expired address (One click arrival) * * Params need to be in the POST body * * Weight: 1 * * @summary One click arrival deposit apply (for expired address deposit) (USER_DATA) * @param {OneClickArrivalDepositApplyRequest} requestParameters Request parameters. * * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof CapitalApiInterface */ oneClickArrivalDepositApply(requestParameters?: OneClickArrivalDepositApplyRequest): Promise>; /** * Submit a withdraw request. * * * If `network` not send, return with default network of the coin. * You can get `network` and `isDefault` in `networkList` of a coin in the response of `Get /sapi/v1/capital/config/getall (HMAC SHA256)`. * To check if travel rule is required, by using `GET /sapi/v1/localentity/questionnaire-requirements` and if it returns anything other than `NIL` you will need update SAPI to `POST /sapi/v1/localentity/withdraw/apply` else you can continue `POST /sapi/v1/capital/withdraw/apply`. Please note that if you are required to comply to travel rule please refer to the Travel Rule SAPI. * For networks that do not support memo/tag, submitting a withdrawal request with a non-empty `addressTag` will return error `-4106 TAG_NOT_SUPPORTED_FOR_NETWORK`. Please omit the `addressTag` field for such networks. You can check whether a network requires a tag via `GET /sapi/v1/capital/config/getall`: * If `withdrawTag` = `true` → memo/tag is required. * If `withdrawTag` = `false` → memo/tag is not supported; omit `addressTag`. * * Weight: 900 * * @summary Withdraw(USER_DATA) * @param {WithdrawRequest} requestParameters Request parameters. * * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof CapitalApiInterface */ withdraw(requestParameters: WithdrawRequest): Promise>; /** * Fetch withdraw history. * * `network` may not be in the response for old withdraw. * Please notice the default `startTime` and `endTime` to make sure that time interval is within 0-90 days. * If both `startTime` and `endTime`are sent, time between `startTime`and `endTime`must be less than 90 days. * If `withdrawOrderId` is sent, time between `startTime` and `endTime` must be less than 7 days. * If `withdrawOrderId` is sent, `startTime` and `endTime` are not sent, will return last 7 days records by default. * Maximum support `idList` number is 45. * * Weight: 18000 * Request limit: 10 requests per second * * @summary Withdraw History (supporting network) (USER_DATA) * @param {WithdrawHistoryRequest} requestParameters Request parameters. * * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof CapitalApiInterface */ withdrawHistory(requestParameters?: WithdrawHistoryRequest): Promise>; } /** * Request parameters for allCoinsInformation operation in CapitalApi. * @interface AllCoinsInformationRequest */ interface AllCoinsInformationRequest { /** * * @type {number | bigint} * @memberof CapitalApiAllCoinsInformation */ readonly recvWindow?: number | bigint; } /** * Request parameters for depositAddress operation in CapitalApi. * @interface DepositAddressRequest */ interface DepositAddressRequest { /** * * @type {string} * @memberof CapitalApiDepositAddress */ readonly coin: string; /** * * @type {string} * @memberof CapitalApiDepositAddress */ readonly network?: string; /** * * @type {number} * @memberof CapitalApiDepositAddress */ readonly amount?: number; /** * * @type {number | bigint} * @memberof CapitalApiDepositAddress */ readonly recvWindow?: number | bigint; } /** * Request parameters for depositHistory operation in CapitalApi. * @interface DepositHistoryRequest */ interface DepositHistoryRequest { /** * Default: `false`, return `sourceAddress`field when set to `true` * @type {boolean} * @memberof CapitalApiDepositHistory */ readonly includeSource?: boolean; /** * * @type {string} * @memberof CapitalApiDepositHistory */ readonly coin?: string; /** * 0(0:Email Sent, 2:Awaiting Approval 3:Rejected 4:Processing 6:Completed) * @type {number | bigint} * @memberof CapitalApiDepositHistory */ readonly status?: number | bigint; /** * * @type {number | bigint} * @memberof CapitalApiDepositHistory */ readonly startTime?: number | bigint; /** * * @type {number | bigint} * @memberof CapitalApiDepositHistory */ readonly endTime?: number | bigint; /** * Default: 0 * @type {number | bigint} * @memberof CapitalApiDepositHistory */ readonly offset?: number | bigint; /** * min 7, max 30, default 7 * @type {number | bigint} * @memberof CapitalApiDepositHistory */ readonly limit?: number | bigint; /** * * @type {number | bigint} * @memberof CapitalApiDepositHistory */ readonly recvWindow?: number | bigint; /** * * @type {string} * @memberof CapitalApiDepositHistory */ readonly txId?: string; } /** * Request parameters for fetchDepositAddressListWithNetwork operation in CapitalApi. * @interface FetchDepositAddressListWithNetworkRequest */ interface FetchDepositAddressListWithNetworkRequest { /** * * @type {string} * @memberof CapitalApiFetchDepositAddressListWithNetwork */ readonly coin: string; /** * * @type {string} * @memberof CapitalApiFetchDepositAddressListWithNetwork */ readonly network?: string; } /** * Request parameters for oneClickArrivalDepositApply operation in CapitalApi. * @interface OneClickArrivalDepositApplyRequest */ interface OneClickArrivalDepositApplyRequest { /** * Deposit record Id, priority use * @type {number | bigint} * @memberof CapitalApiOneClickArrivalDepositApply */ readonly depositId?: number | bigint; /** * * @type {string} * @memberof CapitalApiOneClickArrivalDepositApply */ readonly txId?: string; /** * Sub-accountId of Cloud user * @type {number | bigint} * @memberof CapitalApiOneClickArrivalDepositApply */ readonly subAccountId?: number | bigint; /** * Sub-userId of parent user * @type {number | bigint} * @memberof CapitalApiOneClickArrivalDepositApply */ readonly subUserId?: number | bigint; } /** * Request parameters for withdraw operation in CapitalApi. * @interface WithdrawRequest */ interface WithdrawRequest { /** * * @type {string} * @memberof CapitalApiWithdraw */ readonly coin: string; /** * * @type {string} * @memberof CapitalApiWithdraw */ readonly address: string; /** * * @type {number} * @memberof CapitalApiWithdraw */ readonly amount: number; /** * client side id for withdrawal, if provided in POST `/sapi/v1/capital/withdraw/apply`, can be used here for query. * @type {string} * @memberof CapitalApiWithdraw */ readonly withdrawOrderId?: string; /** * * @type {string} * @memberof CapitalApiWithdraw */ readonly network?: string; /** * Secondary address identifier for coins like XRP,XMR etc. * @type {string} * @memberof CapitalApiWithdraw */ readonly addressTag?: string; /** * When making internal transfer, `true` for returning the fee to the destination account; `false` for returning the fee back to the departure account. Default `false`. * @type {boolean} * @memberof CapitalApiWithdraw */ readonly transactionFeeFlag?: boolean; /** * Description of the address. Address book cap is 200, space in name should be encoded into `%20` * @type {string} * @memberof CapitalApiWithdraw */ readonly name?: string; /** * The wallet type for withdraw,0-spot wallet ,1-funding wallet. Default walletType is the current "selected wallet" under wallet->Fiat and Spot/Funding->Deposit * @type {number | bigint} * @memberof CapitalApiWithdraw */ readonly walletType?: number | bigint; /** * * @type {number | bigint} * @memberof CapitalApiWithdraw */ readonly recvWindow?: number | bigint; } /** * Request parameters for withdrawHistory operation in CapitalApi. * @interface WithdrawHistoryRequest */ interface WithdrawHistoryRequest { /** * * @type {string} * @memberof CapitalApiWithdrawHistory */ readonly coin?: string; /** * client side id for withdrawal, if provided in POST `/sapi/v1/capital/withdraw/apply`, can be used here for query. * @type {string} * @memberof CapitalApiWithdrawHistory */ readonly withdrawOrderId?: string; /** * 0(0:Email Sent, 2:Awaiting Approval 3:Rejected 4:Processing 6:Completed) * @type {number | bigint} * @memberof CapitalApiWithdrawHistory */ readonly status?: number | bigint; /** * Default: 0 * @type {number | bigint} * @memberof CapitalApiWithdrawHistory */ readonly offset?: number | bigint; /** * min 7, max 30, default 7 * @type {number | bigint} * @memberof CapitalApiWithdrawHistory */ readonly limit?: number | bigint; /** * id list returned in the response of POST `/sapi/v1/capital/withdraw/apply`, separated by `,` * @type {string} * @memberof CapitalApiWithdrawHistory */ readonly idList?: string; /** * * @type {number | bigint} * @memberof CapitalApiWithdrawHistory */ readonly startTime?: number | bigint; /** * * @type {number | bigint} * @memberof CapitalApiWithdrawHistory */ readonly endTime?: number | bigint; /** * * @type {number | bigint} * @memberof CapitalApiWithdrawHistory */ readonly recvWindow?: number | bigint; } /** * CapitalApi - object-oriented interface * @class CapitalApi */ declare class CapitalApi implements CapitalApiInterface { private readonly configuration; private localVarAxiosParamCreator; constructor(configuration: ConfigurationRestAPI); /** * Get information of coins (available for deposit and withdraw) for user. * * Weight: 10 * * @summary All Coins\' Information (USER_DATA) * @param {AllCoinsInformationRequest} requestParameters Request parameters. * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof CapitalApi * @see {@link https://developers.binance.com/docs/wallet/capital/all-coins-info Binance API Documentation} */ allCoinsInformation(requestParameters?: AllCoinsInformationRequest): Promise>; /** * Fetch deposit address with network. * * If `network` is not send, return with default network of the coin. * You can get `network` and `isDefault` in `networkList` in the response of `Get /sapi/v1/capital/config/getall (HMAC SHA256)`. * `amount` needs to be sent if using LIGHTNING network * * Weight: 10 * * @summary Deposit Address(supporting network) (USER_DATA) * @param {DepositAddressRequest} requestParameters Request parameters. * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof CapitalApi * @see {@link https://developers.binance.com/docs/wallet/capital/deposite-address Binance API Documentation} */ depositAddress(requestParameters: DepositAddressRequest): Promise>; /** * Fetch deposit history. * * * Please notice the default `startTime` and `endTime` to make sure that time interval is within 0-90 days. * If both ``startTime`` and ``endTime`` are sent, time between ``startTime`` and ``endTime`` must be less than 90 days. * * Weight: 1 * * @summary Deposit History (supporting network) (USER_DATA) * @param {DepositHistoryRequest} requestParameters Request parameters. * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof CapitalApi * @see {@link https://developers.binance.com/docs/wallet/capital/deposite-history Binance API Documentation} */ depositHistory(requestParameters?: DepositHistoryRequest): Promise>; /** * Fetch deposit address list with network. * * * If network is not send, return with default network of the coin. * You can get network and isDefault in networkList in the response of `Get /sapi/v1/capital/config/getall`. * * Weight: 10 * * @summary Fetch deposit address list with network(USER_DATA) * @param {FetchDepositAddressListWithNetworkRequest} requestParameters Request parameters. * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof CapitalApi * @see {@link https://developers.binance.com/docs/wallet/capital/Fetch-deposit-address-list-with-network Binance API Documentation} */ fetchDepositAddressListWithNetwork(requestParameters: FetchDepositAddressListWithNetworkRequest): Promise>; /** * Fetch withdraw address list * * Weight: 10 * * @summary Fetch withdraw address list (USER_DATA) * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof CapitalApi * @see {@link https://developers.binance.com/docs/wallet/capital/fetch-withdraw-address Binance API Documentation} */ fetchWithdrawAddressList(): Promise>; /** * Fetch withdraw quota * * Weight: 10 * * @summary Fetch withdraw quota (USER_DATA) * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof CapitalApi * @see {@link https://developers.binance.com/docs/wallet/capital/Fetch-withdraw-quota Binance API Documentation} */ fetchWithdrawQuota(): Promise>; /** * Apply deposit credit for expired address (One click arrival) * * Params need to be in the POST body * * Weight: 1 * * @summary One click arrival deposit apply (for expired address deposit) (USER_DATA) * @param {OneClickArrivalDepositApplyRequest} requestParameters Request parameters. * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof CapitalApi * @see {@link https://developers.binance.com/docs/wallet/capital/one-click-arrival-deposite-apply Binance API Documentation} */ oneClickArrivalDepositApply(requestParameters?: OneClickArrivalDepositApplyRequest): Promise>; /** * Submit a withdraw request. * * * If `network` not send, return with default network of the coin. * You can get `network` and `isDefault` in `networkList` of a coin in the response of `Get /sapi/v1/capital/config/getall (HMAC SHA256)`. * To check if travel rule is required, by using `GET /sapi/v1/localentity/questionnaire-requirements` and if it returns anything other than `NIL` you will need update SAPI to `POST /sapi/v1/localentity/withdraw/apply` else you can continue `POST /sapi/v1/capital/withdraw/apply`. Please note that if you are required to comply to travel rule please refer to the Travel Rule SAPI. * For networks that do not support memo/tag, submitting a withdrawal request with a non-empty `addressTag` will return error `-4106 TAG_NOT_SUPPORTED_FOR_NETWORK`. Please omit the `addressTag` field for such networks. You can check whether a network requires a tag via `GET /sapi/v1/capital/config/getall`: * If `withdrawTag` = `true` → memo/tag is required. * If `withdrawTag` = `false` → memo/tag is not supported; omit `addressTag`. * * Weight: 900 * * @summary Withdraw(USER_DATA) * @param {WithdrawRequest} requestParameters Request parameters. * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof CapitalApi * @see {@link https://developers.binance.com/docs/wallet/capital/Withdraw Binance API Documentation} */ withdraw(requestParameters: WithdrawRequest): Promise>; /** * Fetch withdraw history. * * `network` may not be in the response for old withdraw. * Please notice the default `startTime` and `endTime` to make sure that time interval is within 0-90 days. * If both `startTime` and `endTime`are sent, time between `startTime`and `endTime`must be less than 90 days. * If `withdrawOrderId` is sent, time between `startTime` and `endTime` must be less than 7 days. * If `withdrawOrderId` is sent, `startTime` and `endTime` are not sent, will return last 7 days records by default. * Maximum support `idList` number is 45. * * Weight: 18000 * Request limit: 10 requests per second * * @summary Withdraw History (supporting network) (USER_DATA) * @param {WithdrawHistoryRequest} requestParameters Request parameters. * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof CapitalApi * @see {@link https://developers.binance.com/docs/wallet/capital/Withdraw-History Binance API Documentation} */ withdrawHistory(requestParameters?: WithdrawHistoryRequest): Promise>; } //#endregion //#region src/rest-api/modules/others-api.d.ts /** * OthersApi - interface * @interface OthersApi */ interface OthersApiInterface { /** * Get symbols delist schedule for spot * * Weight: 100 * * @summary Get symbols delist schedule for spot (MARKET_DATA) * @param {GetSymbolsDelistScheduleForSpotRequest} requestParameters Request parameters. * * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof OthersApiInterface */ getSymbolsDelistScheduleForSpot(requestParameters?: GetSymbolsDelistScheduleForSpotRequest): Promise>; /** * Fetch system status. * * Weight: 1 * * @summary System Status (System) * * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof OthersApiInterface */ systemStatus(): Promise>; } /** * Request parameters for getSymbolsDelistScheduleForSpot operation in OthersApi. * @interface GetSymbolsDelistScheduleForSpotRequest */ interface GetSymbolsDelistScheduleForSpotRequest { /** * * @type {number | bigint} * @memberof OthersApiGetSymbolsDelistScheduleForSpot */ readonly recvWindow?: number | bigint; } /** * OthersApi - object-oriented interface * @class OthersApi */ declare class OthersApi implements OthersApiInterface { private readonly configuration; private localVarAxiosParamCreator; constructor(configuration: ConfigurationRestAPI); /** * Get symbols delist schedule for spot * * Weight: 100 * * @summary Get symbols delist schedule for spot (MARKET_DATA) * @param {GetSymbolsDelistScheduleForSpotRequest} requestParameters Request parameters. * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof OthersApi * @see {@link https://developers.binance.com/docs/wallet/others/delist-schedule Binance API Documentation} */ getSymbolsDelistScheduleForSpot(requestParameters?: GetSymbolsDelistScheduleForSpotRequest): Promise>; /** * Fetch system status. * * Weight: 1 * * @summary System Status (System) * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof OthersApi * @see {@link https://developers.binance.com/docs/wallet/others/System-Status Binance API Documentation} */ systemStatus(): Promise>; } //#endregion //#region src/rest-api/modules/travel-rule-api.d.ts /** * TravelRuleApi - interface * @interface TravelRuleApi */ interface TravelRuleApiInterface { /** * Submit a withdrawal request for brokers of local entities that required travel rule. * * If `network` not send, return with default network of the coin, but if the address could not match default network, the withdraw will be rejected. * You can get `network` in `networkList` of a coin in the response * Questionnaire is different for each local entity, please refer to * If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`, * * Weight: 600 * * @summary Broker Withdraw (for brokers of local entities that require travel rule) (USER_DATA) * @param {BrokerWithdrawRequest} requestParameters Request parameters. * * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof TravelRuleApiInterface */ brokerWithdraw(requestParameters: BrokerWithdrawRequest): Promise>; /** * This API will return user-specific Travel Rule questionnaire requirement information in reference to the current API key. * * Weight: 1 * * @summary Check Questionnaire Requirements (for local entities that require travel rule) (supporting network) (USER_DATA) * @param {CheckQuestionnaireRequirementsRequest} requestParameters Request parameters. * * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof TravelRuleApiInterface */ checkQuestionnaireRequirements(requestParameters?: CheckQuestionnaireRequirementsRequest): Promise>; /** * Fetch deposit history for local entities that required travel rule. * * Please notice the default `startTime` and `endTime` to make sure that time interval is within * If both ``startTime`` and ``endTime`` are sent, time between ``startTime`` and ``endTime`` must * Please, note that due to network-specific characteristics, the returned source address may be inaccurate. If multiple source addresses are found, only the first one will be returned. * * Weight: 1 * * @summary Deposit History (for local entities that required travel rule) (supporting network) (USER_DATA) * @param {DepositHistoryTravelRuleRequest} requestParameters Request parameters. * * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof TravelRuleApiInterface */ depositHistoryTravelRule(requestParameters?: DepositHistoryTravelRuleRequest): Promise>; /** * Fetch deposit history for local entities that with required travel rule information. * * Please notice the default `startTime` and `endTime` to make sure that time interval is within * If both ``startTime`` and ``endTime`` are sent, time between ``startTime`` and ``endTime`` must * Please, note that due to network-specific characteristics, the returned source address may be inaccurate. If multiple source addresses are found, only the first one will be returned. * * Weight: 1 * * @summary Deposit History V2 (for local entities that required travel rule) (supporting network) (USER_DATA) * @param {DepositHistoryV2Request} requestParameters Request parameters. * * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof TravelRuleApiInterface */ depositHistoryV2(requestParameters?: DepositHistoryV2Request): Promise>; /** * Fetch address verification list for user to check on status and other details for the addresses stored in Address Book. * * Weight: 1 * * @summary Fetch address verification list (USER_DATA) * @param {FetchAddressVerificationListRequest} requestParameters Request parameters. * * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof TravelRuleApiInterface */ fetchAddressVerificationList(requestParameters?: FetchAddressVerificationListRequest): Promise>; /** * Query the active country list for travel rule questionnaires. * * Weight: 1 * * @summary Get Country List (USER_DATA) * * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof TravelRuleApiInterface */ getCountryList(): Promise>; /** * Query the active region/city list for a given country. * * Weight: 1 * * @summary Get Region List (USER_DATA) * @param {GetRegionListRequest} requestParameters Request parameters. * * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof TravelRuleApiInterface */ getRegionList(requestParameters: GetRegionListRequest): Promise>; /** * Submit questionnaire for brokers of local entities that require travel rule. * The questionnaire is only applies to transactions from un-hosted wallets or VASPs that are not * yet onboarded with GTR. * * Questionnaire is different for each local entity, please refer * If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`, * * Weight: 600 * * @summary Submit Deposit Questionnaire (For local entities that require travel rule) (supporting network) (USER_DATA) * @param {SubmitDepositQuestionnaireRequest} requestParameters Request parameters. * * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof TravelRuleApiInterface */ submitDepositQuestionnaire(requestParameters: SubmitDepositQuestionnaireRequest): Promise>; /** * Submit questionnaire for local entities that require travel rule. * The questionnaire is only applies to transactions from unhosted wallets or VASPs that are not * yet onboarded with GTR. * * Questionnaire is different for each local entity, please refer * If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`, * * Weight: 600 * * @summary Submit Deposit Questionnaire (For local entities that require travel rule) (supporting network) (USER_DATA) * @param {SubmitDepositQuestionnaireTravelRuleRequest} requestParameters Request parameters. * * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof TravelRuleApiInterface */ submitDepositQuestionnaireTravelRule(requestParameters: SubmitDepositQuestionnaireTravelRuleRequest): Promise>; /** * Submit questionnaire for local entities that require travel rule. * The questionnaire is only applies to transactions from unhosted wallets or VASPs that are not * yet onboarded with GTR. * * Questionnaire is different for each local entity, please refer * If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`, * * Weight: 600 * * @summary Submit Deposit Questionnaire V2 (For local entities that require travel rule) (supporting network) (USER_DATA) * @param {SubmitDepositQuestionnaireV2Request} requestParameters Request parameters. * * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof TravelRuleApiInterface */ submitDepositQuestionnaireV2(requestParameters: SubmitDepositQuestionnaireV2Request): Promise>; /** * Fetch the VASP list for local entities. * * Weight: 1 * * @summary VASP list (for local entities that require travel rule) (supporting network) (USER_DATA) * @param {VaspListRequest} requestParameters Request parameters. * * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof TravelRuleApiInterface */ vaspList(requestParameters?: VaspListRequest): Promise>; /** * Fetch withdraw history for local entities that required travel rule. * * `network` may not be in the response for old withdraw. * Please notice the default `startTime` and `endTime` to make sure that time interval is within * If both `startTime` and `endTime`are sent, time between `startTime`and `endTime`must be less * * Weight: 1 * * @summary Withdraw History (for local entities that require travel rule) (supporting network) (USER_DATA) * @param {WithdrawHistoryV1Request} requestParameters Request parameters. * * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof TravelRuleApiInterface */ withdrawHistoryV1(requestParameters?: WithdrawHistoryV1Request): Promise>; /** * Fetch withdraw history for local entities that required travel rule. * * `network` may not be in the response for old withdraw. * Withdrawal made through /sapi/v1/capital/withdraw/apply may not be in the response. * Please notice the default `startTime` and `endTime` to make sure that time interval is within * If both `startTime` and `endTime`are sent, time between `startTime`and `endTime`must be less * If withdrawOrderId is sent, time between startTime and endTime must be less than 7 days. * If withdrawOrderId is sent, startTime and endTime are not sent, will return last 7 days records by default. * Maximum support trId,txId number is 45. * WithdrawOrderId only support 1. * If responsible does not include withdrawalStatus, please input trId or txId retrieve the data. * * Weight: 1 * * @summary Withdraw History V2 (for local entities that require travel rule) (supporting network) (USER_DATA) * @param {WithdrawHistoryV2Request} requestParameters Request parameters. * * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof TravelRuleApiInterface */ withdrawHistoryV2(requestParameters?: WithdrawHistoryV2Request): Promise>; /** * Submit a withdrawal request for local entities that required travel rule. * * If `network` not send, return with default network of the coin, but if the address could not match default network, the withdraw will be rejected. * You can get `network` and `isDefault` in `networkList` of a coin in the response * Questionnaire is different for each local entity, please refer to * If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`, * * Weight: 600 * * @summary Withdraw (for local entities that require travel rule) (USER_DATA) * @param {WithdrawTravelRuleRequest} requestParameters Request parameters. * * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof TravelRuleApiInterface */ withdrawTravelRule(requestParameters: WithdrawTravelRuleRequest): Promise>; } /** * Request parameters for brokerWithdraw operation in TravelRuleApi. * @interface BrokerWithdrawRequest */ interface BrokerWithdrawRequest { /** * * @type {string} * @memberof TravelRuleApiBrokerWithdraw */ readonly address: string; /** * * @type {string} * @memberof TravelRuleApiBrokerWithdraw */ readonly coin: string; /** * * @type {number} * @memberof TravelRuleApiBrokerWithdraw */ readonly amount: number; /** * withdrawID defined by the client (i.e. client's internal withdrawID) * @type {string} * @memberof TravelRuleApiBrokerWithdraw */ readonly withdrawOrderId: string; /** * JSON format questionnaire answers. * @type {string} * @memberof TravelRuleApiBrokerWithdraw */ readonly questionnaire: string; /** * JSON format originator Pii, see StandardPii section below * @type {string} * @memberof TravelRuleApiBrokerWithdraw */ readonly originatorPii: string; /** * Must be the last parameter. * @type {string} * @memberof TravelRuleApiBrokerWithdraw */ readonly signature: string; /** * Secondary address identifier for coins like XRP,XMR etc. * @type {string} * @memberof TravelRuleApiBrokerWithdraw */ readonly addressTag?: string; /** * * @type {string} * @memberof TravelRuleApiBrokerWithdraw */ readonly network?: string; /** * Description of the address. Address book cap is 200, space in name should be encoded into `%20` * @type {string} * @memberof TravelRuleApiBrokerWithdraw */ readonly addressName?: string; /** * When making internal transfer, `true` for returning the fee to the destination account; `false` for returning the fee back to the departure account. Default `false`. * @type {boolean} * @memberof TravelRuleApiBrokerWithdraw */ readonly transactionFeeFlag?: boolean; /** * The wallet type for withdraw,0-spot wallet ,1-funding wallet. Default walletType is the current "selected wallet" under wallet->Fiat and Spot/Funding->Deposit * @type {number | bigint} * @memberof TravelRuleApiBrokerWithdraw */ readonly walletType?: number | bigint; } /** * Request parameters for checkQuestionnaireRequirements operation in TravelRuleApi. * @interface CheckQuestionnaireRequirementsRequest */ interface CheckQuestionnaireRequirementsRequest { /** * * @type {number | bigint} * @memberof TravelRuleApiCheckQuestionnaireRequirements */ readonly recvWindow?: number | bigint; } /** * Request parameters for depositHistoryTravelRule operation in TravelRuleApi. * @interface DepositHistoryTravelRuleRequest */ interface DepositHistoryTravelRuleRequest { /** * Comma(,) separated list of travel rule record Ids. * @type {string} * @memberof TravelRuleApiDepositHistoryTravelRule */ readonly trId?: string; /** * * @type {string} * @memberof TravelRuleApiDepositHistoryTravelRule */ readonly txId?: string; /** * Comma(,) separated list of wallet tran Ids. * @type {string} * @memberof TravelRuleApiDepositHistoryTravelRule */ readonly tranId?: string; /** * * @type {string} * @memberof TravelRuleApiDepositHistoryTravelRule */ readonly network?: string; /** * * @type {string} * @memberof TravelRuleApiDepositHistoryTravelRule */ readonly coin?: string; /** * 0:Completed,1:Pending,2:Failed * @type {number | bigint} * @memberof TravelRuleApiDepositHistoryTravelRule */ readonly travelRuleStatus?: number | bigint; /** * true: Only return records that pending deposit questionnaire. false/not provided: return all records. * @type {boolean} * @memberof TravelRuleApiDepositHistoryTravelRule */ readonly pendingQuestionnaire?: boolean; /** * * @type {number | bigint} * @memberof TravelRuleApiDepositHistoryTravelRule */ readonly startTime?: number | bigint; /** * * @type {number | bigint} * @memberof TravelRuleApiDepositHistoryTravelRule */ readonly endTime?: number | bigint; /** * Default: 0 * @type {number | bigint} * @memberof TravelRuleApiDepositHistoryTravelRule */ readonly offset?: number | bigint; /** * min 7, max 30, default 7 * @type {number | bigint} * @memberof TravelRuleApiDepositHistoryTravelRule */ readonly limit?: number | bigint; } /** * Request parameters for depositHistoryV2 operation in TravelRuleApi. * @interface DepositHistoryV2Request */ interface DepositHistoryV2Request { /** * Comma(,) separated list of wallet tran Ids. * @type {string} * @memberof TravelRuleApiDepositHistoryV2 */ readonly depositId?: string; /** * * @type {string} * @memberof TravelRuleApiDepositHistoryV2 */ readonly txId?: string; /** * * @type {string} * @memberof TravelRuleApiDepositHistoryV2 */ readonly network?: string; /** * * @type {string} * @memberof TravelRuleApiDepositHistoryV2 */ readonly coin?: string; /** * true: return `questionnaire` within response. * @type {boolean} * @memberof TravelRuleApiDepositHistoryV2 */ readonly retrieveQuestionnaire?: boolean; /** * * @type {number | bigint} * @memberof TravelRuleApiDepositHistoryV2 */ readonly startTime?: number | bigint; /** * * @type {number | bigint} * @memberof TravelRuleApiDepositHistoryV2 */ readonly endTime?: number | bigint; /** * Default: 0 * @type {number | bigint} * @memberof TravelRuleApiDepositHistoryV2 */ readonly offset?: number | bigint; /** * min 7, max 30, default 7 * @type {number | bigint} * @memberof TravelRuleApiDepositHistoryV2 */ readonly limit?: number | bigint; } /** * Request parameters for fetchAddressVerificationList operation in TravelRuleApi. * @interface FetchAddressVerificationListRequest */ interface FetchAddressVerificationListRequest { /** * * @type {number | bigint} * @memberof TravelRuleApiFetchAddressVerificationList */ readonly recvWindow?: number | bigint; } /** * Request parameters for getRegionList operation in TravelRuleApi. * @interface GetRegionListRequest */ interface GetRegionListRequest { /** * ISO 2-digit country code (from `Country List` API). * @type {string} * @memberof TravelRuleApiGetRegionList */ readonly countryCode: string; } /** * Request parameters for submitDepositQuestionnaire operation in TravelRuleApi. * @interface SubmitDepositQuestionnaireRequest */ interface SubmitDepositQuestionnaireRequest { /** * External user ID. * @type {string} * @memberof TravelRuleApiSubmitDepositQuestionnaire */ readonly subAccountId: string; /** * Wallet deposit ID * @type {number | bigint} * @memberof TravelRuleApiSubmitDepositQuestionnaire */ readonly depositId: number | bigint; /** * JSON format questionnaire answers. * @type {string} * @memberof TravelRuleApiSubmitDepositQuestionnaire */ readonly questionnaire: string; /** * JSON format beneficiary Pii. * @type {string} * @memberof TravelRuleApiSubmitDepositQuestionnaire */ readonly beneficiaryPii: string; /** * Must be the last parameter. * @type {string} * @memberof TravelRuleApiSubmitDepositQuestionnaire */ readonly signature: string; /** * * @type {string} * @memberof TravelRuleApiSubmitDepositQuestionnaire */ readonly network?: string; /** * * @type {string} * @memberof TravelRuleApiSubmitDepositQuestionnaire */ readonly coin?: string; /** * * @type {number} * @memberof TravelRuleApiSubmitDepositQuestionnaire */ readonly amount?: number; /** * * @type {string} * @memberof TravelRuleApiSubmitDepositQuestionnaire */ readonly address?: string; /** * Secondary address identifier for coins like XRP,XMR etc. * @type {string} * @memberof TravelRuleApiSubmitDepositQuestionnaire */ readonly addressTag?: string; } /** * Request parameters for submitDepositQuestionnaireTravelRule operation in TravelRuleApi. * @interface SubmitDepositQuestionnaireTravelRuleRequest */ interface SubmitDepositQuestionnaireTravelRuleRequest { /** * Wallet tran ID * @type {number | bigint} * @memberof TravelRuleApiSubmitDepositQuestionnaireTravelRule */ readonly tranId: number | bigint; /** * JSON format questionnaire answers. * @type {string} * @memberof TravelRuleApiSubmitDepositQuestionnaireTravelRule */ readonly questionnaire: string; } /** * Request parameters for submitDepositQuestionnaireV2 operation in TravelRuleApi. * @interface SubmitDepositQuestionnaireV2Request */ interface SubmitDepositQuestionnaireV2Request { /** * Wallet deposit ID * @type {number | bigint} * @memberof TravelRuleApiSubmitDepositQuestionnaireV2 */ readonly depositId: number | bigint; /** * JSON format questionnaire answers. * @type {string} * @memberof TravelRuleApiSubmitDepositQuestionnaireV2 */ readonly questionnaire: string; } /** * Request parameters for vaspList operation in TravelRuleApi. * @interface VaspListRequest */ interface VaspListRequest { /** * * @type {number | bigint} * @memberof TravelRuleApiVaspList */ readonly recvWindow?: number | bigint; } /** * Request parameters for withdrawHistoryV1 operation in TravelRuleApi. * @interface WithdrawHistoryV1Request */ interface WithdrawHistoryV1Request { /** * Comma(,) separated list of travel rule record Ids. * @type {string} * @memberof TravelRuleApiWithdrawHistoryV1 */ readonly trId?: string; /** * * @type {string} * @memberof TravelRuleApiWithdrawHistoryV1 */ readonly txId?: string; /** * client side id for withdrawal, if provided in POST `/sapi/v1/capital/withdraw/apply`, can be used here for query. * @type {string} * @memberof TravelRuleApiWithdrawHistoryV1 */ readonly withdrawOrderId?: string; /** * * @type {string} * @memberof TravelRuleApiWithdrawHistoryV1 */ readonly network?: string; /** * * @type {string} * @memberof TravelRuleApiWithdrawHistoryV1 */ readonly coin?: string; /** * 0:Completed,1:Pending,2:Failed * @type {number | bigint} * @memberof TravelRuleApiWithdrawHistoryV1 */ readonly travelRuleStatus?: number | bigint; /** * Default: 0 * @type {number | bigint} * @memberof TravelRuleApiWithdrawHistoryV1 */ readonly offset?: number | bigint; /** * min 7, max 30, default 7 * @type {number | bigint} * @memberof TravelRuleApiWithdrawHistoryV1 */ readonly limit?: number | bigint; /** * * @type {number | bigint} * @memberof TravelRuleApiWithdrawHistoryV1 */ readonly startTime?: number | bigint; /** * * @type {number | bigint} * @memberof TravelRuleApiWithdrawHistoryV1 */ readonly endTime?: number | bigint; /** * * @type {number | bigint} * @memberof TravelRuleApiWithdrawHistoryV1 */ readonly recvWindow?: number | bigint; } /** * Request parameters for withdrawHistoryV2 operation in TravelRuleApi. * @interface WithdrawHistoryV2Request */ interface WithdrawHistoryV2Request { /** * Comma(,) separated list of travel rule record Ids. * @type {string} * @memberof TravelRuleApiWithdrawHistoryV2 */ readonly trId?: string; /** * * @type {string} * @memberof TravelRuleApiWithdrawHistoryV2 */ readonly txId?: string; /** * client side id for withdrawal, if provided in POST `/sapi/v1/capital/withdraw/apply`, can be used here for query. * @type {string} * @memberof TravelRuleApiWithdrawHistoryV2 */ readonly withdrawOrderId?: string; /** * * @type {string} * @memberof TravelRuleApiWithdrawHistoryV2 */ readonly network?: string; /** * * @type {string} * @memberof TravelRuleApiWithdrawHistoryV2 */ readonly coin?: string; /** * 0:Completed,1:Pending,2:Failed * @type {number | bigint} * @memberof TravelRuleApiWithdrawHistoryV2 */ readonly travelRuleStatus?: number | bigint; /** * Default: 0 * @type {number | bigint} * @memberof TravelRuleApiWithdrawHistoryV2 */ readonly offset?: number | bigint; /** * min 7, max 30, default 7 * @type {number | bigint} * @memberof TravelRuleApiWithdrawHistoryV2 */ readonly limit?: number | bigint; /** * * @type {number | bigint} * @memberof TravelRuleApiWithdrawHistoryV2 */ readonly startTime?: number | bigint; /** * * @type {number | bigint} * @memberof TravelRuleApiWithdrawHistoryV2 */ readonly endTime?: number | bigint; /** * * @type {number | bigint} * @memberof TravelRuleApiWithdrawHistoryV2 */ readonly recvWindow?: number | bigint; } /** * Request parameters for withdrawTravelRule operation in TravelRuleApi. * @interface WithdrawTravelRuleRequest */ interface WithdrawTravelRuleRequest { /** * * @type {string} * @memberof TravelRuleApiWithdrawTravelRule */ readonly coin: string; /** * * @type {string} * @memberof TravelRuleApiWithdrawTravelRule */ readonly address: string; /** * * @type {number} * @memberof TravelRuleApiWithdrawTravelRule */ readonly amount: number; /** * JSON format questionnaire answers. * @type {string} * @memberof TravelRuleApiWithdrawTravelRule */ readonly questionnaire: string; /** * client side id for withdrawal, if provided in POST `/sapi/v1/capital/withdraw/apply`, can be used here for query. * @type {string} * @memberof TravelRuleApiWithdrawTravelRule */ readonly withdrawOrderId?: string; /** * * @type {string} * @memberof TravelRuleApiWithdrawTravelRule */ readonly network?: string; /** * Secondary address identifier for coins like XRP,XMR etc. * @type {string} * @memberof TravelRuleApiWithdrawTravelRule */ readonly addressTag?: string; /** * When making internal transfer, `true` for returning the fee to the destination account; `false` for returning the fee back to the departure account. Default `false`. * @type {boolean} * @memberof TravelRuleApiWithdrawTravelRule */ readonly transactionFeeFlag?: boolean; /** * Description of the address. Address book cap is 200, space in name should be encoded into `%20` * @type {string} * @memberof TravelRuleApiWithdrawTravelRule */ readonly name?: string; /** * The wallet type for withdraw,0-spot wallet ,1-funding wallet. Default walletType is the current "selected wallet" under wallet->Fiat and Spot/Funding->Deposit * @type {number | bigint} * @memberof TravelRuleApiWithdrawTravelRule */ readonly walletType?: number | bigint; /** * * @type {number | bigint} * @memberof TravelRuleApiWithdrawTravelRule */ readonly recvWindow?: number | bigint; } /** * TravelRuleApi - object-oriented interface * @class TravelRuleApi */ declare class TravelRuleApi implements TravelRuleApiInterface { private readonly configuration; private localVarAxiosParamCreator; constructor(configuration: ConfigurationRestAPI); /** * Submit a withdrawal request for brokers of local entities that required travel rule. * * If `network` not send, return with default network of the coin, but if the address could not match default network, the withdraw will be rejected. * You can get `network` in `networkList` of a coin in the response * Questionnaire is different for each local entity, please refer to * If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`, * * Weight: 600 * * @summary Broker Withdraw (for brokers of local entities that require travel rule) (USER_DATA) * @param {BrokerWithdrawRequest} requestParameters Request parameters. * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof TravelRuleApi * @see {@link https://developers.binance.com/docs/wallet/travel-rule/Broker-Withdraw Binance API Documentation} */ brokerWithdraw(requestParameters: BrokerWithdrawRequest): Promise>; /** * This API will return user-specific Travel Rule questionnaire requirement information in reference to the current API key. * * Weight: 1 * * @summary Check Questionnaire Requirements (for local entities that require travel rule) (supporting network) (USER_DATA) * @param {CheckQuestionnaireRequirementsRequest} requestParameters Request parameters. * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof TravelRuleApi * @see {@link https://developers.binance.com/docs/wallet/travel-rule/questionnaire-requirements Binance API Documentation} */ checkQuestionnaireRequirements(requestParameters?: CheckQuestionnaireRequirementsRequest): Promise>; /** * Fetch deposit history for local entities that required travel rule. * * Please notice the default `startTime` and `endTime` to make sure that time interval is within * If both ``startTime`` and ``endTime`` are sent, time between ``startTime`` and ``endTime`` must * Please, note that due to network-specific characteristics, the returned source address may be inaccurate. If multiple source addresses are found, only the first one will be returned. * * Weight: 1 * * @summary Deposit History (for local entities that required travel rule) (supporting network) (USER_DATA) * @param {DepositHistoryTravelRuleRequest} requestParameters Request parameters. * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof TravelRuleApi * @see {@link https://developers.binance.com/docs/wallet/travel-rule/Deposit-History Binance API Documentation} */ depositHistoryTravelRule(requestParameters?: DepositHistoryTravelRuleRequest): Promise>; /** * Fetch deposit history for local entities that with required travel rule information. * * Please notice the default `startTime` and `endTime` to make sure that time interval is within * If both ``startTime`` and ``endTime`` are sent, time between ``startTime`` and ``endTime`` must * Please, note that due to network-specific characteristics, the returned source address may be inaccurate. If multiple source addresses are found, only the first one will be returned. * * Weight: 1 * * @summary Deposit History V2 (for local entities that required travel rule) (supporting network) (USER_DATA) * @param {DepositHistoryV2Request} requestParameters Request parameters. * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof TravelRuleApi * @see {@link https://developers.binance.com/docs/wallet/travel-rule/Deposit-History-V2 Binance API Documentation} */ depositHistoryV2(requestParameters?: DepositHistoryV2Request): Promise>; /** * Fetch address verification list for user to check on status and other details for the addresses stored in Address Book. * * Weight: 1 * * @summary Fetch address verification list (USER_DATA) * @param {FetchAddressVerificationListRequest} requestParameters Request parameters. * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof TravelRuleApi * @see {@link https://developers.binance.com/docs/wallet/travel-rule/address-verification-list Binance API Documentation} */ fetchAddressVerificationList(requestParameters?: FetchAddressVerificationListRequest): Promise>; /** * Query the active country list for travel rule questionnaires. * * Weight: 1 * * @summary Get Country List (USER_DATA) * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof TravelRuleApi * @see {@link https://developers.binance.com/docs/wallet/travel-rule/country-list Binance API Documentation} */ getCountryList(): Promise>; /** * Query the active region/city list for a given country. * * Weight: 1 * * @summary Get Region List (USER_DATA) * @param {GetRegionListRequest} requestParameters Request parameters. * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof TravelRuleApi * @see {@link https://developers.binance.com/docs/wallet/travel-rule/region-list Binance API Documentation} */ getRegionList(requestParameters: GetRegionListRequest): Promise>; /** * Submit questionnaire for brokers of local entities that require travel rule. * The questionnaire is only applies to transactions from un-hosted wallets or VASPs that are not * yet onboarded with GTR. * * Questionnaire is different for each local entity, please refer * If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`, * * Weight: 600 * * @summary Submit Deposit Questionnaire (For local entities that require travel rule) (supporting network) (USER_DATA) * @param {SubmitDepositQuestionnaireRequest} requestParameters Request parameters. * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof TravelRuleApi * @see {@link https://developers.binance.com/docs/wallet/travel-rule/deposit-provide-info Binance API Documentation} */ submitDepositQuestionnaire(requestParameters: SubmitDepositQuestionnaireRequest): Promise>; /** * Submit questionnaire for local entities that require travel rule. * The questionnaire is only applies to transactions from unhosted wallets or VASPs that are not * yet onboarded with GTR. * * Questionnaire is different for each local entity, please refer * If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`, * * Weight: 600 * * @summary Submit Deposit Questionnaire (For local entities that require travel rule) (supporting network) (USER_DATA) * @param {SubmitDepositQuestionnaireTravelRuleRequest} requestParameters Request parameters. * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof TravelRuleApi * @see {@link https://developers.binance.com/docs/wallet/travel-rule/deposit-provide-info Binance API Documentation} */ submitDepositQuestionnaireTravelRule(requestParameters: SubmitDepositQuestionnaireTravelRuleRequest): Promise>; /** * Submit questionnaire for local entities that require travel rule. * The questionnaire is only applies to transactions from unhosted wallets or VASPs that are not * yet onboarded with GTR. * * Questionnaire is different for each local entity, please refer * If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`, * * Weight: 600 * * @summary Submit Deposit Questionnaire V2 (For local entities that require travel rule) (supporting network) (USER_DATA) * @param {SubmitDepositQuestionnaireV2Request} requestParameters Request parameters. * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof TravelRuleApi * @see {@link https://developers.binance.com/docs/wallet/travel-rule/deposit-provide-info-v2 Binance API Documentation} */ submitDepositQuestionnaireV2(requestParameters: SubmitDepositQuestionnaireV2Request): Promise>; /** * Fetch the VASP list for local entities. * * Weight: 1 * * @summary VASP list (for local entities that require travel rule) (supporting network) (USER_DATA) * @param {VaspListRequest} requestParameters Request parameters. * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof TravelRuleApi * @see {@link https://developers.binance.com/docs/wallet/travel-rule/onboarded-vasp-list Binance API Documentation} */ vaspList(requestParameters?: VaspListRequest): Promise>; /** * Fetch withdraw history for local entities that required travel rule. * * `network` may not be in the response for old withdraw. * Please notice the default `startTime` and `endTime` to make sure that time interval is within * If both `startTime` and `endTime`are sent, time between `startTime`and `endTime`must be less * * Weight: 1 * * @summary Withdraw History (for local entities that require travel rule) (supporting network) (USER_DATA) * @param {WithdrawHistoryV1Request} requestParameters Request parameters. * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof TravelRuleApi * @see {@link https://developers.binance.com/docs/wallet/travel-rule/Withdraw-History Binance API Documentation} */ withdrawHistoryV1(requestParameters?: WithdrawHistoryV1Request): Promise>; /** * Fetch withdraw history for local entities that required travel rule. * * `network` may not be in the response for old withdraw. * Withdrawal made through /sapi/v1/capital/withdraw/apply may not be in the response. * Please notice the default `startTime` and `endTime` to make sure that time interval is within * If both `startTime` and `endTime`are sent, time between `startTime`and `endTime`must be less * If withdrawOrderId is sent, time between startTime and endTime must be less than 7 days. * If withdrawOrderId is sent, startTime and endTime are not sent, will return last 7 days records by default. * Maximum support trId,txId number is 45. * WithdrawOrderId only support 1. * If responsible does not include withdrawalStatus, please input trId or txId retrieve the data. * * Weight: 1 * * @summary Withdraw History V2 (for local entities that require travel rule) (supporting network) (USER_DATA) * @param {WithdrawHistoryV2Request} requestParameters Request parameters. * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof TravelRuleApi * @see {@link https://developers.binance.com/docs/wallet/travel-rule/Withdraw-History-V2 Binance API Documentation} */ withdrawHistoryV2(requestParameters?: WithdrawHistoryV2Request): Promise>; /** * Submit a withdrawal request for local entities that required travel rule. * * If `network` not send, return with default network of the coin, but if the address could not match default network, the withdraw will be rejected. * You can get `network` and `isDefault` in `networkList` of a coin in the response * Questionnaire is different for each local entity, please refer to * If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`, * * Weight: 600 * * @summary Withdraw (for local entities that require travel rule) (USER_DATA) * @param {WithdrawTravelRuleRequest} requestParameters Request parameters. * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @memberof TravelRuleApi * @see {@link https://developers.binance.com/docs/wallet/travel-rule/Withdraw Binance API Documentation} */ withdrawTravelRule(requestParameters: WithdrawTravelRuleRequest): Promise>; } //#endregion //#region src/rest-api/rest-api.d.ts declare class RestAPI { private configuration; private accountApi; private assetApi; private capitalApi; private othersApi; private travelRuleApi; constructor(configuration: ConfigurationRestAPI); /** * Generic function to send a request. * @param endpoint - The API endpoint to call. * @param method - HTTP method to use (GET, POST, DELETE, etc.). * @param queryParams - Query parameters for the request. * @param bodyParams - Body parameters for the request. * * @returns A promise resolving to the response data object. */ sendRequest(endpoint: string, method: 'GET' | 'POST' | 'DELETE' | 'PUT' | 'PATCH', queryParams?: Record, bodyParams?: Record): Promise>; /** * Generic function to send a signed request. * @param endpoint - The API endpoint to call. * @param method - HTTP method to use (GET, POST, DELETE, etc.). * @param queryParams - Query parameters for the request. * @param bodyParams - Body parameters for the request. * * @returns A promise resolving to the response data object. */ sendSignedRequest(endpoint: string, method: 'GET' | 'POST' | 'DELETE' | 'PUT' | 'PATCH', queryParams?: Record, bodyParams?: Record): Promise>; /** * Fetch account api trading status detail. * * Weight: 1 * * @summary Account API Trading Status (USER_DATA) * @param {AccountApiTradingStatusRequest} requestParameters Request parameters. * * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @see {@link https://developers.binance.com/docs/wallet/account/Account-API-Trading-Status Binance API Documentation} */ accountApiTradingStatus(requestParameters?: AccountApiTradingStatusRequest): Promise>; /** * Fetch account info detail. * * Weight: 1 * * @summary Account info (USER_DATA) * @param {AccountInfoRequest} requestParameters Request parameters. * * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @see {@link https://developers.binance.com/docs/wallet/account/Account-info Binance API Documentation} */ accountInfo(requestParameters?: AccountInfoRequest): Promise>; /** * Fetch account status detail. * * Weight: 1 * * @summary Account Status (USER_DATA) * @param {AccountStatusRequest} requestParameters Request parameters. * * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @see {@link https://developers.binance.com/docs/wallet/account/Account-Status Binance API Documentation} */ accountStatus(requestParameters?: AccountStatusRequest): Promise>; /** * Daily account snapshot * * The query time period must be less then 30 days * Support query within the last one month only * If startTimeand endTime not sent, return records of the last 7 days by default * * Weight: 2400 * * @summary Daily Account Snapshot (USER_DATA) * @param {DailyAccountSnapshotRequest} requestParameters Request parameters. * * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @see {@link https://developers.binance.com/docs/wallet/account/daily-account-snapshoot Binance API Documentation} */ dailyAccountSnapshot(requestParameters: DailyAccountSnapshotRequest): Promise>; /** * * Weight: 1 * * @summary Disable Fast Withdraw Switch (USER_DATA) * @param {DisableFastWithdrawSwitchRequest} requestParameters Request parameters. * * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @see {@link https://developers.binance.com/docs/wallet/account/Disable-Fast-Withdraw-Switch Binance API Documentation} */ disableFastWithdrawSwitch(requestParameters?: DisableFastWithdrawSwitchRequest): Promise>; /** * Enable Fast Withdraw Switch (USER_DATA) * * This request will enable fastwithdraw switch under your account.

* When Fast Withdraw Switch is on, transferring funds to a Binance account will be done instantly. There is no on-chain transaction, no transaction ID and no withdrawal fee. * * Weight: 1 * * @summary Enable Fast Withdraw Switch (USER_DATA) * @param {EnableFastWithdrawSwitchRequest} requestParameters Request parameters. * * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @see {@link https://developers.binance.com/docs/wallet/account/Enable-Fast-Withdraw-Switch Binance API Documentation} */ enableFastWithdrawSwitch(requestParameters?: EnableFastWithdrawSwitchRequest): Promise>; /** * Get API Key Permission * * Weight: 1 * * @summary Get API Key Permission (USER_DATA) * @param {GetApiKeyPermissionRequest} requestParameters Request parameters. * * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @see {@link https://developers.binance.com/docs/wallet/account/api-key-permission Binance API Documentation} */ getApiKeyPermission(requestParameters?: GetApiKeyPermissionRequest): Promise>; /** * Fetch details of assets supported on Binance. * * * Please get network and other deposit or withdraw details from ``GET /sapi/v1/capital/config/getall``. * * Weight: 1 * * @summary Asset Detail (USER_DATA) * @param {AssetDetailRequest} requestParameters Request parameters. * * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @see {@link https://developers.binance.com/docs/wallet/asset/Asset-Detail Binance API Documentation} */ assetDetail(requestParameters?: AssetDetailRequest): Promise>; /** * Query asset dividend record. * * * There cannot be more than 180 days between parameter `startTime` and `endTime`. * * Weight: 10 * * @summary Asset Dividend Record (USER_DATA) * @param {AssetDividendRecordRequest} requestParameters Request parameters. * * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @see {@link https://developers.binance.com/docs/wallet/asset/assets-divided-record Binance API Documentation} */ assetDividendRecord(requestParameters?: AssetDividendRecordRequest): Promise>; /** * Convert dust assets * * Weight: 10 * * @summary Dust Convert (USER_DATA) * @param {DustConvertRequest} requestParameters Request parameters. * * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @see {@link https://developers.binance.com/docs/wallet/asset/Dust-Convert Binance API Documentation} */ dustConvert(requestParameters: DustConvertRequest): Promise>; /** * Query dust convertible assets * * Weight: 1 * * @summary Dust Convertible Assets (USER_DATA) * @param {DustConvertibleAssetsRequest} requestParameters Request parameters. * * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @see {@link https://developers.binance.com/docs/wallet/asset/Dust-Convertible-Assets Binance API Documentation} */ dustConvertibleAssets(requestParameters: DustConvertibleAssetsRequest): Promise>; /** * Convert dust assets to BNB. * * You need to open`Enable Spot & Margin Trading` permission for the API Key which requests this endpoint. * * Weight: 10 * * @summary Dust Transfer (USER_DATA) * @param {DustTransferRequest} requestParameters Request parameters. * * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @see {@link https://developers.binance.com/docs/wallet/asset/Dust-Transfer Binance API Documentation} */ dustTransfer(requestParameters: DustTransferRequest): Promise>; /** * Dustlog * * Only return last 100 records * Only return records after 2020/12/01 * * Weight: 1 * * @summary DustLog(USER_DATA) * @param {DustlogRequest} requestParameters Request parameters. * * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @see {@link https://developers.binance.com/docs/wallet/asset/dust-log Binance API Documentation} */ dustlog(requestParameters?: DustlogRequest): Promise>; /** * Query Funding Wallet * * * Currently supports querying the following business assets:Binance Pay, Binance Card, Binance Gift Card, Stock Token * * Weight: 1 * * @summary Funding Wallet (USER_DATA) * @param {FundingWalletRequest} requestParameters Request parameters. * * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @see {@link https://developers.binance.com/docs/wallet/asset/Funding-Wallet Binance API Documentation} */ fundingWallet(requestParameters?: FundingWalletRequest): Promise>; /** * Get Assets That Can Be Converted Into BNB * * Weight: 1 * * @summary Get Assets That Can Be Converted Into BNB (USER_DATA) * @param {GetAssetsThatCanBeConvertedIntoBnbRequest} requestParameters Request parameters. * * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @see {@link https://developers.binance.com/docs/wallet/asset/assets-can-convert-bnb Binance API Documentation} */ getAssetsThatCanBeConvertedIntoBnb(requestParameters?: GetAssetsThatCanBeConvertedIntoBnbRequest): Promise>; /** * The query of Cloud-Mining payment and refund history * * Just return the SUCCESS records of payment and refund. * For response, type = 248 means payment, type = 249 means refund, status =S means SUCCESS. * * Weight: 600 * * @summary Get Cloud-Mining payment and refund history (USER_DATA) * @param {GetCloudMiningPaymentAndRefundHistoryRequest} requestParameters Request parameters. * * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @see {@link https://developers.binance.com/docs/wallet/asset/cloud-mining-payment-and-refund-history Binance API Documentation} */ getCloudMiningPaymentAndRefundHistory(requestParameters: GetCloudMiningPaymentAndRefundHistoryRequest): Promise>; /** * Get the list of symbols that are scheduled to be opened for trading in the market. * * Weight: 100 * * @summary Get Open Symbol List (MARKET_DATA) * * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @see {@link https://developers.binance.com/docs/wallet/asset/open-symbol-list Binance API Documentation} */ getOpenSymbolList(): Promise>; /** * Query User Delegation History * * Weight: 60 * * @summary Query User Delegation History(For Master Account)(USER_DATA) * @param {QueryUserDelegationHistoryRequest} requestParameters Request parameters. * * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @see {@link https://developers.binance.com/docs/wallet/asset/query-user-delegation Binance API Documentation} */ queryUserDelegationHistory(requestParameters: QueryUserDelegationHistoryRequest): Promise>; /** * Query User Universal Transfer History * * * `fromSymbol` must be sent when type are ISOLATEDMARGIN_MARGIN and ISOLATEDMARGIN_ISOLATEDMARGIN * `toSymbol` must be sent when type are MARGIN_ISOLATEDMARGIN and ISOLATEDMARGIN_ISOLATEDMARGIN * Support query within the last 6 months only * If `startTime`and `endTime` not sent, return records of the last 7 days by default * * Weight: 1 * * @summary Query User Universal Transfer History(USER_DATA) * @param {QueryUserUniversalTransferHistoryRequest} requestParameters Request parameters. * * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @see {@link https://developers.binance.com/docs/wallet/asset/query-user-universal-transfer Binance API Documentation} */ queryUserUniversalTransferHistory(requestParameters: QueryUserUniversalTransferHistoryRequest): Promise>; /** * Query User Wallet Balance * * Weight: 60 * * @summary Query User Wallet Balance (USER_DATA) * @param {QueryUserWalletBalanceRequest} requestParameters Request parameters. * * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @see {@link https://developers.binance.com/docs/wallet/asset/Query-User-Wallet-Balance Binance API Documentation} */ queryUserWalletBalance(requestParameters?: QueryUserWalletBalanceRequest): Promise>; /** * Toggle BNB Burn On Spot Trade And Margin Interest * * "spotBNBBurn" and "interestBNBBurn" should be sent at least one. * * Weight: 1(IP) * * @summary Toggle BNB Burn On Spot Trade And Margin Interest (USER_DATA) * @param {ToggleBnbBurnOnSpotTradeAndMarginInterestRequest} requestParameters Request parameters. * * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @see {@link https://developers.binance.com/docs/wallet/asset/Toggle-BNB-Burn-On-Spot-Trade-And-Margin-Interest Binance API Documentation} */ toggleBnbBurnOnSpotTradeAndMarginInterest(requestParameters?: ToggleBnbBurnOnSpotTradeAndMarginInterestRequest): Promise>; /** * Fetch trade fee * * Weight: 1 * * @summary Trade Fee (USER_DATA) * @param {TradeFeeRequest} requestParameters Request parameters. * * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @see {@link https://developers.binance.com/docs/wallet/asset/Trade-Fee Binance API Documentation} */ tradeFee(requestParameters?: TradeFeeRequest): Promise>; /** * Get user assets, just for positive data. * * If asset is set, then return this asset, otherwise return all assets positive. * If needBtcValuation is set, then return btcValudation. * * Weight: 5 * * @summary User Asset (USER_DATA) * @param {UserAssetRequest} requestParameters Request parameters. * * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @see {@link https://developers.binance.com/docs/wallet/asset/user-assets Binance API Documentation} */ userAsset(requestParameters?: UserAssetRequest): Promise>; /** * user universal transfer * * `fromSymbol` must be sent when type are ISOLATEDMARGIN_MARGIN and ISOLATEDMARGIN_ISOLATEDMARGIN * `toSymbol` must be sent when type are MARGIN_ISOLATEDMARGIN and ISOLATEDMARGIN_ISOLATEDMARGIN * ENUM of transfer types: * MAIN_UMFUTURE Spot account transfer to USDⓈ-M Futures account * MAIN_CMFUTURE Spot account transfer to COIN-M Futures account * MAIN_MARGIN Spot account transfer to Margin(cross)account * UMFUTURE_MAIN USDⓈ-M Futures account transfer to Spot account * UMFUTURE_MARGIN USDⓈ-M Futures account transfer to Margin(cross)account * CMFUTURE_MAIN COIN-M Futures account transfer to Spot account * CMFUTURE_MARGIN COIN-M Futures account transfer to Margin(cross) account * MARGIN_MAIN Margin(cross)account transfer to Spot account * MARGIN_UMFUTURE Margin(cross)account transfer to USDⓈ-M Futures * MARGIN_CMFUTURE Margin(cross)account transfer to COIN-M Futures * ISOLATEDMARGIN_MARGIN Isolated margin account transfer to Margin(cross) account * MARGIN_ISOLATEDMARGIN Margin(cross) account transfer to Isolated margin account * ISOLATEDMARGIN_ISOLATEDMARGIN Isolated margin account transfer to Isolated margin account * MAIN_FUNDING Spot account transfer to Funding account * FUNDING_MAIN Funding account transfer to Spot account * FUNDING_UMFUTURE Funding account transfer to UMFUTURE account * UMFUTURE_FUNDING UMFUTURE account transfer to Funding account * MARGIN_FUNDING MARGIN account transfer to Funding account * FUNDING_MARGIN Funding account transfer to Margin account * FUNDING_CMFUTURE Funding account transfer to CMFUTURE account * CMFUTURE_FUNDING CMFUTURE account transfer to Funding account * MAIN_OPTION Spot account transfer to Options account * OPTION_MAIN Options account transfer to Spot account * UMFUTURE_OPTION USDⓈ-M Futures account transfer to Options account * OPTION_UMFUTURE Options account transfer to USDⓈ-M Futures account * MARGIN_OPTION Margin(cross)account transfer to Options account * OPTION_MARGIN Options account transfer to Margin(cross)account * FUNDING_OPTION Funding account transfer to Options account * OPTION_FUNDING Options account transfer to Funding account * MAIN_PORTFOLIO_MARGIN Spot account transfer to Portfolio Margin account * PORTFOLIO_MARGIN_MAIN Portfolio Margin account transfer to Spot account * * Weight: 900 * * @summary User Universal Transfer (USER_DATA) * @param {UserUniversalTransferRequest} requestParameters Request parameters. * * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @see {@link https://developers.binance.com/docs/wallet/asset/User-Universal-Transfer Binance API Documentation} */ userUniversalTransfer(requestParameters: UserUniversalTransferRequest): Promise>; /** * Get information of coins (available for deposit and withdraw) for user. * * Weight: 10 * * @summary All Coins\' Information (USER_DATA) * @param {AllCoinsInformationRequest} requestParameters Request parameters. * * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @see {@link https://developers.binance.com/docs/wallet/capital/all-coins-info Binance API Documentation} */ allCoinsInformation(requestParameters?: AllCoinsInformationRequest): Promise>; /** * Fetch deposit address with network. * * If `network` is not send, return with default network of the coin. * You can get `network` and `isDefault` in `networkList` in the response of `Get /sapi/v1/capital/config/getall (HMAC SHA256)`. * `amount` needs to be sent if using LIGHTNING network * * Weight: 10 * * @summary Deposit Address(supporting network) (USER_DATA) * @param {DepositAddressRequest} requestParameters Request parameters. * * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @see {@link https://developers.binance.com/docs/wallet/capital/deposite-address Binance API Documentation} */ depositAddress(requestParameters: DepositAddressRequest): Promise>; /** * Fetch deposit history. * * * Please notice the default `startTime` and `endTime` to make sure that time interval is within 0-90 days. * If both ``startTime`` and ``endTime`` are sent, time between ``startTime`` and ``endTime`` must be less than 90 days. * * Weight: 1 * * @summary Deposit History (supporting network) (USER_DATA) * @param {DepositHistoryRequest} requestParameters Request parameters. * * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @see {@link https://developers.binance.com/docs/wallet/capital/deposite-history Binance API Documentation} */ depositHistory(requestParameters?: DepositHistoryRequest): Promise>; /** * Fetch deposit address list with network. * * * If network is not send, return with default network of the coin. * You can get network and isDefault in networkList in the response of `Get /sapi/v1/capital/config/getall`. * * Weight: 10 * * @summary Fetch deposit address list with network(USER_DATA) * @param {FetchDepositAddressListWithNetworkRequest} requestParameters Request parameters. * * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @see {@link https://developers.binance.com/docs/wallet/capital/Fetch-deposit-address-list-with-network Binance API Documentation} */ fetchDepositAddressListWithNetwork(requestParameters: FetchDepositAddressListWithNetworkRequest): Promise>; /** * Fetch withdraw address list * * Weight: 10 * * @summary Fetch withdraw address list (USER_DATA) * * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @see {@link https://developers.binance.com/docs/wallet/capital/fetch-withdraw-address Binance API Documentation} */ fetchWithdrawAddressList(): Promise>; /** * Fetch withdraw quota * * Weight: 10 * * @summary Fetch withdraw quota (USER_DATA) * * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @see {@link https://developers.binance.com/docs/wallet/capital/Fetch-withdraw-quota Binance API Documentation} */ fetchWithdrawQuota(): Promise>; /** * Apply deposit credit for expired address (One click arrival) * * Params need to be in the POST body * * Weight: 1 * * @summary One click arrival deposit apply (for expired address deposit) (USER_DATA) * @param {OneClickArrivalDepositApplyRequest} requestParameters Request parameters. * * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @see {@link https://developers.binance.com/docs/wallet/capital/one-click-arrival-deposite-apply Binance API Documentation} */ oneClickArrivalDepositApply(requestParameters?: OneClickArrivalDepositApplyRequest): Promise>; /** * Submit a withdraw request. * * * If `network` not send, return with default network of the coin. * You can get `network` and `isDefault` in `networkList` of a coin in the response of `Get /sapi/v1/capital/config/getall (HMAC SHA256)`. * To check if travel rule is required, by using `GET /sapi/v1/localentity/questionnaire-requirements` and if it returns anything other than `NIL` you will need update SAPI to `POST /sapi/v1/localentity/withdraw/apply` else you can continue `POST /sapi/v1/capital/withdraw/apply`. Please note that if you are required to comply to travel rule please refer to the Travel Rule SAPI. * For networks that do not support memo/tag, submitting a withdrawal request with a non-empty `addressTag` will return error `-4106 TAG_NOT_SUPPORTED_FOR_NETWORK`. Please omit the `addressTag` field for such networks. You can check whether a network requires a tag via `GET /sapi/v1/capital/config/getall`: * If `withdrawTag` = `true` → memo/tag is required. * If `withdrawTag` = `false` → memo/tag is not supported; omit `addressTag`. * * Weight: 900 * * @summary Withdraw(USER_DATA) * @param {WithdrawRequest} requestParameters Request parameters. * * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @see {@link https://developers.binance.com/docs/wallet/capital/Withdraw Binance API Documentation} */ withdraw(requestParameters: WithdrawRequest): Promise>; /** * Fetch withdraw history. * * `network` may not be in the response for old withdraw. * Please notice the default `startTime` and `endTime` to make sure that time interval is within 0-90 days. * If both `startTime` and `endTime`are sent, time between `startTime`and `endTime`must be less than 90 days. * If `withdrawOrderId` is sent, time between `startTime` and `endTime` must be less than 7 days. * If `withdrawOrderId` is sent, `startTime` and `endTime` are not sent, will return last 7 days records by default. * Maximum support `idList` number is 45. * * Weight: 18000 * Request limit: 10 requests per second * * @summary Withdraw History (supporting network) (USER_DATA) * @param {WithdrawHistoryRequest} requestParameters Request parameters. * * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @see {@link https://developers.binance.com/docs/wallet/capital/Withdraw-History Binance API Documentation} */ withdrawHistory(requestParameters?: WithdrawHistoryRequest): Promise>; /** * Get symbols delist schedule for spot * * Weight: 100 * * @summary Get symbols delist schedule for spot (MARKET_DATA) * @param {GetSymbolsDelistScheduleForSpotRequest} requestParameters Request parameters. * * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @see {@link https://developers.binance.com/docs/wallet/others/delist-schedule Binance API Documentation} */ getSymbolsDelistScheduleForSpot(requestParameters?: GetSymbolsDelistScheduleForSpotRequest): Promise>; /** * Fetch system status. * * Weight: 1 * * @summary System Status (System) * * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @see {@link https://developers.binance.com/docs/wallet/others/System-Status Binance API Documentation} */ systemStatus(): Promise>; /** * Submit a withdrawal request for brokers of local entities that required travel rule. * * If `network` not send, return with default network of the coin, but if the address could not match default network, the withdraw will be rejected. * You can get `network` in `networkList` of a coin in the response * Questionnaire is different for each local entity, please refer to * If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`, * * Weight: 600 * * @summary Broker Withdraw (for brokers of local entities that require travel rule) (USER_DATA) * @param {BrokerWithdrawRequest} requestParameters Request parameters. * * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @see {@link https://developers.binance.com/docs/wallet/travel-rule/Broker-Withdraw Binance API Documentation} */ brokerWithdraw(requestParameters: BrokerWithdrawRequest): Promise>; /** * This API will return user-specific Travel Rule questionnaire requirement information in reference to the current API key. * * Weight: 1 * * @summary Check Questionnaire Requirements (for local entities that require travel rule) (supporting network) (USER_DATA) * @param {CheckQuestionnaireRequirementsRequest} requestParameters Request parameters. * * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @see {@link https://developers.binance.com/docs/wallet/travel-rule/questionnaire-requirements Binance API Documentation} */ checkQuestionnaireRequirements(requestParameters?: CheckQuestionnaireRequirementsRequest): Promise>; /** * Fetch deposit history for local entities that required travel rule. * * Please notice the default `startTime` and `endTime` to make sure that time interval is within * If both ``startTime`` and ``endTime`` are sent, time between ``startTime`` and ``endTime`` must * Please, note that due to network-specific characteristics, the returned source address may be inaccurate. If multiple source addresses are found, only the first one will be returned. * * Weight: 1 * * @summary Deposit History (for local entities that required travel rule) (supporting network) (USER_DATA) * @param {DepositHistoryTravelRuleRequest} requestParameters Request parameters. * * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @see {@link https://developers.binance.com/docs/wallet/travel-rule/Deposit-History Binance API Documentation} */ depositHistoryTravelRule(requestParameters?: DepositHistoryTravelRuleRequest): Promise>; /** * Fetch deposit history for local entities that with required travel rule information. * * Please notice the default `startTime` and `endTime` to make sure that time interval is within * If both ``startTime`` and ``endTime`` are sent, time between ``startTime`` and ``endTime`` must * Please, note that due to network-specific characteristics, the returned source address may be inaccurate. If multiple source addresses are found, only the first one will be returned. * * Weight: 1 * * @summary Deposit History V2 (for local entities that required travel rule) (supporting network) (USER_DATA) * @param {DepositHistoryV2Request} requestParameters Request parameters. * * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @see {@link https://developers.binance.com/docs/wallet/travel-rule/Deposit-History-V2 Binance API Documentation} */ depositHistoryV2(requestParameters?: DepositHistoryV2Request): Promise>; /** * Fetch address verification list for user to check on status and other details for the addresses stored in Address Book. * * Weight: 1 * * @summary Fetch address verification list (USER_DATA) * @param {FetchAddressVerificationListRequest} requestParameters Request parameters. * * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @see {@link https://developers.binance.com/docs/wallet/travel-rule/address-verification-list Binance API Documentation} */ fetchAddressVerificationList(requestParameters?: FetchAddressVerificationListRequest): Promise>; /** * Query the active country list for travel rule questionnaires. * * Weight: 1 * * @summary Get Country List (USER_DATA) * * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @see {@link https://developers.binance.com/docs/wallet/travel-rule/country-list Binance API Documentation} */ getCountryList(): Promise>; /** * Query the active region/city list for a given country. * * Weight: 1 * * @summary Get Region List (USER_DATA) * @param {GetRegionListRequest} requestParameters Request parameters. * * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @see {@link https://developers.binance.com/docs/wallet/travel-rule/region-list Binance API Documentation} */ getRegionList(requestParameters: GetRegionListRequest): Promise>; /** * Submit questionnaire for brokers of local entities that require travel rule. * The questionnaire is only applies to transactions from un-hosted wallets or VASPs that are not * yet onboarded with GTR. * * Questionnaire is different for each local entity, please refer * If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`, * * Weight: 600 * * @summary Submit Deposit Questionnaire (For local entities that require travel rule) (supporting network) (USER_DATA) * @param {SubmitDepositQuestionnaireRequest} requestParameters Request parameters. * * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @see {@link https://developers.binance.com/docs/wallet/travel-rule/deposit-provide-info Binance API Documentation} */ submitDepositQuestionnaire(requestParameters: SubmitDepositQuestionnaireRequest): Promise>; /** * Submit questionnaire for local entities that require travel rule. * The questionnaire is only applies to transactions from unhosted wallets or VASPs that are not * yet onboarded with GTR. * * Questionnaire is different for each local entity, please refer * If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`, * * Weight: 600 * * @summary Submit Deposit Questionnaire (For local entities that require travel rule) (supporting network) (USER_DATA) * @param {SubmitDepositQuestionnaireTravelRuleRequest} requestParameters Request parameters. * * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @see {@link https://developers.binance.com/docs/wallet/travel-rule/deposit-provide-info Binance API Documentation} */ submitDepositQuestionnaireTravelRule(requestParameters: SubmitDepositQuestionnaireTravelRuleRequest): Promise>; /** * Submit questionnaire for local entities that require travel rule. * The questionnaire is only applies to transactions from unhosted wallets or VASPs that are not * yet onboarded with GTR. * * Questionnaire is different for each local entity, please refer * If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`, * * Weight: 600 * * @summary Submit Deposit Questionnaire V2 (For local entities that require travel rule) (supporting network) (USER_DATA) * @param {SubmitDepositQuestionnaireV2Request} requestParameters Request parameters. * * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @see {@link https://developers.binance.com/docs/wallet/travel-rule/deposit-provide-info-v2 Binance API Documentation} */ submitDepositQuestionnaireV2(requestParameters: SubmitDepositQuestionnaireV2Request): Promise>; /** * Fetch the VASP list for local entities. * * Weight: 1 * * @summary VASP list (for local entities that require travel rule) (supporting network) (USER_DATA) * @param {VaspListRequest} requestParameters Request parameters. * * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @see {@link https://developers.binance.com/docs/wallet/travel-rule/onboarded-vasp-list Binance API Documentation} */ vaspList(requestParameters?: VaspListRequest): Promise>; /** * Fetch withdraw history for local entities that required travel rule. * * `network` may not be in the response for old withdraw. * Please notice the default `startTime` and `endTime` to make sure that time interval is within * If both `startTime` and `endTime`are sent, time between `startTime`and `endTime`must be less * * Weight: 1 * * @summary Withdraw History (for local entities that require travel rule) (supporting network) (USER_DATA) * @param {WithdrawHistoryV1Request} requestParameters Request parameters. * * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @see {@link https://developers.binance.com/docs/wallet/travel-rule/Withdraw-History Binance API Documentation} */ withdrawHistoryV1(requestParameters?: WithdrawHistoryV1Request): Promise>; /** * Fetch withdraw history for local entities that required travel rule. * * `network` may not be in the response for old withdraw. * Withdrawal made through /sapi/v1/capital/withdraw/apply may not be in the response. * Please notice the default `startTime` and `endTime` to make sure that time interval is within * If both `startTime` and `endTime`are sent, time between `startTime`and `endTime`must be less * If withdrawOrderId is sent, time between startTime and endTime must be less than 7 days. * If withdrawOrderId is sent, startTime and endTime are not sent, will return last 7 days records by default. * Maximum support trId,txId number is 45. * WithdrawOrderId only support 1. * If responsible does not include withdrawalStatus, please input trId or txId retrieve the data. * * Weight: 1 * * @summary Withdraw History V2 (for local entities that require travel rule) (supporting network) (USER_DATA) * @param {WithdrawHistoryV2Request} requestParameters Request parameters. * * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @see {@link https://developers.binance.com/docs/wallet/travel-rule/Withdraw-History-V2 Binance API Documentation} */ withdrawHistoryV2(requestParameters?: WithdrawHistoryV2Request): Promise>; /** * Submit a withdrawal request for local entities that required travel rule. * * If `network` not send, return with default network of the coin, but if the address could not match default network, the withdraw will be rejected. * You can get `network` and `isDefault` in `networkList` of a coin in the response * Questionnaire is different for each local entity, please refer to * If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`, * * Weight: 600 * * @summary Withdraw (for local entities that require travel rule) (USER_DATA) * @param {WithdrawTravelRuleRequest} requestParameters Request parameters. * * @returns {Promise>} * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError} * @see {@link https://developers.binance.com/docs/wallet/travel-rule/Withdraw Binance API Documentation} */ withdrawTravelRule(requestParameters: WithdrawTravelRuleRequest): Promise>; } declare namespace index_d_exports { export { AccountApi, AccountApiInterface, AccountApiTradingStatusRequest, AccountApiTradingStatusResponse, AccountApiTradingStatusResponseData, AccountApiTradingStatusResponseDataTriggerCondition, AccountInfoRequest, AccountInfoResponse, AccountStatusRequest, AccountStatusResponse, AllCoinsInformationRequest, AllCoinsInformationResponse, AllCoinsInformationResponseInner, AllCoinsInformationResponseInnerNetworkListInner, AssetApi, AssetApiInterface, AssetDetailRequest, AssetDetailResponse, AssetDetailResponseCTR, AssetDetailResponseSKY, AssetDividendRecordRequest, AssetDividendRecordResponse, AssetDividendRecordResponseRowsInner, BrokerWithdrawRequest, BrokerWithdrawResponse, CapitalApi, CapitalApiInterface, CheckQuestionnaireRequirementsRequest, CheckQuestionnaireRequirementsResponse, DailyAccountSnapshotRequest, DailyAccountSnapshotResponse, DailyAccountSnapshotResponseSnapshotVosInner, DailyAccountSnapshotResponseSnapshotVosInnerData, DailyAccountSnapshotResponseSnapshotVosInnerDataAssetsInner, DailyAccountSnapshotResponseSnapshotVosInnerDataBalancesInner, DailyAccountSnapshotResponseSnapshotVosInnerDataPositionInner, DailyAccountSnapshotResponseSnapshotVosInnerDataUserAssetsInner, DepositAddressRequest, DepositAddressResponse, DepositHistoryRequest, DepositHistoryResponse, DepositHistoryResponseInner, DepositHistoryTravelRuleRequest, DepositHistoryTravelRuleResponse, DepositHistoryTravelRuleResponseInner, DepositHistoryV2Request, DepositHistoryV2Response, DepositHistoryV2ResponseInner, DepositHistoryV2ResponseInnerQuestionnaire, DisableFastWithdrawSwitchRequest, DustConvertRequest, DustConvertResponse, DustConvertResponseTransferResultInner, DustConvertibleAssetsRequest, DustConvertibleAssetsResponse, DustConvertibleAssetsResponseDetailsInner, DustTransferRequest, DustTransferResponse, DustTransferResponseTransferResultInner, DustlogRequest, DustlogResponse, DustlogResponseUserAssetDribbletsInner, DustlogResponseUserAssetDribbletsInnerUserAssetDribbletDetailsInner, EnableFastWithdrawSwitchRequest, FetchAddressVerificationListRequest, FetchAddressVerificationListResponse, FetchAddressVerificationListResponseInner, FetchAddressVerificationListResponseInnerAddressQuestionnaire, FetchDepositAddressListWithNetworkRequest, FetchDepositAddressListWithNetworkResponse, FetchDepositAddressListWithNetworkResponseInner, FetchWithdrawAddressListResponse, FetchWithdrawAddressListResponseInner, FetchWithdrawQuotaResponse, FundingWalletRequest, FundingWalletResponse, FundingWalletResponseInner, GetApiKeyPermissionRequest, GetApiKeyPermissionResponse, GetAssetsThatCanBeConvertedIntoBnbRequest, GetAssetsThatCanBeConvertedIntoBnbResponse, GetAssetsThatCanBeConvertedIntoBnbResponseDetailsInner, GetCloudMiningPaymentAndRefundHistoryRequest, GetCloudMiningPaymentAndRefundHistoryResponse, GetCloudMiningPaymentAndRefundHistoryResponseRowsInner, GetCountryListResponse, GetCountryListResponseCountriesInner, GetOpenSymbolListResponse, GetOpenSymbolListResponseInner, GetRegionListRequest, GetRegionListResponse, GetRegionListResponseRegionsInner, GetSpotDelistScheduleResponse, GetSpotDelistScheduleResponseInner, GetSymbolsDelistScheduleForSpotRequest, GetSymbolsDelistScheduleForSpotResponse, GetSymbolsDelistScheduleForSpotResponseInner, OneClickArrivalDepositApplyRequest, OneClickArrivalDepositApplyResponse, OthersApi, OthersApiInterface, QueryUserDelegationHistoryRequest, QueryUserDelegationHistoryResponse, QueryUserDelegationHistoryResponseRowsInner, QueryUserUniversalTransferHistoryRequest, QueryUserUniversalTransferHistoryResponse, QueryUserUniversalTransferHistoryResponseRowsInner, QueryUserWalletBalanceRequest, QueryUserWalletBalanceResponse, QueryUserWalletBalanceResponseInner, RestAPI, SubmitDepositQuestionnaireRequest, SubmitDepositQuestionnaireResponse, SubmitDepositQuestionnaireTravelRuleRequest, SubmitDepositQuestionnaireTravelRuleResponse, SubmitDepositQuestionnaireV2Request, SubmitDepositQuestionnaireV2Response, SystemStatusResponse, ToggleBnbBurnOnSpotTradeAndMarginInterestRequest, ToggleBnbBurnOnSpotTradeAndMarginInterestResponse, TradeFeeRequest, TradeFeeResponse, TradeFeeResponseInner, TravelRuleApi, TravelRuleApiInterface, UserAssetRequest, UserAssetResponse, UserAssetResponseInner, UserUniversalTransferRequest, UserUniversalTransferResponse, VaspListRequest, VaspListResponse, VaspListResponseInner, WithdrawHistoryRequest, WithdrawHistoryResponse, WithdrawHistoryResponseInner, WithdrawHistoryV1Request, WithdrawHistoryV1Response, WithdrawHistoryV2Request, WithdrawHistoryV2Response, WithdrawHistoryV2ResponseInner, WithdrawRequest, WithdrawResponse, WithdrawTravelRuleRequest, WithdrawTravelRuleResponse }; } //#endregion //#region src/wallet.d.ts interface ConfigurationWallet { configurationRestAPI?: ConfigurationRestAPI; } declare class Wallet { restAPI: RestAPI; constructor(config: ConfigurationWallet); } //#endregion export { BadRequestError, type ConfigurationWallet, ConnectorClientError, ForbiddenError, NetworkError, NotFoundError, RateLimitBanError, RequiredError, ServerError, TooManyRequestsError, UnauthorizedError, WALLET_REST_API_PROD_URL, Wallet, index_d_exports as WalletRestAPI }; //# sourceMappingURL=index.d.ts.map