@binance/wallet 21.0.0 → 22.0.0

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