@binance/wallet 21.0.0 → 22.0.1

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.js CHANGED
@@ -14,14 +14,14 @@ let __binance_common = require("@binance/common");
14
14
 
15
15
  //#region package.json
16
16
  var name = "@binance/wallet";
17
- var version = "21.0.0";
17
+ var version = "22.0.1";
18
18
 
19
19
  //#endregion
20
20
  //#region src/rest-api/modules/account-api.ts
21
21
  /**
22
- * Binance Wallet REST API
22
+ * Wallet REST API
23
23
  *
24
- * OpenAPI Specification for the Binance Wallet REST API
24
+ * Query balances, manage assets, and perform wallet operations via the Binance Wallet API.
25
25
  *
26
26
  * The version of the OpenAPI document: 1.0.0
27
27
  *
@@ -166,14 +166,16 @@ var AccountApi = class {
166
166
  /**
167
167
  * Fetch account api trading status detail.
168
168
  *
169
- * Weight: 1
169
+ * Weight(IP): 1
170
+ *
171
+ * Security Type: USER_DATA
170
172
  *
171
173
  * @summary Account API Trading Status (USER_DATA)
172
174
  * @param {AccountApiTradingStatusRequest} requestParameters Request parameters.
173
175
  * @returns {Promise<RestApiResponse<AccountApiTradingStatusResponse>>}
174
176
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
175
177
  * @memberof AccountApi
176
- * @see {@link https://developers.binance.com/docs/wallet/account/Account-API-Trading-Status Binance API Documentation}
178
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/account#account-api-trading-status Binance API Documentation}
177
179
  */
178
180
  async accountApiTradingStatus(requestParameters = {}) {
179
181
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.accountApiTradingStatus(requestParameters?.recvWindow);
@@ -182,14 +184,16 @@ var AccountApi = class {
182
184
  /**
183
185
  * Fetch account info detail.
184
186
  *
185
- * Weight: 1
187
+ * Weight(IP): 1
188
+ *
189
+ * Security Type: USER_DATA
186
190
  *
187
191
  * @summary Account info (USER_DATA)
188
192
  * @param {AccountInfoRequest} requestParameters Request parameters.
189
193
  * @returns {Promise<RestApiResponse<AccountInfoResponse>>}
190
194
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
191
195
  * @memberof AccountApi
192
- * @see {@link https://developers.binance.com/docs/wallet/account/Account-info Binance API Documentation}
196
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/account#account-info Binance API Documentation}
193
197
  */
194
198
  async accountInfo(requestParameters = {}) {
195
199
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.accountInfo(requestParameters?.recvWindow);
@@ -198,14 +202,16 @@ var AccountApi = class {
198
202
  /**
199
203
  * Fetch account status detail.
200
204
  *
201
- * Weight: 1
205
+ * Weight(IP): 1
206
+ *
207
+ * Security Type: USER_DATA
202
208
  *
203
209
  * @summary Account Status (USER_DATA)
204
210
  * @param {AccountStatusRequest} requestParameters Request parameters.
205
211
  * @returns {Promise<RestApiResponse<AccountStatusResponse>>}
206
212
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
207
213
  * @memberof AccountApi
208
- * @see {@link https://developers.binance.com/docs/wallet/account/Account-Status Binance API Documentation}
214
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/account#account-status Binance API Documentation}
209
215
  */
210
216
  async accountStatus(requestParameters = {}) {
211
217
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.accountStatus(requestParameters?.recvWindow);
@@ -214,33 +220,42 @@ var AccountApi = class {
214
220
  /**
215
221
  * Daily account snapshot
216
222
  *
217
- * The query time period must be less then 30 days
218
- * Support query within the last one month only
219
- * If startTimeand endTime not sent, return records of the last 7 days by default
223
+ * Weight(IP): 2400
220
224
  *
221
- * Weight: 2400
225
+ * Security Type: USER_DATA
226
+ *
227
+ * Notes:
228
+ * - The query time period must be less then 30 days
229
+ * - Support query within the last one month only
230
+ * - If startTimeand endTime not sent, return records of the last 7 days by default
222
231
  *
223
232
  * @summary Daily Account Snapshot (USER_DATA)
224
233
  * @param {DailyAccountSnapshotRequest} requestParameters Request parameters.
225
234
  * @returns {Promise<RestApiResponse<DailyAccountSnapshotResponse>>}
226
235
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
227
236
  * @memberof AccountApi
228
- * @see {@link https://developers.binance.com/docs/wallet/account/daily-account-snapshoot Binance API Documentation}
237
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/account#daily-account-snapshot Binance API Documentation}
229
238
  */
230
239
  async dailyAccountSnapshot(requestParameters) {
231
240
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.dailyAccountSnapshot(requestParameters?.type, requestParameters?.startTime, requestParameters?.endTime, requestParameters?.limit, requestParameters?.recvWindow);
232
241
  return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.queryParams, localVarAxiosArgs.bodyParams, localVarAxiosArgs.headerParams, localVarAxiosArgs?.timeUnit, { isSigned: true });
233
242
  }
234
243
  /**
244
+ * Disable Fast Withdraw Switch
245
+ *
246
+ * Weight(IP): 1
247
+ *
248
+ * Security Type: USER_DATA
235
249
  *
236
- * Weight: 1
250
+ * Notes:
251
+ * - This request will disable fastwithdraw switch under your account. You need to enable "trade" option for the api key which requests this endpoint.
237
252
  *
238
253
  * @summary Disable Fast Withdraw Switch (USER_DATA)
239
254
  * @param {DisableFastWithdrawSwitchRequest} requestParameters Request parameters.
240
255
  * @returns {Promise<RestApiResponse<void>>}
241
256
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
242
257
  * @memberof AccountApi
243
- * @see {@link https://developers.binance.com/docs/wallet/account/Disable-Fast-Withdraw-Switch Binance API Documentation}
258
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/account#disable-fast-withdraw-switch Binance API Documentation}
244
259
  */
245
260
  async disableFastWithdrawSwitch(requestParameters = {}) {
246
261
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.disableFastWithdrawSwitch(requestParameters?.recvWindow);
@@ -249,17 +264,20 @@ var AccountApi = class {
249
264
  /**
250
265
  * Enable Fast Withdraw Switch (USER_DATA)
251
266
  *
252
- * This request will enable fastwithdraw switch under your account. <br></br>
253
- * 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.
267
+ * Weight(IP): 1
254
268
  *
255
- * Weight: 1
269
+ * Security Type: USER_DATA
270
+ *
271
+ * Notes:
272
+ * - This request will enable fastwithdraw switch under your account. You need to enable "trade" option for the api key which requests this endpoint.
273
+ * - 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.
256
274
  *
257
275
  * @summary Enable Fast Withdraw Switch (USER_DATA)
258
276
  * @param {EnableFastWithdrawSwitchRequest} requestParameters Request parameters.
259
277
  * @returns {Promise<RestApiResponse<void>>}
260
278
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
261
279
  * @memberof AccountApi
262
- * @see {@link https://developers.binance.com/docs/wallet/account/Enable-Fast-Withdraw-Switch Binance API Documentation}
280
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/account#enable-fast-withdraw-switch Binance API Documentation}
263
281
  */
264
282
  async enableFastWithdrawSwitch(requestParameters = {}) {
265
283
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.enableFastWithdrawSwitch(requestParameters?.recvWindow);
@@ -268,27 +286,35 @@ var AccountApi = class {
268
286
  /**
269
287
  * Get API Key Permission
270
288
  *
271
- * Weight: 1
289
+ * Weight(IP): 1
290
+ *
291
+ * Security Type: USER_DATA
272
292
  *
273
293
  * @summary Get API Key Permission (USER_DATA)
274
294
  * @param {GetApiKeyPermissionRequest} requestParameters Request parameters.
275
295
  * @returns {Promise<RestApiResponse<GetApiKeyPermissionResponse>>}
276
296
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
277
297
  * @memberof AccountApi
278
- * @see {@link https://developers.binance.com/docs/wallet/account/api-key-permission Binance API Documentation}
298
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/account#get-api-key-permission Binance API Documentation}
279
299
  */
280
300
  async getApiKeyPermission(requestParameters = {}) {
281
301
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.getApiKeyPermission(requestParameters?.recvWindow);
282
302
  return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.queryParams, localVarAxiosArgs.bodyParams, localVarAxiosArgs.headerParams, localVarAxiosArgs?.timeUnit, { isSigned: true });
283
303
  }
284
304
  };
305
+ let DailyAccountSnapshotTypeEnum = /* @__PURE__ */ function(DailyAccountSnapshotTypeEnum$1) {
306
+ DailyAccountSnapshotTypeEnum$1["SPOT"] = "SPOT";
307
+ DailyAccountSnapshotTypeEnum$1["MARGIN"] = "MARGIN";
308
+ DailyAccountSnapshotTypeEnum$1["FUTURES"] = "FUTURES";
309
+ return DailyAccountSnapshotTypeEnum$1;
310
+ }({});
285
311
 
286
312
  //#endregion
287
313
  //#region src/rest-api/modules/asset-api.ts
288
314
  /**
289
- * Binance Wallet REST API
315
+ * Wallet REST API
290
316
  *
291
- * OpenAPI Specification for the Binance Wallet REST API
317
+ * Query balances, manage assets, and perform wallet operations via the Binance Wallet API.
292
318
  *
293
319
  * The version of the OpenAPI document: 1.0.0
294
320
  *
@@ -650,17 +676,19 @@ var AssetApi = class {
650
676
  /**
651
677
  * Fetch details of assets supported on Binance.
652
678
  *
679
+ * Weight(IP): 1
653
680
  *
654
- * Please get network and other deposit or withdraw details from ``GET /sapi/v1/capital/config/getall``.
681
+ * Security Type: USER_DATA
655
682
  *
656
- * Weight: 1
683
+ * Notes:
684
+ * - Please get network and other deposit or withdraw details from `GET /sapi/v1/capital/config/getall`.
657
685
  *
658
686
  * @summary Asset Detail (USER_DATA)
659
687
  * @param {AssetDetailRequest} requestParameters Request parameters.
660
688
  * @returns {Promise<RestApiResponse<AssetDetailResponse>>}
661
689
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
662
690
  * @memberof AssetApi
663
- * @see {@link https://developers.binance.com/docs/wallet/asset/Asset-Detail Binance API Documentation}
691
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/asset#asset-detail Binance API Documentation}
664
692
  */
665
693
  async assetDetail(requestParameters = {}) {
666
694
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.assetDetail(requestParameters?.asset, requestParameters?.recvWindow);
@@ -669,17 +697,19 @@ var AssetApi = class {
669
697
  /**
670
698
  * Query asset dividend record.
671
699
  *
700
+ * Weight(IP): 10
672
701
  *
673
- * There cannot be more than 180 days between parameter `startTime` and `endTime`.
702
+ * Security Type: USER_DATA
674
703
  *
675
- * Weight: 10
704
+ * Notes:
705
+ * - There cannot be more than 180 days between parameter `startTime` and `endTime`.
676
706
  *
677
707
  * @summary Asset Dividend Record (USER_DATA)
678
708
  * @param {AssetDividendRecordRequest} requestParameters Request parameters.
679
709
  * @returns {Promise<RestApiResponse<AssetDividendRecordResponse>>}
680
710
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
681
711
  * @memberof AssetApi
682
- * @see {@link https://developers.binance.com/docs/wallet/asset/assets-divided-record Binance API Documentation}
712
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/asset#asset-dividend-record Binance API Documentation}
683
713
  */
684
714
  async assetDividendRecord(requestParameters = {}) {
685
715
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.assetDividendRecord(requestParameters?.asset, requestParameters?.startTime, requestParameters?.endTime, requestParameters?.limit, requestParameters?.recvWindow);
@@ -688,14 +718,16 @@ var AssetApi = class {
688
718
  /**
689
719
  * Convert dust assets
690
720
  *
691
- * Weight: 10
721
+ * Weight(UID): 10
722
+ *
723
+ * Security Type: USER_DATA
692
724
  *
693
725
  * @summary Dust Convert (USER_DATA)
694
726
  * @param {DustConvertRequest} requestParameters Request parameters.
695
727
  * @returns {Promise<RestApiResponse<DustConvertResponse>>}
696
728
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
697
729
  * @memberof AssetApi
698
- * @see {@link https://developers.binance.com/docs/wallet/asset/Dust-Convert Binance API Documentation}
730
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/asset#dust-convert Binance API Documentation}
699
731
  */
700
732
  async dustConvert(requestParameters) {
701
733
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.dustConvert(requestParameters?.asset, requestParameters?.accountType, requestParameters?.clientId, requestParameters?.targetAsset, requestParameters?.thirdPartyClientId, requestParameters?.dustQuotaAssetToTargetAssetPrice);
@@ -704,14 +736,16 @@ var AssetApi = class {
704
736
  /**
705
737
  * Query dust convertible assets
706
738
  *
707
- * Weight: 1
739
+ * Weight(IP): 1
740
+ *
741
+ * Security Type: USER_DATA
708
742
  *
709
743
  * @summary Dust Convertible Assets (USER_DATA)
710
744
  * @param {DustConvertibleAssetsRequest} requestParameters Request parameters.
711
745
  * @returns {Promise<RestApiResponse<DustConvertibleAssetsResponse>>}
712
746
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
713
747
  * @memberof AssetApi
714
- * @see {@link https://developers.binance.com/docs/wallet/asset/Dust-Convertible-Assets Binance API Documentation}
748
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/asset#dust-convertible-assets Binance API Documentation}
715
749
  */
716
750
  async dustConvertibleAssets(requestParameters) {
717
751
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.dustConvertibleAssets(requestParameters?.targetAsset, requestParameters?.accountType, requestParameters?.dustQuotaAssetToTargetAssetPrice);
@@ -720,16 +754,19 @@ var AssetApi = class {
720
754
  /**
721
755
  * Convert dust assets to BNB.
722
756
  *
723
- * You need to open`Enable Spot & Margin Trading` permission for the API Key which requests this endpoint.
757
+ * Weight(UID): 10
758
+ *
759
+ * Security Type: USER_DATA
724
760
  *
725
- * Weight: 10
761
+ * Notes:
762
+ * - You need to open`Enable Spot & Margin Trading` permission for the API Key which requests this endpoint.
726
763
  *
727
764
  * @summary Dust Transfer (USER_DATA)
728
765
  * @param {DustTransferRequest} requestParameters Request parameters.
729
766
  * @returns {Promise<RestApiResponse<DustTransferResponse>>}
730
767
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
731
768
  * @memberof AssetApi
732
- * @see {@link https://developers.binance.com/docs/wallet/asset/Dust-Transfer Binance API Documentation}
769
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/asset#dust-transfer Binance API Documentation}
733
770
  */
734
771
  async dustTransfer(requestParameters) {
735
772
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.dustTransfer(requestParameters?.asset, requestParameters?.accountType, requestParameters?.recvWindow);
@@ -738,17 +775,20 @@ var AssetApi = class {
738
775
  /**
739
776
  * Dustlog
740
777
  *
741
- * Only return last 100 records
742
- * Only return records after 2020/12/01
778
+ * Weight(IP): 1
743
779
  *
744
- * Weight: 1
780
+ * Security Type: USER_DATA
745
781
  *
746
- * @summary DustLog(USER_DATA)
782
+ * Notes:
783
+ * - Only return last 100 records
784
+ * - Only return records after 2020/12/01
785
+ *
786
+ * @summary DustLog (USER_DATA)
747
787
  * @param {DustlogRequest} requestParameters Request parameters.
748
788
  * @returns {Promise<RestApiResponse<DustlogResponse>>}
749
789
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
750
790
  * @memberof AssetApi
751
- * @see {@link https://developers.binance.com/docs/wallet/asset/dust-log Binance API Documentation}
791
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/asset#dustlog Binance API Documentation}
752
792
  */
753
793
  async dustlog(requestParameters = {}) {
754
794
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.dustlog(requestParameters?.accountType, requestParameters?.startTime, requestParameters?.endTime, requestParameters?.recvWindow);
@@ -757,17 +797,19 @@ var AssetApi = class {
757
797
  /**
758
798
  * Query Funding Wallet
759
799
  *
800
+ * Weight(IP): 1
760
801
  *
761
- * Currently supports querying the following business assets:Binance Pay, Binance Card, Binance Gift Card, Stock Token
802
+ * Security Type: USER_DATA
762
803
  *
763
- * Weight: 1
804
+ * Notes:
805
+ * - Currently supports querying the following business assets:Binance Pay, Binance Card, Binance Gift Card, Stock Token
764
806
  *
765
807
  * @summary Funding Wallet (USER_DATA)
766
808
  * @param {FundingWalletRequest} requestParameters Request parameters.
767
809
  * @returns {Promise<RestApiResponse<FundingWalletResponse>>}
768
810
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
769
811
  * @memberof AssetApi
770
- * @see {@link https://developers.binance.com/docs/wallet/asset/Funding-Wallet Binance API Documentation}
812
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/asset#funding-wallet Binance API Documentation}
771
813
  */
772
814
  async fundingWallet(requestParameters = {}) {
773
815
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.fundingWallet(requestParameters?.asset, requestParameters?.needBtcValuation, requestParameters?.recvWindow);
@@ -776,14 +818,16 @@ var AssetApi = class {
776
818
  /**
777
819
  * Get Assets That Can Be Converted Into BNB
778
820
  *
779
- * Weight: 1
821
+ * Weight(IP): 1
822
+ *
823
+ * Security Type: USER_DATA
780
824
  *
781
825
  * @summary Get Assets That Can Be Converted Into BNB (USER_DATA)
782
826
  * @param {GetAssetsThatCanBeConvertedIntoBnbRequest} requestParameters Request parameters.
783
827
  * @returns {Promise<RestApiResponse<GetAssetsThatCanBeConvertedIntoBnbResponse>>}
784
828
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
785
829
  * @memberof AssetApi
786
- * @see {@link https://developers.binance.com/docs/wallet/asset/assets-can-convert-bnb Binance API Documentation}
830
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/asset#get-assets-that-can-be-converted-into-bnb Binance API Documentation}
787
831
  */
788
832
  async getAssetsThatCanBeConvertedIntoBnb(requestParameters = {}) {
789
833
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.getAssetsThatCanBeConvertedIntoBnb(requestParameters?.accountType, requestParameters?.recvWindow);
@@ -792,32 +836,38 @@ var AssetApi = class {
792
836
  /**
793
837
  * The query of Cloud-Mining payment and refund history
794
838
  *
795
- * Just return the SUCCESS records of payment and refund.
796
- * For response, type = 248 means payment, type = 249 means refund, status =S means SUCCESS.
839
+ * Weight(UID): 600
840
+ *
841
+ * Security Type: USER_DATA
797
842
  *
798
- * Weight: 600
843
+ * Notes:
844
+ * - Just return the SUCCESS records of payment and refund.
845
+ * - For response, type = 248 means payment, type = 249 means refund, status =S means SUCCESS.
799
846
  *
800
847
  * @summary Get Cloud-Mining payment and refund history (USER_DATA)
801
848
  * @param {GetCloudMiningPaymentAndRefundHistoryRequest} requestParameters Request parameters.
802
849
  * @returns {Promise<RestApiResponse<GetCloudMiningPaymentAndRefundHistoryResponse>>}
803
850
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
804
851
  * @memberof AssetApi
805
- * @see {@link https://developers.binance.com/docs/wallet/asset/cloud-mining-payment-and-refund-history Binance API Documentation}
852
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/asset#get-cloud-mining-payment-and-refund-history Binance API Documentation}
806
853
  */
807
854
  async getCloudMiningPaymentAndRefundHistory(requestParameters) {
808
855
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.getCloudMiningPaymentAndRefundHistory(requestParameters?.startTime, requestParameters?.endTime, requestParameters?.tranId, requestParameters?.clientTranId, requestParameters?.asset, requestParameters?.current, requestParameters?.size);
809
856
  return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.queryParams, localVarAxiosArgs.bodyParams, localVarAxiosArgs.headerParams, localVarAxiosArgs?.timeUnit, { isSigned: true });
810
857
  }
811
858
  /**
812
- * Get the list of symbols that are scheduled to be opened for trading in the market.
859
+ * Get the list of symbols that are scheduled to be opened for trading in
860
+ * the market.
813
861
  *
814
- * Weight: 100
862
+ * Weight(IP): 100
863
+ *
864
+ * Security Type: MARKET_DATA
815
865
  *
816
866
  * @summary Get Open Symbol List (MARKET_DATA)
817
867
  * @returns {Promise<RestApiResponse<GetOpenSymbolListResponse>>}
818
868
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
819
869
  * @memberof AssetApi
820
- * @see {@link https://developers.binance.com/docs/wallet/asset/open-symbol-list Binance API Documentation}
870
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/asset#get-open-symbol-list Binance API Documentation}
821
871
  */
822
872
  async getOpenSymbolList() {
823
873
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.getOpenSymbolList();
@@ -826,14 +876,16 @@ var AssetApi = class {
826
876
  /**
827
877
  * Query User Delegation History
828
878
  *
829
- * Weight: 60
879
+ * Weight(IP): 60
880
+ *
881
+ * Security Type: USER_DATA
830
882
  *
831
- * @summary Query User Delegation History(For Master Account)(USER_DATA)
883
+ * @summary Query User Delegation History(For Master Account) (USER_DATA)
832
884
  * @param {QueryUserDelegationHistoryRequest} requestParameters Request parameters.
833
885
  * @returns {Promise<RestApiResponse<QueryUserDelegationHistoryResponse>>}
834
886
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
835
887
  * @memberof AssetApi
836
- * @see {@link https://developers.binance.com/docs/wallet/asset/query-user-delegation Binance API Documentation}
888
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/asset#query-user-delegation-history Binance API Documentation}
837
889
  */
838
890
  async queryUserDelegationHistory(requestParameters) {
839
891
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.queryUserDelegationHistory(requestParameters?.email, requestParameters?.startTime, requestParameters?.endTime, requestParameters?.type, requestParameters?.asset, requestParameters?.current, requestParameters?.size, requestParameters?.recvWindow);
@@ -842,20 +894,22 @@ var AssetApi = class {
842
894
  /**
843
895
  * Query User Universal Transfer History
844
896
  *
897
+ * Weight(IP): 1
845
898
  *
846
- * `fromSymbol` must be sent when type are ISOLATEDMARGIN_MARGIN and ISOLATEDMARGIN_ISOLATEDMARGIN
847
- * `toSymbol` must be sent when type are MARGIN_ISOLATEDMARGIN and ISOLATEDMARGIN_ISOLATEDMARGIN
848
- * Support query within the last 6 months only
849
- * If `startTime`and `endTime` not sent, return records of the last 7 days by default
899
+ * Security Type: USER_DATA
850
900
  *
851
- * Weight: 1
901
+ * Notes:
902
+ * - `fromSymbol` must be sent when type are ISOLATEDMARGIN_MARGIN and ISOLATEDMARGIN_ISOLATEDMARGIN
903
+ * - `toSymbol` must be sent when type are MARGIN_ISOLATEDMARGIN and ISOLATEDMARGIN_ISOLATEDMARGIN
904
+ * - Support query within the last 6 months only
905
+ * - If `startTime`and `endTime` not sent, return records of the last 7 days by default
852
906
  *
853
- * @summary Query User Universal Transfer History(USER_DATA)
907
+ * @summary Query User Universal Transfer History (USER_DATA)
854
908
  * @param {QueryUserUniversalTransferHistoryRequest} requestParameters Request parameters.
855
909
  * @returns {Promise<RestApiResponse<QueryUserUniversalTransferHistoryResponse>>}
856
910
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
857
911
  * @memberof AssetApi
858
- * @see {@link https://developers.binance.com/docs/wallet/asset/query-user-universal-transfer Binance API Documentation}
912
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/asset#query-user-universal-transfer-history Binance API Documentation}
859
913
  */
860
914
  async queryUserUniversalTransferHistory(requestParameters) {
861
915
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.queryUserUniversalTransferHistory(requestParameters?.type, requestParameters?.startTime, requestParameters?.endTime, requestParameters?.current, requestParameters?.size, requestParameters?.fromSymbol, requestParameters?.toSymbol, requestParameters?.recvWindow);
@@ -864,14 +918,16 @@ var AssetApi = class {
864
918
  /**
865
919
  * Query User Wallet Balance
866
920
  *
867
- * Weight: 60
921
+ * Weight(IP): 60
922
+ *
923
+ * Security Type: USER_DATA
868
924
  *
869
925
  * @summary Query User Wallet Balance (USER_DATA)
870
926
  * @param {QueryUserWalletBalanceRequest} requestParameters Request parameters.
871
927
  * @returns {Promise<RestApiResponse<QueryUserWalletBalanceResponse>>}
872
928
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
873
929
  * @memberof AssetApi
874
- * @see {@link https://developers.binance.com/docs/wallet/asset/Query-User-Wallet-Balance Binance API Documentation}
930
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/asset#query-user-wallet-balance Binance API Documentation}
875
931
  */
876
932
  async queryUserWalletBalance(requestParameters = {}) {
877
933
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.queryUserWalletBalance(requestParameters?.quoteAsset, requestParameters?.recvWindow);
@@ -880,16 +936,19 @@ var AssetApi = class {
880
936
  /**
881
937
  * Toggle BNB Burn On Spot Trade And Margin Interest
882
938
  *
883
- * "spotBNBBurn" and "interestBNBBurn" should be sent at least one.
939
+ * Weight(IP): 1
884
940
  *
885
- * Weight: 1(IP)
941
+ * Security Type: USER_DATA
942
+ *
943
+ * Notes:
944
+ * - "spotBNBBurn" and "interestBNBBurn" should be sent at least one.
886
945
  *
887
946
  * @summary Toggle BNB Burn On Spot Trade And Margin Interest (USER_DATA)
888
947
  * @param {ToggleBnbBurnOnSpotTradeAndMarginInterestRequest} requestParameters Request parameters.
889
948
  * @returns {Promise<RestApiResponse<ToggleBnbBurnOnSpotTradeAndMarginInterestResponse>>}
890
949
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
891
950
  * @memberof AssetApi
892
- * @see {@link https://developers.binance.com/docs/wallet/asset/Toggle-BNB-Burn-On-Spot-Trade-And-Margin-Interest Binance API Documentation}
951
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/asset#toggle-bnb-burn-on-spot-trade-and-margin-interest Binance API Documentation}
893
952
  */
894
953
  async toggleBnbBurnOnSpotTradeAndMarginInterest(requestParameters = {}) {
895
954
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.toggleBnbBurnOnSpotTradeAndMarginInterest(requestParameters?.spotBNBBurn, requestParameters?.interestBNBBurn, requestParameters?.recvWindow);
@@ -898,14 +957,16 @@ var AssetApi = class {
898
957
  /**
899
958
  * Fetch trade fee
900
959
  *
901
- * Weight: 1
960
+ * Weight(IP): 1
961
+ *
962
+ * Security Type: USER_DATA
902
963
  *
903
964
  * @summary Trade Fee (USER_DATA)
904
965
  * @param {TradeFeeRequest} requestParameters Request parameters.
905
966
  * @returns {Promise<RestApiResponse<TradeFeeResponse>>}
906
967
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
907
968
  * @memberof AssetApi
908
- * @see {@link https://developers.binance.com/docs/wallet/asset/Trade-Fee Binance API Documentation}
969
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/asset#trade-fee Binance API Documentation}
909
970
  */
910
971
  async tradeFee(requestParameters = {}) {
911
972
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.tradeFee(requestParameters?.symbol, requestParameters?.recvWindow);
@@ -914,81 +975,162 @@ var AssetApi = class {
914
975
  /**
915
976
  * Get user assets, just for positive data.
916
977
  *
917
- * If asset is set, then return this asset, otherwise return all assets positive.
918
- * If needBtcValuation is set, then return btcValudation.
978
+ * Weight(IP): 5
979
+ *
980
+ * Security Type: USER_DATA
919
981
  *
920
- * Weight: 5
982
+ * Notes:
983
+ * - If asset is set, then return this asset, otherwise return all assets positive.
984
+ * - If needBtcValuation is set, then return btcValudation.
921
985
  *
922
986
  * @summary User Asset (USER_DATA)
923
987
  * @param {UserAssetRequest} requestParameters Request parameters.
924
988
  * @returns {Promise<RestApiResponse<UserAssetResponse>>}
925
989
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
926
990
  * @memberof AssetApi
927
- * @see {@link https://developers.binance.com/docs/wallet/asset/user-assets Binance API Documentation}
991
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/asset#user-asset Binance API Documentation}
928
992
  */
929
993
  async userAsset(requestParameters = {}) {
930
994
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.userAsset(requestParameters?.asset, requestParameters?.needBtcValuation, requestParameters?.recvWindow);
931
995
  return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.queryParams, localVarAxiosArgs.bodyParams, localVarAxiosArgs.headerParams, localVarAxiosArgs?.timeUnit, { isSigned: true });
932
996
  }
933
997
  /**
934
- * user universal transfer
935
- *
936
- * `fromSymbol` must be sent when type are ISOLATEDMARGIN_MARGIN and ISOLATEDMARGIN_ISOLATEDMARGIN
937
- * `toSymbol` must be sent when type are MARGIN_ISOLATEDMARGIN and ISOLATEDMARGIN_ISOLATEDMARGIN
938
- * ENUM of transfer types:
939
- * MAIN_UMFUTURE Spot account transfer to USDⓈ-M Futures account
940
- * MAIN_CMFUTURE Spot account transfer to COIN-M Futures account
941
- * MAIN_MARGIN Spot account transfer to Margin(cross)account
942
- * UMFUTURE_MAIN USDⓈ-M Futures account transfer to Spot account
943
- * UMFUTURE_MARGIN USDⓈ-M Futures account transfer to Margin(cross)account
944
- * CMFUTURE_MAIN COIN-M Futures account transfer to Spot account
945
- * CMFUTURE_MARGIN COIN-M Futures account transfer to Margin(cross) account
946
- * MARGIN_MAIN Margin(cross)account transfer to Spot account
947
- * MARGIN_UMFUTURE Margin(cross)account transfer to USDⓈ-M Futures
948
- * MARGIN_CMFUTURE Margin(cross)account transfer to COIN-M Futures
949
- * ISOLATEDMARGIN_MARGIN Isolated margin account transfer to Margin(cross) account
950
- * MARGIN_ISOLATEDMARGIN Margin(cross) account transfer to Isolated margin account
951
- * ISOLATEDMARGIN_ISOLATEDMARGIN Isolated margin account transfer to Isolated margin account
952
- * MAIN_FUNDING Spot account transfer to Funding account
953
- * FUNDING_MAIN Funding account transfer to Spot account
954
- * FUNDING_UMFUTURE Funding account transfer to UMFUTURE account
955
- * UMFUTURE_FUNDING UMFUTURE account transfer to Funding account
956
- * MARGIN_FUNDING MARGIN account transfer to Funding account
957
- * FUNDING_MARGIN Funding account transfer to Margin account
958
- * FUNDING_CMFUTURE Funding account transfer to CMFUTURE account
959
- * CMFUTURE_FUNDING CMFUTURE account transfer to Funding account
960
- * MAIN_OPTION Spot account transfer to Options account
961
- * OPTION_MAIN Options account transfer to Spot account
962
- * UMFUTURE_OPTION USDⓈ-M Futures account transfer to Options account
963
- * OPTION_UMFUTURE Options account transfer to USDⓈ-M Futures account
964
- * MARGIN_OPTION Margin(cross)account transfer to Options account
965
- * OPTION_MARGIN Options account transfer to Margin(cross)account
966
- * FUNDING_OPTION Funding account transfer to Options account
967
- * OPTION_FUNDING Options account transfer to Funding account
968
- * MAIN_PORTFOLIO_MARGIN Spot account transfer to Portfolio Margin account
969
- * PORTFOLIO_MARGIN_MAIN Portfolio Margin account transfer to Spot account
970
- *
971
- * Weight: 900
998
+ * User universal transfer
999
+ *
1000
+ * Weight(UID): 900
1001
+ *
1002
+ * Security Type: USER_DATA
1003
+ *
1004
+ * Notes:
1005
+ * - You need to enable Permits Universal Transfer option for the API Key that requests this endpoint.
1006
+ * - `fromSymbol` must be sent when type is `ISOLATEDMARGIN_MARGIN` or `ISOLATEDMARGIN_ISOLATEDMARGIN`.
1007
+ * - `toSymbol` must be sent when type is `MARGIN_ISOLATEDMARGIN` or `ISOLATEDMARGIN_ISOLATEDMARGIN`.
1008
+ * - ENUM of transfer types:
1009
+ * - `MAIN_UMFUTURE`: Spot → USDⓈ-M Futures
1010
+ * - `MAIN_CMFUTURE`: Spot → COIN-M Futures
1011
+ * - `MAIN_MARGIN`: Spot → Margin (cross)
1012
+ * - `UMFUTURE_MAIN`: USDⓈ-M Futures → Spot
1013
+ * - `UMFUTURE_MARGIN`: USDⓈ-M Futures → Margin (cross)
1014
+ * - `CMFUTURE_MAIN`: COIN-M Futures → Spot
1015
+ * - `CMFUTURE_MARGIN`: COIN-M Futures → Margin (cross)
1016
+ * - `MARGIN_MAIN`: Margin (cross) → Spot
1017
+ * - `MARGIN_UMFUTURE`: Margin (cross) → USDⓈ-M Futures
1018
+ * - `MARGIN_CMFUTURE`: Margin (cross) → COIN-M Futures
1019
+ * - `ISOLATEDMARGIN_MARGIN`: Isolated margin → Margin (cross)
1020
+ * - `MARGIN_ISOLATEDMARGIN`: Margin (cross) → Isolated margin
1021
+ * - `ISOLATEDMARGIN_ISOLATEDMARGIN`: Isolated margin → Isolated margin
1022
+ * - `MAIN_FUNDING`: Spot → Funding
1023
+ * - `FUNDING_MAIN`: Funding → Spot
1024
+ * - `FUNDING_UMFUTURE`: Funding → USDⓈ-M Futures
1025
+ * - `UMFUTURE_FUNDING`: USDⓈ-M Futures → Funding
1026
+ * - `MARGIN_FUNDING`: Margin (cross) → Funding
1027
+ * - `FUNDING_MARGIN`: Funding → Margin (cross)
1028
+ * - `FUNDING_CMFUTURE`: Funding → COIN-M Futures
1029
+ * - `CMFUTURE_FUNDING`: COIN-M Futures → Funding
1030
+ * - `MAIN_OPTION`: Spot → Options
1031
+ * - `OPTION_MAIN`: Options → Spot
1032
+ * - `UMFUTURE_OPTION`: USDⓈ-M Futures → Options
1033
+ * - `OPTION_UMFUTURE`: Options → USDⓈ-M Futures
1034
+ * - `MARGIN_OPTION`: Margin (cross) → Options
1035
+ * - `OPTION_MARGIN`: Options → Margin (cross)
1036
+ * - `FUNDING_OPTION`: Funding → Options
1037
+ * - `OPTION_FUNDING`: Options → Funding
1038
+ * - `MAIN_PORTFOLIO_MARGIN`: Spot → Portfolio Margin
1039
+ * - `PORTFOLIO_MARGIN_MAIN`: Portfolio Margin → Spot
972
1040
  *
973
1041
  * @summary User Universal Transfer (USER_DATA)
974
1042
  * @param {UserUniversalTransferRequest} requestParameters Request parameters.
975
1043
  * @returns {Promise<RestApiResponse<UserUniversalTransferResponse>>}
976
1044
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
977
1045
  * @memberof AssetApi
978
- * @see {@link https://developers.binance.com/docs/wallet/asset/User-Universal-Transfer Binance API Documentation}
1046
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/asset#user-universal-transfer Binance API Documentation}
979
1047
  */
980
1048
  async userUniversalTransfer(requestParameters) {
981
1049
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.userUniversalTransfer(requestParameters?.type, requestParameters?.asset, requestParameters?.amount, requestParameters?.fromSymbol, requestParameters?.toSymbol, requestParameters?.recvWindow);
982
1050
  return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.queryParams, localVarAxiosArgs.bodyParams, localVarAxiosArgs.headerParams, localVarAxiosArgs?.timeUnit, { isSigned: true });
983
1051
  }
984
1052
  };
1053
+ let DustTransferAccountTypeEnum = /* @__PURE__ */ function(DustTransferAccountTypeEnum$1) {
1054
+ DustTransferAccountTypeEnum$1["SPOT"] = "SPOT";
1055
+ DustTransferAccountTypeEnum$1["MARGIN"] = "MARGIN";
1056
+ return DustTransferAccountTypeEnum$1;
1057
+ }({});
1058
+ let DustlogAccountTypeEnum = /* @__PURE__ */ function(DustlogAccountTypeEnum$1) {
1059
+ DustlogAccountTypeEnum$1["SPOT"] = "SPOT";
1060
+ DustlogAccountTypeEnum$1["MARGIN"] = "MARGIN";
1061
+ return DustlogAccountTypeEnum$1;
1062
+ }({});
1063
+ let GetAssetsThatCanBeConvertedIntoBnbAccountTypeEnum = /* @__PURE__ */ function(GetAssetsThatCanBeConvertedIntoBnbAccountTypeEnum$1) {
1064
+ GetAssetsThatCanBeConvertedIntoBnbAccountTypeEnum$1["SPOT"] = "SPOT";
1065
+ GetAssetsThatCanBeConvertedIntoBnbAccountTypeEnum$1["MARGIN"] = "MARGIN";
1066
+ return GetAssetsThatCanBeConvertedIntoBnbAccountTypeEnum$1;
1067
+ }({});
1068
+ let QueryUserDelegationHistoryTypeEnum = /* @__PURE__ */ function(QueryUserDelegationHistoryTypeEnum$1) {
1069
+ QueryUserDelegationHistoryTypeEnum$1["DELEGATE"] = "DELEGATE";
1070
+ QueryUserDelegationHistoryTypeEnum$1["UNDELEGATE"] = "UNDELEGATE";
1071
+ return QueryUserDelegationHistoryTypeEnum$1;
1072
+ }({});
1073
+ let QueryUserUniversalTransferHistoryFromSymbolEnum = /* @__PURE__ */ function(QueryUserUniversalTransferHistoryFromSymbolEnum$1) {
1074
+ QueryUserUniversalTransferHistoryFromSymbolEnum$1["ISOLATEDMARGIN_MARGIN"] = "ISOLATEDMARGIN_MARGIN";
1075
+ QueryUserUniversalTransferHistoryFromSymbolEnum$1["ISOLATEDMARGIN_ISOLATEDMARGIN"] = "ISOLATEDMARGIN_ISOLATEDMARGIN";
1076
+ return QueryUserUniversalTransferHistoryFromSymbolEnum$1;
1077
+ }({});
1078
+ let QueryUserUniversalTransferHistoryToSymbolEnum = /* @__PURE__ */ function(QueryUserUniversalTransferHistoryToSymbolEnum$1) {
1079
+ QueryUserUniversalTransferHistoryToSymbolEnum$1["MARGIN_ISOLATEDMARGIN"] = "MARGIN_ISOLATEDMARGIN";
1080
+ QueryUserUniversalTransferHistoryToSymbolEnum$1["ISOLATEDMARGIN_ISOLATEDMARGIN"] = "ISOLATEDMARGIN_ISOLATEDMARGIN";
1081
+ return QueryUserUniversalTransferHistoryToSymbolEnum$1;
1082
+ }({});
1083
+ let UserUniversalTransferTypeEnum = /* @__PURE__ */ function(UserUniversalTransferTypeEnum$1) {
1084
+ UserUniversalTransferTypeEnum$1["MAIN_UMFUTURE"] = "MAIN_UMFUTURE";
1085
+ UserUniversalTransferTypeEnum$1["MAIN_CMFUTURE"] = "MAIN_CMFUTURE";
1086
+ UserUniversalTransferTypeEnum$1["MAIN_MARGIN"] = "MAIN_MARGIN";
1087
+ UserUniversalTransferTypeEnum$1["UMFUTURE_MAIN"] = "UMFUTURE_MAIN";
1088
+ UserUniversalTransferTypeEnum$1["UMFUTURE_MARGIN"] = "UMFUTURE_MARGIN";
1089
+ UserUniversalTransferTypeEnum$1["CMFUTURE_MAIN"] = "CMFUTURE_MAIN";
1090
+ UserUniversalTransferTypeEnum$1["CMFUTURE_MARGIN"] = "CMFUTURE_MARGIN";
1091
+ UserUniversalTransferTypeEnum$1["MARGIN_MAIN"] = "MARGIN_MAIN";
1092
+ UserUniversalTransferTypeEnum$1["MARGIN_UMFUTURE"] = "MARGIN_UMFUTURE";
1093
+ UserUniversalTransferTypeEnum$1["MARGIN_CMFUTURE"] = "MARGIN_CMFUTURE";
1094
+ UserUniversalTransferTypeEnum$1["ISOLATEDMARGIN_MARGIN"] = "ISOLATEDMARGIN_MARGIN";
1095
+ UserUniversalTransferTypeEnum$1["MARGIN_ISOLATEDMARGIN"] = "MARGIN_ISOLATEDMARGIN";
1096
+ UserUniversalTransferTypeEnum$1["ISOLATEDMARGIN_ISOLATEDMARGIN"] = "ISOLATEDMARGIN_ISOLATEDMARGIN";
1097
+ UserUniversalTransferTypeEnum$1["MAIN_FUNDING"] = "MAIN_FUNDING";
1098
+ UserUniversalTransferTypeEnum$1["FUNDING_MAIN"] = "FUNDING_MAIN";
1099
+ UserUniversalTransferTypeEnum$1["FUNDING_UMFUTURE"] = "FUNDING_UMFUTURE";
1100
+ UserUniversalTransferTypeEnum$1["UMFUTURE_FUNDING"] = "UMFUTURE_FUNDING";
1101
+ UserUniversalTransferTypeEnum$1["MARGIN_FUNDING"] = "MARGIN_FUNDING";
1102
+ UserUniversalTransferTypeEnum$1["FUNDING_MARGIN"] = "FUNDING_MARGIN";
1103
+ UserUniversalTransferTypeEnum$1["FUNDING_CMFUTURE"] = "FUNDING_CMFUTURE";
1104
+ UserUniversalTransferTypeEnum$1["CMFUTURE_FUNDING"] = "CMFUTURE_FUNDING";
1105
+ UserUniversalTransferTypeEnum$1["MAIN_OPTION"] = "MAIN_OPTION";
1106
+ UserUniversalTransferTypeEnum$1["OPTION_MAIN"] = "OPTION_MAIN";
1107
+ UserUniversalTransferTypeEnum$1["UMFUTURE_OPTION"] = "UMFUTURE_OPTION";
1108
+ UserUniversalTransferTypeEnum$1["OPTION_UMFUTURE"] = "OPTION_UMFUTURE";
1109
+ UserUniversalTransferTypeEnum$1["MARGIN_OPTION"] = "MARGIN_OPTION";
1110
+ UserUniversalTransferTypeEnum$1["OPTION_MARGIN"] = "OPTION_MARGIN";
1111
+ UserUniversalTransferTypeEnum$1["FUNDING_OPTION"] = "FUNDING_OPTION";
1112
+ UserUniversalTransferTypeEnum$1["OPTION_FUNDING"] = "OPTION_FUNDING";
1113
+ UserUniversalTransferTypeEnum$1["MAIN_PORTFOLIO_MARGIN"] = "MAIN_PORTFOLIO_MARGIN";
1114
+ UserUniversalTransferTypeEnum$1["PORTFOLIO_MARGIN_MAIN"] = "PORTFOLIO_MARGIN_MAIN";
1115
+ return UserUniversalTransferTypeEnum$1;
1116
+ }({});
1117
+ let UserUniversalTransferFromSymbolEnum = /* @__PURE__ */ function(UserUniversalTransferFromSymbolEnum$1) {
1118
+ UserUniversalTransferFromSymbolEnum$1["ISOLATEDMARGIN_MARGIN"] = "ISOLATEDMARGIN_MARGIN";
1119
+ UserUniversalTransferFromSymbolEnum$1["ISOLATEDMARGIN_ISOLATEDMARGIN"] = "ISOLATEDMARGIN_ISOLATEDMARGIN";
1120
+ return UserUniversalTransferFromSymbolEnum$1;
1121
+ }({});
1122
+ let UserUniversalTransferToSymbolEnum = /* @__PURE__ */ function(UserUniversalTransferToSymbolEnum$1) {
1123
+ UserUniversalTransferToSymbolEnum$1["MARGIN_ISOLATEDMARGIN"] = "MARGIN_ISOLATEDMARGIN";
1124
+ UserUniversalTransferToSymbolEnum$1["ISOLATEDMARGIN_ISOLATEDMARGIN"] = "ISOLATEDMARGIN_ISOLATEDMARGIN";
1125
+ return UserUniversalTransferToSymbolEnum$1;
1126
+ }({});
985
1127
 
986
1128
  //#endregion
987
1129
  //#region src/rest-api/modules/capital-api.ts
988
1130
  /**
989
- * Binance Wallet REST API
1131
+ * Wallet REST API
990
1132
  *
991
- * OpenAPI Specification for the Binance Wallet REST API
1133
+ * Query balances, manage assets, and perform wallet operations via the Binance Wallet API.
992
1134
  *
993
1135
  * The version of the OpenAPI document: 1.0.0
994
1136
  *
@@ -1195,14 +1337,16 @@ var CapitalApi = class {
1195
1337
  /**
1196
1338
  * Get information of coins (available for deposit and withdraw) for user.
1197
1339
  *
1198
- * Weight: 10
1340
+ * Weight(IP): 10
1341
+ *
1342
+ * Security Type: USER_DATA
1199
1343
  *
1200
1344
  * @summary All Coins\' Information (USER_DATA)
1201
1345
  * @param {AllCoinsInformationRequest} requestParameters Request parameters.
1202
1346
  * @returns {Promise<RestApiResponse<AllCoinsInformationResponse>>}
1203
1347
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1204
1348
  * @memberof CapitalApi
1205
- * @see {@link https://developers.binance.com/docs/wallet/capital/all-coins-info Binance API Documentation}
1349
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/capital#all-coins-information Binance API Documentation}
1206
1350
  */
1207
1351
  async allCoinsInformation(requestParameters = {}) {
1208
1352
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.allCoinsInformation(requestParameters?.recvWindow);
@@ -1211,18 +1355,21 @@ var CapitalApi = class {
1211
1355
  /**
1212
1356
  * Fetch deposit address with network.
1213
1357
  *
1214
- * If `network` is not send, return with default network of the coin.
1215
- * You can get `network` and `isDefault` in `networkList` in the response of `Get /sapi/v1/capital/config/getall (HMAC SHA256)`.
1216
- * `amount` needs to be sent if using LIGHTNING network
1358
+ * Weight(IP): 10
1359
+ *
1360
+ * Security Type: USER_DATA
1217
1361
  *
1218
- * Weight: 10
1362
+ * Notes:
1363
+ * - If `network` is not send, return with default network of the coin.
1364
+ * - You can get `network` and `isDefault` in `networkList` in the response of `Get /sapi/v1/capital/config/getall (HMAC SHA256)`.
1365
+ * - `amount` needs to be sent if using LIGHTNING network
1219
1366
  *
1220
1367
  * @summary Deposit Address(supporting network) (USER_DATA)
1221
1368
  * @param {DepositAddressRequest} requestParameters Request parameters.
1222
1369
  * @returns {Promise<RestApiResponse<DepositAddressResponse>>}
1223
1370
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1224
1371
  * @memberof CapitalApi
1225
- * @see {@link https://developers.binance.com/docs/wallet/capital/deposite-address Binance API Documentation}
1372
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/capital#deposit-address Binance API Documentation}
1226
1373
  */
1227
1374
  async depositAddress(requestParameters) {
1228
1375
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.depositAddress(requestParameters?.coin, requestParameters?.network, requestParameters?.amount, requestParameters?.recvWindow);
@@ -1231,18 +1378,20 @@ var CapitalApi = class {
1231
1378
  /**
1232
1379
  * Fetch deposit history.
1233
1380
  *
1381
+ * Weight(IP): 1
1234
1382
  *
1235
- * Please notice the default `startTime` and `endTime` to make sure that time interval is within 0-90 days.
1236
- * If both ``startTime`` and ``endTime`` are sent, time between ``startTime`` and ``endTime`` must be less than 90 days.
1383
+ * Security Type: USER_DATA
1237
1384
  *
1238
- * Weight: 1
1385
+ * Notes:
1386
+ * - Please notice the default `startTime` and `endTime` to make sure that time interval is within 0-90 days.
1387
+ * - If both `startTime` and `endTime` are sent, time between `startTime` and `endTime` must be less than 90 days.
1239
1388
  *
1240
1389
  * @summary Deposit History (supporting network) (USER_DATA)
1241
1390
  * @param {DepositHistoryRequest} requestParameters Request parameters.
1242
1391
  * @returns {Promise<RestApiResponse<DepositHistoryResponse>>}
1243
1392
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1244
1393
  * @memberof CapitalApi
1245
- * @see {@link https://developers.binance.com/docs/wallet/capital/deposite-history Binance API Documentation}
1394
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/capital#deposit-history Binance API Documentation}
1246
1395
  */
1247
1396
  async depositHistory(requestParameters = {}) {
1248
1397
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.depositHistory(requestParameters?.includeSource, requestParameters?.coin, requestParameters?.status, requestParameters?.startTime, requestParameters?.endTime, requestParameters?.offset, requestParameters?.limit, requestParameters?.recvWindow, requestParameters?.txId);
@@ -1251,18 +1400,16 @@ var CapitalApi = class {
1251
1400
  /**
1252
1401
  * Fetch deposit address list with network.
1253
1402
  *
1403
+ * Weight(IP): 10
1254
1404
  *
1255
- * If network is not send, return with default network of the coin.
1256
- * You can get network and isDefault in networkList in the response of `Get /sapi/v1/capital/config/getall`.
1405
+ * Security Type: USER_DATA
1257
1406
  *
1258
- * Weight: 10
1259
- *
1260
- * @summary Fetch deposit address list with network(USER_DATA)
1407
+ * @summary Fetch deposit address list with network (USER_DATA)
1261
1408
  * @param {FetchDepositAddressListWithNetworkRequest} requestParameters Request parameters.
1262
1409
  * @returns {Promise<RestApiResponse<FetchDepositAddressListWithNetworkResponse>>}
1263
1410
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1264
1411
  * @memberof CapitalApi
1265
- * @see {@link https://developers.binance.com/docs/wallet/capital/Fetch-deposit-address-list-with-network Binance API Documentation}
1412
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/capital#fetch-deposit-address-list-with-network Binance API Documentation}
1266
1413
  */
1267
1414
  async fetchDepositAddressListWithNetwork(requestParameters) {
1268
1415
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.fetchDepositAddressListWithNetwork(requestParameters?.coin, requestParameters?.network);
@@ -1271,13 +1418,15 @@ var CapitalApi = class {
1271
1418
  /**
1272
1419
  * Fetch withdraw address list
1273
1420
  *
1274
- * Weight: 10
1421
+ * Weight(IP): 10
1422
+ *
1423
+ * Security Type: USER_DATA
1275
1424
  *
1276
1425
  * @summary Fetch withdraw address list (USER_DATA)
1277
1426
  * @returns {Promise<RestApiResponse<FetchWithdrawAddressListResponse>>}
1278
1427
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1279
1428
  * @memberof CapitalApi
1280
- * @see {@link https://developers.binance.com/docs/wallet/capital/fetch-withdraw-address Binance API Documentation}
1429
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/capital#fetch-withdraw-address-list Binance API Documentation}
1281
1430
  */
1282
1431
  async fetchWithdrawAddressList() {
1283
1432
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.fetchWithdrawAddressList();
@@ -1286,13 +1435,15 @@ var CapitalApi = class {
1286
1435
  /**
1287
1436
  * Fetch withdraw quota
1288
1437
  *
1289
- * Weight: 10
1438
+ * Weight(IP): 10
1439
+ *
1440
+ * Security Type: USER_DATA
1290
1441
  *
1291
1442
  * @summary Fetch withdraw quota (USER_DATA)
1292
1443
  * @returns {Promise<RestApiResponse<FetchWithdrawQuotaResponse>>}
1293
1444
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1294
1445
  * @memberof CapitalApi
1295
- * @see {@link https://developers.binance.com/docs/wallet/capital/Fetch-withdraw-quota Binance API Documentation}
1446
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/capital#fetch-withdraw-quota Binance API Documentation}
1296
1447
  */
1297
1448
  async fetchWithdrawQuota() {
1298
1449
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.fetchWithdrawQuota();
@@ -1301,77 +1452,88 @@ var CapitalApi = class {
1301
1452
  /**
1302
1453
  * Apply deposit credit for expired address (One click arrival)
1303
1454
  *
1304
- * Params need to be in the POST body
1455
+ * Weight(IP): 1
1305
1456
  *
1306
- * Weight: 1
1457
+ * Security Type: USER_DATA
1307
1458
  *
1308
1459
  * @summary One click arrival deposit apply (for expired address deposit) (USER_DATA)
1309
1460
  * @param {OneClickArrivalDepositApplyRequest} requestParameters Request parameters.
1310
1461
  * @returns {Promise<RestApiResponse<OneClickArrivalDepositApplyResponse>>}
1311
1462
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1312
1463
  * @memberof CapitalApi
1313
- * @see {@link https://developers.binance.com/docs/wallet/capital/one-click-arrival-deposite-apply Binance API Documentation}
1464
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/capital#one-click-arrival-deposit-apply Binance API Documentation}
1314
1465
  */
1315
1466
  async oneClickArrivalDepositApply(requestParameters = {}) {
1316
1467
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.oneClickArrivalDepositApply(requestParameters?.depositId, requestParameters?.txId, requestParameters?.subAccountId, requestParameters?.subUserId);
1317
1468
  return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.queryParams, localVarAxiosArgs.bodyParams, localVarAxiosArgs.headerParams, localVarAxiosArgs?.timeUnit, { isSigned: true });
1318
1469
  }
1319
1470
  /**
1320
- * Submit a withdraw request.
1471
+ * Submit a withdraw request
1321
1472
  *
1473
+ * Weight(UID): 900
1322
1474
  *
1323
- * If `network` not send, return with default network of the coin.
1324
- * You can get `network` and `isDefault` in `networkList` of a coin in the response of `Get /sapi/v1/capital/config/getall (HMAC SHA256)`.
1325
- * 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.
1326
- * 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`:
1327
- * If `withdrawTag` = `true` → memo/tag is required.
1328
- * If `withdrawTag` = `false` → memo/tag is not supported; omit `addressTag`.
1475
+ * Security Type: USER_DATA
1329
1476
  *
1330
- * Weight: 900
1477
+ * Notes:
1478
+ * - If `network` not send, return with default network of the coin.
1479
+ * - You can get `network` and `isDefault` in `networkList` of a coin in the response of `Get /sapi/v1/capital/config/getall (HMAC SHA256)`.
1480
+ * - 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.
1481
+ * - "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`."
1331
1482
  *
1332
- * @summary Withdraw(USER_DATA)
1483
+ * @summary Withdraw (USER_DATA)
1333
1484
  * @param {WithdrawRequest} requestParameters Request parameters.
1334
1485
  * @returns {Promise<RestApiResponse<WithdrawResponse>>}
1335
1486
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1336
1487
  * @memberof CapitalApi
1337
- * @see {@link https://developers.binance.com/docs/wallet/capital/Withdraw Binance API Documentation}
1488
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/capital#withdraw Binance API Documentation}
1338
1489
  */
1339
1490
  async withdraw(requestParameters) {
1340
1491
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.withdraw(requestParameters?.coin, requestParameters?.address, requestParameters?.amount, requestParameters?.withdrawOrderId, requestParameters?.network, requestParameters?.addressTag, requestParameters?.transactionFeeFlag, requestParameters?.name, requestParameters?.walletType, requestParameters?.recvWindow);
1341
1492
  return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.queryParams, localVarAxiosArgs.bodyParams, localVarAxiosArgs.headerParams, localVarAxiosArgs?.timeUnit, { isSigned: true });
1342
1493
  }
1343
1494
  /**
1344
- * Fetch withdraw history.
1495
+ * Fetch withdraw history
1345
1496
  *
1346
- * `network` may not be in the response for old withdraw.
1347
- * Please notice the default `startTime` and `endTime` to make sure that time interval is within 0-90 days.
1348
- * If both `startTime` and `endTime`are sent, time between `startTime`and `endTime`must be less than 90 days.
1349
- * If `withdrawOrderId` is sent, time between `startTime` and `endTime` must be less than 7 days.
1350
- * If `withdrawOrderId` is sent, `startTime` and `endTime` are not sent, will return last 7 days records by default.
1351
- * Maximum support `idList` number is 45.
1497
+ * Weight(UID): 18000 (10 requests per second)
1352
1498
  *
1353
- * Weight: 18000
1354
- * Request limit: 10 requests per second
1499
+ * Security Type: USER_DATA
1500
+ *
1501
+ * Notes:
1502
+ * - `network` may not be in the response for old withdraw.
1503
+ * - Please notice the default `startTime` and `endTime` to make sure that time interval is within 0-90 days.
1504
+ * - If both `startTime` and `endTime`are sent, time between `startTime`and `endTime`must be less than 90 days.
1505
+ * - If `withdrawOrderId` is sent, time between `startTime` and `endTime` must be less than 7 days.
1506
+ * - If `withdrawOrderId` is sent, `startTime` and `endTime` are not sent, will return last 7 days records by default.
1507
+ * - Maximum support `idList` number is 45.
1355
1508
  *
1356
1509
  * @summary Withdraw History (supporting network) (USER_DATA)
1357
1510
  * @param {WithdrawHistoryRequest} requestParameters Request parameters.
1358
1511
  * @returns {Promise<RestApiResponse<WithdrawHistoryResponse>>}
1359
1512
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1360
1513
  * @memberof CapitalApi
1361
- * @see {@link https://developers.binance.com/docs/wallet/capital/Withdraw-History Binance API Documentation}
1514
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/capital#withdraw-history Binance API Documentation}
1362
1515
  */
1363
1516
  async withdrawHistory(requestParameters = {}) {
1364
1517
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.withdrawHistory(requestParameters?.coin, requestParameters?.withdrawOrderId, requestParameters?.status, requestParameters?.offset, requestParameters?.limit, requestParameters?.idList, requestParameters?.startTime, requestParameters?.endTime, requestParameters?.recvWindow);
1365
1518
  return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.queryParams, localVarAxiosArgs.bodyParams, localVarAxiosArgs.headerParams, localVarAxiosArgs?.timeUnit, { isSigned: true });
1366
1519
  }
1367
1520
  };
1521
+ let DepositHistoryStatusEnum = /* @__PURE__ */ function(DepositHistoryStatusEnum$1) {
1522
+ DepositHistoryStatusEnum$1[DepositHistoryStatusEnum$1["STATUS_0"] = 0] = "STATUS_0";
1523
+ DepositHistoryStatusEnum$1[DepositHistoryStatusEnum$1["STATUS_1"] = 1] = "STATUS_1";
1524
+ DepositHistoryStatusEnum$1[DepositHistoryStatusEnum$1["STATUS_2"] = 2] = "STATUS_2";
1525
+ DepositHistoryStatusEnum$1[DepositHistoryStatusEnum$1["STATUS_6"] = 6] = "STATUS_6";
1526
+ DepositHistoryStatusEnum$1[DepositHistoryStatusEnum$1["STATUS_7"] = 7] = "STATUS_7";
1527
+ DepositHistoryStatusEnum$1[DepositHistoryStatusEnum$1["STATUS_8"] = 8] = "STATUS_8";
1528
+ return DepositHistoryStatusEnum$1;
1529
+ }({});
1368
1530
 
1369
1531
  //#endregion
1370
1532
  //#region src/rest-api/modules/others-api.ts
1371
1533
  /**
1372
- * Binance Wallet REST API
1534
+ * Wallet REST API
1373
1535
  *
1374
- * OpenAPI Specification for the Binance Wallet REST API
1536
+ * Query balances, manage assets, and perform wallet operations via the Binance Wallet API.
1375
1537
  *
1376
1538
  * The version of the OpenAPI document: 1.0.0
1377
1539
  *
@@ -1430,14 +1592,16 @@ var OthersApi = class {
1430
1592
  /**
1431
1593
  * Get symbols delist schedule for spot
1432
1594
  *
1433
- * Weight: 100
1595
+ * Weight(IP): 100
1596
+ *
1597
+ * Security Type: MARKET_DATA
1434
1598
  *
1435
- * @summary Get symbols delist schedule for spot (MARKET_DATA)
1599
+ * @summary Get Spot Delist Schedule (MARKET_DATA)
1436
1600
  * @param {GetSymbolsDelistScheduleForSpotRequest} requestParameters Request parameters.
1437
1601
  * @returns {Promise<RestApiResponse<GetSymbolsDelistScheduleForSpotResponse>>}
1438
1602
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1439
1603
  * @memberof OthersApi
1440
- * @see {@link https://developers.binance.com/docs/wallet/others/delist-schedule Binance API Documentation}
1604
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/others#get-symbols-delist-schedule-for-spot Binance API Documentation}
1441
1605
  */
1442
1606
  async getSymbolsDelistScheduleForSpot(requestParameters = {}) {
1443
1607
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.getSymbolsDelistScheduleForSpot(requestParameters?.recvWindow);
@@ -1446,13 +1610,15 @@ var OthersApi = class {
1446
1610
  /**
1447
1611
  * Fetch system status.
1448
1612
  *
1449
- * Weight: 1
1613
+ * Weight(IP): 1
1614
+ *
1615
+ * Security Type: System
1450
1616
  *
1451
- * @summary System Status (System)
1617
+ * @summary System Status
1452
1618
  * @returns {Promise<RestApiResponse<SystemStatusResponse>>}
1453
1619
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1454
1620
  * @memberof OthersApi
1455
- * @see {@link https://developers.binance.com/docs/wallet/others/System-Status Binance API Documentation}
1621
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/others#system-status Binance API Documentation}
1456
1622
  */
1457
1623
  async systemStatus() {
1458
1624
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.systemStatus();
@@ -1463,9 +1629,9 @@ var OthersApi = class {
1463
1629
  //#endregion
1464
1630
  //#region src/rest-api/modules/travel-rule-api.ts
1465
1631
  /**
1466
- * Binance Wallet REST API
1632
+ * Wallet REST API
1467
1633
  *
1468
- * OpenAPI Specification for the Binance Wallet REST API
1634
+ * Query balances, manage assets, and perform wallet operations via the Binance Wallet API.
1469
1635
  *
1470
1636
  * The version of the OpenAPI document: 1.0.0
1471
1637
  *
@@ -1479,14 +1645,13 @@ var OthersApi = class {
1479
1645
  */
1480
1646
  const TravelRuleApiAxiosParamCreator = function(configuration) {
1481
1647
  return {
1482
- brokerWithdraw: async (address, coin, amount, withdrawOrderId, questionnaire, originatorPii, signature, addressTag, network, addressName, transactionFeeFlag, walletType) => {
1648
+ brokerWithdraw: async (address, coin, amount, withdrawOrderId, questionnaire, originatorPii, addressTag, network, addressName, transactionFeeFlag, walletType) => {
1483
1649
  (0, __binance_common.assertParamExists)("brokerWithdraw", "address", address);
1484
1650
  (0, __binance_common.assertParamExists)("brokerWithdraw", "coin", coin);
1485
1651
  (0, __binance_common.assertParamExists)("brokerWithdraw", "amount", amount);
1486
1652
  (0, __binance_common.assertParamExists)("brokerWithdraw", "withdrawOrderId", withdrawOrderId);
1487
1653
  (0, __binance_common.assertParamExists)("brokerWithdraw", "questionnaire", questionnaire);
1488
1654
  (0, __binance_common.assertParamExists)("brokerWithdraw", "originatorPii", originatorPii);
1489
- (0, __binance_common.assertParamExists)("brokerWithdraw", "signature", signature);
1490
1655
  const localVarQueryParameter = {};
1491
1656
  const localVarBodyParameter = {};
1492
1657
  const localVarHeaderParameter = {};
@@ -1501,7 +1666,6 @@ const TravelRuleApiAxiosParamCreator = function(configuration) {
1501
1666
  if (walletType !== void 0 && walletType !== null) localVarQueryParameter["walletType"] = walletType;
1502
1667
  if (questionnaire !== void 0 && questionnaire !== null) localVarQueryParameter["questionnaire"] = questionnaire;
1503
1668
  if (originatorPii !== void 0 && originatorPii !== null) localVarQueryParameter["originatorPii"] = originatorPii;
1504
- if (signature !== void 0 && signature !== null) localVarQueryParameter["signature"] = signature;
1505
1669
  let _timeUnit;
1506
1670
  if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
1507
1671
  return {
@@ -1595,10 +1759,11 @@ const TravelRuleApiAxiosParamCreator = function(configuration) {
1595
1759
  timeUnit: _timeUnit
1596
1760
  };
1597
1761
  },
1598
- getCountryList: async () => {
1762
+ getCountryList: async (recvWindow) => {
1599
1763
  const localVarQueryParameter = {};
1600
1764
  const localVarBodyParameter = {};
1601
1765
  const localVarHeaderParameter = {};
1766
+ if (recvWindow !== void 0 && recvWindow !== null) localVarQueryParameter["recvWindow"] = recvWindow;
1602
1767
  let _timeUnit;
1603
1768
  if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
1604
1769
  return {
@@ -1610,12 +1775,13 @@ const TravelRuleApiAxiosParamCreator = function(configuration) {
1610
1775
  timeUnit: _timeUnit
1611
1776
  };
1612
1777
  },
1613
- getRegionList: async (countryCode) => {
1778
+ getRegionList: async (countryCode, recvWindow) => {
1614
1779
  (0, __binance_common.assertParamExists)("getRegionList", "countryCode", countryCode);
1615
1780
  const localVarQueryParameter = {};
1616
1781
  const localVarBodyParameter = {};
1617
1782
  const localVarHeaderParameter = {};
1618
1783
  if (countryCode !== void 0 && countryCode !== null) localVarQueryParameter["countryCode"] = countryCode;
1784
+ if (recvWindow !== void 0 && recvWindow !== null) localVarQueryParameter["recvWindow"] = recvWindow;
1619
1785
  let _timeUnit;
1620
1786
  if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
1621
1787
  return {
@@ -1627,12 +1793,11 @@ const TravelRuleApiAxiosParamCreator = function(configuration) {
1627
1793
  timeUnit: _timeUnit
1628
1794
  };
1629
1795
  },
1630
- submitDepositQuestionnaire: async (subAccountId, depositId, questionnaire, beneficiaryPii, signature, network, coin, amount, address, addressTag) => {
1796
+ submitDepositQuestionnaire: async (subAccountId, depositId, questionnaire, beneficiaryPii, network, coin, amount, address, addressTag) => {
1631
1797
  (0, __binance_common.assertParamExists)("submitDepositQuestionnaire", "subAccountId", subAccountId);
1632
1798
  (0, __binance_common.assertParamExists)("submitDepositQuestionnaire", "depositId", depositId);
1633
1799
  (0, __binance_common.assertParamExists)("submitDepositQuestionnaire", "questionnaire", questionnaire);
1634
1800
  (0, __binance_common.assertParamExists)("submitDepositQuestionnaire", "beneficiaryPii", beneficiaryPii);
1635
- (0, __binance_common.assertParamExists)("submitDepositQuestionnaire", "signature", signature);
1636
1801
  const localVarQueryParameter = {};
1637
1802
  const localVarBodyParameter = {};
1638
1803
  const localVarHeaderParameter = {};
@@ -1645,7 +1810,6 @@ const TravelRuleApiAxiosParamCreator = function(configuration) {
1645
1810
  if (amount !== void 0 && amount !== null) localVarQueryParameter["amount"] = amount;
1646
1811
  if (address !== void 0 && address !== null) localVarQueryParameter["address"] = address;
1647
1812
  if (addressTag !== void 0 && addressTag !== null) localVarQueryParameter["addressTag"] = addressTag;
1648
- if (signature !== void 0 && signature !== null) localVarQueryParameter["signature"] = signature;
1649
1813
  let _timeUnit;
1650
1814
  if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
1651
1815
  return {
@@ -1807,35 +1971,41 @@ var TravelRuleApi = class {
1807
1971
  /**
1808
1972
  * Submit a withdrawal request for brokers of local entities that required travel rule.
1809
1973
  *
1810
- * 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.
1811
- * You can get `network` in `networkList` of a coin in the response
1812
- * Questionnaire is different for each local entity, please refer to
1813
- * If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`,
1974
+ * Weight(UID): 600
1975
+ *
1976
+ * Security Type: USER_DATA
1814
1977
  *
1815
- * Weight: 600
1978
+ * Notes:
1979
+ * - 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.
1980
+ * - You can get `network` in `networkList` of a coin in the response of `Get /sapi/v1/capital/config/getall (HMAC SHA256)`.
1981
+ * - Questionnaire is different for each local entity, please refer to the `Withdraw Questionnaire Contents` page.
1982
+ * - If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`, please try to verify the format of the questionnaire and use URL-encoded format.
1816
1983
  *
1817
1984
  * @summary Broker Withdraw (for brokers of local entities that require travel rule) (USER_DATA)
1818
1985
  * @param {BrokerWithdrawRequest} requestParameters Request parameters.
1819
1986
  * @returns {Promise<RestApiResponse<BrokerWithdrawResponse>>}
1820
1987
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1821
1988
  * @memberof TravelRuleApi
1822
- * @see {@link https://developers.binance.com/docs/wallet/travel-rule/Broker-Withdraw Binance API Documentation}
1989
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/travel-rule#broker-withdraw Binance API Documentation}
1823
1990
  */
1824
1991
  async brokerWithdraw(requestParameters) {
1825
- const localVarAxiosArgs = await this.localVarAxiosParamCreator.brokerWithdraw(requestParameters?.address, requestParameters?.coin, requestParameters?.amount, requestParameters?.withdrawOrderId, requestParameters?.questionnaire, requestParameters?.originatorPii, requestParameters?.signature, requestParameters?.addressTag, requestParameters?.network, requestParameters?.addressName, requestParameters?.transactionFeeFlag, requestParameters?.walletType);
1992
+ const localVarAxiosArgs = await this.localVarAxiosParamCreator.brokerWithdraw(requestParameters?.address, requestParameters?.coin, requestParameters?.amount, requestParameters?.withdrawOrderId, requestParameters?.questionnaire, requestParameters?.originatorPii, requestParameters?.addressTag, requestParameters?.network, requestParameters?.addressName, requestParameters?.transactionFeeFlag, requestParameters?.walletType);
1826
1993
  return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.queryParams, localVarAxiosArgs.bodyParams, localVarAxiosArgs.headerParams, localVarAxiosArgs?.timeUnit, { isSigned: true });
1827
1994
  }
1828
1995
  /**
1829
- * This API will return user-specific Travel Rule questionnaire requirement information in reference to the current API key.
1996
+ * This API will return user-specific Travel Rule questionnaire requirement information in reference to the current
1997
+ * API key.
1830
1998
  *
1831
- * Weight: 1
1999
+ * Weight(IP): 1
2000
+ *
2001
+ * Security Type: USER_DATA
1832
2002
  *
1833
2003
  * @summary Check Questionnaire Requirements (for local entities that require travel rule) (supporting network) (USER_DATA)
1834
2004
  * @param {CheckQuestionnaireRequirementsRequest} requestParameters Request parameters.
1835
2005
  * @returns {Promise<RestApiResponse<CheckQuestionnaireRequirementsResponse>>}
1836
2006
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1837
2007
  * @memberof TravelRuleApi
1838
- * @see {@link https://developers.binance.com/docs/wallet/travel-rule/questionnaire-requirements Binance API Documentation}
2008
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/travel-rule#check-questionnaire-requirements Binance API Documentation}
1839
2009
  */
1840
2010
  async checkQuestionnaireRequirements(requestParameters = {}) {
1841
2011
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.checkQuestionnaireRequirements(requestParameters?.recvWindow);
@@ -1844,18 +2014,21 @@ var TravelRuleApi = class {
1844
2014
  /**
1845
2015
  * Fetch deposit history for local entities that required travel rule.
1846
2016
  *
1847
- * Please notice the default `startTime` and `endTime` to make sure that time interval is within
1848
- * If both ``startTime`` and ``endTime`` are sent, time between ``startTime`` and ``endTime`` must
1849
- * 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.
2017
+ * Weight(IP): 1
2018
+ *
2019
+ * Security Type: USER_DATA
1850
2020
  *
1851
- * Weight: 1
2021
+ * Notes:
2022
+ * - Please notice the default `startTime` and `endTime` to make sure that time interval is within 0-90 days.
2023
+ * - If both `startTime` and `endTime` are sent, time between `startTime` and `endTime` must be less than 90 days.
2024
+ * - 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.
1852
2025
  *
1853
- * @summary Deposit History (for local entities that required travel rule) (supporting network) (USER_DATA)
2026
+ * @summary Deposit History Travel Rule (for local entities that required travel rule) (supporting network) (USER_DATA)
1854
2027
  * @param {DepositHistoryTravelRuleRequest} requestParameters Request parameters.
1855
2028
  * @returns {Promise<RestApiResponse<DepositHistoryTravelRuleResponse>>}
1856
2029
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1857
2030
  * @memberof TravelRuleApi
1858
- * @see {@link https://developers.binance.com/docs/wallet/travel-rule/Deposit-History Binance API Documentation}
2031
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/travel-rule#deposit-history-travel-rule Binance API Documentation}
1859
2032
  */
1860
2033
  async depositHistoryTravelRule(requestParameters = {}) {
1861
2034
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.depositHistoryTravelRule(requestParameters?.trId, requestParameters?.txId, requestParameters?.tranId, requestParameters?.network, requestParameters?.coin, requestParameters?.travelRuleStatus, requestParameters?.pendingQuestionnaire, requestParameters?.startTime, requestParameters?.endTime, requestParameters?.offset, requestParameters?.limit);
@@ -1864,34 +2037,40 @@ var TravelRuleApi = class {
1864
2037
  /**
1865
2038
  * Fetch deposit history for local entities that with required travel rule information.
1866
2039
  *
1867
- * Please notice the default `startTime` and `endTime` to make sure that time interval is within
1868
- * If both ``startTime`` and ``endTime`` are sent, time between ``startTime`` and ``endTime`` must
1869
- * 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.
2040
+ * Weight(IP): 1
1870
2041
  *
1871
- * Weight: 1
2042
+ * Security Type: USER_DATA
2043
+ *
2044
+ * Notes:
2045
+ * - Please notice the default `startTime` and `endTime` to make sure that time interval is within 0-90 days.
2046
+ * - If both `startTime` and `endTime` are sent, time between `startTime` and `endTime` must be less than 90 days.
2047
+ * - 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.
1872
2048
  *
1873
2049
  * @summary Deposit History V2 (for local entities that required travel rule) (supporting network) (USER_DATA)
1874
2050
  * @param {DepositHistoryV2Request} requestParameters Request parameters.
1875
2051
  * @returns {Promise<RestApiResponse<DepositHistoryV2Response>>}
1876
2052
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1877
2053
  * @memberof TravelRuleApi
1878
- * @see {@link https://developers.binance.com/docs/wallet/travel-rule/Deposit-History-V2 Binance API Documentation}
2054
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/travel-rule#deposit-history-v2 Binance API Documentation}
1879
2055
  */
1880
2056
  async depositHistoryV2(requestParameters = {}) {
1881
2057
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.depositHistoryV2(requestParameters?.depositId, requestParameters?.txId, requestParameters?.network, requestParameters?.coin, requestParameters?.retrieveQuestionnaire, requestParameters?.startTime, requestParameters?.endTime, requestParameters?.offset, requestParameters?.limit);
1882
2058
  return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.queryParams, localVarAxiosArgs.bodyParams, localVarAxiosArgs.headerParams, localVarAxiosArgs?.timeUnit, { isSigned: true });
1883
2059
  }
1884
2060
  /**
1885
- * Fetch address verification list for user to check on status and other details for the addresses stored in Address Book.
2061
+ * Fetch address verification list for user to check on status and other details for the addresses stored in
2062
+ * Address Book.
2063
+ *
2064
+ * Weight(IP): 1
1886
2065
  *
1887
- * Weight: 1
2066
+ * Security Type: USER_DATA
1888
2067
  *
1889
2068
  * @summary Fetch address verification list (USER_DATA)
1890
2069
  * @param {FetchAddressVerificationListRequest} requestParameters Request parameters.
1891
2070
  * @returns {Promise<RestApiResponse<FetchAddressVerificationListResponse>>}
1892
2071
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1893
2072
  * @memberof TravelRuleApi
1894
- * @see {@link https://developers.binance.com/docs/wallet/travel-rule/address-verification-list Binance API Documentation}
2073
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/travel-rule#fetch-address-verification-list Binance API Documentation}
1895
2074
  */
1896
2075
  async fetchAddressVerificationList(requestParameters = {}) {
1897
2076
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.fetchAddressVerificationList(requestParameters?.recvWindow);
@@ -1900,32 +2079,37 @@ var TravelRuleApi = class {
1900
2079
  /**
1901
2080
  * Query the active country list for travel rule questionnaires. Currently, only supports AU entity.
1902
2081
  *
1903
- * Weight: 1
2082
+ * Weight(IP): 1
2083
+ *
2084
+ * Security Type: USER_DATA
1904
2085
  *
1905
2086
  * @summary Get Country List (USER_DATA)
2087
+ * @param {GetCountryListRequest} requestParameters Request parameters.
1906
2088
  * @returns {Promise<RestApiResponse<GetCountryListResponse>>}
1907
2089
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1908
2090
  * @memberof TravelRuleApi
1909
- * @see {@link https://developers.binance.com/docs/wallet/travel-rule/country-list Binance API Documentation}
2091
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/travel-rule#get-country-list Binance API Documentation}
1910
2092
  */
1911
- async getCountryList() {
1912
- const localVarAxiosArgs = await this.localVarAxiosParamCreator.getCountryList();
2093
+ async getCountryList(requestParameters = {}) {
2094
+ const localVarAxiosArgs = await this.localVarAxiosParamCreator.getCountryList(requestParameters?.recvWindow);
1913
2095
  return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.queryParams, localVarAxiosArgs.bodyParams, localVarAxiosArgs.headerParams, localVarAxiosArgs?.timeUnit, { isSigned: true });
1914
2096
  }
1915
2097
  /**
1916
2098
  * Query the active region/city list for a given country. Currently, only supports AU entity.
1917
2099
  *
1918
- * Weight: 1
2100
+ * Weight(IP): 1
2101
+ *
2102
+ * Security Type: USER_DATA
1919
2103
  *
1920
2104
  * @summary Get Region List (USER_DATA)
1921
2105
  * @param {GetRegionListRequest} requestParameters Request parameters.
1922
2106
  * @returns {Promise<RestApiResponse<GetRegionListResponse>>}
1923
2107
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1924
2108
  * @memberof TravelRuleApi
1925
- * @see {@link https://developers.binance.com/docs/wallet/travel-rule/region-list Binance API Documentation}
2109
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/travel-rule#get-region-list Binance API Documentation}
1926
2110
  */
1927
2111
  async getRegionList(requestParameters) {
1928
- const localVarAxiosArgs = await this.localVarAxiosParamCreator.getRegionList(requestParameters?.countryCode);
2112
+ const localVarAxiosArgs = await this.localVarAxiosParamCreator.getRegionList(requestParameters?.countryCode, requestParameters?.recvWindow);
1929
2113
  return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.queryParams, localVarAxiosArgs.bodyParams, localVarAxiosArgs.headerParams, localVarAxiosArgs?.timeUnit, { isSigned: true });
1930
2114
  }
1931
2115
  /**
@@ -1933,20 +2117,23 @@ var TravelRuleApi = class {
1933
2117
  * The questionnaire is only applies to transactions from un-hosted wallets or VASPs that are not
1934
2118
  * yet onboarded with GTR.
1935
2119
  *
1936
- * Questionnaire is different for each local entity, please refer
1937
- * If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`,
2120
+ * Weight(UID): 600
1938
2121
  *
1939
- * Weight: 600
2122
+ * Security Type: USER_DATA
1940
2123
  *
1941
- * @summary Submit Deposit Questionnaire (For local entities that require travel rule) (supporting network) (USER_DATA)
2124
+ * Notes:
2125
+ * - Questionnaire is different for each local entity, please refer to `Deposit Questionnaire Content` page.
2126
+ * - If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`, please try to verify the format of the questionnaire and use URL-encoded format.
2127
+ *
2128
+ * @summary Submit Deposit Questionnaire Broker (For local entities that require travel rule) (supporting network) (USER_DATA)
1942
2129
  * @param {SubmitDepositQuestionnaireRequest} requestParameters Request parameters.
1943
2130
  * @returns {Promise<RestApiResponse<SubmitDepositQuestionnaireResponse>>}
1944
2131
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1945
2132
  * @memberof TravelRuleApi
1946
- * @see {@link https://developers.binance.com/docs/wallet/travel-rule/deposit-provide-info Binance API Documentation}
2133
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/travel-rule#submit-deposit-questionnaire Binance API Documentation}
1947
2134
  */
1948
2135
  async submitDepositQuestionnaire(requestParameters) {
1949
- const localVarAxiosArgs = await this.localVarAxiosParamCreator.submitDepositQuestionnaire(requestParameters?.subAccountId, requestParameters?.depositId, requestParameters?.questionnaire, requestParameters?.beneficiaryPii, requestParameters?.signature, requestParameters?.network, requestParameters?.coin, requestParameters?.amount, requestParameters?.address, requestParameters?.addressTag);
2136
+ const localVarAxiosArgs = await this.localVarAxiosParamCreator.submitDepositQuestionnaire(requestParameters?.subAccountId, requestParameters?.depositId, requestParameters?.questionnaire, requestParameters?.beneficiaryPii, requestParameters?.network, requestParameters?.coin, requestParameters?.amount, requestParameters?.address, requestParameters?.addressTag);
1950
2137
  return (0, __binance_common.sendRequest)(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.queryParams, localVarAxiosArgs.bodyParams, localVarAxiosArgs.headerParams, localVarAxiosArgs?.timeUnit, { isSigned: true });
1951
2138
  }
1952
2139
  /**
@@ -1954,17 +2141,20 @@ var TravelRuleApi = class {
1954
2141
  * The questionnaire is only applies to transactions from unhosted wallets or VASPs that are not
1955
2142
  * yet onboarded with GTR.
1956
2143
  *
1957
- * Questionnaire is different for each local entity, please refer
1958
- * If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`,
2144
+ * Weight(UID): 600
1959
2145
  *
1960
- * Weight: 600
2146
+ * Security Type: USER_DATA
2147
+ *
2148
+ * Notes:
2149
+ * - Questionnaire is different for each local entity, please refer to `Deposit Questionnaire Content` page.
2150
+ * - If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`, please try to verify the format of the questionnaire and use URL-encoded format.
1961
2151
  *
1962
2152
  * @summary Submit Deposit Questionnaire (For local entities that require travel rule) (supporting network) (USER_DATA)
1963
2153
  * @param {SubmitDepositQuestionnaireTravelRuleRequest} requestParameters Request parameters.
1964
2154
  * @returns {Promise<RestApiResponse<SubmitDepositQuestionnaireTravelRuleResponse>>}
1965
2155
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1966
2156
  * @memberof TravelRuleApi
1967
- * @see {@link https://developers.binance.com/docs/wallet/travel-rule/deposit-provide-info Binance API Documentation}
2157
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/travel-rule#submit-deposit-questionnaire-travel-rule Binance API Documentation}
1968
2158
  */
1969
2159
  async submitDepositQuestionnaireTravelRule(requestParameters) {
1970
2160
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.submitDepositQuestionnaireTravelRule(requestParameters?.tranId, requestParameters?.questionnaire);
@@ -1975,17 +2165,20 @@ var TravelRuleApi = class {
1975
2165
  * The questionnaire is only applies to transactions from unhosted wallets or VASPs that are not
1976
2166
  * yet onboarded with GTR.
1977
2167
  *
1978
- * Questionnaire is different for each local entity, please refer
1979
- * If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`,
2168
+ * Weight(UID): 600
2169
+ *
2170
+ * Security Type: USER_DATA
1980
2171
  *
1981
- * Weight: 600
2172
+ * Notes:
2173
+ * - Questionnaire is different for each local entity, please refer to `Deposit Questionnaire Content` page.
2174
+ * - If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`, please try to verify the format of the questionnaire and use URL-encoded format.
1982
2175
  *
1983
2176
  * @summary Submit Deposit Questionnaire V2 (For local entities that require travel rule) (supporting network) (USER_DATA)
1984
2177
  * @param {SubmitDepositQuestionnaireV2Request} requestParameters Request parameters.
1985
2178
  * @returns {Promise<RestApiResponse<SubmitDepositQuestionnaireV2Response>>}
1986
2179
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
1987
2180
  * @memberof TravelRuleApi
1988
- * @see {@link https://developers.binance.com/docs/wallet/travel-rule/deposit-provide-info-v2 Binance API Documentation}
2181
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/travel-rule#submit-deposit-questionnaire-v2 Binance API Documentation}
1989
2182
  */
1990
2183
  async submitDepositQuestionnaireV2(requestParameters) {
1991
2184
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.submitDepositQuestionnaireV2(requestParameters?.depositId, requestParameters?.questionnaire);
@@ -1994,14 +2187,16 @@ var TravelRuleApi = class {
1994
2187
  /**
1995
2188
  * Fetch the VASP list for local entities.
1996
2189
  *
1997
- * Weight: 1
2190
+ * Weight(IP): 1
2191
+ *
2192
+ * Security Type: USER_DATA
1998
2193
  *
1999
2194
  * @summary VASP list (for local entities that require travel rule) (supporting network) (USER_DATA)
2000
2195
  * @param {VaspListRequest} requestParameters Request parameters.
2001
2196
  * @returns {Promise<RestApiResponse<VaspListResponse>>}
2002
2197
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2003
2198
  * @memberof TravelRuleApi
2004
- * @see {@link https://developers.binance.com/docs/wallet/travel-rule/onboarded-vasp-list Binance API Documentation}
2199
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/travel-rule#vasp-list Binance API Documentation}
2005
2200
  */
2006
2201
  async vaspList(requestParameters = {}) {
2007
2202
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.vaspList(requestParameters?.recvWindow);
@@ -2010,18 +2205,21 @@ var TravelRuleApi = class {
2010
2205
  /**
2011
2206
  * Fetch withdraw history for local entities that required travel rule.
2012
2207
  *
2013
- * `network` may not be in the response for old withdraw.
2014
- * Please notice the default `startTime` and `endTime` to make sure that time interval is within
2015
- * If both `startTime` and `endTime`are sent, time between `startTime`and `endTime`must be less
2208
+ * Weight(IP): 1
2016
2209
  *
2017
- * Weight: 1
2210
+ * Security Type: USER_DATA
2018
2211
  *
2019
- * @summary Withdraw History (for local entities that require travel rule) (supporting network) (USER_DATA)
2212
+ * Notes:
2213
+ * - `network` may not be in the response for old withdraw.
2214
+ * - Please notice the default `startTime` and `endTime` to make sure that time interval is within 0-90 days.
2215
+ * - If both `startTime` and `endTime`are sent, time between `startTime`and `endTime`must be less than 90 days.
2216
+ *
2217
+ * @summary Withdraw History Travel Rule (supporting network) (USER_DATA)
2020
2218
  * @param {WithdrawHistoryV1Request} requestParameters Request parameters.
2021
2219
  * @returns {Promise<RestApiResponse<WithdrawHistoryV1Response>>}
2022
2220
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2023
2221
  * @memberof TravelRuleApi
2024
- * @see {@link https://developers.binance.com/docs/wallet/travel-rule/Withdraw-History Binance API Documentation}
2222
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/travel-rule#withdraw-history-v1 Binance API Documentation}
2025
2223
  */
2026
2224
  async withdrawHistoryV1(requestParameters = {}) {
2027
2225
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.withdrawHistoryV1(requestParameters?.trId, requestParameters?.txId, requestParameters?.withdrawOrderId, requestParameters?.network, requestParameters?.coin, requestParameters?.travelRuleStatus, requestParameters?.offset, requestParameters?.limit, requestParameters?.startTime, requestParameters?.endTime, requestParameters?.recvWindow);
@@ -2030,24 +2228,27 @@ var TravelRuleApi = class {
2030
2228
  /**
2031
2229
  * Fetch withdraw history for local entities that required travel rule.
2032
2230
  *
2033
- * `network` may not be in the response for old withdraw.
2034
- * Withdrawal made through /sapi/v1/capital/withdraw/apply may not be in the response.
2035
- * Please notice the default `startTime` and `endTime` to make sure that time interval is within
2036
- * If both `startTime` and `endTime`are sent, time between `startTime`and `endTime`must be less
2037
- * If withdrawOrderId is sent, time between startTime and endTime must be less than 7 days.
2038
- * If withdrawOrderId is sent, startTime and endTime are not sent, will return last 7 days records by default.
2039
- * Maximum support trId,txId number is 45.
2040
- * WithdrawOrderId only support 1.
2041
- * If responsible does not include withdrawalStatus, please input trId or txId retrieve the data.
2231
+ * Weight(IP): 1
2232
+ *
2233
+ * Security Type: USER_DATA
2042
2234
  *
2043
- * Weight: 1
2235
+ * Notes:
2236
+ * - `network` may not be in the response for old withdraw.
2237
+ * - Withdrawal made through /sapi/v1/capital/withdraw/apply may not be in the response.
2238
+ * - Please notice the default `startTime` and `endTime` to make sure that time interval is within 0-90 days.
2239
+ * - If both `startTime` and `endTime`are sent, time between `startTime`and `endTime`must be less than 90 days.
2240
+ * - If withdrawOrderId is sent, time between startTime and endTime must be less than 7 days.
2241
+ * - If withdrawOrderId is sent, startTime and endTime are not sent, will return last 7 days records by default.
2242
+ * - Maximum support trId,txId number is 45.
2243
+ * - WithdrawOrderId only support 1.
2244
+ * - If responsible does not include withdrawalStatus, please input trId or txId retrieve the data.
2044
2245
  *
2045
2246
  * @summary Withdraw History V2 (for local entities that require travel rule) (supporting network) (USER_DATA)
2046
2247
  * @param {WithdrawHistoryV2Request} requestParameters Request parameters.
2047
2248
  * @returns {Promise<RestApiResponse<WithdrawHistoryV2Response>>}
2048
2249
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2049
2250
  * @memberof TravelRuleApi
2050
- * @see {@link https://developers.binance.com/docs/wallet/travel-rule/Withdraw-History-V2 Binance API Documentation}
2251
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/travel-rule#withdraw-history-v2 Binance API Documentation}
2051
2252
  */
2052
2253
  async withdrawHistoryV2(requestParameters = {}) {
2053
2254
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.withdrawHistoryV2(requestParameters?.trId, requestParameters?.txId, requestParameters?.withdrawOrderId, requestParameters?.network, requestParameters?.coin, requestParameters?.travelRuleStatus, requestParameters?.offset, requestParameters?.limit, requestParameters?.startTime, requestParameters?.endTime, requestParameters?.recvWindow);
@@ -2056,19 +2257,22 @@ var TravelRuleApi = class {
2056
2257
  /**
2057
2258
  * Submit a withdrawal request for local entities that required travel rule.
2058
2259
  *
2059
- * 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.
2060
- * You can get `network` and `isDefault` in `networkList` of a coin in the response
2061
- * Questionnaire is different for each local entity, please refer to
2062
- * If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`,
2260
+ * Weight(UID): 600
2063
2261
  *
2064
- * Weight: 600
2262
+ * Security Type: USER_DATA
2065
2263
  *
2066
- * @summary Withdraw (for local entities that require travel rule) (USER_DATA)
2264
+ * Notes:
2265
+ * - 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.
2266
+ * - You can get `network` and `isDefault` in `networkList` of a coin in the response of `Get /sapi/v1/capital/config/getall (HMAC SHA256)`.
2267
+ * - Questionnaire is different for each local entity, please refer to the `Withdraw Questionnaire Contents` page.
2268
+ * - If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`, please try to verify the format of the questionnaire and use URL-encoded format.
2269
+ *
2270
+ * @summary Withdraw Travel Rule (USER_DATA)
2067
2271
  * @param {WithdrawTravelRuleRequest} requestParameters Request parameters.
2068
2272
  * @returns {Promise<RestApiResponse<WithdrawTravelRuleResponse>>}
2069
2273
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2070
2274
  * @memberof TravelRuleApi
2071
- * @see {@link https://developers.binance.com/docs/wallet/travel-rule/Withdraw Binance API Documentation}
2275
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/travel-rule#withdraw-travel-rule Binance API Documentation}
2072
2276
  */
2073
2277
  async withdrawTravelRule(requestParameters) {
2074
2278
  const localVarAxiosArgs = await this.localVarAxiosParamCreator.withdrawTravelRule(requestParameters?.coin, requestParameters?.address, requestParameters?.amount, requestParameters?.questionnaire, requestParameters?.withdrawOrderId, requestParameters?.network, requestParameters?.addressTag, requestParameters?.transactionFeeFlag, requestParameters?.name, requestParameters?.walletType, requestParameters?.recvWindow);
@@ -2079,9 +2283,9 @@ var TravelRuleApi = class {
2079
2283
  //#endregion
2080
2284
  //#region src/rest-api/rest-api.ts
2081
2285
  /**
2082
- * Binance Wallet REST API
2286
+ * Wallet REST API
2083
2287
  *
2084
- * OpenAPI Specification for the Binance Wallet REST API
2288
+ * Query balances, manage assets, and perform wallet operations via the Binance Wallet API.
2085
2289
  *
2086
2290
  * The version of the OpenAPI document: 1.0.0
2087
2291
  *
@@ -2126,14 +2330,16 @@ var RestAPI = class {
2126
2330
  /**
2127
2331
  * Fetch account api trading status detail.
2128
2332
  *
2129
- * Weight: 1
2333
+ * Weight(IP): 1
2334
+ *
2335
+ * Security Type: USER_DATA
2130
2336
  *
2131
2337
  * @summary Account API Trading Status (USER_DATA)
2132
2338
  * @param {AccountApiTradingStatusRequest} requestParameters Request parameters.
2133
2339
  *
2134
2340
  * @returns {Promise<RestApiResponse<AccountApiTradingStatusResponse>>}
2135
2341
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2136
- * @see {@link https://developers.binance.com/docs/wallet/account/Account-API-Trading-Status Binance API Documentation}
2342
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/account#account-api-trading-status Binance API Documentation}
2137
2343
  */
2138
2344
  accountApiTradingStatus(requestParameters = {}) {
2139
2345
  return this.accountApi.accountApiTradingStatus(requestParameters);
@@ -2141,14 +2347,16 @@ var RestAPI = class {
2141
2347
  /**
2142
2348
  * Fetch account info detail.
2143
2349
  *
2144
- * Weight: 1
2350
+ * Weight(IP): 1
2351
+ *
2352
+ * Security Type: USER_DATA
2145
2353
  *
2146
2354
  * @summary Account info (USER_DATA)
2147
2355
  * @param {AccountInfoRequest} requestParameters Request parameters.
2148
2356
  *
2149
2357
  * @returns {Promise<RestApiResponse<AccountInfoResponse>>}
2150
2358
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2151
- * @see {@link https://developers.binance.com/docs/wallet/account/Account-info Binance API Documentation}
2359
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/account#account-info Binance API Documentation}
2152
2360
  */
2153
2361
  accountInfo(requestParameters = {}) {
2154
2362
  return this.accountApi.accountInfo(requestParameters);
@@ -2156,14 +2364,16 @@ var RestAPI = class {
2156
2364
  /**
2157
2365
  * Fetch account status detail.
2158
2366
  *
2159
- * Weight: 1
2367
+ * Weight(IP): 1
2368
+ *
2369
+ * Security Type: USER_DATA
2160
2370
  *
2161
2371
  * @summary Account Status (USER_DATA)
2162
2372
  * @param {AccountStatusRequest} requestParameters Request parameters.
2163
2373
  *
2164
2374
  * @returns {Promise<RestApiResponse<AccountStatusResponse>>}
2165
2375
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2166
- * @see {@link https://developers.binance.com/docs/wallet/account/Account-Status Binance API Documentation}
2376
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/account#account-status Binance API Documentation}
2167
2377
  */
2168
2378
  accountStatus(requestParameters = {}) {
2169
2379
  return this.accountApi.accountStatus(requestParameters);
@@ -2171,32 +2381,41 @@ var RestAPI = class {
2171
2381
  /**
2172
2382
  * Daily account snapshot
2173
2383
  *
2174
- * The query time period must be less then 30 days
2175
- * Support query within the last one month only
2176
- * If startTimeand endTime not sent, return records of the last 7 days by default
2384
+ * Weight(IP): 2400
2385
+ *
2386
+ * Security Type: USER_DATA
2177
2387
  *
2178
- * Weight: 2400
2388
+ * Notes:
2389
+ * - The query time period must be less then 30 days
2390
+ * - Support query within the last one month only
2391
+ * - If startTimeand endTime not sent, return records of the last 7 days by default
2179
2392
  *
2180
2393
  * @summary Daily Account Snapshot (USER_DATA)
2181
2394
  * @param {DailyAccountSnapshotRequest} requestParameters Request parameters.
2182
2395
  *
2183
2396
  * @returns {Promise<RestApiResponse<DailyAccountSnapshotResponse>>}
2184
2397
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2185
- * @see {@link https://developers.binance.com/docs/wallet/account/daily-account-snapshoot Binance API Documentation}
2398
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/account#daily-account-snapshot Binance API Documentation}
2186
2399
  */
2187
2400
  dailyAccountSnapshot(requestParameters) {
2188
2401
  return this.accountApi.dailyAccountSnapshot(requestParameters);
2189
2402
  }
2190
2403
  /**
2404
+ * Disable Fast Withdraw Switch
2405
+ *
2406
+ * Weight(IP): 1
2191
2407
  *
2192
- * Weight: 1
2408
+ * Security Type: USER_DATA
2409
+ *
2410
+ * Notes:
2411
+ * - This request will disable fastwithdraw switch under your account. You need to enable "trade" option for the api key which requests this endpoint.
2193
2412
  *
2194
2413
  * @summary Disable Fast Withdraw Switch (USER_DATA)
2195
2414
  * @param {DisableFastWithdrawSwitchRequest} requestParameters Request parameters.
2196
2415
  *
2197
2416
  * @returns {Promise<RestApiResponse<void>>}
2198
2417
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2199
- * @see {@link https://developers.binance.com/docs/wallet/account/Disable-Fast-Withdraw-Switch Binance API Documentation}
2418
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/account#disable-fast-withdraw-switch Binance API Documentation}
2200
2419
  */
2201
2420
  disableFastWithdrawSwitch(requestParameters = {}) {
2202
2421
  return this.accountApi.disableFastWithdrawSwitch(requestParameters);
@@ -2204,17 +2423,20 @@ var RestAPI = class {
2204
2423
  /**
2205
2424
  * Enable Fast Withdraw Switch (USER_DATA)
2206
2425
  *
2207
- * This request will enable fastwithdraw switch under your account. <br></br>
2208
- * 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.
2426
+ * Weight(IP): 1
2427
+ *
2428
+ * Security Type: USER_DATA
2209
2429
  *
2210
- * Weight: 1
2430
+ * Notes:
2431
+ * - This request will enable fastwithdraw switch under your account. You need to enable "trade" option for the api key which requests this endpoint.
2432
+ * - 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.
2211
2433
  *
2212
2434
  * @summary Enable Fast Withdraw Switch (USER_DATA)
2213
2435
  * @param {EnableFastWithdrawSwitchRequest} requestParameters Request parameters.
2214
2436
  *
2215
2437
  * @returns {Promise<RestApiResponse<void>>}
2216
2438
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2217
- * @see {@link https://developers.binance.com/docs/wallet/account/Enable-Fast-Withdraw-Switch Binance API Documentation}
2439
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/account#enable-fast-withdraw-switch Binance API Documentation}
2218
2440
  */
2219
2441
  enableFastWithdrawSwitch(requestParameters = {}) {
2220
2442
  return this.accountApi.enableFastWithdrawSwitch(requestParameters);
@@ -2222,14 +2444,16 @@ var RestAPI = class {
2222
2444
  /**
2223
2445
  * Get API Key Permission
2224
2446
  *
2225
- * Weight: 1
2447
+ * Weight(IP): 1
2448
+ *
2449
+ * Security Type: USER_DATA
2226
2450
  *
2227
2451
  * @summary Get API Key Permission (USER_DATA)
2228
2452
  * @param {GetApiKeyPermissionRequest} requestParameters Request parameters.
2229
2453
  *
2230
2454
  * @returns {Promise<RestApiResponse<GetApiKeyPermissionResponse>>}
2231
2455
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2232
- * @see {@link https://developers.binance.com/docs/wallet/account/api-key-permission Binance API Documentation}
2456
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/account#get-api-key-permission Binance API Documentation}
2233
2457
  */
2234
2458
  getApiKeyPermission(requestParameters = {}) {
2235
2459
  return this.accountApi.getApiKeyPermission(requestParameters);
@@ -2237,17 +2461,19 @@ var RestAPI = class {
2237
2461
  /**
2238
2462
  * Fetch details of assets supported on Binance.
2239
2463
  *
2464
+ * Weight(IP): 1
2240
2465
  *
2241
- * Please get network and other deposit or withdraw details from ``GET /sapi/v1/capital/config/getall``.
2466
+ * Security Type: USER_DATA
2242
2467
  *
2243
- * Weight: 1
2468
+ * Notes:
2469
+ * - Please get network and other deposit or withdraw details from `GET /sapi/v1/capital/config/getall`.
2244
2470
  *
2245
2471
  * @summary Asset Detail (USER_DATA)
2246
2472
  * @param {AssetDetailRequest} requestParameters Request parameters.
2247
2473
  *
2248
2474
  * @returns {Promise<RestApiResponse<AssetDetailResponse>>}
2249
2475
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2250
- * @see {@link https://developers.binance.com/docs/wallet/asset/Asset-Detail Binance API Documentation}
2476
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/asset#asset-detail Binance API Documentation}
2251
2477
  */
2252
2478
  assetDetail(requestParameters = {}) {
2253
2479
  return this.assetApi.assetDetail(requestParameters);
@@ -2255,17 +2481,19 @@ var RestAPI = class {
2255
2481
  /**
2256
2482
  * Query asset dividend record.
2257
2483
  *
2484
+ * Weight(IP): 10
2258
2485
  *
2259
- * There cannot be more than 180 days between parameter `startTime` and `endTime`.
2486
+ * Security Type: USER_DATA
2260
2487
  *
2261
- * Weight: 10
2488
+ * Notes:
2489
+ * - There cannot be more than 180 days between parameter `startTime` and `endTime`.
2262
2490
  *
2263
2491
  * @summary Asset Dividend Record (USER_DATA)
2264
2492
  * @param {AssetDividendRecordRequest} requestParameters Request parameters.
2265
2493
  *
2266
2494
  * @returns {Promise<RestApiResponse<AssetDividendRecordResponse>>}
2267
2495
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2268
- * @see {@link https://developers.binance.com/docs/wallet/asset/assets-divided-record Binance API Documentation}
2496
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/asset#asset-dividend-record Binance API Documentation}
2269
2497
  */
2270
2498
  assetDividendRecord(requestParameters = {}) {
2271
2499
  return this.assetApi.assetDividendRecord(requestParameters);
@@ -2273,14 +2501,16 @@ var RestAPI = class {
2273
2501
  /**
2274
2502
  * Convert dust assets
2275
2503
  *
2276
- * Weight: 10
2504
+ * Weight(UID): 10
2505
+ *
2506
+ * Security Type: USER_DATA
2277
2507
  *
2278
2508
  * @summary Dust Convert (USER_DATA)
2279
2509
  * @param {DustConvertRequest} requestParameters Request parameters.
2280
2510
  *
2281
2511
  * @returns {Promise<RestApiResponse<DustConvertResponse>>}
2282
2512
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2283
- * @see {@link https://developers.binance.com/docs/wallet/asset/Dust-Convert Binance API Documentation}
2513
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/asset#dust-convert Binance API Documentation}
2284
2514
  */
2285
2515
  dustConvert(requestParameters) {
2286
2516
  return this.assetApi.dustConvert(requestParameters);
@@ -2288,14 +2518,16 @@ var RestAPI = class {
2288
2518
  /**
2289
2519
  * Query dust convertible assets
2290
2520
  *
2291
- * Weight: 1
2521
+ * Weight(IP): 1
2522
+ *
2523
+ * Security Type: USER_DATA
2292
2524
  *
2293
2525
  * @summary Dust Convertible Assets (USER_DATA)
2294
2526
  * @param {DustConvertibleAssetsRequest} requestParameters Request parameters.
2295
2527
  *
2296
2528
  * @returns {Promise<RestApiResponse<DustConvertibleAssetsResponse>>}
2297
2529
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2298
- * @see {@link https://developers.binance.com/docs/wallet/asset/Dust-Convertible-Assets Binance API Documentation}
2530
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/asset#dust-convertible-assets Binance API Documentation}
2299
2531
  */
2300
2532
  dustConvertibleAssets(requestParameters) {
2301
2533
  return this.assetApi.dustConvertibleAssets(requestParameters);
@@ -2303,16 +2535,19 @@ var RestAPI = class {
2303
2535
  /**
2304
2536
  * Convert dust assets to BNB.
2305
2537
  *
2306
- * You need to open`Enable Spot & Margin Trading` permission for the API Key which requests this endpoint.
2538
+ * Weight(UID): 10
2307
2539
  *
2308
- * Weight: 10
2540
+ * Security Type: USER_DATA
2541
+ *
2542
+ * Notes:
2543
+ * - You need to open`Enable Spot & Margin Trading` permission for the API Key which requests this endpoint.
2309
2544
  *
2310
2545
  * @summary Dust Transfer (USER_DATA)
2311
2546
  * @param {DustTransferRequest} requestParameters Request parameters.
2312
2547
  *
2313
2548
  * @returns {Promise<RestApiResponse<DustTransferResponse>>}
2314
2549
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2315
- * @see {@link https://developers.binance.com/docs/wallet/asset/Dust-Transfer Binance API Documentation}
2550
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/asset#dust-transfer Binance API Documentation}
2316
2551
  */
2317
2552
  dustTransfer(requestParameters) {
2318
2553
  return this.assetApi.dustTransfer(requestParameters);
@@ -2320,17 +2555,20 @@ var RestAPI = class {
2320
2555
  /**
2321
2556
  * Dustlog
2322
2557
  *
2323
- * Only return last 100 records
2324
- * Only return records after 2020/12/01
2558
+ * Weight(IP): 1
2559
+ *
2560
+ * Security Type: USER_DATA
2325
2561
  *
2326
- * Weight: 1
2562
+ * Notes:
2563
+ * - Only return last 100 records
2564
+ * - Only return records after 2020/12/01
2327
2565
  *
2328
- * @summary DustLog(USER_DATA)
2566
+ * @summary DustLog (USER_DATA)
2329
2567
  * @param {DustlogRequest} requestParameters Request parameters.
2330
2568
  *
2331
2569
  * @returns {Promise<RestApiResponse<DustlogResponse>>}
2332
2570
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2333
- * @see {@link https://developers.binance.com/docs/wallet/asset/dust-log Binance API Documentation}
2571
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/asset#dustlog Binance API Documentation}
2334
2572
  */
2335
2573
  dustlog(requestParameters = {}) {
2336
2574
  return this.assetApi.dustlog(requestParameters);
@@ -2338,17 +2576,19 @@ var RestAPI = class {
2338
2576
  /**
2339
2577
  * Query Funding Wallet
2340
2578
  *
2579
+ * Weight(IP): 1
2341
2580
  *
2342
- * Currently supports querying the following business assets:Binance Pay, Binance Card, Binance Gift Card, Stock Token
2581
+ * Security Type: USER_DATA
2343
2582
  *
2344
- * Weight: 1
2583
+ * Notes:
2584
+ * - Currently supports querying the following business assets:Binance Pay, Binance Card, Binance Gift Card, Stock Token
2345
2585
  *
2346
2586
  * @summary Funding Wallet (USER_DATA)
2347
2587
  * @param {FundingWalletRequest} requestParameters Request parameters.
2348
2588
  *
2349
2589
  * @returns {Promise<RestApiResponse<FundingWalletResponse>>}
2350
2590
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2351
- * @see {@link https://developers.binance.com/docs/wallet/asset/Funding-Wallet Binance API Documentation}
2591
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/asset#funding-wallet Binance API Documentation}
2352
2592
  */
2353
2593
  fundingWallet(requestParameters = {}) {
2354
2594
  return this.assetApi.fundingWallet(requestParameters);
@@ -2356,14 +2596,16 @@ var RestAPI = class {
2356
2596
  /**
2357
2597
  * Get Assets That Can Be Converted Into BNB
2358
2598
  *
2359
- * Weight: 1
2599
+ * Weight(IP): 1
2600
+ *
2601
+ * Security Type: USER_DATA
2360
2602
  *
2361
2603
  * @summary Get Assets That Can Be Converted Into BNB (USER_DATA)
2362
2604
  * @param {GetAssetsThatCanBeConvertedIntoBnbRequest} requestParameters Request parameters.
2363
2605
  *
2364
2606
  * @returns {Promise<RestApiResponse<GetAssetsThatCanBeConvertedIntoBnbResponse>>}
2365
2607
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2366
- * @see {@link https://developers.binance.com/docs/wallet/asset/assets-can-convert-bnb Binance API Documentation}
2608
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/asset#get-assets-that-can-be-converted-into-bnb Binance API Documentation}
2367
2609
  */
2368
2610
  getAssetsThatCanBeConvertedIntoBnb(requestParameters = {}) {
2369
2611
  return this.assetApi.getAssetsThatCanBeConvertedIntoBnb(requestParameters);
@@ -2371,31 +2613,37 @@ var RestAPI = class {
2371
2613
  /**
2372
2614
  * The query of Cloud-Mining payment and refund history
2373
2615
  *
2374
- * Just return the SUCCESS records of payment and refund.
2375
- * For response, type = 248 means payment, type = 249 means refund, status =S means SUCCESS.
2616
+ * Weight(UID): 600
2376
2617
  *
2377
- * Weight: 600
2618
+ * Security Type: USER_DATA
2619
+ *
2620
+ * Notes:
2621
+ * - Just return the SUCCESS records of payment and refund.
2622
+ * - For response, type = 248 means payment, type = 249 means refund, status =S means SUCCESS.
2378
2623
  *
2379
2624
  * @summary Get Cloud-Mining payment and refund history (USER_DATA)
2380
2625
  * @param {GetCloudMiningPaymentAndRefundHistoryRequest} requestParameters Request parameters.
2381
2626
  *
2382
2627
  * @returns {Promise<RestApiResponse<GetCloudMiningPaymentAndRefundHistoryResponse>>}
2383
2628
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2384
- * @see {@link https://developers.binance.com/docs/wallet/asset/cloud-mining-payment-and-refund-history Binance API Documentation}
2629
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/asset#get-cloud-mining-payment-and-refund-history Binance API Documentation}
2385
2630
  */
2386
2631
  getCloudMiningPaymentAndRefundHistory(requestParameters) {
2387
2632
  return this.assetApi.getCloudMiningPaymentAndRefundHistory(requestParameters);
2388
2633
  }
2389
2634
  /**
2390
- * Get the list of symbols that are scheduled to be opened for trading in the market.
2635
+ * Get the list of symbols that are scheduled to be opened for trading in
2636
+ * the market.
2637
+ *
2638
+ * Weight(IP): 100
2391
2639
  *
2392
- * Weight: 100
2640
+ * Security Type: MARKET_DATA
2393
2641
  *
2394
2642
  * @summary Get Open Symbol List (MARKET_DATA)
2395
2643
  *
2396
2644
  * @returns {Promise<RestApiResponse<GetOpenSymbolListResponse>>}
2397
2645
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2398
- * @see {@link https://developers.binance.com/docs/wallet/asset/open-symbol-list Binance API Documentation}
2646
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/asset#get-open-symbol-list Binance API Documentation}
2399
2647
  */
2400
2648
  getOpenSymbolList() {
2401
2649
  return this.assetApi.getOpenSymbolList();
@@ -2403,14 +2651,16 @@ var RestAPI = class {
2403
2651
  /**
2404
2652
  * Query User Delegation History
2405
2653
  *
2406
- * Weight: 60
2654
+ * Weight(IP): 60
2655
+ *
2656
+ * Security Type: USER_DATA
2407
2657
  *
2408
- * @summary Query User Delegation History(For Master Account)(USER_DATA)
2658
+ * @summary Query User Delegation History(For Master Account) (USER_DATA)
2409
2659
  * @param {QueryUserDelegationHistoryRequest} requestParameters Request parameters.
2410
2660
  *
2411
2661
  * @returns {Promise<RestApiResponse<QueryUserDelegationHistoryResponse>>}
2412
2662
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2413
- * @see {@link https://developers.binance.com/docs/wallet/asset/query-user-delegation Binance API Documentation}
2663
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/asset#query-user-delegation-history Binance API Documentation}
2414
2664
  */
2415
2665
  queryUserDelegationHistory(requestParameters) {
2416
2666
  return this.assetApi.queryUserDelegationHistory(requestParameters);
@@ -2418,20 +2668,22 @@ var RestAPI = class {
2418
2668
  /**
2419
2669
  * Query User Universal Transfer History
2420
2670
  *
2671
+ * Weight(IP): 1
2421
2672
  *
2422
- * `fromSymbol` must be sent when type are ISOLATEDMARGIN_MARGIN and ISOLATEDMARGIN_ISOLATEDMARGIN
2423
- * `toSymbol` must be sent when type are MARGIN_ISOLATEDMARGIN and ISOLATEDMARGIN_ISOLATEDMARGIN
2424
- * Support query within the last 6 months only
2425
- * If `startTime`and `endTime` not sent, return records of the last 7 days by default
2673
+ * Security Type: USER_DATA
2426
2674
  *
2427
- * Weight: 1
2675
+ * Notes:
2676
+ * - `fromSymbol` must be sent when type are ISOLATEDMARGIN_MARGIN and ISOLATEDMARGIN_ISOLATEDMARGIN
2677
+ * - `toSymbol` must be sent when type are MARGIN_ISOLATEDMARGIN and ISOLATEDMARGIN_ISOLATEDMARGIN
2678
+ * - Support query within the last 6 months only
2679
+ * - If `startTime`and `endTime` not sent, return records of the last 7 days by default
2428
2680
  *
2429
- * @summary Query User Universal Transfer History(USER_DATA)
2681
+ * @summary Query User Universal Transfer History (USER_DATA)
2430
2682
  * @param {QueryUserUniversalTransferHistoryRequest} requestParameters Request parameters.
2431
2683
  *
2432
2684
  * @returns {Promise<RestApiResponse<QueryUserUniversalTransferHistoryResponse>>}
2433
2685
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2434
- * @see {@link https://developers.binance.com/docs/wallet/asset/query-user-universal-transfer Binance API Documentation}
2686
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/asset#query-user-universal-transfer-history Binance API Documentation}
2435
2687
  */
2436
2688
  queryUserUniversalTransferHistory(requestParameters) {
2437
2689
  return this.assetApi.queryUserUniversalTransferHistory(requestParameters);
@@ -2439,14 +2691,16 @@ var RestAPI = class {
2439
2691
  /**
2440
2692
  * Query User Wallet Balance
2441
2693
  *
2442
- * Weight: 60
2694
+ * Weight(IP): 60
2695
+ *
2696
+ * Security Type: USER_DATA
2443
2697
  *
2444
2698
  * @summary Query User Wallet Balance (USER_DATA)
2445
2699
  * @param {QueryUserWalletBalanceRequest} requestParameters Request parameters.
2446
2700
  *
2447
2701
  * @returns {Promise<RestApiResponse<QueryUserWalletBalanceResponse>>}
2448
2702
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2449
- * @see {@link https://developers.binance.com/docs/wallet/asset/Query-User-Wallet-Balance Binance API Documentation}
2703
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/asset#query-user-wallet-balance Binance API Documentation}
2450
2704
  */
2451
2705
  queryUserWalletBalance(requestParameters = {}) {
2452
2706
  return this.assetApi.queryUserWalletBalance(requestParameters);
@@ -2454,16 +2708,19 @@ var RestAPI = class {
2454
2708
  /**
2455
2709
  * Toggle BNB Burn On Spot Trade And Margin Interest
2456
2710
  *
2457
- * "spotBNBBurn" and "interestBNBBurn" should be sent at least one.
2711
+ * Weight(IP): 1
2712
+ *
2713
+ * Security Type: USER_DATA
2458
2714
  *
2459
- * Weight: 1(IP)
2715
+ * Notes:
2716
+ * - "spotBNBBurn" and "interestBNBBurn" should be sent at least one.
2460
2717
  *
2461
2718
  * @summary Toggle BNB Burn On Spot Trade And Margin Interest (USER_DATA)
2462
2719
  * @param {ToggleBnbBurnOnSpotTradeAndMarginInterestRequest} requestParameters Request parameters.
2463
2720
  *
2464
2721
  * @returns {Promise<RestApiResponse<ToggleBnbBurnOnSpotTradeAndMarginInterestResponse>>}
2465
2722
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2466
- * @see {@link https://developers.binance.com/docs/wallet/asset/Toggle-BNB-Burn-On-Spot-Trade-And-Margin-Interest Binance API Documentation}
2723
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/asset#toggle-bnb-burn-on-spot-trade-and-margin-interest Binance API Documentation}
2467
2724
  */
2468
2725
  toggleBnbBurnOnSpotTradeAndMarginInterest(requestParameters = {}) {
2469
2726
  return this.assetApi.toggleBnbBurnOnSpotTradeAndMarginInterest(requestParameters);
@@ -2471,14 +2728,16 @@ var RestAPI = class {
2471
2728
  /**
2472
2729
  * Fetch trade fee
2473
2730
  *
2474
- * Weight: 1
2731
+ * Weight(IP): 1
2732
+ *
2733
+ * Security Type: USER_DATA
2475
2734
  *
2476
2735
  * @summary Trade Fee (USER_DATA)
2477
2736
  * @param {TradeFeeRequest} requestParameters Request parameters.
2478
2737
  *
2479
2738
  * @returns {Promise<RestApiResponse<TradeFeeResponse>>}
2480
2739
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2481
- * @see {@link https://developers.binance.com/docs/wallet/asset/Trade-Fee Binance API Documentation}
2740
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/asset#trade-fee Binance API Documentation}
2482
2741
  */
2483
2742
  tradeFee(requestParameters = {}) {
2484
2743
  return this.assetApi.tradeFee(requestParameters);
@@ -2486,67 +2745,74 @@ var RestAPI = class {
2486
2745
  /**
2487
2746
  * Get user assets, just for positive data.
2488
2747
  *
2489
- * If asset is set, then return this asset, otherwise return all assets positive.
2490
- * If needBtcValuation is set, then return btcValudation.
2748
+ * Weight(IP): 5
2491
2749
  *
2492
- * Weight: 5
2750
+ * Security Type: USER_DATA
2751
+ *
2752
+ * Notes:
2753
+ * - If asset is set, then return this asset, otherwise return all assets positive.
2754
+ * - If needBtcValuation is set, then return btcValudation.
2493
2755
  *
2494
2756
  * @summary User Asset (USER_DATA)
2495
2757
  * @param {UserAssetRequest} requestParameters Request parameters.
2496
2758
  *
2497
2759
  * @returns {Promise<RestApiResponse<UserAssetResponse>>}
2498
2760
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2499
- * @see {@link https://developers.binance.com/docs/wallet/asset/user-assets Binance API Documentation}
2761
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/asset#user-asset Binance API Documentation}
2500
2762
  */
2501
2763
  userAsset(requestParameters = {}) {
2502
2764
  return this.assetApi.userAsset(requestParameters);
2503
2765
  }
2504
2766
  /**
2505
- * user universal transfer
2506
- *
2507
- * `fromSymbol` must be sent when type are ISOLATEDMARGIN_MARGIN and ISOLATEDMARGIN_ISOLATEDMARGIN
2508
- * `toSymbol` must be sent when type are MARGIN_ISOLATEDMARGIN and ISOLATEDMARGIN_ISOLATEDMARGIN
2509
- * ENUM of transfer types:
2510
- * MAIN_UMFUTURE Spot account transfer to USDⓈ-M Futures account
2511
- * MAIN_CMFUTURE Spot account transfer to COIN-M Futures account
2512
- * MAIN_MARGIN Spot account transfer to Margin(cross)account
2513
- * UMFUTURE_MAIN USDⓈ-M Futures account transfer to Spot account
2514
- * UMFUTURE_MARGIN USDⓈ-M Futures account transfer to Margin(cross)account
2515
- * CMFUTURE_MAIN COIN-M Futures account transfer to Spot account
2516
- * CMFUTURE_MARGIN COIN-M Futures account transfer to Margin(cross) account
2517
- * MARGIN_MAIN Margin(cross)account transfer to Spot account
2518
- * MARGIN_UMFUTURE Margin(cross)account transfer to USDⓈ-M Futures
2519
- * MARGIN_CMFUTURE Margin(cross)account transfer to COIN-M Futures
2520
- * ISOLATEDMARGIN_MARGIN Isolated margin account transfer to Margin(cross) account
2521
- * MARGIN_ISOLATEDMARGIN Margin(cross) account transfer to Isolated margin account
2522
- * ISOLATEDMARGIN_ISOLATEDMARGIN Isolated margin account transfer to Isolated margin account
2523
- * MAIN_FUNDING Spot account transfer to Funding account
2524
- * FUNDING_MAIN Funding account transfer to Spot account
2525
- * FUNDING_UMFUTURE Funding account transfer to UMFUTURE account
2526
- * UMFUTURE_FUNDING UMFUTURE account transfer to Funding account
2527
- * MARGIN_FUNDING MARGIN account transfer to Funding account
2528
- * FUNDING_MARGIN Funding account transfer to Margin account
2529
- * FUNDING_CMFUTURE Funding account transfer to CMFUTURE account
2530
- * CMFUTURE_FUNDING CMFUTURE account transfer to Funding account
2531
- * MAIN_OPTION Spot account transfer to Options account
2532
- * OPTION_MAIN Options account transfer to Spot account
2533
- * UMFUTURE_OPTION USDⓈ-M Futures account transfer to Options account
2534
- * OPTION_UMFUTURE Options account transfer to USDⓈ-M Futures account
2535
- * MARGIN_OPTION Margin(cross)account transfer to Options account
2536
- * OPTION_MARGIN Options account transfer to Margin(cross)account
2537
- * FUNDING_OPTION Funding account transfer to Options account
2538
- * OPTION_FUNDING Options account transfer to Funding account
2539
- * MAIN_PORTFOLIO_MARGIN Spot account transfer to Portfolio Margin account
2540
- * PORTFOLIO_MARGIN_MAIN Portfolio Margin account transfer to Spot account
2541
- *
2542
- * Weight: 900
2767
+ * User universal transfer
2768
+ *
2769
+ * Weight(UID): 900
2770
+ *
2771
+ * Security Type: USER_DATA
2772
+ *
2773
+ * Notes:
2774
+ * - You need to enable Permits Universal Transfer option for the API Key that requests this endpoint.
2775
+ * - `fromSymbol` must be sent when type is `ISOLATEDMARGIN_MARGIN` or `ISOLATEDMARGIN_ISOLATEDMARGIN`.
2776
+ * - `toSymbol` must be sent when type is `MARGIN_ISOLATEDMARGIN` or `ISOLATEDMARGIN_ISOLATEDMARGIN`.
2777
+ * - ENUM of transfer types:
2778
+ * - `MAIN_UMFUTURE`: Spot → USDⓈ-M Futures
2779
+ * - `MAIN_CMFUTURE`: Spot → COIN-M Futures
2780
+ * - `MAIN_MARGIN`: Spot → Margin (cross)
2781
+ * - `UMFUTURE_MAIN`: USDⓈ-M Futures → Spot
2782
+ * - `UMFUTURE_MARGIN`: USDⓈ-M Futures → Margin (cross)
2783
+ * - `CMFUTURE_MAIN`: COIN-M Futures → Spot
2784
+ * - `CMFUTURE_MARGIN`: COIN-M Futures → Margin (cross)
2785
+ * - `MARGIN_MAIN`: Margin (cross) → Spot
2786
+ * - `MARGIN_UMFUTURE`: Margin (cross) → USDⓈ-M Futures
2787
+ * - `MARGIN_CMFUTURE`: Margin (cross) → COIN-M Futures
2788
+ * - `ISOLATEDMARGIN_MARGIN`: Isolated margin → Margin (cross)
2789
+ * - `MARGIN_ISOLATEDMARGIN`: Margin (cross) → Isolated margin
2790
+ * - `ISOLATEDMARGIN_ISOLATEDMARGIN`: Isolated margin → Isolated margin
2791
+ * - `MAIN_FUNDING`: Spot → Funding
2792
+ * - `FUNDING_MAIN`: Funding → Spot
2793
+ * - `FUNDING_UMFUTURE`: Funding → USDⓈ-M Futures
2794
+ * - `UMFUTURE_FUNDING`: USDⓈ-M Futures → Funding
2795
+ * - `MARGIN_FUNDING`: Margin (cross) → Funding
2796
+ * - `FUNDING_MARGIN`: Funding → Margin (cross)
2797
+ * - `FUNDING_CMFUTURE`: Funding → COIN-M Futures
2798
+ * - `CMFUTURE_FUNDING`: COIN-M Futures → Funding
2799
+ * - `MAIN_OPTION`: Spot → Options
2800
+ * - `OPTION_MAIN`: Options → Spot
2801
+ * - `UMFUTURE_OPTION`: USDⓈ-M Futures → Options
2802
+ * - `OPTION_UMFUTURE`: Options → USDⓈ-M Futures
2803
+ * - `MARGIN_OPTION`: Margin (cross) → Options
2804
+ * - `OPTION_MARGIN`: Options → Margin (cross)
2805
+ * - `FUNDING_OPTION`: Funding → Options
2806
+ * - `OPTION_FUNDING`: Options → Funding
2807
+ * - `MAIN_PORTFOLIO_MARGIN`: Spot → Portfolio Margin
2808
+ * - `PORTFOLIO_MARGIN_MAIN`: Portfolio Margin → Spot
2543
2809
  *
2544
2810
  * @summary User Universal Transfer (USER_DATA)
2545
2811
  * @param {UserUniversalTransferRequest} requestParameters Request parameters.
2546
2812
  *
2547
2813
  * @returns {Promise<RestApiResponse<UserUniversalTransferResponse>>}
2548
2814
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2549
- * @see {@link https://developers.binance.com/docs/wallet/asset/User-Universal-Transfer Binance API Documentation}
2815
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/asset#user-universal-transfer Binance API Documentation}
2550
2816
  */
2551
2817
  userUniversalTransfer(requestParameters) {
2552
2818
  return this.assetApi.userUniversalTransfer(requestParameters);
@@ -2554,14 +2820,16 @@ var RestAPI = class {
2554
2820
  /**
2555
2821
  * Get information of coins (available for deposit and withdraw) for user.
2556
2822
  *
2557
- * Weight: 10
2823
+ * Weight(IP): 10
2824
+ *
2825
+ * Security Type: USER_DATA
2558
2826
  *
2559
2827
  * @summary All Coins\' Information (USER_DATA)
2560
2828
  * @param {AllCoinsInformationRequest} requestParameters Request parameters.
2561
2829
  *
2562
2830
  * @returns {Promise<RestApiResponse<AllCoinsInformationResponse>>}
2563
2831
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2564
- * @see {@link https://developers.binance.com/docs/wallet/capital/all-coins-info Binance API Documentation}
2832
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/capital#all-coins-information Binance API Documentation}
2565
2833
  */
2566
2834
  allCoinsInformation(requestParameters = {}) {
2567
2835
  return this.capitalApi.allCoinsInformation(requestParameters);
@@ -2569,18 +2837,21 @@ var RestAPI = class {
2569
2837
  /**
2570
2838
  * Fetch deposit address with network.
2571
2839
  *
2572
- * If `network` is not send, return with default network of the coin.
2573
- * You can get `network` and `isDefault` in `networkList` in the response of `Get /sapi/v1/capital/config/getall (HMAC SHA256)`.
2574
- * `amount` needs to be sent if using LIGHTNING network
2840
+ * Weight(IP): 10
2575
2841
  *
2576
- * Weight: 10
2842
+ * Security Type: USER_DATA
2843
+ *
2844
+ * Notes:
2845
+ * - If `network` is not send, return with default network of the coin.
2846
+ * - You can get `network` and `isDefault` in `networkList` in the response of `Get /sapi/v1/capital/config/getall (HMAC SHA256)`.
2847
+ * - `amount` needs to be sent if using LIGHTNING network
2577
2848
  *
2578
2849
  * @summary Deposit Address(supporting network) (USER_DATA)
2579
2850
  * @param {DepositAddressRequest} requestParameters Request parameters.
2580
2851
  *
2581
2852
  * @returns {Promise<RestApiResponse<DepositAddressResponse>>}
2582
2853
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2583
- * @see {@link https://developers.binance.com/docs/wallet/capital/deposite-address Binance API Documentation}
2854
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/capital#deposit-address Binance API Documentation}
2584
2855
  */
2585
2856
  depositAddress(requestParameters) {
2586
2857
  return this.capitalApi.depositAddress(requestParameters);
@@ -2588,18 +2859,20 @@ var RestAPI = class {
2588
2859
  /**
2589
2860
  * Fetch deposit history.
2590
2861
  *
2862
+ * Weight(IP): 1
2591
2863
  *
2592
- * Please notice the default `startTime` and `endTime` to make sure that time interval is within 0-90 days.
2593
- * If both ``startTime`` and ``endTime`` are sent, time between ``startTime`` and ``endTime`` must be less than 90 days.
2864
+ * Security Type: USER_DATA
2594
2865
  *
2595
- * Weight: 1
2866
+ * Notes:
2867
+ * - Please notice the default `startTime` and `endTime` to make sure that time interval is within 0-90 days.
2868
+ * - If both `startTime` and `endTime` are sent, time between `startTime` and `endTime` must be less than 90 days.
2596
2869
  *
2597
2870
  * @summary Deposit History (supporting network) (USER_DATA)
2598
2871
  * @param {DepositHistoryRequest} requestParameters Request parameters.
2599
2872
  *
2600
2873
  * @returns {Promise<RestApiResponse<DepositHistoryResponse>>}
2601
2874
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2602
- * @see {@link https://developers.binance.com/docs/wallet/capital/deposite-history Binance API Documentation}
2875
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/capital#deposit-history Binance API Documentation}
2603
2876
  */
2604
2877
  depositHistory(requestParameters = {}) {
2605
2878
  return this.capitalApi.depositHistory(requestParameters);
@@ -2607,18 +2880,16 @@ var RestAPI = class {
2607
2880
  /**
2608
2881
  * Fetch deposit address list with network.
2609
2882
  *
2883
+ * Weight(IP): 10
2610
2884
  *
2611
- * If network is not send, return with default network of the coin.
2612
- * You can get network and isDefault in networkList in the response of `Get /sapi/v1/capital/config/getall`.
2613
- *
2614
- * Weight: 10
2885
+ * Security Type: USER_DATA
2615
2886
  *
2616
- * @summary Fetch deposit address list with network(USER_DATA)
2887
+ * @summary Fetch deposit address list with network (USER_DATA)
2617
2888
  * @param {FetchDepositAddressListWithNetworkRequest} requestParameters Request parameters.
2618
2889
  *
2619
2890
  * @returns {Promise<RestApiResponse<FetchDepositAddressListWithNetworkResponse>>}
2620
2891
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2621
- * @see {@link https://developers.binance.com/docs/wallet/capital/Fetch-deposit-address-list-with-network Binance API Documentation}
2892
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/capital#fetch-deposit-address-list-with-network Binance API Documentation}
2622
2893
  */
2623
2894
  fetchDepositAddressListWithNetwork(requestParameters) {
2624
2895
  return this.capitalApi.fetchDepositAddressListWithNetwork(requestParameters);
@@ -2626,13 +2897,15 @@ var RestAPI = class {
2626
2897
  /**
2627
2898
  * Fetch withdraw address list
2628
2899
  *
2629
- * Weight: 10
2900
+ * Weight(IP): 10
2901
+ *
2902
+ * Security Type: USER_DATA
2630
2903
  *
2631
2904
  * @summary Fetch withdraw address list (USER_DATA)
2632
2905
  *
2633
2906
  * @returns {Promise<RestApiResponse<FetchWithdrawAddressListResponse>>}
2634
2907
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2635
- * @see {@link https://developers.binance.com/docs/wallet/capital/fetch-withdraw-address Binance API Documentation}
2908
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/capital#fetch-withdraw-address-list Binance API Documentation}
2636
2909
  */
2637
2910
  fetchWithdrawAddressList() {
2638
2911
  return this.capitalApi.fetchWithdrawAddressList();
@@ -2640,13 +2913,15 @@ var RestAPI = class {
2640
2913
  /**
2641
2914
  * Fetch withdraw quota
2642
2915
  *
2643
- * Weight: 10
2916
+ * Weight(IP): 10
2917
+ *
2918
+ * Security Type: USER_DATA
2644
2919
  *
2645
2920
  * @summary Fetch withdraw quota (USER_DATA)
2646
2921
  *
2647
2922
  * @returns {Promise<RestApiResponse<FetchWithdrawQuotaResponse>>}
2648
2923
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2649
- * @see {@link https://developers.binance.com/docs/wallet/capital/Fetch-withdraw-quota Binance API Documentation}
2924
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/capital#fetch-withdraw-quota Binance API Documentation}
2650
2925
  */
2651
2926
  fetchWithdrawQuota() {
2652
2927
  return this.capitalApi.fetchWithdrawQuota();
@@ -2654,62 +2929,64 @@ var RestAPI = class {
2654
2929
  /**
2655
2930
  * Apply deposit credit for expired address (One click arrival)
2656
2931
  *
2657
- * Params need to be in the POST body
2932
+ * Weight(IP): 1
2658
2933
  *
2659
- * Weight: 1
2934
+ * Security Type: USER_DATA
2660
2935
  *
2661
2936
  * @summary One click arrival deposit apply (for expired address deposit) (USER_DATA)
2662
2937
  * @param {OneClickArrivalDepositApplyRequest} requestParameters Request parameters.
2663
2938
  *
2664
2939
  * @returns {Promise<RestApiResponse<OneClickArrivalDepositApplyResponse>>}
2665
2940
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2666
- * @see {@link https://developers.binance.com/docs/wallet/capital/one-click-arrival-deposite-apply Binance API Documentation}
2941
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/capital#one-click-arrival-deposit-apply Binance API Documentation}
2667
2942
  */
2668
2943
  oneClickArrivalDepositApply(requestParameters = {}) {
2669
2944
  return this.capitalApi.oneClickArrivalDepositApply(requestParameters);
2670
2945
  }
2671
2946
  /**
2672
- * Submit a withdraw request.
2947
+ * Submit a withdraw request
2673
2948
  *
2949
+ * Weight(UID): 900
2674
2950
  *
2675
- * If `network` not send, return with default network of the coin.
2676
- * You can get `network` and `isDefault` in `networkList` of a coin in the response of `Get /sapi/v1/capital/config/getall (HMAC SHA256)`.
2677
- * 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.
2678
- * 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`:
2679
- * If `withdrawTag` = `true` → memo/tag is required.
2680
- * If `withdrawTag` = `false` → memo/tag is not supported; omit `addressTag`.
2951
+ * Security Type: USER_DATA
2681
2952
  *
2682
- * Weight: 900
2953
+ * Notes:
2954
+ * - If `network` not send, return with default network of the coin.
2955
+ * - You can get `network` and `isDefault` in `networkList` of a coin in the response of `Get /sapi/v1/capital/config/getall (HMAC SHA256)`.
2956
+ * - 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.
2957
+ * - "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`."
2683
2958
  *
2684
- * @summary Withdraw(USER_DATA)
2959
+ * @summary Withdraw (USER_DATA)
2685
2960
  * @param {WithdrawRequest} requestParameters Request parameters.
2686
2961
  *
2687
2962
  * @returns {Promise<RestApiResponse<WithdrawResponse>>}
2688
2963
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2689
- * @see {@link https://developers.binance.com/docs/wallet/capital/Withdraw Binance API Documentation}
2964
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/capital#withdraw Binance API Documentation}
2690
2965
  */
2691
2966
  withdraw(requestParameters) {
2692
2967
  return this.capitalApi.withdraw(requestParameters);
2693
2968
  }
2694
2969
  /**
2695
- * Fetch withdraw history.
2970
+ * Fetch withdraw history
2971
+ *
2972
+ * Weight(UID): 18000 (10 requests per second)
2696
2973
  *
2697
- * `network` may not be in the response for old withdraw.
2698
- * Please notice the default `startTime` and `endTime` to make sure that time interval is within 0-90 days.
2699
- * If both `startTime` and `endTime`are sent, time between `startTime`and `endTime`must be less than 90 days.
2700
- * If `withdrawOrderId` is sent, time between `startTime` and `endTime` must be less than 7 days.
2701
- * If `withdrawOrderId` is sent, `startTime` and `endTime` are not sent, will return last 7 days records by default.
2702
- * Maximum support `idList` number is 45.
2974
+ * Security Type: USER_DATA
2703
2975
  *
2704
- * Weight: 18000
2705
- * Request limit: 10 requests per second
2976
+ * Notes:
2977
+ * - `network` may not be in the response for old withdraw.
2978
+ * - Please notice the default `startTime` and `endTime` to make sure that time interval is within 0-90 days.
2979
+ * - If both `startTime` and `endTime`are sent, time between `startTime`and `endTime`must be less than 90 days.
2980
+ * - If `withdrawOrderId` is sent, time between `startTime` and `endTime` must be less than 7 days.
2981
+ * - If `withdrawOrderId` is sent, `startTime` and `endTime` are not sent, will return last 7 days records by default.
2982
+ * - Maximum support `idList` number is 45.
2706
2983
  *
2707
2984
  * @summary Withdraw History (supporting network) (USER_DATA)
2708
2985
  * @param {WithdrawHistoryRequest} requestParameters Request parameters.
2709
2986
  *
2710
2987
  * @returns {Promise<RestApiResponse<WithdrawHistoryResponse>>}
2711
2988
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2712
- * @see {@link https://developers.binance.com/docs/wallet/capital/Withdraw-History Binance API Documentation}
2989
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/capital#withdraw-history Binance API Documentation}
2713
2990
  */
2714
2991
  withdrawHistory(requestParameters = {}) {
2715
2992
  return this.capitalApi.withdrawHistory(requestParameters);
@@ -2717,14 +2994,16 @@ var RestAPI = class {
2717
2994
  /**
2718
2995
  * Get symbols delist schedule for spot
2719
2996
  *
2720
- * Weight: 100
2997
+ * Weight(IP): 100
2998
+ *
2999
+ * Security Type: MARKET_DATA
2721
3000
  *
2722
- * @summary Get symbols delist schedule for spot (MARKET_DATA)
3001
+ * @summary Get Spot Delist Schedule (MARKET_DATA)
2723
3002
  * @param {GetSymbolsDelistScheduleForSpotRequest} requestParameters Request parameters.
2724
3003
  *
2725
3004
  * @returns {Promise<RestApiResponse<GetSymbolsDelistScheduleForSpotResponse>>}
2726
3005
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2727
- * @see {@link https://developers.binance.com/docs/wallet/others/delist-schedule Binance API Documentation}
3006
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/others#get-symbols-delist-schedule-for-spot Binance API Documentation}
2728
3007
  */
2729
3008
  getSymbolsDelistScheduleForSpot(requestParameters = {}) {
2730
3009
  return this.othersApi.getSymbolsDelistScheduleForSpot(requestParameters);
@@ -2732,13 +3011,15 @@ var RestAPI = class {
2732
3011
  /**
2733
3012
  * Fetch system status.
2734
3013
  *
2735
- * Weight: 1
3014
+ * Weight(IP): 1
2736
3015
  *
2737
- * @summary System Status (System)
3016
+ * Security Type: System
3017
+ *
3018
+ * @summary System Status
2738
3019
  *
2739
3020
  * @returns {Promise<RestApiResponse<SystemStatusResponse>>}
2740
3021
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2741
- * @see {@link https://developers.binance.com/docs/wallet/others/System-Status Binance API Documentation}
3022
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/others#system-status Binance API Documentation}
2742
3023
  */
2743
3024
  systemStatus() {
2744
3025
  return this.othersApi.systemStatus();
@@ -2746,34 +3027,40 @@ var RestAPI = class {
2746
3027
  /**
2747
3028
  * Submit a withdrawal request for brokers of local entities that required travel rule.
2748
3029
  *
2749
- * 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.
2750
- * You can get `network` in `networkList` of a coin in the response
2751
- * Questionnaire is different for each local entity, please refer to
2752
- * If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`,
3030
+ * Weight(UID): 600
3031
+ *
3032
+ * Security Type: USER_DATA
2753
3033
  *
2754
- * Weight: 600
3034
+ * Notes:
3035
+ * - 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.
3036
+ * - You can get `network` in `networkList` of a coin in the response of `Get /sapi/v1/capital/config/getall (HMAC SHA256)`.
3037
+ * - Questionnaire is different for each local entity, please refer to the `Withdraw Questionnaire Contents` page.
3038
+ * - If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`, please try to verify the format of the questionnaire and use URL-encoded format.
2755
3039
  *
2756
3040
  * @summary Broker Withdraw (for brokers of local entities that require travel rule) (USER_DATA)
2757
3041
  * @param {BrokerWithdrawRequest} requestParameters Request parameters.
2758
3042
  *
2759
3043
  * @returns {Promise<RestApiResponse<BrokerWithdrawResponse>>}
2760
3044
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2761
- * @see {@link https://developers.binance.com/docs/wallet/travel-rule/Broker-Withdraw Binance API Documentation}
3045
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/travel-rule#broker-withdraw Binance API Documentation}
2762
3046
  */
2763
3047
  brokerWithdraw(requestParameters) {
2764
3048
  return this.travelRuleApi.brokerWithdraw(requestParameters);
2765
3049
  }
2766
3050
  /**
2767
- * This API will return user-specific Travel Rule questionnaire requirement information in reference to the current API key.
3051
+ * This API will return user-specific Travel Rule questionnaire requirement information in reference to the current
3052
+ * API key.
3053
+ *
3054
+ * Weight(IP): 1
2768
3055
  *
2769
- * Weight: 1
3056
+ * Security Type: USER_DATA
2770
3057
  *
2771
3058
  * @summary Check Questionnaire Requirements (for local entities that require travel rule) (supporting network) (USER_DATA)
2772
3059
  * @param {CheckQuestionnaireRequirementsRequest} requestParameters Request parameters.
2773
3060
  *
2774
3061
  * @returns {Promise<RestApiResponse<CheckQuestionnaireRequirementsResponse>>}
2775
3062
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2776
- * @see {@link https://developers.binance.com/docs/wallet/travel-rule/questionnaire-requirements Binance API Documentation}
3063
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/travel-rule#check-questionnaire-requirements Binance API Documentation}
2777
3064
  */
2778
3065
  checkQuestionnaireRequirements(requestParameters = {}) {
2779
3066
  return this.travelRuleApi.checkQuestionnaireRequirements(requestParameters);
@@ -2781,18 +3068,21 @@ var RestAPI = class {
2781
3068
  /**
2782
3069
  * Fetch deposit history for local entities that required travel rule.
2783
3070
  *
2784
- * Please notice the default `startTime` and `endTime` to make sure that time interval is within
2785
- * If both ``startTime`` and ``endTime`` are sent, time between ``startTime`` and ``endTime`` must
2786
- * 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.
3071
+ * Weight(IP): 1
2787
3072
  *
2788
- * Weight: 1
3073
+ * Security Type: USER_DATA
2789
3074
  *
2790
- * @summary Deposit History (for local entities that required travel rule) (supporting network) (USER_DATA)
3075
+ * Notes:
3076
+ * - Please notice the default `startTime` and `endTime` to make sure that time interval is within 0-90 days.
3077
+ * - If both `startTime` and `endTime` are sent, time between `startTime` and `endTime` must be less than 90 days.
3078
+ * - 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.
3079
+ *
3080
+ * @summary Deposit History Travel Rule (for local entities that required travel rule) (supporting network) (USER_DATA)
2791
3081
  * @param {DepositHistoryTravelRuleRequest} requestParameters Request parameters.
2792
3082
  *
2793
3083
  * @returns {Promise<RestApiResponse<DepositHistoryTravelRuleResponse>>}
2794
3084
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2795
- * @see {@link https://developers.binance.com/docs/wallet/travel-rule/Deposit-History Binance API Documentation}
3085
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/travel-rule#deposit-history-travel-rule Binance API Documentation}
2796
3086
  */
2797
3087
  depositHistoryTravelRule(requestParameters = {}) {
2798
3088
  return this.travelRuleApi.depositHistoryTravelRule(requestParameters);
@@ -2800,33 +3090,39 @@ var RestAPI = class {
2800
3090
  /**
2801
3091
  * Fetch deposit history for local entities that with required travel rule information.
2802
3092
  *
2803
- * Please notice the default `startTime` and `endTime` to make sure that time interval is within
2804
- * If both ``startTime`` and ``endTime`` are sent, time between ``startTime`` and ``endTime`` must
2805
- * 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.
3093
+ * Weight(IP): 1
3094
+ *
3095
+ * Security Type: USER_DATA
2806
3096
  *
2807
- * Weight: 1
3097
+ * Notes:
3098
+ * - Please notice the default `startTime` and `endTime` to make sure that time interval is within 0-90 days.
3099
+ * - If both `startTime` and `endTime` are sent, time between `startTime` and `endTime` must be less than 90 days.
3100
+ * - 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.
2808
3101
  *
2809
3102
  * @summary Deposit History V2 (for local entities that required travel rule) (supporting network) (USER_DATA)
2810
3103
  * @param {DepositHistoryV2Request} requestParameters Request parameters.
2811
3104
  *
2812
3105
  * @returns {Promise<RestApiResponse<DepositHistoryV2Response>>}
2813
3106
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2814
- * @see {@link https://developers.binance.com/docs/wallet/travel-rule/Deposit-History-V2 Binance API Documentation}
3107
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/travel-rule#deposit-history-v2 Binance API Documentation}
2815
3108
  */
2816
3109
  depositHistoryV2(requestParameters = {}) {
2817
3110
  return this.travelRuleApi.depositHistoryV2(requestParameters);
2818
3111
  }
2819
3112
  /**
2820
- * Fetch address verification list for user to check on status and other details for the addresses stored in Address Book.
3113
+ * Fetch address verification list for user to check on status and other details for the addresses stored in
3114
+ * Address Book.
2821
3115
  *
2822
- * Weight: 1
3116
+ * Weight(IP): 1
3117
+ *
3118
+ * Security Type: USER_DATA
2823
3119
  *
2824
3120
  * @summary Fetch address verification list (USER_DATA)
2825
3121
  * @param {FetchAddressVerificationListRequest} requestParameters Request parameters.
2826
3122
  *
2827
3123
  * @returns {Promise<RestApiResponse<FetchAddressVerificationListResponse>>}
2828
3124
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2829
- * @see {@link https://developers.binance.com/docs/wallet/travel-rule/address-verification-list Binance API Documentation}
3125
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/travel-rule#fetch-address-verification-list Binance API Documentation}
2830
3126
  */
2831
3127
  fetchAddressVerificationList(requestParameters = {}) {
2832
3128
  return this.travelRuleApi.fetchAddressVerificationList(requestParameters);
@@ -2834,28 +3130,33 @@ var RestAPI = class {
2834
3130
  /**
2835
3131
  * Query the active country list for travel rule questionnaires. Currently, only supports AU entity.
2836
3132
  *
2837
- * Weight: 1
3133
+ * Weight(IP): 1
3134
+ *
3135
+ * Security Type: USER_DATA
2838
3136
  *
2839
3137
  * @summary Get Country List (USER_DATA)
3138
+ * @param {GetCountryListRequest} requestParameters Request parameters.
2840
3139
  *
2841
3140
  * @returns {Promise<RestApiResponse<GetCountryListResponse>>}
2842
3141
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2843
- * @see {@link https://developers.binance.com/docs/wallet/travel-rule/country-list Binance API Documentation}
3142
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/travel-rule#get-country-list Binance API Documentation}
2844
3143
  */
2845
- getCountryList() {
2846
- return this.travelRuleApi.getCountryList();
3144
+ getCountryList(requestParameters = {}) {
3145
+ return this.travelRuleApi.getCountryList(requestParameters);
2847
3146
  }
2848
3147
  /**
2849
3148
  * Query the active region/city list for a given country. Currently, only supports AU entity.
2850
3149
  *
2851
- * Weight: 1
3150
+ * Weight(IP): 1
3151
+ *
3152
+ * Security Type: USER_DATA
2852
3153
  *
2853
3154
  * @summary Get Region List (USER_DATA)
2854
3155
  * @param {GetRegionListRequest} requestParameters Request parameters.
2855
3156
  *
2856
3157
  * @returns {Promise<RestApiResponse<GetRegionListResponse>>}
2857
3158
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2858
- * @see {@link https://developers.binance.com/docs/wallet/travel-rule/region-list Binance API Documentation}
3159
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/travel-rule#get-region-list Binance API Documentation}
2859
3160
  */
2860
3161
  getRegionList(requestParameters) {
2861
3162
  return this.travelRuleApi.getRegionList(requestParameters);
@@ -2865,17 +3166,20 @@ var RestAPI = class {
2865
3166
  * The questionnaire is only applies to transactions from un-hosted wallets or VASPs that are not
2866
3167
  * yet onboarded with GTR.
2867
3168
  *
2868
- * Questionnaire is different for each local entity, please refer
2869
- * If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`,
3169
+ * Weight(UID): 600
2870
3170
  *
2871
- * Weight: 600
3171
+ * Security Type: USER_DATA
2872
3172
  *
2873
- * @summary Submit Deposit Questionnaire (For local entities that require travel rule) (supporting network) (USER_DATA)
3173
+ * Notes:
3174
+ * - Questionnaire is different for each local entity, please refer to `Deposit Questionnaire Content` page.
3175
+ * - If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`, please try to verify the format of the questionnaire and use URL-encoded format.
3176
+ *
3177
+ * @summary Submit Deposit Questionnaire Broker (For local entities that require travel rule) (supporting network) (USER_DATA)
2874
3178
  * @param {SubmitDepositQuestionnaireRequest} requestParameters Request parameters.
2875
3179
  *
2876
3180
  * @returns {Promise<RestApiResponse<SubmitDepositQuestionnaireResponse>>}
2877
3181
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2878
- * @see {@link https://developers.binance.com/docs/wallet/travel-rule/deposit-provide-info Binance API Documentation}
3182
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/travel-rule#submit-deposit-questionnaire Binance API Documentation}
2879
3183
  */
2880
3184
  submitDepositQuestionnaire(requestParameters) {
2881
3185
  return this.travelRuleApi.submitDepositQuestionnaire(requestParameters);
@@ -2885,17 +3189,20 @@ var RestAPI = class {
2885
3189
  * The questionnaire is only applies to transactions from unhosted wallets or VASPs that are not
2886
3190
  * yet onboarded with GTR.
2887
3191
  *
2888
- * Questionnaire is different for each local entity, please refer
2889
- * If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`,
3192
+ * Weight(UID): 600
3193
+ *
3194
+ * Security Type: USER_DATA
2890
3195
  *
2891
- * Weight: 600
3196
+ * Notes:
3197
+ * - Questionnaire is different for each local entity, please refer to `Deposit Questionnaire Content` page.
3198
+ * - If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`, please try to verify the format of the questionnaire and use URL-encoded format.
2892
3199
  *
2893
3200
  * @summary Submit Deposit Questionnaire (For local entities that require travel rule) (supporting network) (USER_DATA)
2894
3201
  * @param {SubmitDepositQuestionnaireTravelRuleRequest} requestParameters Request parameters.
2895
3202
  *
2896
3203
  * @returns {Promise<RestApiResponse<SubmitDepositQuestionnaireTravelRuleResponse>>}
2897
3204
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2898
- * @see {@link https://developers.binance.com/docs/wallet/travel-rule/deposit-provide-info Binance API Documentation}
3205
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/travel-rule#submit-deposit-questionnaire-travel-rule Binance API Documentation}
2899
3206
  */
2900
3207
  submitDepositQuestionnaireTravelRule(requestParameters) {
2901
3208
  return this.travelRuleApi.submitDepositQuestionnaireTravelRule(requestParameters);
@@ -2905,17 +3212,20 @@ var RestAPI = class {
2905
3212
  * The questionnaire is only applies to transactions from unhosted wallets or VASPs that are not
2906
3213
  * yet onboarded with GTR.
2907
3214
  *
2908
- * Questionnaire is different for each local entity, please refer
2909
- * If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`,
3215
+ * Weight(UID): 600
2910
3216
  *
2911
- * Weight: 600
3217
+ * Security Type: USER_DATA
3218
+ *
3219
+ * Notes:
3220
+ * - Questionnaire is different for each local entity, please refer to `Deposit Questionnaire Content` page.
3221
+ * - If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`, please try to verify the format of the questionnaire and use URL-encoded format.
2912
3222
  *
2913
3223
  * @summary Submit Deposit Questionnaire V2 (For local entities that require travel rule) (supporting network) (USER_DATA)
2914
3224
  * @param {SubmitDepositQuestionnaireV2Request} requestParameters Request parameters.
2915
3225
  *
2916
3226
  * @returns {Promise<RestApiResponse<SubmitDepositQuestionnaireV2Response>>}
2917
3227
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2918
- * @see {@link https://developers.binance.com/docs/wallet/travel-rule/deposit-provide-info-v2 Binance API Documentation}
3228
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/travel-rule#submit-deposit-questionnaire-v2 Binance API Documentation}
2919
3229
  */
2920
3230
  submitDepositQuestionnaireV2(requestParameters) {
2921
3231
  return this.travelRuleApi.submitDepositQuestionnaireV2(requestParameters);
@@ -2923,14 +3233,16 @@ var RestAPI = class {
2923
3233
  /**
2924
3234
  * Fetch the VASP list for local entities.
2925
3235
  *
2926
- * Weight: 1
3236
+ * Weight(IP): 1
3237
+ *
3238
+ * Security Type: USER_DATA
2927
3239
  *
2928
3240
  * @summary VASP list (for local entities that require travel rule) (supporting network) (USER_DATA)
2929
3241
  * @param {VaspListRequest} requestParameters Request parameters.
2930
3242
  *
2931
3243
  * @returns {Promise<RestApiResponse<VaspListResponse>>}
2932
3244
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2933
- * @see {@link https://developers.binance.com/docs/wallet/travel-rule/onboarded-vasp-list Binance API Documentation}
3245
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/travel-rule#vasp-list Binance API Documentation}
2934
3246
  */
2935
3247
  vaspList(requestParameters = {}) {
2936
3248
  return this.travelRuleApi.vaspList(requestParameters);
@@ -2938,18 +3250,21 @@ var RestAPI = class {
2938
3250
  /**
2939
3251
  * Fetch withdraw history for local entities that required travel rule.
2940
3252
  *
2941
- * `network` may not be in the response for old withdraw.
2942
- * Please notice the default `startTime` and `endTime` to make sure that time interval is within
2943
- * If both `startTime` and `endTime`are sent, time between `startTime`and `endTime`must be less
3253
+ * Weight(IP): 1
3254
+ *
3255
+ * Security Type: USER_DATA
2944
3256
  *
2945
- * Weight: 1
3257
+ * Notes:
3258
+ * - `network` may not be in the response for old withdraw.
3259
+ * - Please notice the default `startTime` and `endTime` to make sure that time interval is within 0-90 days.
3260
+ * - If both `startTime` and `endTime`are sent, time between `startTime`and `endTime`must be less than 90 days.
2946
3261
  *
2947
- * @summary Withdraw History (for local entities that require travel rule) (supporting network) (USER_DATA)
3262
+ * @summary Withdraw History Travel Rule (supporting network) (USER_DATA)
2948
3263
  * @param {WithdrawHistoryV1Request} requestParameters Request parameters.
2949
3264
  *
2950
3265
  * @returns {Promise<RestApiResponse<WithdrawHistoryV1Response>>}
2951
3266
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2952
- * @see {@link https://developers.binance.com/docs/wallet/travel-rule/Withdraw-History Binance API Documentation}
3267
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/travel-rule#withdraw-history-v1 Binance API Documentation}
2953
3268
  */
2954
3269
  withdrawHistoryV1(requestParameters = {}) {
2955
3270
  return this.travelRuleApi.withdrawHistoryV1(requestParameters);
@@ -2957,24 +3272,27 @@ var RestAPI = class {
2957
3272
  /**
2958
3273
  * Fetch withdraw history for local entities that required travel rule.
2959
3274
  *
2960
- * `network` may not be in the response for old withdraw.
2961
- * Withdrawal made through /sapi/v1/capital/withdraw/apply may not be in the response.
2962
- * Please notice the default `startTime` and `endTime` to make sure that time interval is within
2963
- * If both `startTime` and `endTime`are sent, time between `startTime`and `endTime`must be less
2964
- * If withdrawOrderId is sent, time between startTime and endTime must be less than 7 days.
2965
- * If withdrawOrderId is sent, startTime and endTime are not sent, will return last 7 days records by default.
2966
- * Maximum support trId,txId number is 45.
2967
- * WithdrawOrderId only support 1.
2968
- * If responsible does not include withdrawalStatus, please input trId or txId retrieve the data.
3275
+ * Weight(IP): 1
2969
3276
  *
2970
- * Weight: 1
3277
+ * Security Type: USER_DATA
3278
+ *
3279
+ * Notes:
3280
+ * - `network` may not be in the response for old withdraw.
3281
+ * - Withdrawal made through /sapi/v1/capital/withdraw/apply may not be in the response.
3282
+ * - Please notice the default `startTime` and `endTime` to make sure that time interval is within 0-90 days.
3283
+ * - If both `startTime` and `endTime`are sent, time between `startTime`and `endTime`must be less than 90 days.
3284
+ * - If withdrawOrderId is sent, time between startTime and endTime must be less than 7 days.
3285
+ * - If withdrawOrderId is sent, startTime and endTime are not sent, will return last 7 days records by default.
3286
+ * - Maximum support trId,txId number is 45.
3287
+ * - WithdrawOrderId only support 1.
3288
+ * - If responsible does not include withdrawalStatus, please input trId or txId retrieve the data.
2971
3289
  *
2972
3290
  * @summary Withdraw History V2 (for local entities that require travel rule) (supporting network) (USER_DATA)
2973
3291
  * @param {WithdrawHistoryV2Request} requestParameters Request parameters.
2974
3292
  *
2975
3293
  * @returns {Promise<RestApiResponse<WithdrawHistoryV2Response>>}
2976
3294
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2977
- * @see {@link https://developers.binance.com/docs/wallet/travel-rule/Withdraw-History-V2 Binance API Documentation}
3295
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/travel-rule#withdraw-history-v2 Binance API Documentation}
2978
3296
  */
2979
3297
  withdrawHistoryV2(requestParameters = {}) {
2980
3298
  return this.travelRuleApi.withdrawHistoryV2(requestParameters);
@@ -2982,19 +3300,22 @@ var RestAPI = class {
2982
3300
  /**
2983
3301
  * Submit a withdrawal request for local entities that required travel rule.
2984
3302
  *
2985
- * 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.
2986
- * You can get `network` and `isDefault` in `networkList` of a coin in the response
2987
- * Questionnaire is different for each local entity, please refer to
2988
- * If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`,
3303
+ * Weight(UID): 600
3304
+ *
3305
+ * Security Type: USER_DATA
2989
3306
  *
2990
- * Weight: 600
3307
+ * Notes:
3308
+ * - 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.
3309
+ * - You can get `network` and `isDefault` in `networkList` of a coin in the response of `Get /sapi/v1/capital/config/getall (HMAC SHA256)`.
3310
+ * - Questionnaire is different for each local entity, please refer to the `Withdraw Questionnaire Contents` page.
3311
+ * - If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`, please try to verify the format of the questionnaire and use URL-encoded format.
2991
3312
  *
2992
- * @summary Withdraw (for local entities that require travel rule) (USER_DATA)
3313
+ * @summary Withdraw Travel Rule (USER_DATA)
2993
3314
  * @param {WithdrawTravelRuleRequest} requestParameters Request parameters.
2994
3315
  *
2995
3316
  * @returns {Promise<RestApiResponse<WithdrawTravelRuleResponse>>}
2996
3317
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2997
- * @see {@link https://developers.binance.com/docs/wallet/travel-rule/Withdraw Binance API Documentation}
3318
+ * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/travel-rule#withdraw-travel-rule Binance API Documentation}
2998
3319
  */
2999
3320
  withdrawTravelRule(requestParameters) {
3000
3321
  return this.travelRuleApi.withdrawTravelRule(requestParameters);
@@ -3007,9 +3328,20 @@ var rest_api_exports = /* @__PURE__ */ __export({
3007
3328
  AccountApi: () => AccountApi,
3008
3329
  AssetApi: () => AssetApi,
3009
3330
  CapitalApi: () => CapitalApi,
3331
+ DailyAccountSnapshotTypeEnum: () => DailyAccountSnapshotTypeEnum,
3332
+ DepositHistoryStatusEnum: () => DepositHistoryStatusEnum,
3333
+ DustTransferAccountTypeEnum: () => DustTransferAccountTypeEnum,
3334
+ DustlogAccountTypeEnum: () => DustlogAccountTypeEnum,
3335
+ GetAssetsThatCanBeConvertedIntoBnbAccountTypeEnum: () => GetAssetsThatCanBeConvertedIntoBnbAccountTypeEnum,
3010
3336
  OthersApi: () => OthersApi,
3337
+ QueryUserDelegationHistoryTypeEnum: () => QueryUserDelegationHistoryTypeEnum,
3338
+ QueryUserUniversalTransferHistoryFromSymbolEnum: () => QueryUserUniversalTransferHistoryFromSymbolEnum,
3339
+ QueryUserUniversalTransferHistoryToSymbolEnum: () => QueryUserUniversalTransferHistoryToSymbolEnum,
3011
3340
  RestAPI: () => RestAPI,
3012
- TravelRuleApi: () => TravelRuleApi
3341
+ TravelRuleApi: () => TravelRuleApi,
3342
+ UserUniversalTransferFromSymbolEnum: () => UserUniversalTransferFromSymbolEnum,
3343
+ UserUniversalTransferToSymbolEnum: () => UserUniversalTransferToSymbolEnum,
3344
+ UserUniversalTransferTypeEnum: () => UserUniversalTransferTypeEnum
3013
3345
  });
3014
3346
 
3015
3347
  //#endregion