@binance/wallet 7.0.0 → 9.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -749,6 +749,32 @@ interface BrokerWithdrawResponse {
749
749
  info?: string;
750
750
  }
751
751
 
752
+ /**
753
+ * Binance Wallet REST API
754
+ *
755
+ * OpenAPI Specification for the Binance Wallet REST API
756
+ *
757
+ * The version of the OpenAPI document: 1.0.0
758
+ *
759
+ *
760
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
761
+ * https://openapi-generator.tech
762
+ * Do not edit the class manually.
763
+ */
764
+ /**
765
+ *
766
+ * @export
767
+ * @interface CheckQuestionnaireRequirementsResponse
768
+ */
769
+ interface CheckQuestionnaireRequirementsResponse {
770
+ /**
771
+ *
772
+ * @type {string}
773
+ * @memberof CheckQuestionnaireRequirementsResponse
774
+ */
775
+ questionnaireCountryCode?: string;
776
+ }
777
+
752
778
  /**
753
779
  * Binance Wallet REST API
754
780
  *
@@ -1390,6 +1416,164 @@ interface DepositHistoryTravelRuleResponseInner {
1390
1416
  interface DepositHistoryTravelRuleResponse extends Array<DepositHistoryTravelRuleResponseInner> {
1391
1417
  }
1392
1418
 
1419
+ /**
1420
+ * Binance Wallet REST API
1421
+ *
1422
+ * OpenAPI Specification for the Binance Wallet REST API
1423
+ *
1424
+ * The version of the OpenAPI document: 1.0.0
1425
+ *
1426
+ *
1427
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1428
+ * https://openapi-generator.tech
1429
+ * Do not edit the class manually.
1430
+ */
1431
+ /**
1432
+ *
1433
+ * @export
1434
+ * @interface DepositHistoryV2ResponseInnerQuestionnaire
1435
+ */
1436
+ interface DepositHistoryV2ResponseInnerQuestionnaire {
1437
+ /**
1438
+ *
1439
+ * @type {string}
1440
+ * @memberof DepositHistoryV2ResponseInnerQuestionnaire
1441
+ */
1442
+ vaspName?: string;
1443
+ /**
1444
+ *
1445
+ * @type {number}
1446
+ * @memberof DepositHistoryV2ResponseInnerQuestionnaire
1447
+ */
1448
+ depositOriginator?: number;
1449
+ }
1450
+
1451
+ /**
1452
+ * Binance Wallet REST API
1453
+ *
1454
+ * OpenAPI Specification for the Binance Wallet REST API
1455
+ *
1456
+ * The version of the OpenAPI document: 1.0.0
1457
+ *
1458
+ *
1459
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1460
+ * https://openapi-generator.tech
1461
+ * Do not edit the class manually.
1462
+ */
1463
+
1464
+ /**
1465
+ *
1466
+ * @export
1467
+ * @interface DepositHistoryV2ResponseInner
1468
+ */
1469
+ interface DepositHistoryV2ResponseInner {
1470
+ /**
1471
+ *
1472
+ * @type {string}
1473
+ * @memberof DepositHistoryV2ResponseInner
1474
+ */
1475
+ depositId?: string;
1476
+ /**
1477
+ *
1478
+ * @type {string}
1479
+ * @memberof DepositHistoryV2ResponseInner
1480
+ */
1481
+ amount?: string;
1482
+ /**
1483
+ *
1484
+ * @type {string}
1485
+ * @memberof DepositHistoryV2ResponseInner
1486
+ */
1487
+ network?: string;
1488
+ /**
1489
+ *
1490
+ * @type {string}
1491
+ * @memberof DepositHistoryV2ResponseInner
1492
+ */
1493
+ coin?: string;
1494
+ /**
1495
+ *
1496
+ * @type {number}
1497
+ * @memberof DepositHistoryV2ResponseInner
1498
+ */
1499
+ depositStatus?: number;
1500
+ /**
1501
+ *
1502
+ * @type {number}
1503
+ * @memberof DepositHistoryV2ResponseInner
1504
+ */
1505
+ travelRuleReqStatus?: number;
1506
+ /**
1507
+ *
1508
+ * @type {string}
1509
+ * @memberof DepositHistoryV2ResponseInner
1510
+ */
1511
+ address?: string;
1512
+ /**
1513
+ *
1514
+ * @type {string}
1515
+ * @memberof DepositHistoryV2ResponseInner
1516
+ */
1517
+ addressTag?: string;
1518
+ /**
1519
+ *
1520
+ * @type {string}
1521
+ * @memberof DepositHistoryV2ResponseInner
1522
+ */
1523
+ txId?: string;
1524
+ /**
1525
+ *
1526
+ * @type {number}
1527
+ * @memberof DepositHistoryV2ResponseInner
1528
+ */
1529
+ transferType?: number;
1530
+ /**
1531
+ *
1532
+ * @type {string}
1533
+ * @memberof DepositHistoryV2ResponseInner
1534
+ */
1535
+ confirmTimes?: string;
1536
+ /**
1537
+ *
1538
+ * @type {boolean}
1539
+ * @memberof DepositHistoryV2ResponseInner
1540
+ */
1541
+ requireQuestionnaire?: boolean;
1542
+ /**
1543
+ *
1544
+ * @type {DepositHistoryV2ResponseInnerQuestionnaire}
1545
+ * @memberof DepositHistoryV2ResponseInner
1546
+ */
1547
+ questionnaire?: DepositHistoryV2ResponseInnerQuestionnaire;
1548
+ /**
1549
+ *
1550
+ * @type {number}
1551
+ * @memberof DepositHistoryV2ResponseInner
1552
+ */
1553
+ insertTime?: number;
1554
+ }
1555
+
1556
+ /**
1557
+ * Binance Wallet REST API
1558
+ *
1559
+ * OpenAPI Specification for the Binance Wallet REST API
1560
+ *
1561
+ * The version of the OpenAPI document: 1.0.0
1562
+ *
1563
+ *
1564
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1565
+ * https://openapi-generator.tech
1566
+ * Do not edit the class manually.
1567
+ */
1568
+
1569
+ /**
1570
+ *
1571
+ * @export
1572
+ * @interface DepositHistoryV2Response
1573
+ */
1574
+ interface DepositHistoryV2Response extends Array<DepositHistoryV2ResponseInner> {
1575
+ }
1576
+
1393
1577
  /**
1394
1578
  * Binance Wallet REST API
1395
1579
  *
@@ -2457,59 +2641,6 @@ interface GetSymbolsDelistScheduleForSpotResponseInner {
2457
2641
  interface GetSymbolsDelistScheduleForSpotResponse extends Array<GetSymbolsDelistScheduleForSpotResponseInner> {
2458
2642
  }
2459
2643
 
2460
- /**
2461
- * Binance Wallet REST API
2462
- *
2463
- * OpenAPI Specification for the Binance Wallet REST API
2464
- *
2465
- * The version of the OpenAPI document: 1.0.0
2466
- *
2467
- *
2468
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2469
- * https://openapi-generator.tech
2470
- * Do not edit the class manually.
2471
- */
2472
- /**
2473
- *
2474
- * @export
2475
- * @interface OnboardedVaspListResponseInner
2476
- */
2477
- interface OnboardedVaspListResponseInner {
2478
- /**
2479
- *
2480
- * @type {string}
2481
- * @memberof OnboardedVaspListResponseInner
2482
- */
2483
- vaspName?: string;
2484
- /**
2485
- *
2486
- * @type {string}
2487
- * @memberof OnboardedVaspListResponseInner
2488
- */
2489
- vaspCode?: string;
2490
- }
2491
-
2492
- /**
2493
- * Binance Wallet REST API
2494
- *
2495
- * OpenAPI Specification for the Binance Wallet REST API
2496
- *
2497
- * The version of the OpenAPI document: 1.0.0
2498
- *
2499
- *
2500
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2501
- * https://openapi-generator.tech
2502
- * Do not edit the class manually.
2503
- */
2504
-
2505
- /**
2506
- *
2507
- * @export
2508
- * @interface OnboardedVaspListResponse
2509
- */
2510
- interface OnboardedVaspListResponse extends Array<OnboardedVaspListResponseInner> {
2511
- }
2512
-
2513
2644
  /**
2514
2645
  * Binance Wallet REST API
2515
2646
  *
@@ -3093,6 +3224,59 @@ interface UserUniversalTransferResponse {
3093
3224
  tranId?: number;
3094
3225
  }
3095
3226
 
3227
+ /**
3228
+ * Binance Wallet REST API
3229
+ *
3230
+ * OpenAPI Specification for the Binance Wallet REST API
3231
+ *
3232
+ * The version of the OpenAPI document: 1.0.0
3233
+ *
3234
+ *
3235
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3236
+ * https://openapi-generator.tech
3237
+ * Do not edit the class manually.
3238
+ */
3239
+ /**
3240
+ *
3241
+ * @export
3242
+ * @interface VaspListResponseInner
3243
+ */
3244
+ interface VaspListResponseInner {
3245
+ /**
3246
+ *
3247
+ * @type {string}
3248
+ * @memberof VaspListResponseInner
3249
+ */
3250
+ vaspName?: string;
3251
+ /**
3252
+ *
3253
+ * @type {string}
3254
+ * @memberof VaspListResponseInner
3255
+ */
3256
+ vaspCode?: string;
3257
+ }
3258
+
3259
+ /**
3260
+ * Binance Wallet REST API
3261
+ *
3262
+ * OpenAPI Specification for the Binance Wallet REST API
3263
+ *
3264
+ * The version of the OpenAPI document: 1.0.0
3265
+ *
3266
+ *
3267
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3268
+ * https://openapi-generator.tech
3269
+ * Do not edit the class manually.
3270
+ */
3271
+
3272
+ /**
3273
+ *
3274
+ * @export
3275
+ * @interface VaspListResponse
3276
+ */
3277
+ interface VaspListResponse extends Array<VaspListResponseInner> {
3278
+ }
3279
+
3096
3280
  /**
3097
3281
  * Binance Wallet REST API
3098
3282
  *
@@ -4878,6 +5062,7 @@ interface CapitalApiInterface {
4878
5062
  *
4879
5063
  * If `network` not send, return with default network of the coin.
4880
5064
  * You can get `network` and `isDefault` in `networkList` of a coin in the response of `Get /sapi/v1/capital/config/getall (HMAC SHA256)`.
5065
+ * 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.
4881
5066
  *
4882
5067
  * Weight: 900
4883
5068
  *
@@ -5302,6 +5487,7 @@ declare class CapitalApi implements CapitalApiInterface {
5302
5487
  *
5303
5488
  * If `network` not send, return with default network of the coin.
5304
5489
  * You can get `network` and `isDefault` in `networkList` of a coin in the response of `Get /sapi/v1/capital/config/getall (HMAC SHA256)`.
5490
+ * 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.
5305
5491
  *
5306
5492
  * Weight: 900
5307
5493
  *
@@ -5460,6 +5646,18 @@ interface TravelRuleApiInterface {
5460
5646
  * @memberof TravelRuleApiInterface
5461
5647
  */
5462
5648
  brokerWithdraw(requestParameters: BrokerWithdrawRequest): Promise<RestApiResponse<BrokerWithdrawResponse>>;
5649
+ /**
5650
+ * This API will return user-specific Travel Rule questionnaire requirement information in reference to the current API key.
5651
+ *
5652
+ * Weight: 1
5653
+ *
5654
+ * @summary Check Questionnaire Requirements (for local entities that require travel rule) (supporting network) (USER_DATA)
5655
+ * @param {CheckQuestionnaireRequirementsRequest} requestParameters Request parameters.
5656
+ *
5657
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
5658
+ * @memberof TravelRuleApiInterface
5659
+ */
5660
+ checkQuestionnaireRequirements(requestParameters?: CheckQuestionnaireRequirementsRequest): Promise<RestApiResponse<CheckQuestionnaireRequirementsResponse>>;
5463
5661
  /**
5464
5662
  * Fetch deposit history for local entities that required travel rule.
5465
5663
  *
@@ -5476,33 +5674,32 @@ interface TravelRuleApiInterface {
5476
5674
  */
5477
5675
  depositHistoryTravelRule(requestParameters?: DepositHistoryTravelRuleRequest): Promise<RestApiResponse<DepositHistoryTravelRuleResponse>>;
5478
5676
  /**
5479
- * Fetch address verification list
5677
+ * Fetch deposit history for local entities that with required travel rule information.
5480
5678
  *
5481
- * Weight: 10
5679
+ * Please notice the default `startTime` and `endTime` to make sure that time interval is within
5680
+ * If both ``startTime`` and ``endTime`` are sent, time between ``startTime`` and ``endTime`` must
5482
5681
  *
5483
- * @summary Fetch address verification list (USER_DATA)
5682
+ * Weight: 1
5683
+ *
5684
+ * @summary Deposit History V2 (for local entities that required travel rule) (supporting network) (USER_DATA)
5685
+ * @param {DepositHistoryV2Request} requestParameters Request parameters.
5484
5686
  *
5485
5687
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
5486
5688
  * @memberof TravelRuleApiInterface
5487
5689
  */
5488
- fetchAddressVerificationList(): Promise<RestApiResponse<FetchAddressVerificationListResponse>>;
5690
+ depositHistoryV2(requestParameters?: DepositHistoryV2Request): Promise<RestApiResponse<DepositHistoryV2Response>>;
5489
5691
  /**
5490
- * Fetch the onboarded VASP list for local entities that required travel rule.
5692
+ * Fetch address verification list for user to check on status and other details for the addresses stored in Address Book.
5491
5693
  *
5492
- * This endpoint specifically uses per second IP rate limit, user's total second level IP rate
5493
- *
5494
- * Weight: 18000
5495
- * Request limit: 10 requests per second
5496
- * > * This endpoint specifically uses per second IP rate limit, user's total second level IP rate
5497
- * limit is 180000/second. Response from the endpoint contains header
5498
- * key X-SAPI-USED-IP-WEIGHT-1S, which defines weight used by the current IP.
5694
+ * Weight: 1
5499
5695
  *
5500
- * @summary Onboarded VASP list (for local entities that require travel rule) (supporting network) (USER_DATA)
5696
+ * @summary Fetch address verification list (USER_DATA)
5697
+ * @param {FetchAddressVerificationListRequest} requestParameters Request parameters.
5501
5698
  *
5502
5699
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
5503
5700
  * @memberof TravelRuleApiInterface
5504
5701
  */
5505
- onboardedVaspList(): Promise<RestApiResponse<OnboardedVaspListResponse>>;
5702
+ fetchAddressVerificationList(requestParameters?: FetchAddressVerificationListRequest): Promise<RestApiResponse<FetchAddressVerificationListResponse>>;
5506
5703
  /**
5507
5704
  * Submit questionnaire for brokers of local entities that require travel rule.
5508
5705
  * The questionnaire is only applies to transactions from un-hosted wallets or VASPs that are not
@@ -5537,19 +5734,26 @@ interface TravelRuleApiInterface {
5537
5734
  * @memberof TravelRuleApiInterface
5538
5735
  */
5539
5736
  submitDepositQuestionnaireTravelRule(requestParameters: SubmitDepositQuestionnaireTravelRuleRequest): Promise<RestApiResponse<SubmitDepositQuestionnaireTravelRuleResponse>>;
5737
+ /**
5738
+ * Fetch the VASP list for local entities.
5739
+ *
5740
+ * Weight: 1
5741
+ *
5742
+ * @summary VASP list (for local entities that require travel rule) (supporting network) (USER_DATA)
5743
+ * @param {VaspListRequest} requestParameters Request parameters.
5744
+ *
5745
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
5746
+ * @memberof TravelRuleApiInterface
5747
+ */
5748
+ vaspList(requestParameters?: VaspListRequest): Promise<RestApiResponse<VaspListResponse>>;
5540
5749
  /**
5541
5750
  * Fetch withdraw history for local entities that required travel rule.
5542
5751
  *
5543
- * This endpoint specifically uses per second IP rate limit, user's total second level IP rate
5544
5752
  * `network` may not be in the response for old withdraw.
5545
5753
  * Please notice the default `startTime` and `endTime` to make sure that time interval is within
5546
5754
  * If both `startTime` and `endTime`are sent, time between `startTime`and `endTime`must be less
5547
5755
  *
5548
- * Weight: 18000
5549
- * Request limit: 10 requests per second
5550
- * > * This endpoint specifically uses per second IP rate limit, user's total second level IP rate
5551
- * limit is 180000/second. Response from the endpoint contains header
5552
- * key X-SAPI-USED-IP-WEIGHT-1S, which defines weight used by the current IP.
5756
+ * Weight: 1
5553
5757
  *
5554
5758
  * @summary Withdraw History (for local entities that require travel rule) (supporting network) (USER_DATA)
5555
5759
  * @param {WithdrawHistoryV1Request} requestParameters Request parameters.
@@ -5561,7 +5765,6 @@ interface TravelRuleApiInterface {
5561
5765
  /**
5562
5766
  * Fetch withdraw history for local entities that required travel rule.
5563
5767
  *
5564
- * This endpoint specifically uses per second IP rate limit, user's total second level IP rate
5565
5768
  * `network` may not be in the response for old withdraw.
5566
5769
  * Withdrawal made through /sapi/v1/capital/withdraw/apply may not be in the response.
5567
5770
  * Please notice the default `startTime` and `endTime` to make sure that time interval is within
@@ -5572,11 +5775,7 @@ interface TravelRuleApiInterface {
5572
5775
  * WithdrawOrderId only support 1.
5573
5776
  * If responsible does not include withdrawalStatus, please input trId or txId retrieve the data.
5574
5777
  *
5575
- * Weight: 18000
5576
- * Request limit: 10 requests per second
5577
- * > * This endpoint specifically uses per second IP rate limit, user's total second level IP rate
5578
- * limit is 180000/second. Response from the endpoint contains header
5579
- * key X-SAPI-USED-IP-WEIGHT-1S, which defines weight used by the current IP.
5778
+ * Weight: 1
5580
5779
  *
5581
5780
  * @summary Withdraw History V2 (for local entities that require travel rule) (supporting network) (USER_DATA)
5582
5781
  * @param {WithdrawHistoryV2Request} requestParameters Request parameters.
@@ -5681,6 +5880,18 @@ interface BrokerWithdrawRequest {
5681
5880
  */
5682
5881
  readonly walletType?: number;
5683
5882
  }
5883
+ /**
5884
+ * Request parameters for checkQuestionnaireRequirements operation in TravelRuleApi.
5885
+ * @interface CheckQuestionnaireRequirementsRequest
5886
+ */
5887
+ interface CheckQuestionnaireRequirementsRequest {
5888
+ /**
5889
+ *
5890
+ * @type {number}
5891
+ * @memberof TravelRuleApiCheckQuestionnaireRequirements
5892
+ */
5893
+ readonly recvWindow?: number;
5894
+ }
5684
5895
  /**
5685
5896
  * Request parameters for depositHistoryTravelRule operation in TravelRuleApi.
5686
5897
  * @interface DepositHistoryTravelRuleRequest
@@ -5753,6 +5964,78 @@ interface DepositHistoryTravelRuleRequest {
5753
5964
  */
5754
5965
  readonly limit?: number;
5755
5966
  }
5967
+ /**
5968
+ * Request parameters for depositHistoryV2 operation in TravelRuleApi.
5969
+ * @interface DepositHistoryV2Request
5970
+ */
5971
+ interface DepositHistoryV2Request {
5972
+ /**
5973
+ * Comma(,) separated list of wallet tran Ids.
5974
+ * @type {string}
5975
+ * @memberof TravelRuleApiDepositHistoryV2
5976
+ */
5977
+ readonly depositId?: string;
5978
+ /**
5979
+ *
5980
+ * @type {string}
5981
+ * @memberof TravelRuleApiDepositHistoryV2
5982
+ */
5983
+ readonly txId?: string;
5984
+ /**
5985
+ *
5986
+ * @type {string}
5987
+ * @memberof TravelRuleApiDepositHistoryV2
5988
+ */
5989
+ readonly network?: string;
5990
+ /**
5991
+ *
5992
+ * @type {string}
5993
+ * @memberof TravelRuleApiDepositHistoryV2
5994
+ */
5995
+ readonly coin?: string;
5996
+ /**
5997
+ * true: return `questionnaire` within response.
5998
+ * @type {boolean}
5999
+ * @memberof TravelRuleApiDepositHistoryV2
6000
+ */
6001
+ readonly retrieveQuestionnaire?: boolean;
6002
+ /**
6003
+ *
6004
+ * @type {number}
6005
+ * @memberof TravelRuleApiDepositHistoryV2
6006
+ */
6007
+ readonly startTime?: number;
6008
+ /**
6009
+ *
6010
+ * @type {number}
6011
+ * @memberof TravelRuleApiDepositHistoryV2
6012
+ */
6013
+ readonly endTime?: number;
6014
+ /**
6015
+ * Default: 0
6016
+ * @type {number}
6017
+ * @memberof TravelRuleApiDepositHistoryV2
6018
+ */
6019
+ readonly offset?: number;
6020
+ /**
6021
+ * min 7, max 30, default 7
6022
+ * @type {number}
6023
+ * @memberof TravelRuleApiDepositHistoryV2
6024
+ */
6025
+ readonly limit?: number;
6026
+ }
6027
+ /**
6028
+ * Request parameters for fetchAddressVerificationList operation in TravelRuleApi.
6029
+ * @interface FetchAddressVerificationListRequest
6030
+ */
6031
+ interface FetchAddressVerificationListRequest {
6032
+ /**
6033
+ *
6034
+ * @type {number}
6035
+ * @memberof TravelRuleApiFetchAddressVerificationList
6036
+ */
6037
+ readonly recvWindow?: number;
6038
+ }
5756
6039
  /**
5757
6040
  * Request parameters for submitDepositQuestionnaire operation in TravelRuleApi.
5758
6041
  * @interface SubmitDepositQuestionnaireRequest
@@ -5837,6 +6120,18 @@ interface SubmitDepositQuestionnaireTravelRuleRequest {
5837
6120
  */
5838
6121
  readonly questionnaire: string;
5839
6122
  }
6123
+ /**
6124
+ * Request parameters for vaspList operation in TravelRuleApi.
6125
+ * @interface VaspListRequest
6126
+ */
6127
+ interface VaspListRequest {
6128
+ /**
6129
+ *
6130
+ * @type {number}
6131
+ * @memberof TravelRuleApiVaspList
6132
+ */
6133
+ readonly recvWindow?: number;
6134
+ }
5840
6135
  /**
5841
6136
  * Request parameters for withdrawHistoryV1 operation in TravelRuleApi.
5842
6137
  * @interface WithdrawHistoryV1Request
@@ -6079,6 +6374,19 @@ declare class TravelRuleApi implements TravelRuleApiInterface {
6079
6374
  * @see {@link https://developers.binance.com/docs/wallet/travel-rule/Broker-Withdraw Binance API Documentation}
6080
6375
  */
6081
6376
  brokerWithdraw(requestParameters: BrokerWithdrawRequest): Promise<RestApiResponse<BrokerWithdrawResponse>>;
6377
+ /**
6378
+ * This API will return user-specific Travel Rule questionnaire requirement information in reference to the current API key.
6379
+ *
6380
+ * Weight: 1
6381
+ *
6382
+ * @summary Check Questionnaire Requirements (for local entities that require travel rule) (supporting network) (USER_DATA)
6383
+ * @param {CheckQuestionnaireRequirementsRequest} requestParameters Request parameters.
6384
+ * @returns {Promise<RestApiResponse<CheckQuestionnaireRequirementsResponse>>}
6385
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
6386
+ * @memberof TravelRuleApi
6387
+ * @see {@link https://developers.binance.com/docs/wallet/travel-rule/questionnaire-requirements Binance API Documentation}
6388
+ */
6389
+ checkQuestionnaireRequirements(requestParameters?: CheckQuestionnaireRequirementsRequest): Promise<RestApiResponse<CheckQuestionnaireRequirementsResponse>>;
6082
6390
  /**
6083
6391
  * Fetch deposit history for local entities that required travel rule.
6084
6392
  *
@@ -6096,35 +6404,34 @@ declare class TravelRuleApi implements TravelRuleApiInterface {
6096
6404
  */
6097
6405
  depositHistoryTravelRule(requestParameters?: DepositHistoryTravelRuleRequest): Promise<RestApiResponse<DepositHistoryTravelRuleResponse>>;
6098
6406
  /**
6099
- * Fetch address verification list
6407
+ * Fetch deposit history for local entities that with required travel rule information.
6100
6408
  *
6101
- * Weight: 10
6409
+ * Please notice the default `startTime` and `endTime` to make sure that time interval is within
6410
+ * If both ``startTime`` and ``endTime`` are sent, time between ``startTime`` and ``endTime`` must
6102
6411
  *
6103
- * @summary Fetch address verification list (USER_DATA)
6104
- * @returns {Promise<RestApiResponse<FetchAddressVerificationListResponse>>}
6412
+ * Weight: 1
6413
+ *
6414
+ * @summary Deposit History V2 (for local entities that required travel rule) (supporting network) (USER_DATA)
6415
+ * @param {DepositHistoryV2Request} requestParameters Request parameters.
6416
+ * @returns {Promise<RestApiResponse<DepositHistoryV2Response>>}
6105
6417
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
6106
6418
  * @memberof TravelRuleApi
6107
- * @see {@link https://developers.binance.com/docs/wallet/travel-rule/address-verification-list Binance API Documentation}
6419
+ * @see {@link https://developers.binance.com/docs/wallet/travel-rule/Deposit-History-V2 Binance API Documentation}
6108
6420
  */
6109
- fetchAddressVerificationList(): Promise<RestApiResponse<FetchAddressVerificationListResponse>>;
6421
+ depositHistoryV2(requestParameters?: DepositHistoryV2Request): Promise<RestApiResponse<DepositHistoryV2Response>>;
6110
6422
  /**
6111
- * Fetch the onboarded VASP list for local entities that required travel rule.
6112
- *
6113
- * This endpoint specifically uses per second IP rate limit, user's total second level IP rate
6423
+ * Fetch address verification list for user to check on status and other details for the addresses stored in Address Book.
6114
6424
  *
6115
- * Weight: 18000
6116
- * Request limit: 10 requests per second
6117
- * > * This endpoint specifically uses per second IP rate limit, user's total second level IP rate
6118
- * limit is 180000/second. Response from the endpoint contains header
6119
- * key X-SAPI-USED-IP-WEIGHT-1S, which defines weight used by the current IP.
6425
+ * Weight: 1
6120
6426
  *
6121
- * @summary Onboarded VASP list (for local entities that require travel rule) (supporting network) (USER_DATA)
6122
- * @returns {Promise<RestApiResponse<OnboardedVaspListResponse>>}
6427
+ * @summary Fetch address verification list (USER_DATA)
6428
+ * @param {FetchAddressVerificationListRequest} requestParameters Request parameters.
6429
+ * @returns {Promise<RestApiResponse<FetchAddressVerificationListResponse>>}
6123
6430
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
6124
6431
  * @memberof TravelRuleApi
6125
- * @see {@link https://developers.binance.com/docs/wallet/travel-rule/Onboarded-VASP-list Binance API Documentation}
6432
+ * @see {@link https://developers.binance.com/docs/wallet/travel-rule/address-verification-list Binance API Documentation}
6126
6433
  */
6127
- onboardedVaspList(): Promise<RestApiResponse<OnboardedVaspListResponse>>;
6434
+ fetchAddressVerificationList(requestParameters?: FetchAddressVerificationListRequest): Promise<RestApiResponse<FetchAddressVerificationListResponse>>;
6128
6435
  /**
6129
6436
  * Submit questionnaire for brokers of local entities that require travel rule.
6130
6437
  * The questionnaire is only applies to transactions from un-hosted wallets or VASPs that are not
@@ -6161,19 +6468,27 @@ declare class TravelRuleApi implements TravelRuleApiInterface {
6161
6468
  * @see {@link https://developers.binance.com/docs/wallet/travel-rule/deposit-provide-info Binance API Documentation}
6162
6469
  */
6163
6470
  submitDepositQuestionnaireTravelRule(requestParameters: SubmitDepositQuestionnaireTravelRuleRequest): Promise<RestApiResponse<SubmitDepositQuestionnaireTravelRuleResponse>>;
6471
+ /**
6472
+ * Fetch the VASP list for local entities.
6473
+ *
6474
+ * Weight: 1
6475
+ *
6476
+ * @summary VASP list (for local entities that require travel rule) (supporting network) (USER_DATA)
6477
+ * @param {VaspListRequest} requestParameters Request parameters.
6478
+ * @returns {Promise<RestApiResponse<VaspListResponse>>}
6479
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
6480
+ * @memberof TravelRuleApi
6481
+ * @see {@link https://developers.binance.com/docs/wallet/travel-rule/onboarded-vasp-list Binance API Documentation}
6482
+ */
6483
+ vaspList(requestParameters?: VaspListRequest): Promise<RestApiResponse<VaspListResponse>>;
6164
6484
  /**
6165
6485
  * Fetch withdraw history for local entities that required travel rule.
6166
6486
  *
6167
- * This endpoint specifically uses per second IP rate limit, user's total second level IP rate
6168
6487
  * `network` may not be in the response for old withdraw.
6169
6488
  * Please notice the default `startTime` and `endTime` to make sure that time interval is within
6170
6489
  * If both `startTime` and `endTime`are sent, time between `startTime`and `endTime`must be less
6171
6490
  *
6172
- * Weight: 18000
6173
- * Request limit: 10 requests per second
6174
- * > * This endpoint specifically uses per second IP rate limit, user's total second level IP rate
6175
- * limit is 180000/second. Response from the endpoint contains header
6176
- * key X-SAPI-USED-IP-WEIGHT-1S, which defines weight used by the current IP.
6491
+ * Weight: 1
6177
6492
  *
6178
6493
  * @summary Withdraw History (for local entities that require travel rule) (supporting network) (USER_DATA)
6179
6494
  * @param {WithdrawHistoryV1Request} requestParameters Request parameters.
@@ -6186,7 +6501,6 @@ declare class TravelRuleApi implements TravelRuleApiInterface {
6186
6501
  /**
6187
6502
  * Fetch withdraw history for local entities that required travel rule.
6188
6503
  *
6189
- * This endpoint specifically uses per second IP rate limit, user's total second level IP rate
6190
6504
  * `network` may not be in the response for old withdraw.
6191
6505
  * Withdrawal made through /sapi/v1/capital/withdraw/apply may not be in the response.
6192
6506
  * Please notice the default `startTime` and `endTime` to make sure that time interval is within
@@ -6197,11 +6511,7 @@ declare class TravelRuleApi implements TravelRuleApiInterface {
6197
6511
  * WithdrawOrderId only support 1.
6198
6512
  * If responsible does not include withdrawalStatus, please input trId or txId retrieve the data.
6199
6513
  *
6200
- * Weight: 18000
6201
- * Request limit: 10 requests per second
6202
- * > * This endpoint specifically uses per second IP rate limit, user's total second level IP rate
6203
- * limit is 180000/second. Response from the endpoint contains header
6204
- * key X-SAPI-USED-IP-WEIGHT-1S, which defines weight used by the current IP.
6514
+ * Weight: 1
6205
6515
  *
6206
6516
  * @summary Withdraw History V2 (for local entities that require travel rule) (supporting network) (USER_DATA)
6207
6517
  * @param {WithdrawHistoryV2Request} requestParameters Request parameters.
@@ -6709,6 +7019,7 @@ declare class RestAPI {
6709
7019
  *
6710
7020
  * If `network` not send, return with default network of the coin.
6711
7021
  * You can get `network` and `isDefault` in `networkList` of a coin in the response of `Get /sapi/v1/capital/config/getall (HMAC SHA256)`.
7022
+ * 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.
6712
7023
  *
6713
7024
  * Weight: 900
6714
7025
  *
@@ -6779,6 +7090,18 @@ declare class RestAPI {
6779
7090
  * @see {@link https://developers.binance.com/docs/wallet/travel-rule/Broker-Withdraw Binance API Documentation}
6780
7091
  */
6781
7092
  brokerWithdraw(requestParameters: BrokerWithdrawRequest): Promise<RestApiResponse<BrokerWithdrawResponse>>;
7093
+ /**
7094
+ * This API will return user-specific Travel Rule questionnaire requirement information in reference to the current API key.
7095
+ *
7096
+ * Weight: 1
7097
+ *
7098
+ * @summary Check Questionnaire Requirements (for local entities that require travel rule) (supporting network) (USER_DATA)
7099
+ * @param {CheckQuestionnaireRequirementsRequest} requestParameters Request parameters.
7100
+ * @returns {Promise<RestApiResponse<CheckQuestionnaireRequirementsResponse>>}
7101
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
7102
+ * @see {@link https://developers.binance.com/docs/wallet/travel-rule/questionnaire-requirements Binance API Documentation}
7103
+ */
7104
+ checkQuestionnaireRequirements(requestParameters?: CheckQuestionnaireRequirementsRequest): Promise<RestApiResponse<CheckQuestionnaireRequirementsResponse>>;
6782
7105
  /**
6783
7106
  * Fetch deposit history for local entities that required travel rule.
6784
7107
  *
@@ -6795,33 +7118,32 @@ declare class RestAPI {
6795
7118
  */
6796
7119
  depositHistoryTravelRule(requestParameters?: DepositHistoryTravelRuleRequest): Promise<RestApiResponse<DepositHistoryTravelRuleResponse>>;
6797
7120
  /**
6798
- * Fetch address verification list
7121
+ * Fetch deposit history for local entities that with required travel rule information.
6799
7122
  *
6800
- * Weight: 10
7123
+ * Please notice the default `startTime` and `endTime` to make sure that time interval is within
7124
+ * If both ``startTime`` and ``endTime`` are sent, time between ``startTime`` and ``endTime`` must
6801
7125
  *
6802
- * @summary Fetch address verification list (USER_DATA)
6803
- * @returns {Promise<RestApiResponse<FetchAddressVerificationListResponse>>}
7126
+ * Weight: 1
7127
+ *
7128
+ * @summary Deposit History V2 (for local entities that required travel rule) (supporting network) (USER_DATA)
7129
+ * @param {DepositHistoryV2Request} requestParameters Request parameters.
7130
+ * @returns {Promise<RestApiResponse<DepositHistoryV2Response>>}
6804
7131
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
6805
- * @see {@link https://developers.binance.com/docs/wallet/travel-rule/address-verification-list Binance API Documentation}
7132
+ * @see {@link https://developers.binance.com/docs/wallet/travel-rule/Deposit-History-V2 Binance API Documentation}
6806
7133
  */
6807
- fetchAddressVerificationList(): Promise<RestApiResponse<FetchAddressVerificationListResponse>>;
7134
+ depositHistoryV2(requestParameters?: DepositHistoryV2Request): Promise<RestApiResponse<DepositHistoryV2Response>>;
6808
7135
  /**
6809
- * Fetch the onboarded VASP list for local entities that required travel rule.
7136
+ * Fetch address verification list for user to check on status and other details for the addresses stored in Address Book.
6810
7137
  *
6811
- * This endpoint specifically uses per second IP rate limit, user's total second level IP rate
6812
- *
6813
- * Weight: 18000
6814
- * Request limit: 10 requests per second
6815
- * > * This endpoint specifically uses per second IP rate limit, user's total second level IP rate
6816
- * limit is 180000/second. Response from the endpoint contains header
6817
- * key X-SAPI-USED-IP-WEIGHT-1S, which defines weight used by the current IP.
7138
+ * Weight: 1
6818
7139
  *
6819
- * @summary Onboarded VASP list (for local entities that require travel rule) (supporting network) (USER_DATA)
6820
- * @returns {Promise<RestApiResponse<OnboardedVaspListResponse>>}
7140
+ * @summary Fetch address verification list (USER_DATA)
7141
+ * @param {FetchAddressVerificationListRequest} requestParameters Request parameters.
7142
+ * @returns {Promise<RestApiResponse<FetchAddressVerificationListResponse>>}
6821
7143
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
6822
- * @see {@link https://developers.binance.com/docs/wallet/travel-rule/Onboarded-VASP-list Binance API Documentation}
7144
+ * @see {@link https://developers.binance.com/docs/wallet/travel-rule/address-verification-list Binance API Documentation}
6823
7145
  */
6824
- onboardedVaspList(): Promise<RestApiResponse<OnboardedVaspListResponse>>;
7146
+ fetchAddressVerificationList(requestParameters?: FetchAddressVerificationListRequest): Promise<RestApiResponse<FetchAddressVerificationListResponse>>;
6825
7147
  /**
6826
7148
  * Submit questionnaire for brokers of local entities that require travel rule.
6827
7149
  * The questionnaire is only applies to transactions from un-hosted wallets or VASPs that are not
@@ -6856,19 +7178,26 @@ declare class RestAPI {
6856
7178
  * @see {@link https://developers.binance.com/docs/wallet/travel-rule/deposit-provide-info Binance API Documentation}
6857
7179
  */
6858
7180
  submitDepositQuestionnaireTravelRule(requestParameters: SubmitDepositQuestionnaireTravelRuleRequest): Promise<RestApiResponse<SubmitDepositQuestionnaireTravelRuleResponse>>;
7181
+ /**
7182
+ * Fetch the VASP list for local entities.
7183
+ *
7184
+ * Weight: 1
7185
+ *
7186
+ * @summary VASP list (for local entities that require travel rule) (supporting network) (USER_DATA)
7187
+ * @param {VaspListRequest} requestParameters Request parameters.
7188
+ * @returns {Promise<RestApiResponse<VaspListResponse>>}
7189
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
7190
+ * @see {@link https://developers.binance.com/docs/wallet/travel-rule/onboarded-vasp-list Binance API Documentation}
7191
+ */
7192
+ vaspList(requestParameters?: VaspListRequest): Promise<RestApiResponse<VaspListResponse>>;
6859
7193
  /**
6860
7194
  * Fetch withdraw history for local entities that required travel rule.
6861
7195
  *
6862
- * This endpoint specifically uses per second IP rate limit, user's total second level IP rate
6863
7196
  * `network` may not be in the response for old withdraw.
6864
7197
  * Please notice the default `startTime` and `endTime` to make sure that time interval is within
6865
7198
  * If both `startTime` and `endTime`are sent, time between `startTime`and `endTime`must be less
6866
7199
  *
6867
- * Weight: 18000
6868
- * Request limit: 10 requests per second
6869
- * > * This endpoint specifically uses per second IP rate limit, user's total second level IP rate
6870
- * limit is 180000/second. Response from the endpoint contains header
6871
- * key X-SAPI-USED-IP-WEIGHT-1S, which defines weight used by the current IP.
7200
+ * Weight: 1
6872
7201
  *
6873
7202
  * @summary Withdraw History (for local entities that require travel rule) (supporting network) (USER_DATA)
6874
7203
  * @param {WithdrawHistoryV1Request} requestParameters Request parameters.
@@ -6880,7 +7209,6 @@ declare class RestAPI {
6880
7209
  /**
6881
7210
  * Fetch withdraw history for local entities that required travel rule.
6882
7211
  *
6883
- * This endpoint specifically uses per second IP rate limit, user's total second level IP rate
6884
7212
  * `network` may not be in the response for old withdraw.
6885
7213
  * Withdrawal made through /sapi/v1/capital/withdraw/apply may not be in the response.
6886
7214
  * Please notice the default `startTime` and `endTime` to make sure that time interval is within
@@ -6891,11 +7219,7 @@ declare class RestAPI {
6891
7219
  * WithdrawOrderId only support 1.
6892
7220
  * If responsible does not include withdrawalStatus, please input trId or txId retrieve the data.
6893
7221
  *
6894
- * Weight: 18000
6895
- * Request limit: 10 requests per second
6896
- * > * This endpoint specifically uses per second IP rate limit, user's total second level IP rate
6897
- * limit is 180000/second. Response from the endpoint contains header
6898
- * key X-SAPI-USED-IP-WEIGHT-1S, which defines weight used by the current IP.
7222
+ * Weight: 1
6899
7223
  *
6900
7224
  * @summary Withdraw History V2 (for local entities that require travel rule) (supporting network) (USER_DATA)
6901
7225
  * @param {WithdrawHistoryV2Request} requestParameters Request parameters.
@@ -6966,6 +7290,8 @@ type index_BrokerWithdrawResponse = BrokerWithdrawResponse;
6966
7290
  type index_CapitalApi = CapitalApi;
6967
7291
  declare const index_CapitalApi: typeof CapitalApi;
6968
7292
  type index_CapitalApiInterface = CapitalApiInterface;
7293
+ type index_CheckQuestionnaireRequirementsRequest = CheckQuestionnaireRequirementsRequest;
7294
+ type index_CheckQuestionnaireRequirementsResponse = CheckQuestionnaireRequirementsResponse;
6969
7295
  type index_DailyAccountSnapshotRequest = DailyAccountSnapshotRequest;
6970
7296
  type index_DailyAccountSnapshotResponse = DailyAccountSnapshotResponse;
6971
7297
  type index_DailyAccountSnapshotResponseSnapshotVosInner = DailyAccountSnapshotResponseSnapshotVosInner;
@@ -6982,6 +7308,10 @@ type index_DepositHistoryResponseInner = DepositHistoryResponseInner;
6982
7308
  type index_DepositHistoryTravelRuleRequest = DepositHistoryTravelRuleRequest;
6983
7309
  type index_DepositHistoryTravelRuleResponse = DepositHistoryTravelRuleResponse;
6984
7310
  type index_DepositHistoryTravelRuleResponseInner = DepositHistoryTravelRuleResponseInner;
7311
+ type index_DepositHistoryV2Request = DepositHistoryV2Request;
7312
+ type index_DepositHistoryV2Response = DepositHistoryV2Response;
7313
+ type index_DepositHistoryV2ResponseInner = DepositHistoryV2ResponseInner;
7314
+ type index_DepositHistoryV2ResponseInnerQuestionnaire = DepositHistoryV2ResponseInnerQuestionnaire;
6985
7315
  type index_DisableFastWithdrawSwitchRequest = DisableFastWithdrawSwitchRequest;
6986
7316
  type index_DustTransferRequest = DustTransferRequest;
6987
7317
  type index_DustTransferResponse = DustTransferResponse;
@@ -6991,6 +7321,7 @@ type index_DustlogResponse = DustlogResponse;
6991
7321
  type index_DustlogResponseUserAssetDribbletsInner = DustlogResponseUserAssetDribbletsInner;
6992
7322
  type index_DustlogResponseUserAssetDribbletsInnerUserAssetDribbletDetailsInner = DustlogResponseUserAssetDribbletsInnerUserAssetDribbletDetailsInner;
6993
7323
  type index_EnableFastWithdrawSwitchRequest = EnableFastWithdrawSwitchRequest;
7324
+ type index_FetchAddressVerificationListRequest = FetchAddressVerificationListRequest;
6994
7325
  type index_FetchAddressVerificationListResponse = FetchAddressVerificationListResponse;
6995
7326
  type index_FetchAddressVerificationListResponseInner = FetchAddressVerificationListResponseInner;
6996
7327
  type index_FetchAddressVerificationListResponseInnerAddressQuestionnaire = FetchAddressVerificationListResponseInnerAddressQuestionnaire;
@@ -7018,8 +7349,6 @@ type index_GetSpotDelistScheduleResponseInner = GetSpotDelistScheduleResponseInn
7018
7349
  type index_GetSymbolsDelistScheduleForSpotRequest = GetSymbolsDelistScheduleForSpotRequest;
7019
7350
  type index_GetSymbolsDelistScheduleForSpotResponse = GetSymbolsDelistScheduleForSpotResponse;
7020
7351
  type index_GetSymbolsDelistScheduleForSpotResponseInner = GetSymbolsDelistScheduleForSpotResponseInner;
7021
- type index_OnboardedVaspListResponse = OnboardedVaspListResponse;
7022
- type index_OnboardedVaspListResponseInner = OnboardedVaspListResponseInner;
7023
7352
  type index_OneClickArrivalDepositApplyRequest = OneClickArrivalDepositApplyRequest;
7024
7353
  type index_OneClickArrivalDepositApplyResponse = OneClickArrivalDepositApplyResponse;
7025
7354
  type index_OthersApi = OthersApi;
@@ -7054,6 +7383,9 @@ type index_UserAssetResponse = UserAssetResponse;
7054
7383
  type index_UserAssetResponseInner = UserAssetResponseInner;
7055
7384
  type index_UserUniversalTransferRequest = UserUniversalTransferRequest;
7056
7385
  type index_UserUniversalTransferResponse = UserUniversalTransferResponse;
7386
+ type index_VaspListRequest = VaspListRequest;
7387
+ type index_VaspListResponse = VaspListResponse;
7388
+ type index_VaspListResponseInner = VaspListResponseInner;
7057
7389
  type index_WithdrawHistoryRequest = WithdrawHistoryRequest;
7058
7390
  type index_WithdrawHistoryResponse = WithdrawHistoryResponse;
7059
7391
  type index_WithdrawHistoryResponseInner = WithdrawHistoryResponseInner;
@@ -7067,7 +7399,7 @@ type index_WithdrawResponse = WithdrawResponse;
7067
7399
  type index_WithdrawTravelRuleRequest = WithdrawTravelRuleRequest;
7068
7400
  type index_WithdrawTravelRuleResponse = WithdrawTravelRuleResponse;
7069
7401
  declare namespace index {
7070
- export { index_AccountApi as AccountApi, type index_AccountApiInterface as AccountApiInterface, type index_AccountApiTradingStatusRequest as AccountApiTradingStatusRequest, type index_AccountApiTradingStatusResponse as AccountApiTradingStatusResponse, type index_AccountApiTradingStatusResponseData as AccountApiTradingStatusResponseData, type index_AccountApiTradingStatusResponseDataTriggerCondition as AccountApiTradingStatusResponseDataTriggerCondition, type index_AccountInfoRequest as AccountInfoRequest, type index_AccountInfoResponse as AccountInfoResponse, type index_AccountStatusRequest as AccountStatusRequest, type index_AccountStatusResponse as AccountStatusResponse, type index_AllCoinsInformationRequest as AllCoinsInformationRequest, type index_AllCoinsInformationResponse as AllCoinsInformationResponse, type index_AllCoinsInformationResponseInner as AllCoinsInformationResponseInner, type index_AllCoinsInformationResponseInnerNetworkListInner as AllCoinsInformationResponseInnerNetworkListInner, index_AssetApi as AssetApi, type index_AssetApiInterface as AssetApiInterface, type index_AssetDetailRequest as AssetDetailRequest, type index_AssetDetailResponse as AssetDetailResponse, type index_AssetDetailResponseCTR as AssetDetailResponseCTR, type index_AssetDetailResponseSKY as AssetDetailResponseSKY, type index_AssetDividendRecordRequest as AssetDividendRecordRequest, type index_AssetDividendRecordResponse as AssetDividendRecordResponse, type index_AssetDividendRecordResponseRowsInner as AssetDividendRecordResponseRowsInner, type index_BrokerWithdrawRequest as BrokerWithdrawRequest, type index_BrokerWithdrawResponse as BrokerWithdrawResponse, index_CapitalApi as CapitalApi, type index_CapitalApiInterface as CapitalApiInterface, type index_DailyAccountSnapshotRequest as DailyAccountSnapshotRequest, type index_DailyAccountSnapshotResponse as DailyAccountSnapshotResponse, type index_DailyAccountSnapshotResponseSnapshotVosInner as DailyAccountSnapshotResponseSnapshotVosInner, type index_DailyAccountSnapshotResponseSnapshotVosInnerData as DailyAccountSnapshotResponseSnapshotVosInnerData, type index_DailyAccountSnapshotResponseSnapshotVosInnerDataAssetsInner as DailyAccountSnapshotResponseSnapshotVosInnerDataAssetsInner, type index_DailyAccountSnapshotResponseSnapshotVosInnerDataBalancesInner as DailyAccountSnapshotResponseSnapshotVosInnerDataBalancesInner, type index_DailyAccountSnapshotResponseSnapshotVosInnerDataPositionInner as DailyAccountSnapshotResponseSnapshotVosInnerDataPositionInner, type index_DailyAccountSnapshotResponseSnapshotVosInnerDataUserAssetsInner as DailyAccountSnapshotResponseSnapshotVosInnerDataUserAssetsInner, type index_DepositAddressRequest as DepositAddressRequest, type index_DepositAddressResponse as DepositAddressResponse, type index_DepositHistoryRequest as DepositHistoryRequest, type index_DepositHistoryResponse as DepositHistoryResponse, type index_DepositHistoryResponseInner as DepositHistoryResponseInner, type index_DepositHistoryTravelRuleRequest as DepositHistoryTravelRuleRequest, type index_DepositHistoryTravelRuleResponse as DepositHistoryTravelRuleResponse, type index_DepositHistoryTravelRuleResponseInner as DepositHistoryTravelRuleResponseInner, type index_DisableFastWithdrawSwitchRequest as DisableFastWithdrawSwitchRequest, type index_DustTransferRequest as DustTransferRequest, type index_DustTransferResponse as DustTransferResponse, type index_DustTransferResponseTransferResultInner as DustTransferResponseTransferResultInner, type index_DustlogRequest as DustlogRequest, type index_DustlogResponse as DustlogResponse, type index_DustlogResponseUserAssetDribbletsInner as DustlogResponseUserAssetDribbletsInner, type index_DustlogResponseUserAssetDribbletsInnerUserAssetDribbletDetailsInner as DustlogResponseUserAssetDribbletsInnerUserAssetDribbletDetailsInner, type index_EnableFastWithdrawSwitchRequest as EnableFastWithdrawSwitchRequest, type index_FetchAddressVerificationListResponse as FetchAddressVerificationListResponse, type index_FetchAddressVerificationListResponseInner as FetchAddressVerificationListResponseInner, type index_FetchAddressVerificationListResponseInnerAddressQuestionnaire as FetchAddressVerificationListResponseInnerAddressQuestionnaire, type index_FetchDepositAddressListWithNetworkRequest as FetchDepositAddressListWithNetworkRequest, type index_FetchDepositAddressListWithNetworkResponse as FetchDepositAddressListWithNetworkResponse, type index_FetchDepositAddressListWithNetworkResponseInner as FetchDepositAddressListWithNetworkResponseInner, type index_FetchWithdrawAddressListResponse as FetchWithdrawAddressListResponse, type index_FetchWithdrawAddressListResponseInner as FetchWithdrawAddressListResponseInner, type index_FetchWithdrawQuotaResponse as FetchWithdrawQuotaResponse, type index_FundingWalletRequest as FundingWalletRequest, type index_FundingWalletResponse as FundingWalletResponse, type index_FundingWalletResponseInner as FundingWalletResponseInner, type index_GetApiKeyPermissionRequest as GetApiKeyPermissionRequest, type index_GetApiKeyPermissionResponse as GetApiKeyPermissionResponse, type index_GetAssetsThatCanBeConvertedIntoBnbRequest as GetAssetsThatCanBeConvertedIntoBnbRequest, type index_GetAssetsThatCanBeConvertedIntoBnbResponse as GetAssetsThatCanBeConvertedIntoBnbResponse, type index_GetAssetsThatCanBeConvertedIntoBnbResponseDetailsInner as GetAssetsThatCanBeConvertedIntoBnbResponseDetailsInner, type index_GetCloudMiningPaymentAndRefundHistoryRequest as GetCloudMiningPaymentAndRefundHistoryRequest, type index_GetCloudMiningPaymentAndRefundHistoryResponse as GetCloudMiningPaymentAndRefundHistoryResponse, type index_GetCloudMiningPaymentAndRefundHistoryResponseRowsInner as GetCloudMiningPaymentAndRefundHistoryResponseRowsInner, type index_GetOpenSymbolListResponse as GetOpenSymbolListResponse, type index_GetOpenSymbolListResponseInner as GetOpenSymbolListResponseInner, type index_GetSpotDelistScheduleResponse as GetSpotDelistScheduleResponse, type index_GetSpotDelistScheduleResponseInner as GetSpotDelistScheduleResponseInner, type index_GetSymbolsDelistScheduleForSpotRequest as GetSymbolsDelistScheduleForSpotRequest, type index_GetSymbolsDelistScheduleForSpotResponse as GetSymbolsDelistScheduleForSpotResponse, type index_GetSymbolsDelistScheduleForSpotResponseInner as GetSymbolsDelistScheduleForSpotResponseInner, type index_OnboardedVaspListResponse as OnboardedVaspListResponse, type index_OnboardedVaspListResponseInner as OnboardedVaspListResponseInner, type index_OneClickArrivalDepositApplyRequest as OneClickArrivalDepositApplyRequest, type index_OneClickArrivalDepositApplyResponse as OneClickArrivalDepositApplyResponse, index_OthersApi as OthersApi, type index_OthersApiInterface as OthersApiInterface, type index_QueryUserDelegationHistoryRequest as QueryUserDelegationHistoryRequest, type index_QueryUserDelegationHistoryResponse as QueryUserDelegationHistoryResponse, type index_QueryUserDelegationHistoryResponseRowsInner as QueryUserDelegationHistoryResponseRowsInner, type index_QueryUserUniversalTransferHistoryRequest as QueryUserUniversalTransferHistoryRequest, type index_QueryUserUniversalTransferHistoryResponse as QueryUserUniversalTransferHistoryResponse, type index_QueryUserUniversalTransferHistoryResponseRowsInner as QueryUserUniversalTransferHistoryResponseRowsInner, type index_QueryUserWalletBalanceRequest as QueryUserWalletBalanceRequest, type index_QueryUserWalletBalanceResponse as QueryUserWalletBalanceResponse, type index_QueryUserWalletBalanceResponseInner as QueryUserWalletBalanceResponseInner, index_RestAPI as RestAPI, type index_SubmitDepositQuestionnaireRequest as SubmitDepositQuestionnaireRequest, type index_SubmitDepositQuestionnaireResponse as SubmitDepositQuestionnaireResponse, type index_SubmitDepositQuestionnaireTravelRuleRequest as SubmitDepositQuestionnaireTravelRuleRequest, type index_SubmitDepositQuestionnaireTravelRuleResponse as SubmitDepositQuestionnaireTravelRuleResponse, type index_SystemStatusResponse as SystemStatusResponse, type index_ToggleBnbBurnOnSpotTradeAndMarginInterestRequest as ToggleBnbBurnOnSpotTradeAndMarginInterestRequest, type index_ToggleBnbBurnOnSpotTradeAndMarginInterestResponse as ToggleBnbBurnOnSpotTradeAndMarginInterestResponse, type index_TradeFeeRequest as TradeFeeRequest, type index_TradeFeeResponse as TradeFeeResponse, type index_TradeFeeResponseInner as TradeFeeResponseInner, index_TravelRuleApi as TravelRuleApi, type index_TravelRuleApiInterface as TravelRuleApiInterface, type index_UserAssetRequest as UserAssetRequest, type index_UserAssetResponse as UserAssetResponse, type index_UserAssetResponseInner as UserAssetResponseInner, type index_UserUniversalTransferRequest as UserUniversalTransferRequest, type index_UserUniversalTransferResponse as UserUniversalTransferResponse, type index_WithdrawHistoryRequest as WithdrawHistoryRequest, type index_WithdrawHistoryResponse as WithdrawHistoryResponse, type index_WithdrawHistoryResponseInner as WithdrawHistoryResponseInner, type index_WithdrawHistoryV1Request as WithdrawHistoryV1Request, type index_WithdrawHistoryV1Response as WithdrawHistoryV1Response, type index_WithdrawHistoryV2Request as WithdrawHistoryV2Request, type index_WithdrawHistoryV2Response as WithdrawHistoryV2Response, type index_WithdrawHistoryV2ResponseInner as WithdrawHistoryV2ResponseInner, type index_WithdrawRequest as WithdrawRequest, type index_WithdrawResponse as WithdrawResponse, type index_WithdrawTravelRuleRequest as WithdrawTravelRuleRequest, type index_WithdrawTravelRuleResponse as WithdrawTravelRuleResponse };
7402
+ export { index_AccountApi as AccountApi, type index_AccountApiInterface as AccountApiInterface, type index_AccountApiTradingStatusRequest as AccountApiTradingStatusRequest, type index_AccountApiTradingStatusResponse as AccountApiTradingStatusResponse, type index_AccountApiTradingStatusResponseData as AccountApiTradingStatusResponseData, type index_AccountApiTradingStatusResponseDataTriggerCondition as AccountApiTradingStatusResponseDataTriggerCondition, type index_AccountInfoRequest as AccountInfoRequest, type index_AccountInfoResponse as AccountInfoResponse, type index_AccountStatusRequest as AccountStatusRequest, type index_AccountStatusResponse as AccountStatusResponse, type index_AllCoinsInformationRequest as AllCoinsInformationRequest, type index_AllCoinsInformationResponse as AllCoinsInformationResponse, type index_AllCoinsInformationResponseInner as AllCoinsInformationResponseInner, type index_AllCoinsInformationResponseInnerNetworkListInner as AllCoinsInformationResponseInnerNetworkListInner, index_AssetApi as AssetApi, type index_AssetApiInterface as AssetApiInterface, type index_AssetDetailRequest as AssetDetailRequest, type index_AssetDetailResponse as AssetDetailResponse, type index_AssetDetailResponseCTR as AssetDetailResponseCTR, type index_AssetDetailResponseSKY as AssetDetailResponseSKY, type index_AssetDividendRecordRequest as AssetDividendRecordRequest, type index_AssetDividendRecordResponse as AssetDividendRecordResponse, type index_AssetDividendRecordResponseRowsInner as AssetDividendRecordResponseRowsInner, type index_BrokerWithdrawRequest as BrokerWithdrawRequest, type index_BrokerWithdrawResponse as BrokerWithdrawResponse, index_CapitalApi as CapitalApi, type index_CapitalApiInterface as CapitalApiInterface, type index_CheckQuestionnaireRequirementsRequest as CheckQuestionnaireRequirementsRequest, type index_CheckQuestionnaireRequirementsResponse as CheckQuestionnaireRequirementsResponse, type index_DailyAccountSnapshotRequest as DailyAccountSnapshotRequest, type index_DailyAccountSnapshotResponse as DailyAccountSnapshotResponse, type index_DailyAccountSnapshotResponseSnapshotVosInner as DailyAccountSnapshotResponseSnapshotVosInner, type index_DailyAccountSnapshotResponseSnapshotVosInnerData as DailyAccountSnapshotResponseSnapshotVosInnerData, type index_DailyAccountSnapshotResponseSnapshotVosInnerDataAssetsInner as DailyAccountSnapshotResponseSnapshotVosInnerDataAssetsInner, type index_DailyAccountSnapshotResponseSnapshotVosInnerDataBalancesInner as DailyAccountSnapshotResponseSnapshotVosInnerDataBalancesInner, type index_DailyAccountSnapshotResponseSnapshotVosInnerDataPositionInner as DailyAccountSnapshotResponseSnapshotVosInnerDataPositionInner, type index_DailyAccountSnapshotResponseSnapshotVosInnerDataUserAssetsInner as DailyAccountSnapshotResponseSnapshotVosInnerDataUserAssetsInner, type index_DepositAddressRequest as DepositAddressRequest, type index_DepositAddressResponse as DepositAddressResponse, type index_DepositHistoryRequest as DepositHistoryRequest, type index_DepositHistoryResponse as DepositHistoryResponse, type index_DepositHistoryResponseInner as DepositHistoryResponseInner, type index_DepositHistoryTravelRuleRequest as DepositHistoryTravelRuleRequest, type index_DepositHistoryTravelRuleResponse as DepositHistoryTravelRuleResponse, type index_DepositHistoryTravelRuleResponseInner as DepositHistoryTravelRuleResponseInner, type index_DepositHistoryV2Request as DepositHistoryV2Request, type index_DepositHistoryV2Response as DepositHistoryV2Response, type index_DepositHistoryV2ResponseInner as DepositHistoryV2ResponseInner, type index_DepositHistoryV2ResponseInnerQuestionnaire as DepositHistoryV2ResponseInnerQuestionnaire, type index_DisableFastWithdrawSwitchRequest as DisableFastWithdrawSwitchRequest, type index_DustTransferRequest as DustTransferRequest, type index_DustTransferResponse as DustTransferResponse, type index_DustTransferResponseTransferResultInner as DustTransferResponseTransferResultInner, type index_DustlogRequest as DustlogRequest, type index_DustlogResponse as DustlogResponse, type index_DustlogResponseUserAssetDribbletsInner as DustlogResponseUserAssetDribbletsInner, type index_DustlogResponseUserAssetDribbletsInnerUserAssetDribbletDetailsInner as DustlogResponseUserAssetDribbletsInnerUserAssetDribbletDetailsInner, type index_EnableFastWithdrawSwitchRequest as EnableFastWithdrawSwitchRequest, type index_FetchAddressVerificationListRequest as FetchAddressVerificationListRequest, type index_FetchAddressVerificationListResponse as FetchAddressVerificationListResponse, type index_FetchAddressVerificationListResponseInner as FetchAddressVerificationListResponseInner, type index_FetchAddressVerificationListResponseInnerAddressQuestionnaire as FetchAddressVerificationListResponseInnerAddressQuestionnaire, type index_FetchDepositAddressListWithNetworkRequest as FetchDepositAddressListWithNetworkRequest, type index_FetchDepositAddressListWithNetworkResponse as FetchDepositAddressListWithNetworkResponse, type index_FetchDepositAddressListWithNetworkResponseInner as FetchDepositAddressListWithNetworkResponseInner, type index_FetchWithdrawAddressListResponse as FetchWithdrawAddressListResponse, type index_FetchWithdrawAddressListResponseInner as FetchWithdrawAddressListResponseInner, type index_FetchWithdrawQuotaResponse as FetchWithdrawQuotaResponse, type index_FundingWalletRequest as FundingWalletRequest, type index_FundingWalletResponse as FundingWalletResponse, type index_FundingWalletResponseInner as FundingWalletResponseInner, type index_GetApiKeyPermissionRequest as GetApiKeyPermissionRequest, type index_GetApiKeyPermissionResponse as GetApiKeyPermissionResponse, type index_GetAssetsThatCanBeConvertedIntoBnbRequest as GetAssetsThatCanBeConvertedIntoBnbRequest, type index_GetAssetsThatCanBeConvertedIntoBnbResponse as GetAssetsThatCanBeConvertedIntoBnbResponse, type index_GetAssetsThatCanBeConvertedIntoBnbResponseDetailsInner as GetAssetsThatCanBeConvertedIntoBnbResponseDetailsInner, type index_GetCloudMiningPaymentAndRefundHistoryRequest as GetCloudMiningPaymentAndRefundHistoryRequest, type index_GetCloudMiningPaymentAndRefundHistoryResponse as GetCloudMiningPaymentAndRefundHistoryResponse, type index_GetCloudMiningPaymentAndRefundHistoryResponseRowsInner as GetCloudMiningPaymentAndRefundHistoryResponseRowsInner, type index_GetOpenSymbolListResponse as GetOpenSymbolListResponse, type index_GetOpenSymbolListResponseInner as GetOpenSymbolListResponseInner, type index_GetSpotDelistScheduleResponse as GetSpotDelistScheduleResponse, type index_GetSpotDelistScheduleResponseInner as GetSpotDelistScheduleResponseInner, type index_GetSymbolsDelistScheduleForSpotRequest as GetSymbolsDelistScheduleForSpotRequest, type index_GetSymbolsDelistScheduleForSpotResponse as GetSymbolsDelistScheduleForSpotResponse, type index_GetSymbolsDelistScheduleForSpotResponseInner as GetSymbolsDelistScheduleForSpotResponseInner, type index_OneClickArrivalDepositApplyRequest as OneClickArrivalDepositApplyRequest, type index_OneClickArrivalDepositApplyResponse as OneClickArrivalDepositApplyResponse, index_OthersApi as OthersApi, type index_OthersApiInterface as OthersApiInterface, type index_QueryUserDelegationHistoryRequest as QueryUserDelegationHistoryRequest, type index_QueryUserDelegationHistoryResponse as QueryUserDelegationHistoryResponse, type index_QueryUserDelegationHistoryResponseRowsInner as QueryUserDelegationHistoryResponseRowsInner, type index_QueryUserUniversalTransferHistoryRequest as QueryUserUniversalTransferHistoryRequest, type index_QueryUserUniversalTransferHistoryResponse as QueryUserUniversalTransferHistoryResponse, type index_QueryUserUniversalTransferHistoryResponseRowsInner as QueryUserUniversalTransferHistoryResponseRowsInner, type index_QueryUserWalletBalanceRequest as QueryUserWalletBalanceRequest, type index_QueryUserWalletBalanceResponse as QueryUserWalletBalanceResponse, type index_QueryUserWalletBalanceResponseInner as QueryUserWalletBalanceResponseInner, index_RestAPI as RestAPI, type index_SubmitDepositQuestionnaireRequest as SubmitDepositQuestionnaireRequest, type index_SubmitDepositQuestionnaireResponse as SubmitDepositQuestionnaireResponse, type index_SubmitDepositQuestionnaireTravelRuleRequest as SubmitDepositQuestionnaireTravelRuleRequest, type index_SubmitDepositQuestionnaireTravelRuleResponse as SubmitDepositQuestionnaireTravelRuleResponse, type index_SystemStatusResponse as SystemStatusResponse, type index_ToggleBnbBurnOnSpotTradeAndMarginInterestRequest as ToggleBnbBurnOnSpotTradeAndMarginInterestRequest, type index_ToggleBnbBurnOnSpotTradeAndMarginInterestResponse as ToggleBnbBurnOnSpotTradeAndMarginInterestResponse, type index_TradeFeeRequest as TradeFeeRequest, type index_TradeFeeResponse as TradeFeeResponse, type index_TradeFeeResponseInner as TradeFeeResponseInner, index_TravelRuleApi as TravelRuleApi, type index_TravelRuleApiInterface as TravelRuleApiInterface, type index_UserAssetRequest as UserAssetRequest, type index_UserAssetResponse as UserAssetResponse, type index_UserAssetResponseInner as UserAssetResponseInner, type index_UserUniversalTransferRequest as UserUniversalTransferRequest, type index_UserUniversalTransferResponse as UserUniversalTransferResponse, type index_VaspListRequest as VaspListRequest, type index_VaspListResponse as VaspListResponse, type index_VaspListResponseInner as VaspListResponseInner, type index_WithdrawHistoryRequest as WithdrawHistoryRequest, type index_WithdrawHistoryResponse as WithdrawHistoryResponse, type index_WithdrawHistoryResponseInner as WithdrawHistoryResponseInner, type index_WithdrawHistoryV1Request as WithdrawHistoryV1Request, type index_WithdrawHistoryV1Response as WithdrawHistoryV1Response, type index_WithdrawHistoryV2Request as WithdrawHistoryV2Request, type index_WithdrawHistoryV2Response as WithdrawHistoryV2Response, type index_WithdrawHistoryV2ResponseInner as WithdrawHistoryV2ResponseInner, type index_WithdrawRequest as WithdrawRequest, type index_WithdrawResponse as WithdrawResponse, type index_WithdrawTravelRuleRequest as WithdrawTravelRuleRequest, type index_WithdrawTravelRuleResponse as WithdrawTravelRuleResponse };
7071
7403
  }
7072
7404
 
7073
7405
  interface ConfigurationWallet {