@binance/wallet 2.0.1 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -942,38 +942,6 @@ interface AssetDividendRecordResponse {
942
942
  total?: number;
943
943
  }
944
944
 
945
- /**
946
- * Binance Wallet REST API
947
- *
948
- * OpenAPI Specification for the Binance Wallet REST API
949
- *
950
- * The version of the OpenAPI document: 1.0.0
951
- *
952
- *
953
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
954
- * https://openapi-generator.tech
955
- * Do not edit the class manually.
956
- */
957
- /**
958
- *
959
- * @export
960
- * @interface BadRequest
961
- */
962
- interface BadRequest {
963
- /**
964
- *
965
- * @type {number}
966
- * @memberof BadRequest
967
- */
968
- code: number;
969
- /**
970
- *
971
- * @type {string}
972
- * @memberof BadRequest
973
- */
974
- message: string;
975
- }
976
-
977
945
  /**
978
946
  * Binance Wallet REST API
979
947
  *
@@ -2265,6 +2233,38 @@ interface FetchWithdrawAddressListResponseInner {
2265
2233
  interface FetchWithdrawAddressListResponse extends Array<FetchWithdrawAddressListResponseInner> {
2266
2234
  }
2267
2235
 
2236
+ /**
2237
+ * Binance Wallet REST API
2238
+ *
2239
+ * OpenAPI Specification for the Binance Wallet REST API
2240
+ *
2241
+ * The version of the OpenAPI document: 1.0.0
2242
+ *
2243
+ *
2244
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2245
+ * https://openapi-generator.tech
2246
+ * Do not edit the class manually.
2247
+ */
2248
+ /**
2249
+ *
2250
+ * @export
2251
+ * @interface FetchWithdrawQuotaResponse
2252
+ */
2253
+ interface FetchWithdrawQuotaResponse {
2254
+ /**
2255
+ *
2256
+ * @type {string}
2257
+ * @memberof FetchWithdrawQuotaResponse
2258
+ */
2259
+ wdQuota?: string;
2260
+ /**
2261
+ *
2262
+ * @type {string}
2263
+ * @memberof FetchWithdrawQuotaResponse
2264
+ */
2265
+ usedWdQuota?: string;
2266
+ }
2267
+
2268
2268
  /**
2269
2269
  * Binance Wallet REST API
2270
2270
  *
@@ -5185,6 +5185,17 @@ interface CapitalApiInterface {
5185
5185
  * @memberof CapitalApiInterface
5186
5186
  */
5187
5187
  fetchWithdrawAddressList(): Promise<RestApiResponse<FetchWithdrawAddressListResponse>>;
5188
+ /**
5189
+ * Fetch withdraw quota
5190
+ *
5191
+ * Weight: 10
5192
+ *
5193
+ * @summary Fetch withdraw quota (USER_DATA)
5194
+ *
5195
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
5196
+ * @memberof CapitalApiInterface
5197
+ */
5198
+ fetchWithdrawQuota(): Promise<RestApiResponse<FetchWithdrawQuotaResponse>>;
5188
5199
  /**
5189
5200
  * Apply deposit credit for expired address (One click arrival)
5190
5201
  *
@@ -5596,6 +5607,18 @@ declare class CapitalApi implements CapitalApiInterface {
5596
5607
  * @see {@link https://developers.binance.com/docs/wallet/capital/fetch-withdraw-address Binance API Documentation}
5597
5608
  */
5598
5609
  fetchWithdrawAddressList(): Promise<RestApiResponse<FetchWithdrawAddressListResponse>>;
5610
+ /**
5611
+ * Fetch withdraw quota
5612
+ *
5613
+ * Weight: 10
5614
+ *
5615
+ * @summary Fetch withdraw quota (USER_DATA)
5616
+ * @returns {Promise<RestApiResponse<FetchWithdrawQuotaResponse>>}
5617
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
5618
+ * @memberof CapitalApi
5619
+ * @see {@link https://developers.binance.com/docs/wallet/capital/Fetch-withdraw-quota Binance API Documentation}
5620
+ */
5621
+ fetchWithdrawQuota(): Promise<RestApiResponse<FetchWithdrawQuotaResponse>>;
5599
5622
  /**
5600
5623
  * Apply deposit credit for expired address (One click arrival)
5601
5624
  *
@@ -5912,12 +5935,6 @@ interface TravelRuleApiInterface {
5912
5935
  * @interface BrokerWithdrawRequest
5913
5936
  */
5914
5937
  interface BrokerWithdrawRequest {
5915
- /**
5916
- * External user ID.
5917
- * @type {string}
5918
- * @memberof TravelRuleApiBrokerWithdraw
5919
- */
5920
- readonly subAccountId: string;
5921
5938
  /**
5922
5939
  *
5923
5940
  * @type {string}
@@ -6976,6 +6993,17 @@ declare class RestAPI {
6976
6993
  * @see {@link https://developers.binance.com/docs/wallet/capital/fetch-withdraw-address Binance API Documentation}
6977
6994
  */
6978
6995
  fetchWithdrawAddressList(): Promise<RestApiResponse<FetchWithdrawAddressListResponse>>;
6996
+ /**
6997
+ * Fetch withdraw quota
6998
+ *
6999
+ * Weight: 10
7000
+ *
7001
+ * @summary Fetch withdraw quota (USER_DATA)
7002
+ * @returns {Promise<RestApiResponse<FetchWithdrawQuotaResponse>>}
7003
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
7004
+ * @see {@link https://developers.binance.com/docs/wallet/capital/Fetch-withdraw-quota Binance API Documentation}
7005
+ */
7006
+ fetchWithdrawQuota(): Promise<RestApiResponse<FetchWithdrawQuotaResponse>>;
6979
7007
  /**
6980
7008
  * Apply deposit credit for expired address (One click arrival)
6981
7009
  *
@@ -7238,7 +7266,6 @@ type index_AssetDetailResponseSKY = AssetDetailResponseSKY;
7238
7266
  type index_AssetDividendRecordRequest = AssetDividendRecordRequest;
7239
7267
  type index_AssetDividendRecordResponse = AssetDividendRecordResponse;
7240
7268
  type index_AssetDividendRecordResponseRowsInner = AssetDividendRecordResponseRowsInner;
7241
- type index_BadRequest = BadRequest;
7242
7269
  type index_BrokerWithdrawRequest = BrokerWithdrawRequest;
7243
7270
  type index_BrokerWithdrawResponse = BrokerWithdrawResponse;
7244
7271
  type index_CapitalApi = CapitalApi;
@@ -7281,6 +7308,7 @@ type index_FetchDepositAddressListWithNetworkResponse = FetchDepositAddressListW
7281
7308
  type index_FetchDepositAddressListWithNetworkResponseInner = FetchDepositAddressListWithNetworkResponseInner;
7282
7309
  type index_FetchWithdrawAddressListResponse = FetchWithdrawAddressListResponse;
7283
7310
  type index_FetchWithdrawAddressListResponseInner = FetchWithdrawAddressListResponseInner;
7311
+ type index_FetchWithdrawQuotaResponse = FetchWithdrawQuotaResponse;
7284
7312
  type index_FundingWalletRequest = FundingWalletRequest;
7285
7313
  type index_FundingWalletResponse = FundingWalletResponse;
7286
7314
  type index_FundingWalletResponseInner = FundingWalletResponseInner;
@@ -7348,7 +7376,7 @@ type index_WithdrawResponse = WithdrawResponse;
7348
7376
  type index_WithdrawTravelRuleRequest = WithdrawTravelRuleRequest;
7349
7377
  type index_WithdrawTravelRuleResponse = WithdrawTravelRuleResponse;
7350
7378
  declare namespace index {
7351
- export { index_AccountApi as AccountApi, type index_AccountApiInterface as AccountApiInterface, type index_AccountApiTradingStatusRequest as AccountApiTradingStatusRequest, type index_AccountApiTradingStatusResponse as AccountApiTradingStatusResponse, type index_AccountApiTradingStatusResponseData as AccountApiTradingStatusResponseData, type index_AccountApiTradingStatusResponseDataTriggerCondition as AccountApiTradingStatusResponseDataTriggerCondition, type index_AccountInfoRequest as AccountInfoRequest, type index_AccountInfoResponse as AccountInfoResponse, type index_AccountStatusRequest as AccountStatusRequest, type index_AccountStatusResponse as AccountStatusResponse, type index_AllCoinsInformationRequest as AllCoinsInformationRequest, type index_AllCoinsInformationResponse as AllCoinsInformationResponse, type index_AllCoinsInformationResponseInner as AllCoinsInformationResponseInner, type index_AllCoinsInformationResponseInnerNetworkListInner as AllCoinsInformationResponseInnerNetworkListInner, type index_AllCoinsInformationResponseInnerNetworkListInnerNetworkListInner as AllCoinsInformationResponseInnerNetworkListInnerNetworkListInner, index_AssetApi as AssetApi, type index_AssetApiInterface as AssetApiInterface, type index_AssetDetailRequest as AssetDetailRequest, type index_AssetDetailResponse as AssetDetailResponse, type index_AssetDetailResponseCTR as AssetDetailResponseCTR, type index_AssetDetailResponseSKY as AssetDetailResponseSKY, type index_AssetDividendRecordRequest as AssetDividendRecordRequest, type index_AssetDividendRecordResponse as AssetDividendRecordResponse, type index_AssetDividendRecordResponseRowsInner as AssetDividendRecordResponseRowsInner, type index_BadRequest as BadRequest, type index_BrokerWithdrawRequest as BrokerWithdrawRequest, type index_BrokerWithdrawResponse as BrokerWithdrawResponse, index_CapitalApi as CapitalApi, type index_CapitalApiInterface as CapitalApiInterface, type index_DailyAccountSnapshotRequest as DailyAccountSnapshotRequest, type index_DailyAccountSnapshotResponse as DailyAccountSnapshotResponse, type index_DailyAccountSnapshotResponse1 as DailyAccountSnapshotResponse1, type index_DailyAccountSnapshotResponse1SnapshotVosInner as DailyAccountSnapshotResponse1SnapshotVosInner, type index_DailyAccountSnapshotResponse1SnapshotVosInnerData as DailyAccountSnapshotResponse1SnapshotVosInnerData, type index_DailyAccountSnapshotResponse1SnapshotVosInnerDataBalancesInner as DailyAccountSnapshotResponse1SnapshotVosInnerDataBalancesInner, type index_DailyAccountSnapshotResponse2 as DailyAccountSnapshotResponse2, type index_DailyAccountSnapshotResponse2SnapshotVosInner as DailyAccountSnapshotResponse2SnapshotVosInner, type index_DailyAccountSnapshotResponse2SnapshotVosInnerData as DailyAccountSnapshotResponse2SnapshotVosInnerData, type index_DailyAccountSnapshotResponse2SnapshotVosInnerDataUserAssetsInner as DailyAccountSnapshotResponse2SnapshotVosInnerDataUserAssetsInner, type index_DailyAccountSnapshotResponse3 as DailyAccountSnapshotResponse3, type index_DailyAccountSnapshotResponse3SnapshotVosInner as DailyAccountSnapshotResponse3SnapshotVosInner, type index_DailyAccountSnapshotResponse3SnapshotVosInnerData as DailyAccountSnapshotResponse3SnapshotVosInnerData, type index_DailyAccountSnapshotResponse3SnapshotVosInnerDataAssetsInner as DailyAccountSnapshotResponse3SnapshotVosInnerDataAssetsInner, type index_DailyAccountSnapshotResponse3SnapshotVosInnerDataPositionInner as DailyAccountSnapshotResponse3SnapshotVosInnerDataPositionInner, type index_DepositAddressRequest as DepositAddressRequest, type index_DepositAddressResponse as DepositAddressResponse, type index_DepositHistoryRequest as DepositHistoryRequest, type index_DepositHistoryResponse as DepositHistoryResponse, type index_DepositHistoryResponseInner as DepositHistoryResponseInner, type index_DepositHistoryTravelRuleRequest as DepositHistoryTravelRuleRequest, type index_DepositHistoryTravelRuleResponse as DepositHistoryTravelRuleResponse, type index_DepositHistoryTravelRuleResponseInner as DepositHistoryTravelRuleResponseInner, type index_DisableFastWithdrawSwitchRequest as DisableFastWithdrawSwitchRequest, type index_DustTransferRequest as DustTransferRequest, type index_DustTransferResponse as DustTransferResponse, type index_DustTransferResponseTransferResultInner as DustTransferResponseTransferResultInner, type index_DustlogRequest as DustlogRequest, type index_DustlogResponse as DustlogResponse, type index_DustlogResponseUserAssetDribbletsInner as DustlogResponseUserAssetDribbletsInner, type index_DustlogResponseUserAssetDribbletsInnerUserAssetDribbletDetailsInner as DustlogResponseUserAssetDribbletsInnerUserAssetDribbletDetailsInner, type index_EnableFastWithdrawSwitchRequest as EnableFastWithdrawSwitchRequest, type index_FetchDepositAddressListWithNetworkRequest as FetchDepositAddressListWithNetworkRequest, type index_FetchDepositAddressListWithNetworkResponse as FetchDepositAddressListWithNetworkResponse, type index_FetchDepositAddressListWithNetworkResponseInner as FetchDepositAddressListWithNetworkResponseInner, type index_FetchWithdrawAddressListResponse as FetchWithdrawAddressListResponse, type index_FetchWithdrawAddressListResponseInner as FetchWithdrawAddressListResponseInner, type index_FundingWalletRequest as FundingWalletRequest, type index_FundingWalletResponse as FundingWalletResponse, type index_FundingWalletResponseInner as FundingWalletResponseInner, type index_GetApiKeyPermissionRequest as GetApiKeyPermissionRequest, type index_GetApiKeyPermissionResponse as GetApiKeyPermissionResponse, type index_GetAssetsThatCanBeConvertedIntoBnbRequest as GetAssetsThatCanBeConvertedIntoBnbRequest, type index_GetAssetsThatCanBeConvertedIntoBnbResponse as GetAssetsThatCanBeConvertedIntoBnbResponse, type index_GetAssetsThatCanBeConvertedIntoBnbResponseDetailsInner as GetAssetsThatCanBeConvertedIntoBnbResponseDetailsInner, type index_GetCloudMiningPaymentAndRefundHistoryRequest as GetCloudMiningPaymentAndRefundHistoryRequest, type index_GetCloudMiningPaymentAndRefundHistoryResponse as GetCloudMiningPaymentAndRefundHistoryResponse, type index_GetCloudMiningPaymentAndRefundHistoryResponseRowsInner as GetCloudMiningPaymentAndRefundHistoryResponseRowsInner, type index_GetOpenSymbolListResponse as GetOpenSymbolListResponse, type index_GetOpenSymbolListResponseInner as GetOpenSymbolListResponseInner, type index_GetSpotDelistScheduleResponse as GetSpotDelistScheduleResponse, type index_GetSpotDelistScheduleResponseInner as GetSpotDelistScheduleResponseInner, type index_GetSymbolsDelistScheduleForSpotRequest as GetSymbolsDelistScheduleForSpotRequest, type index_GetSymbolsDelistScheduleForSpotResponse as GetSymbolsDelistScheduleForSpotResponse, type index_GetSymbolsDelistScheduleForSpotResponseInner as GetSymbolsDelistScheduleForSpotResponseInner, type index_OnboardedVaspListResponse as OnboardedVaspListResponse, type index_OnboardedVaspListResponseInner as OnboardedVaspListResponseInner, type index_OneClickArrivalDepositApplyRequest as OneClickArrivalDepositApplyRequest, type index_OneClickArrivalDepositApplyResponse as OneClickArrivalDepositApplyResponse, index_OthersApi as OthersApi, type index_OthersApiInterface as OthersApiInterface, type index_QueryUserDelegationHistoryRequest as QueryUserDelegationHistoryRequest, type index_QueryUserDelegationHistoryResponse as QueryUserDelegationHistoryResponse, type index_QueryUserDelegationHistoryResponseRowsInner as QueryUserDelegationHistoryResponseRowsInner, type index_QueryUserUniversalTransferHistoryRequest as QueryUserUniversalTransferHistoryRequest, type index_QueryUserUniversalTransferHistoryResponse as QueryUserUniversalTransferHistoryResponse, type index_QueryUserUniversalTransferHistoryResponseRowsInner as QueryUserUniversalTransferHistoryResponseRowsInner, type index_QueryUserWalletBalanceRequest as QueryUserWalletBalanceRequest, type index_QueryUserWalletBalanceResponse as QueryUserWalletBalanceResponse, type index_QueryUserWalletBalanceResponseInner as QueryUserWalletBalanceResponseInner, index_RestAPI as RestAPI, type index_SubmitDepositQuestionnaireRequest as SubmitDepositQuestionnaireRequest, type index_SubmitDepositQuestionnaireResponse as SubmitDepositQuestionnaireResponse, type index_SubmitDepositQuestionnaireTravelRuleRequest as SubmitDepositQuestionnaireTravelRuleRequest, type index_SubmitDepositQuestionnaireTravelRuleResponse as SubmitDepositQuestionnaireTravelRuleResponse, type index_SystemStatusResponse as SystemStatusResponse, type index_ToggleBnbBurnOnSpotTradeAndMarginInterestRequest as ToggleBnbBurnOnSpotTradeAndMarginInterestRequest, type index_ToggleBnbBurnOnSpotTradeAndMarginInterestResponse as ToggleBnbBurnOnSpotTradeAndMarginInterestResponse, type index_TradeFeeRequest as TradeFeeRequest, type index_TradeFeeResponse as TradeFeeResponse, type index_TradeFeeResponseInner as TradeFeeResponseInner, index_TravelRuleApi as TravelRuleApi, type index_TravelRuleApiInterface as TravelRuleApiInterface, type index_UserAssetRequest as UserAssetRequest, type index_UserAssetResponse as UserAssetResponse, type index_UserAssetResponseInner as UserAssetResponseInner, type index_UserUniversalTransferRequest as UserUniversalTransferRequest, type index_UserUniversalTransferResponse as UserUniversalTransferResponse, type index_WithdrawHistoryRequest as WithdrawHistoryRequest, type index_WithdrawHistoryResponse as WithdrawHistoryResponse, type index_WithdrawHistoryResponseInner as WithdrawHistoryResponseInner, type index_WithdrawHistoryV1Request as WithdrawHistoryV1Request, type index_WithdrawHistoryV1Response as WithdrawHistoryV1Response, type index_WithdrawHistoryV2Request as WithdrawHistoryV2Request, type index_WithdrawHistoryV2Response as WithdrawHistoryV2Response, type index_WithdrawHistoryV2ResponseInner as WithdrawHistoryV2ResponseInner, type index_WithdrawRequest as WithdrawRequest, type index_WithdrawResponse as WithdrawResponse, type index_WithdrawTravelRuleRequest as WithdrawTravelRuleRequest, type index_WithdrawTravelRuleResponse as WithdrawTravelRuleResponse };
7379
+ export { index_AccountApi as AccountApi, type index_AccountApiInterface as AccountApiInterface, type index_AccountApiTradingStatusRequest as AccountApiTradingStatusRequest, type index_AccountApiTradingStatusResponse as AccountApiTradingStatusResponse, type index_AccountApiTradingStatusResponseData as AccountApiTradingStatusResponseData, type index_AccountApiTradingStatusResponseDataTriggerCondition as AccountApiTradingStatusResponseDataTriggerCondition, type index_AccountInfoRequest as AccountInfoRequest, type index_AccountInfoResponse as AccountInfoResponse, type index_AccountStatusRequest as AccountStatusRequest, type index_AccountStatusResponse as AccountStatusResponse, type index_AllCoinsInformationRequest as AllCoinsInformationRequest, type index_AllCoinsInformationResponse as AllCoinsInformationResponse, type index_AllCoinsInformationResponseInner as AllCoinsInformationResponseInner, type index_AllCoinsInformationResponseInnerNetworkListInner as AllCoinsInformationResponseInnerNetworkListInner, type index_AllCoinsInformationResponseInnerNetworkListInnerNetworkListInner as AllCoinsInformationResponseInnerNetworkListInnerNetworkListInner, index_AssetApi as AssetApi, type index_AssetApiInterface as AssetApiInterface, type index_AssetDetailRequest as AssetDetailRequest, type index_AssetDetailResponse as AssetDetailResponse, type index_AssetDetailResponseCTR as AssetDetailResponseCTR, type index_AssetDetailResponseSKY as AssetDetailResponseSKY, type index_AssetDividendRecordRequest as AssetDividendRecordRequest, type index_AssetDividendRecordResponse as AssetDividendRecordResponse, type index_AssetDividendRecordResponseRowsInner as AssetDividendRecordResponseRowsInner, type index_BrokerWithdrawRequest as BrokerWithdrawRequest, type index_BrokerWithdrawResponse as BrokerWithdrawResponse, index_CapitalApi as CapitalApi, type index_CapitalApiInterface as CapitalApiInterface, type index_DailyAccountSnapshotRequest as DailyAccountSnapshotRequest, type index_DailyAccountSnapshotResponse as DailyAccountSnapshotResponse, type index_DailyAccountSnapshotResponse1 as DailyAccountSnapshotResponse1, type index_DailyAccountSnapshotResponse1SnapshotVosInner as DailyAccountSnapshotResponse1SnapshotVosInner, type index_DailyAccountSnapshotResponse1SnapshotVosInnerData as DailyAccountSnapshotResponse1SnapshotVosInnerData, type index_DailyAccountSnapshotResponse1SnapshotVosInnerDataBalancesInner as DailyAccountSnapshotResponse1SnapshotVosInnerDataBalancesInner, type index_DailyAccountSnapshotResponse2 as DailyAccountSnapshotResponse2, type index_DailyAccountSnapshotResponse2SnapshotVosInner as DailyAccountSnapshotResponse2SnapshotVosInner, type index_DailyAccountSnapshotResponse2SnapshotVosInnerData as DailyAccountSnapshotResponse2SnapshotVosInnerData, type index_DailyAccountSnapshotResponse2SnapshotVosInnerDataUserAssetsInner as DailyAccountSnapshotResponse2SnapshotVosInnerDataUserAssetsInner, type index_DailyAccountSnapshotResponse3 as DailyAccountSnapshotResponse3, type index_DailyAccountSnapshotResponse3SnapshotVosInner as DailyAccountSnapshotResponse3SnapshotVosInner, type index_DailyAccountSnapshotResponse3SnapshotVosInnerData as DailyAccountSnapshotResponse3SnapshotVosInnerData, type index_DailyAccountSnapshotResponse3SnapshotVosInnerDataAssetsInner as DailyAccountSnapshotResponse3SnapshotVosInnerDataAssetsInner, type index_DailyAccountSnapshotResponse3SnapshotVosInnerDataPositionInner as DailyAccountSnapshotResponse3SnapshotVosInnerDataPositionInner, type index_DepositAddressRequest as DepositAddressRequest, type index_DepositAddressResponse as DepositAddressResponse, type index_DepositHistoryRequest as DepositHistoryRequest, type index_DepositHistoryResponse as DepositHistoryResponse, type index_DepositHistoryResponseInner as DepositHistoryResponseInner, type index_DepositHistoryTravelRuleRequest as DepositHistoryTravelRuleRequest, type index_DepositHistoryTravelRuleResponse as DepositHistoryTravelRuleResponse, type index_DepositHistoryTravelRuleResponseInner as DepositHistoryTravelRuleResponseInner, type index_DisableFastWithdrawSwitchRequest as DisableFastWithdrawSwitchRequest, type index_DustTransferRequest as DustTransferRequest, type index_DustTransferResponse as DustTransferResponse, type index_DustTransferResponseTransferResultInner as DustTransferResponseTransferResultInner, type index_DustlogRequest as DustlogRequest, type index_DustlogResponse as DustlogResponse, type index_DustlogResponseUserAssetDribbletsInner as DustlogResponseUserAssetDribbletsInner, type index_DustlogResponseUserAssetDribbletsInnerUserAssetDribbletDetailsInner as DustlogResponseUserAssetDribbletsInnerUserAssetDribbletDetailsInner, type index_EnableFastWithdrawSwitchRequest as EnableFastWithdrawSwitchRequest, type index_FetchDepositAddressListWithNetworkRequest as FetchDepositAddressListWithNetworkRequest, type index_FetchDepositAddressListWithNetworkResponse as FetchDepositAddressListWithNetworkResponse, type index_FetchDepositAddressListWithNetworkResponseInner as FetchDepositAddressListWithNetworkResponseInner, type index_FetchWithdrawAddressListResponse as FetchWithdrawAddressListResponse, type index_FetchWithdrawAddressListResponseInner as FetchWithdrawAddressListResponseInner, type index_FetchWithdrawQuotaResponse as FetchWithdrawQuotaResponse, type index_FundingWalletRequest as FundingWalletRequest, type index_FundingWalletResponse as FundingWalletResponse, type index_FundingWalletResponseInner as FundingWalletResponseInner, type index_GetApiKeyPermissionRequest as GetApiKeyPermissionRequest, type index_GetApiKeyPermissionResponse as GetApiKeyPermissionResponse, type index_GetAssetsThatCanBeConvertedIntoBnbRequest as GetAssetsThatCanBeConvertedIntoBnbRequest, type index_GetAssetsThatCanBeConvertedIntoBnbResponse as GetAssetsThatCanBeConvertedIntoBnbResponse, type index_GetAssetsThatCanBeConvertedIntoBnbResponseDetailsInner as GetAssetsThatCanBeConvertedIntoBnbResponseDetailsInner, type index_GetCloudMiningPaymentAndRefundHistoryRequest as GetCloudMiningPaymentAndRefundHistoryRequest, type index_GetCloudMiningPaymentAndRefundHistoryResponse as GetCloudMiningPaymentAndRefundHistoryResponse, type index_GetCloudMiningPaymentAndRefundHistoryResponseRowsInner as GetCloudMiningPaymentAndRefundHistoryResponseRowsInner, type index_GetOpenSymbolListResponse as GetOpenSymbolListResponse, type index_GetOpenSymbolListResponseInner as GetOpenSymbolListResponseInner, type index_GetSpotDelistScheduleResponse as GetSpotDelistScheduleResponse, type index_GetSpotDelistScheduleResponseInner as GetSpotDelistScheduleResponseInner, type index_GetSymbolsDelistScheduleForSpotRequest as GetSymbolsDelistScheduleForSpotRequest, type index_GetSymbolsDelistScheduleForSpotResponse as GetSymbolsDelistScheduleForSpotResponse, type index_GetSymbolsDelistScheduleForSpotResponseInner as GetSymbolsDelistScheduleForSpotResponseInner, type index_OnboardedVaspListResponse as OnboardedVaspListResponse, type index_OnboardedVaspListResponseInner as OnboardedVaspListResponseInner, type index_OneClickArrivalDepositApplyRequest as OneClickArrivalDepositApplyRequest, type index_OneClickArrivalDepositApplyResponse as OneClickArrivalDepositApplyResponse, index_OthersApi as OthersApi, type index_OthersApiInterface as OthersApiInterface, type index_QueryUserDelegationHistoryRequest as QueryUserDelegationHistoryRequest, type index_QueryUserDelegationHistoryResponse as QueryUserDelegationHistoryResponse, type index_QueryUserDelegationHistoryResponseRowsInner as QueryUserDelegationHistoryResponseRowsInner, type index_QueryUserUniversalTransferHistoryRequest as QueryUserUniversalTransferHistoryRequest, type index_QueryUserUniversalTransferHistoryResponse as QueryUserUniversalTransferHistoryResponse, type index_QueryUserUniversalTransferHistoryResponseRowsInner as QueryUserUniversalTransferHistoryResponseRowsInner, type index_QueryUserWalletBalanceRequest as QueryUserWalletBalanceRequest, type index_QueryUserWalletBalanceResponse as QueryUserWalletBalanceResponse, type index_QueryUserWalletBalanceResponseInner as QueryUserWalletBalanceResponseInner, index_RestAPI as RestAPI, type index_SubmitDepositQuestionnaireRequest as SubmitDepositQuestionnaireRequest, type index_SubmitDepositQuestionnaireResponse as SubmitDepositQuestionnaireResponse, type index_SubmitDepositQuestionnaireTravelRuleRequest as SubmitDepositQuestionnaireTravelRuleRequest, type index_SubmitDepositQuestionnaireTravelRuleResponse as SubmitDepositQuestionnaireTravelRuleResponse, type index_SystemStatusResponse as SystemStatusResponse, type index_ToggleBnbBurnOnSpotTradeAndMarginInterestRequest as ToggleBnbBurnOnSpotTradeAndMarginInterestRequest, type index_ToggleBnbBurnOnSpotTradeAndMarginInterestResponse as ToggleBnbBurnOnSpotTradeAndMarginInterestResponse, type index_TradeFeeRequest as TradeFeeRequest, type index_TradeFeeResponse as TradeFeeResponse, type index_TradeFeeResponseInner as TradeFeeResponseInner, index_TravelRuleApi as TravelRuleApi, type index_TravelRuleApiInterface as TravelRuleApiInterface, type index_UserAssetRequest as UserAssetRequest, type index_UserAssetResponse as UserAssetResponse, type index_UserAssetResponseInner as UserAssetResponseInner, type index_UserUniversalTransferRequest as UserUniversalTransferRequest, type index_UserUniversalTransferResponse as UserUniversalTransferResponse, type index_WithdrawHistoryRequest as WithdrawHistoryRequest, type index_WithdrawHistoryResponse as WithdrawHistoryResponse, type index_WithdrawHistoryResponseInner as WithdrawHistoryResponseInner, type index_WithdrawHistoryV1Request as WithdrawHistoryV1Request, type index_WithdrawHistoryV1Response as WithdrawHistoryV1Response, type index_WithdrawHistoryV2Request as WithdrawHistoryV2Request, type index_WithdrawHistoryV2Response as WithdrawHistoryV2Response, type index_WithdrawHistoryV2ResponseInner as WithdrawHistoryV2ResponseInner, type index_WithdrawRequest as WithdrawRequest, type index_WithdrawResponse as WithdrawResponse, type index_WithdrawTravelRuleRequest as WithdrawTravelRuleRequest, type index_WithdrawTravelRuleResponse as WithdrawTravelRuleResponse };
7352
7380
  }
7353
7381
 
7354
7382
  interface ConfigurationWallet {
package/dist/index.d.ts CHANGED
@@ -942,38 +942,6 @@ interface AssetDividendRecordResponse {
942
942
  total?: number;
943
943
  }
944
944
 
945
- /**
946
- * Binance Wallet REST API
947
- *
948
- * OpenAPI Specification for the Binance Wallet REST API
949
- *
950
- * The version of the OpenAPI document: 1.0.0
951
- *
952
- *
953
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
954
- * https://openapi-generator.tech
955
- * Do not edit the class manually.
956
- */
957
- /**
958
- *
959
- * @export
960
- * @interface BadRequest
961
- */
962
- interface BadRequest {
963
- /**
964
- *
965
- * @type {number}
966
- * @memberof BadRequest
967
- */
968
- code: number;
969
- /**
970
- *
971
- * @type {string}
972
- * @memberof BadRequest
973
- */
974
- message: string;
975
- }
976
-
977
945
  /**
978
946
  * Binance Wallet REST API
979
947
  *
@@ -2265,6 +2233,38 @@ interface FetchWithdrawAddressListResponseInner {
2265
2233
  interface FetchWithdrawAddressListResponse extends Array<FetchWithdrawAddressListResponseInner> {
2266
2234
  }
2267
2235
 
2236
+ /**
2237
+ * Binance Wallet REST API
2238
+ *
2239
+ * OpenAPI Specification for the Binance Wallet REST API
2240
+ *
2241
+ * The version of the OpenAPI document: 1.0.0
2242
+ *
2243
+ *
2244
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2245
+ * https://openapi-generator.tech
2246
+ * Do not edit the class manually.
2247
+ */
2248
+ /**
2249
+ *
2250
+ * @export
2251
+ * @interface FetchWithdrawQuotaResponse
2252
+ */
2253
+ interface FetchWithdrawQuotaResponse {
2254
+ /**
2255
+ *
2256
+ * @type {string}
2257
+ * @memberof FetchWithdrawQuotaResponse
2258
+ */
2259
+ wdQuota?: string;
2260
+ /**
2261
+ *
2262
+ * @type {string}
2263
+ * @memberof FetchWithdrawQuotaResponse
2264
+ */
2265
+ usedWdQuota?: string;
2266
+ }
2267
+
2268
2268
  /**
2269
2269
  * Binance Wallet REST API
2270
2270
  *
@@ -5185,6 +5185,17 @@ interface CapitalApiInterface {
5185
5185
  * @memberof CapitalApiInterface
5186
5186
  */
5187
5187
  fetchWithdrawAddressList(): Promise<RestApiResponse<FetchWithdrawAddressListResponse>>;
5188
+ /**
5189
+ * Fetch withdraw quota
5190
+ *
5191
+ * Weight: 10
5192
+ *
5193
+ * @summary Fetch withdraw quota (USER_DATA)
5194
+ *
5195
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
5196
+ * @memberof CapitalApiInterface
5197
+ */
5198
+ fetchWithdrawQuota(): Promise<RestApiResponse<FetchWithdrawQuotaResponse>>;
5188
5199
  /**
5189
5200
  * Apply deposit credit for expired address (One click arrival)
5190
5201
  *
@@ -5596,6 +5607,18 @@ declare class CapitalApi implements CapitalApiInterface {
5596
5607
  * @see {@link https://developers.binance.com/docs/wallet/capital/fetch-withdraw-address Binance API Documentation}
5597
5608
  */
5598
5609
  fetchWithdrawAddressList(): Promise<RestApiResponse<FetchWithdrawAddressListResponse>>;
5610
+ /**
5611
+ * Fetch withdraw quota
5612
+ *
5613
+ * Weight: 10
5614
+ *
5615
+ * @summary Fetch withdraw quota (USER_DATA)
5616
+ * @returns {Promise<RestApiResponse<FetchWithdrawQuotaResponse>>}
5617
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
5618
+ * @memberof CapitalApi
5619
+ * @see {@link https://developers.binance.com/docs/wallet/capital/Fetch-withdraw-quota Binance API Documentation}
5620
+ */
5621
+ fetchWithdrawQuota(): Promise<RestApiResponse<FetchWithdrawQuotaResponse>>;
5599
5622
  /**
5600
5623
  * Apply deposit credit for expired address (One click arrival)
5601
5624
  *
@@ -5912,12 +5935,6 @@ interface TravelRuleApiInterface {
5912
5935
  * @interface BrokerWithdrawRequest
5913
5936
  */
5914
5937
  interface BrokerWithdrawRequest {
5915
- /**
5916
- * External user ID.
5917
- * @type {string}
5918
- * @memberof TravelRuleApiBrokerWithdraw
5919
- */
5920
- readonly subAccountId: string;
5921
5938
  /**
5922
5939
  *
5923
5940
  * @type {string}
@@ -6976,6 +6993,17 @@ declare class RestAPI {
6976
6993
  * @see {@link https://developers.binance.com/docs/wallet/capital/fetch-withdraw-address Binance API Documentation}
6977
6994
  */
6978
6995
  fetchWithdrawAddressList(): Promise<RestApiResponse<FetchWithdrawAddressListResponse>>;
6996
+ /**
6997
+ * Fetch withdraw quota
6998
+ *
6999
+ * Weight: 10
7000
+ *
7001
+ * @summary Fetch withdraw quota (USER_DATA)
7002
+ * @returns {Promise<RestApiResponse<FetchWithdrawQuotaResponse>>}
7003
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
7004
+ * @see {@link https://developers.binance.com/docs/wallet/capital/Fetch-withdraw-quota Binance API Documentation}
7005
+ */
7006
+ fetchWithdrawQuota(): Promise<RestApiResponse<FetchWithdrawQuotaResponse>>;
6979
7007
  /**
6980
7008
  * Apply deposit credit for expired address (One click arrival)
6981
7009
  *
@@ -7238,7 +7266,6 @@ type index_AssetDetailResponseSKY = AssetDetailResponseSKY;
7238
7266
  type index_AssetDividendRecordRequest = AssetDividendRecordRequest;
7239
7267
  type index_AssetDividendRecordResponse = AssetDividendRecordResponse;
7240
7268
  type index_AssetDividendRecordResponseRowsInner = AssetDividendRecordResponseRowsInner;
7241
- type index_BadRequest = BadRequest;
7242
7269
  type index_BrokerWithdrawRequest = BrokerWithdrawRequest;
7243
7270
  type index_BrokerWithdrawResponse = BrokerWithdrawResponse;
7244
7271
  type index_CapitalApi = CapitalApi;
@@ -7281,6 +7308,7 @@ type index_FetchDepositAddressListWithNetworkResponse = FetchDepositAddressListW
7281
7308
  type index_FetchDepositAddressListWithNetworkResponseInner = FetchDepositAddressListWithNetworkResponseInner;
7282
7309
  type index_FetchWithdrawAddressListResponse = FetchWithdrawAddressListResponse;
7283
7310
  type index_FetchWithdrawAddressListResponseInner = FetchWithdrawAddressListResponseInner;
7311
+ type index_FetchWithdrawQuotaResponse = FetchWithdrawQuotaResponse;
7284
7312
  type index_FundingWalletRequest = FundingWalletRequest;
7285
7313
  type index_FundingWalletResponse = FundingWalletResponse;
7286
7314
  type index_FundingWalletResponseInner = FundingWalletResponseInner;
@@ -7348,7 +7376,7 @@ type index_WithdrawResponse = WithdrawResponse;
7348
7376
  type index_WithdrawTravelRuleRequest = WithdrawTravelRuleRequest;
7349
7377
  type index_WithdrawTravelRuleResponse = WithdrawTravelRuleResponse;
7350
7378
  declare namespace index {
7351
- export { index_AccountApi as AccountApi, type index_AccountApiInterface as AccountApiInterface, type index_AccountApiTradingStatusRequest as AccountApiTradingStatusRequest, type index_AccountApiTradingStatusResponse as AccountApiTradingStatusResponse, type index_AccountApiTradingStatusResponseData as AccountApiTradingStatusResponseData, type index_AccountApiTradingStatusResponseDataTriggerCondition as AccountApiTradingStatusResponseDataTriggerCondition, type index_AccountInfoRequest as AccountInfoRequest, type index_AccountInfoResponse as AccountInfoResponse, type index_AccountStatusRequest as AccountStatusRequest, type index_AccountStatusResponse as AccountStatusResponse, type index_AllCoinsInformationRequest as AllCoinsInformationRequest, type index_AllCoinsInformationResponse as AllCoinsInformationResponse, type index_AllCoinsInformationResponseInner as AllCoinsInformationResponseInner, type index_AllCoinsInformationResponseInnerNetworkListInner as AllCoinsInformationResponseInnerNetworkListInner, type index_AllCoinsInformationResponseInnerNetworkListInnerNetworkListInner as AllCoinsInformationResponseInnerNetworkListInnerNetworkListInner, index_AssetApi as AssetApi, type index_AssetApiInterface as AssetApiInterface, type index_AssetDetailRequest as AssetDetailRequest, type index_AssetDetailResponse as AssetDetailResponse, type index_AssetDetailResponseCTR as AssetDetailResponseCTR, type index_AssetDetailResponseSKY as AssetDetailResponseSKY, type index_AssetDividendRecordRequest as AssetDividendRecordRequest, type index_AssetDividendRecordResponse as AssetDividendRecordResponse, type index_AssetDividendRecordResponseRowsInner as AssetDividendRecordResponseRowsInner, type index_BadRequest as BadRequest, type index_BrokerWithdrawRequest as BrokerWithdrawRequest, type index_BrokerWithdrawResponse as BrokerWithdrawResponse, index_CapitalApi as CapitalApi, type index_CapitalApiInterface as CapitalApiInterface, type index_DailyAccountSnapshotRequest as DailyAccountSnapshotRequest, type index_DailyAccountSnapshotResponse as DailyAccountSnapshotResponse, type index_DailyAccountSnapshotResponse1 as DailyAccountSnapshotResponse1, type index_DailyAccountSnapshotResponse1SnapshotVosInner as DailyAccountSnapshotResponse1SnapshotVosInner, type index_DailyAccountSnapshotResponse1SnapshotVosInnerData as DailyAccountSnapshotResponse1SnapshotVosInnerData, type index_DailyAccountSnapshotResponse1SnapshotVosInnerDataBalancesInner as DailyAccountSnapshotResponse1SnapshotVosInnerDataBalancesInner, type index_DailyAccountSnapshotResponse2 as DailyAccountSnapshotResponse2, type index_DailyAccountSnapshotResponse2SnapshotVosInner as DailyAccountSnapshotResponse2SnapshotVosInner, type index_DailyAccountSnapshotResponse2SnapshotVosInnerData as DailyAccountSnapshotResponse2SnapshotVosInnerData, type index_DailyAccountSnapshotResponse2SnapshotVosInnerDataUserAssetsInner as DailyAccountSnapshotResponse2SnapshotVosInnerDataUserAssetsInner, type index_DailyAccountSnapshotResponse3 as DailyAccountSnapshotResponse3, type index_DailyAccountSnapshotResponse3SnapshotVosInner as DailyAccountSnapshotResponse3SnapshotVosInner, type index_DailyAccountSnapshotResponse3SnapshotVosInnerData as DailyAccountSnapshotResponse3SnapshotVosInnerData, type index_DailyAccountSnapshotResponse3SnapshotVosInnerDataAssetsInner as DailyAccountSnapshotResponse3SnapshotVosInnerDataAssetsInner, type index_DailyAccountSnapshotResponse3SnapshotVosInnerDataPositionInner as DailyAccountSnapshotResponse3SnapshotVosInnerDataPositionInner, type index_DepositAddressRequest as DepositAddressRequest, type index_DepositAddressResponse as DepositAddressResponse, type index_DepositHistoryRequest as DepositHistoryRequest, type index_DepositHistoryResponse as DepositHistoryResponse, type index_DepositHistoryResponseInner as DepositHistoryResponseInner, type index_DepositHistoryTravelRuleRequest as DepositHistoryTravelRuleRequest, type index_DepositHistoryTravelRuleResponse as DepositHistoryTravelRuleResponse, type index_DepositHistoryTravelRuleResponseInner as DepositHistoryTravelRuleResponseInner, type index_DisableFastWithdrawSwitchRequest as DisableFastWithdrawSwitchRequest, type index_DustTransferRequest as DustTransferRequest, type index_DustTransferResponse as DustTransferResponse, type index_DustTransferResponseTransferResultInner as DustTransferResponseTransferResultInner, type index_DustlogRequest as DustlogRequest, type index_DustlogResponse as DustlogResponse, type index_DustlogResponseUserAssetDribbletsInner as DustlogResponseUserAssetDribbletsInner, type index_DustlogResponseUserAssetDribbletsInnerUserAssetDribbletDetailsInner as DustlogResponseUserAssetDribbletsInnerUserAssetDribbletDetailsInner, type index_EnableFastWithdrawSwitchRequest as EnableFastWithdrawSwitchRequest, type index_FetchDepositAddressListWithNetworkRequest as FetchDepositAddressListWithNetworkRequest, type index_FetchDepositAddressListWithNetworkResponse as FetchDepositAddressListWithNetworkResponse, type index_FetchDepositAddressListWithNetworkResponseInner as FetchDepositAddressListWithNetworkResponseInner, type index_FetchWithdrawAddressListResponse as FetchWithdrawAddressListResponse, type index_FetchWithdrawAddressListResponseInner as FetchWithdrawAddressListResponseInner, type index_FundingWalletRequest as FundingWalletRequest, type index_FundingWalletResponse as FundingWalletResponse, type index_FundingWalletResponseInner as FundingWalletResponseInner, type index_GetApiKeyPermissionRequest as GetApiKeyPermissionRequest, type index_GetApiKeyPermissionResponse as GetApiKeyPermissionResponse, type index_GetAssetsThatCanBeConvertedIntoBnbRequest as GetAssetsThatCanBeConvertedIntoBnbRequest, type index_GetAssetsThatCanBeConvertedIntoBnbResponse as GetAssetsThatCanBeConvertedIntoBnbResponse, type index_GetAssetsThatCanBeConvertedIntoBnbResponseDetailsInner as GetAssetsThatCanBeConvertedIntoBnbResponseDetailsInner, type index_GetCloudMiningPaymentAndRefundHistoryRequest as GetCloudMiningPaymentAndRefundHistoryRequest, type index_GetCloudMiningPaymentAndRefundHistoryResponse as GetCloudMiningPaymentAndRefundHistoryResponse, type index_GetCloudMiningPaymentAndRefundHistoryResponseRowsInner as GetCloudMiningPaymentAndRefundHistoryResponseRowsInner, type index_GetOpenSymbolListResponse as GetOpenSymbolListResponse, type index_GetOpenSymbolListResponseInner as GetOpenSymbolListResponseInner, type index_GetSpotDelistScheduleResponse as GetSpotDelistScheduleResponse, type index_GetSpotDelistScheduleResponseInner as GetSpotDelistScheduleResponseInner, type index_GetSymbolsDelistScheduleForSpotRequest as GetSymbolsDelistScheduleForSpotRequest, type index_GetSymbolsDelistScheduleForSpotResponse as GetSymbolsDelistScheduleForSpotResponse, type index_GetSymbolsDelistScheduleForSpotResponseInner as GetSymbolsDelistScheduleForSpotResponseInner, type index_OnboardedVaspListResponse as OnboardedVaspListResponse, type index_OnboardedVaspListResponseInner as OnboardedVaspListResponseInner, type index_OneClickArrivalDepositApplyRequest as OneClickArrivalDepositApplyRequest, type index_OneClickArrivalDepositApplyResponse as OneClickArrivalDepositApplyResponse, index_OthersApi as OthersApi, type index_OthersApiInterface as OthersApiInterface, type index_QueryUserDelegationHistoryRequest as QueryUserDelegationHistoryRequest, type index_QueryUserDelegationHistoryResponse as QueryUserDelegationHistoryResponse, type index_QueryUserDelegationHistoryResponseRowsInner as QueryUserDelegationHistoryResponseRowsInner, type index_QueryUserUniversalTransferHistoryRequest as QueryUserUniversalTransferHistoryRequest, type index_QueryUserUniversalTransferHistoryResponse as QueryUserUniversalTransferHistoryResponse, type index_QueryUserUniversalTransferHistoryResponseRowsInner as QueryUserUniversalTransferHistoryResponseRowsInner, type index_QueryUserWalletBalanceRequest as QueryUserWalletBalanceRequest, type index_QueryUserWalletBalanceResponse as QueryUserWalletBalanceResponse, type index_QueryUserWalletBalanceResponseInner as QueryUserWalletBalanceResponseInner, index_RestAPI as RestAPI, type index_SubmitDepositQuestionnaireRequest as SubmitDepositQuestionnaireRequest, type index_SubmitDepositQuestionnaireResponse as SubmitDepositQuestionnaireResponse, type index_SubmitDepositQuestionnaireTravelRuleRequest as SubmitDepositQuestionnaireTravelRuleRequest, type index_SubmitDepositQuestionnaireTravelRuleResponse as SubmitDepositQuestionnaireTravelRuleResponse, type index_SystemStatusResponse as SystemStatusResponse, type index_ToggleBnbBurnOnSpotTradeAndMarginInterestRequest as ToggleBnbBurnOnSpotTradeAndMarginInterestRequest, type index_ToggleBnbBurnOnSpotTradeAndMarginInterestResponse as ToggleBnbBurnOnSpotTradeAndMarginInterestResponse, type index_TradeFeeRequest as TradeFeeRequest, type index_TradeFeeResponse as TradeFeeResponse, type index_TradeFeeResponseInner as TradeFeeResponseInner, index_TravelRuleApi as TravelRuleApi, type index_TravelRuleApiInterface as TravelRuleApiInterface, type index_UserAssetRequest as UserAssetRequest, type index_UserAssetResponse as UserAssetResponse, type index_UserAssetResponseInner as UserAssetResponseInner, type index_UserUniversalTransferRequest as UserUniversalTransferRequest, type index_UserUniversalTransferResponse as UserUniversalTransferResponse, type index_WithdrawHistoryRequest as WithdrawHistoryRequest, type index_WithdrawHistoryResponse as WithdrawHistoryResponse, type index_WithdrawHistoryResponseInner as WithdrawHistoryResponseInner, type index_WithdrawHistoryV1Request as WithdrawHistoryV1Request, type index_WithdrawHistoryV1Response as WithdrawHistoryV1Response, type index_WithdrawHistoryV2Request as WithdrawHistoryV2Request, type index_WithdrawHistoryV2Response as WithdrawHistoryV2Response, type index_WithdrawHistoryV2ResponseInner as WithdrawHistoryV2ResponseInner, type index_WithdrawRequest as WithdrawRequest, type index_WithdrawResponse as WithdrawResponse, type index_WithdrawTravelRuleRequest as WithdrawTravelRuleRequest, type index_WithdrawTravelRuleResponse as WithdrawTravelRuleResponse };
7379
+ export { index_AccountApi as AccountApi, type index_AccountApiInterface as AccountApiInterface, type index_AccountApiTradingStatusRequest as AccountApiTradingStatusRequest, type index_AccountApiTradingStatusResponse as AccountApiTradingStatusResponse, type index_AccountApiTradingStatusResponseData as AccountApiTradingStatusResponseData, type index_AccountApiTradingStatusResponseDataTriggerCondition as AccountApiTradingStatusResponseDataTriggerCondition, type index_AccountInfoRequest as AccountInfoRequest, type index_AccountInfoResponse as AccountInfoResponse, type index_AccountStatusRequest as AccountStatusRequest, type index_AccountStatusResponse as AccountStatusResponse, type index_AllCoinsInformationRequest as AllCoinsInformationRequest, type index_AllCoinsInformationResponse as AllCoinsInformationResponse, type index_AllCoinsInformationResponseInner as AllCoinsInformationResponseInner, type index_AllCoinsInformationResponseInnerNetworkListInner as AllCoinsInformationResponseInnerNetworkListInner, type index_AllCoinsInformationResponseInnerNetworkListInnerNetworkListInner as AllCoinsInformationResponseInnerNetworkListInnerNetworkListInner, index_AssetApi as AssetApi, type index_AssetApiInterface as AssetApiInterface, type index_AssetDetailRequest as AssetDetailRequest, type index_AssetDetailResponse as AssetDetailResponse, type index_AssetDetailResponseCTR as AssetDetailResponseCTR, type index_AssetDetailResponseSKY as AssetDetailResponseSKY, type index_AssetDividendRecordRequest as AssetDividendRecordRequest, type index_AssetDividendRecordResponse as AssetDividendRecordResponse, type index_AssetDividendRecordResponseRowsInner as AssetDividendRecordResponseRowsInner, type index_BrokerWithdrawRequest as BrokerWithdrawRequest, type index_BrokerWithdrawResponse as BrokerWithdrawResponse, index_CapitalApi as CapitalApi, type index_CapitalApiInterface as CapitalApiInterface, type index_DailyAccountSnapshotRequest as DailyAccountSnapshotRequest, type index_DailyAccountSnapshotResponse as DailyAccountSnapshotResponse, type index_DailyAccountSnapshotResponse1 as DailyAccountSnapshotResponse1, type index_DailyAccountSnapshotResponse1SnapshotVosInner as DailyAccountSnapshotResponse1SnapshotVosInner, type index_DailyAccountSnapshotResponse1SnapshotVosInnerData as DailyAccountSnapshotResponse1SnapshotVosInnerData, type index_DailyAccountSnapshotResponse1SnapshotVosInnerDataBalancesInner as DailyAccountSnapshotResponse1SnapshotVosInnerDataBalancesInner, type index_DailyAccountSnapshotResponse2 as DailyAccountSnapshotResponse2, type index_DailyAccountSnapshotResponse2SnapshotVosInner as DailyAccountSnapshotResponse2SnapshotVosInner, type index_DailyAccountSnapshotResponse2SnapshotVosInnerData as DailyAccountSnapshotResponse2SnapshotVosInnerData, type index_DailyAccountSnapshotResponse2SnapshotVosInnerDataUserAssetsInner as DailyAccountSnapshotResponse2SnapshotVosInnerDataUserAssetsInner, type index_DailyAccountSnapshotResponse3 as DailyAccountSnapshotResponse3, type index_DailyAccountSnapshotResponse3SnapshotVosInner as DailyAccountSnapshotResponse3SnapshotVosInner, type index_DailyAccountSnapshotResponse3SnapshotVosInnerData as DailyAccountSnapshotResponse3SnapshotVosInnerData, type index_DailyAccountSnapshotResponse3SnapshotVosInnerDataAssetsInner as DailyAccountSnapshotResponse3SnapshotVosInnerDataAssetsInner, type index_DailyAccountSnapshotResponse3SnapshotVosInnerDataPositionInner as DailyAccountSnapshotResponse3SnapshotVosInnerDataPositionInner, type index_DepositAddressRequest as DepositAddressRequest, type index_DepositAddressResponse as DepositAddressResponse, type index_DepositHistoryRequest as DepositHistoryRequest, type index_DepositHistoryResponse as DepositHistoryResponse, type index_DepositHistoryResponseInner as DepositHistoryResponseInner, type index_DepositHistoryTravelRuleRequest as DepositHistoryTravelRuleRequest, type index_DepositHistoryTravelRuleResponse as DepositHistoryTravelRuleResponse, type index_DepositHistoryTravelRuleResponseInner as DepositHistoryTravelRuleResponseInner, type index_DisableFastWithdrawSwitchRequest as DisableFastWithdrawSwitchRequest, type index_DustTransferRequest as DustTransferRequest, type index_DustTransferResponse as DustTransferResponse, type index_DustTransferResponseTransferResultInner as DustTransferResponseTransferResultInner, type index_DustlogRequest as DustlogRequest, type index_DustlogResponse as DustlogResponse, type index_DustlogResponseUserAssetDribbletsInner as DustlogResponseUserAssetDribbletsInner, type index_DustlogResponseUserAssetDribbletsInnerUserAssetDribbletDetailsInner as DustlogResponseUserAssetDribbletsInnerUserAssetDribbletDetailsInner, type index_EnableFastWithdrawSwitchRequest as EnableFastWithdrawSwitchRequest, type index_FetchDepositAddressListWithNetworkRequest as FetchDepositAddressListWithNetworkRequest, type index_FetchDepositAddressListWithNetworkResponse as FetchDepositAddressListWithNetworkResponse, type index_FetchDepositAddressListWithNetworkResponseInner as FetchDepositAddressListWithNetworkResponseInner, type index_FetchWithdrawAddressListResponse as FetchWithdrawAddressListResponse, type index_FetchWithdrawAddressListResponseInner as FetchWithdrawAddressListResponseInner, type index_FetchWithdrawQuotaResponse as FetchWithdrawQuotaResponse, type index_FundingWalletRequest as FundingWalletRequest, type index_FundingWalletResponse as FundingWalletResponse, type index_FundingWalletResponseInner as FundingWalletResponseInner, type index_GetApiKeyPermissionRequest as GetApiKeyPermissionRequest, type index_GetApiKeyPermissionResponse as GetApiKeyPermissionResponse, type index_GetAssetsThatCanBeConvertedIntoBnbRequest as GetAssetsThatCanBeConvertedIntoBnbRequest, type index_GetAssetsThatCanBeConvertedIntoBnbResponse as GetAssetsThatCanBeConvertedIntoBnbResponse, type index_GetAssetsThatCanBeConvertedIntoBnbResponseDetailsInner as GetAssetsThatCanBeConvertedIntoBnbResponseDetailsInner, type index_GetCloudMiningPaymentAndRefundHistoryRequest as GetCloudMiningPaymentAndRefundHistoryRequest, type index_GetCloudMiningPaymentAndRefundHistoryResponse as GetCloudMiningPaymentAndRefundHistoryResponse, type index_GetCloudMiningPaymentAndRefundHistoryResponseRowsInner as GetCloudMiningPaymentAndRefundHistoryResponseRowsInner, type index_GetOpenSymbolListResponse as GetOpenSymbolListResponse, type index_GetOpenSymbolListResponseInner as GetOpenSymbolListResponseInner, type index_GetSpotDelistScheduleResponse as GetSpotDelistScheduleResponse, type index_GetSpotDelistScheduleResponseInner as GetSpotDelistScheduleResponseInner, type index_GetSymbolsDelistScheduleForSpotRequest as GetSymbolsDelistScheduleForSpotRequest, type index_GetSymbolsDelistScheduleForSpotResponse as GetSymbolsDelistScheduleForSpotResponse, type index_GetSymbolsDelistScheduleForSpotResponseInner as GetSymbolsDelistScheduleForSpotResponseInner, type index_OnboardedVaspListResponse as OnboardedVaspListResponse, type index_OnboardedVaspListResponseInner as OnboardedVaspListResponseInner, type index_OneClickArrivalDepositApplyRequest as OneClickArrivalDepositApplyRequest, type index_OneClickArrivalDepositApplyResponse as OneClickArrivalDepositApplyResponse, index_OthersApi as OthersApi, type index_OthersApiInterface as OthersApiInterface, type index_QueryUserDelegationHistoryRequest as QueryUserDelegationHistoryRequest, type index_QueryUserDelegationHistoryResponse as QueryUserDelegationHistoryResponse, type index_QueryUserDelegationHistoryResponseRowsInner as QueryUserDelegationHistoryResponseRowsInner, type index_QueryUserUniversalTransferHistoryRequest as QueryUserUniversalTransferHistoryRequest, type index_QueryUserUniversalTransferHistoryResponse as QueryUserUniversalTransferHistoryResponse, type index_QueryUserUniversalTransferHistoryResponseRowsInner as QueryUserUniversalTransferHistoryResponseRowsInner, type index_QueryUserWalletBalanceRequest as QueryUserWalletBalanceRequest, type index_QueryUserWalletBalanceResponse as QueryUserWalletBalanceResponse, type index_QueryUserWalletBalanceResponseInner as QueryUserWalletBalanceResponseInner, index_RestAPI as RestAPI, type index_SubmitDepositQuestionnaireRequest as SubmitDepositQuestionnaireRequest, type index_SubmitDepositQuestionnaireResponse as SubmitDepositQuestionnaireResponse, type index_SubmitDepositQuestionnaireTravelRuleRequest as SubmitDepositQuestionnaireTravelRuleRequest, type index_SubmitDepositQuestionnaireTravelRuleResponse as SubmitDepositQuestionnaireTravelRuleResponse, type index_SystemStatusResponse as SystemStatusResponse, type index_ToggleBnbBurnOnSpotTradeAndMarginInterestRequest as ToggleBnbBurnOnSpotTradeAndMarginInterestRequest, type index_ToggleBnbBurnOnSpotTradeAndMarginInterestResponse as ToggleBnbBurnOnSpotTradeAndMarginInterestResponse, type index_TradeFeeRequest as TradeFeeRequest, type index_TradeFeeResponse as TradeFeeResponse, type index_TradeFeeResponseInner as TradeFeeResponseInner, index_TravelRuleApi as TravelRuleApi, type index_TravelRuleApiInterface as TravelRuleApiInterface, type index_UserAssetRequest as UserAssetRequest, type index_UserAssetResponse as UserAssetResponse, type index_UserAssetResponseInner as UserAssetResponseInner, type index_UserUniversalTransferRequest as UserUniversalTransferRequest, type index_UserUniversalTransferResponse as UserUniversalTransferResponse, type index_WithdrawHistoryRequest as WithdrawHistoryRequest, type index_WithdrawHistoryResponse as WithdrawHistoryResponse, type index_WithdrawHistoryResponseInner as WithdrawHistoryResponseInner, type index_WithdrawHistoryV1Request as WithdrawHistoryV1Request, type index_WithdrawHistoryV1Response as WithdrawHistoryV1Response, type index_WithdrawHistoryV2Request as WithdrawHistoryV2Request, type index_WithdrawHistoryV2Response as WithdrawHistoryV2Response, type index_WithdrawHistoryV2ResponseInner as WithdrawHistoryV2ResponseInner, type index_WithdrawRequest as WithdrawRequest, type index_WithdrawResponse as WithdrawResponse, type index_WithdrawTravelRuleRequest as WithdrawTravelRuleRequest, type index_WithdrawTravelRuleResponse as WithdrawTravelRuleResponse };
7352
7380
  }
7353
7381
 
7354
7382
  interface ConfigurationWallet {
package/dist/index.js CHANGED
@@ -42,7 +42,7 @@ var import_common7 = require("@binance/common");
42
42
 
43
43
  // package.json
44
44
  var name = "@binance/wallet";
45
- var version = "2.0.1";
45
+ var version = "4.0.0";
46
46
 
47
47
  // src/rest-api/index.ts
48
48
  var rest_api_exports = {};
@@ -1723,6 +1723,26 @@ var CapitalApiAxiosParamCreator = function(configuration) {
1723
1723
  timeUnit: _timeUnit
1724
1724
  };
1725
1725
  },
1726
+ /**
1727
+ * Fetch withdraw quota
1728
+ *
1729
+ * Weight: 10
1730
+ *
1731
+ * @summary Fetch withdraw quota (USER_DATA)
1732
+ *
1733
+ * @throws {RequiredError}
1734
+ */
1735
+ fetchWithdrawQuota: async () => {
1736
+ const localVarQueryParameter = {};
1737
+ let _timeUnit;
1738
+ if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
1739
+ return {
1740
+ endpoint: "/sapi/v1/capital/withdraw/quota",
1741
+ method: "GET",
1742
+ params: localVarQueryParameter,
1743
+ timeUnit: _timeUnit
1744
+ };
1745
+ },
1726
1746
  /**
1727
1747
  * Apply deposit credit for expired address (One click arrival)
1728
1748
  *
@@ -2045,6 +2065,28 @@ var CapitalApi = class {
2045
2065
  { isSigned: true }
2046
2066
  );
2047
2067
  }
2068
+ /**
2069
+ * Fetch withdraw quota
2070
+ *
2071
+ * Weight: 10
2072
+ *
2073
+ * @summary Fetch withdraw quota (USER_DATA)
2074
+ * @returns {Promise<RestApiResponse<FetchWithdrawQuotaResponse>>}
2075
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2076
+ * @memberof CapitalApi
2077
+ * @see {@link https://developers.binance.com/docs/wallet/capital/Fetch-withdraw-quota Binance API Documentation}
2078
+ */
2079
+ async fetchWithdrawQuota() {
2080
+ const localVarAxiosArgs = await this.localVarAxiosParamCreator.fetchWithdrawQuota();
2081
+ return (0, import_common3.sendRequest)(
2082
+ this.configuration,
2083
+ localVarAxiosArgs.endpoint,
2084
+ localVarAxiosArgs.method,
2085
+ localVarAxiosArgs.params,
2086
+ localVarAxiosArgs?.timeUnit,
2087
+ { isSigned: true }
2088
+ );
2089
+ }
2048
2090
  /**
2049
2091
  * Apply deposit credit for expired address (One click arrival)
2050
2092
  *
@@ -2275,7 +2317,6 @@ var TravelRuleApiAxiosParamCreator = function(configuration) {
2275
2317
  * Weight: 600
2276
2318
  *
2277
2319
  * @summary Broker Withdraw (for brokers of local entities that require travel rule) (USER_DATA)
2278
- * @param {string} subAccountId External user ID.
2279
2320
  * @param {string} address
2280
2321
  * @param {string} coin
2281
2322
  * @param {number} amount
@@ -2291,8 +2332,7 @@ var TravelRuleApiAxiosParamCreator = function(configuration) {
2291
2332
  *
2292
2333
  * @throws {RequiredError}
2293
2334
  */
2294
- brokerWithdraw: async (subAccountId, address, coin, amount, withdrawOrderId, questionnaire, originatorPii, signature, addressTag, network, addressName, transactionFeeFlag, walletType) => {
2295
- (0, import_common5.assertParamExists)("brokerWithdraw", "subAccountId", subAccountId);
2335
+ brokerWithdraw: async (address, coin, amount, withdrawOrderId, questionnaire, originatorPii, signature, addressTag, network, addressName, transactionFeeFlag, walletType) => {
2296
2336
  (0, import_common5.assertParamExists)("brokerWithdraw", "address", address);
2297
2337
  (0, import_common5.assertParamExists)("brokerWithdraw", "coin", coin);
2298
2338
  (0, import_common5.assertParamExists)("brokerWithdraw", "amount", amount);
@@ -2301,9 +2341,6 @@ var TravelRuleApiAxiosParamCreator = function(configuration) {
2301
2341
  (0, import_common5.assertParamExists)("brokerWithdraw", "originatorPii", originatorPii);
2302
2342
  (0, import_common5.assertParamExists)("brokerWithdraw", "signature", signature);
2303
2343
  const localVarQueryParameter = {};
2304
- if (subAccountId !== void 0 && subAccountId !== null) {
2305
- localVarQueryParameter["subAccountId"] = subAccountId;
2306
- }
2307
2344
  if (address !== void 0 && address !== null) {
2308
2345
  localVarQueryParameter["address"] = address;
2309
2346
  }
@@ -2802,7 +2839,6 @@ var TravelRuleApi = class {
2802
2839
  */
2803
2840
  async brokerWithdraw(requestParameters) {
2804
2841
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.brokerWithdraw(
2805
- requestParameters?.subAccountId,
2806
2842
  requestParameters?.address,
2807
2843
  requestParameters?.coin,
2808
2844
  requestParameters?.amount,
@@ -3594,6 +3630,19 @@ var RestAPI = class {
3594
3630
  fetchWithdrawAddressList() {
3595
3631
  return this.capitalApi.fetchWithdrawAddressList();
3596
3632
  }
3633
+ /**
3634
+ * Fetch withdraw quota
3635
+ *
3636
+ * Weight: 10
3637
+ *
3638
+ * @summary Fetch withdraw quota (USER_DATA)
3639
+ * @returns {Promise<RestApiResponse<FetchWithdrawQuotaResponse>>}
3640
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3641
+ * @see {@link https://developers.binance.com/docs/wallet/capital/Fetch-withdraw-quota Binance API Documentation}
3642
+ */
3643
+ fetchWithdrawQuota() {
3644
+ return this.capitalApi.fetchWithdrawQuota();
3645
+ }
3597
3646
  /**
3598
3647
  * Apply deposit credit for expired address (One click arrival)
3599
3648
  *