@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.mjs CHANGED
@@ -9,7 +9,7 @@ import { buildUserAgent, ConfigurationRestAPI as ConfigurationRestAPI7, WALLET_R
9
9
 
10
10
  // package.json
11
11
  var name = "@binance/wallet";
12
- var version = "7.0.0";
12
+ var version = "9.0.0";
13
13
 
14
14
  // src/rest-api/index.ts
15
15
  var rest_api_exports = {};
@@ -1763,6 +1763,7 @@ var CapitalApiAxiosParamCreator = function(configuration) {
1763
1763
  *
1764
1764
  * If `network` not send, return with default network of the coin.
1765
1765
  * You can get `network` and `isDefault` in `networkList` of a coin in the response of `Get /sapi/v1/capital/config/getall (HMAC SHA256)`.
1766
+ * 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.
1766
1767
  *
1767
1768
  * Weight: 900
1768
1769
  *
@@ -2099,6 +2100,7 @@ var CapitalApi = class {
2099
2100
  *
2100
2101
  * If `network` not send, return with default network of the coin.
2101
2102
  * You can get `network` and `isDefault` in `networkList` of a coin in the response of `Get /sapi/v1/capital/config/getall (HMAC SHA256)`.
2103
+ * 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.
2102
2104
  *
2103
2105
  * Weight: 900
2104
2106
  *
@@ -2367,6 +2369,30 @@ var TravelRuleApiAxiosParamCreator = function(configuration) {
2367
2369
  timeUnit: _timeUnit
2368
2370
  };
2369
2371
  },
2372
+ /**
2373
+ * This API will return user-specific Travel Rule questionnaire requirement information in reference to the current API key.
2374
+ *
2375
+ * Weight: 1
2376
+ *
2377
+ * @summary Check Questionnaire Requirements (for local entities that require travel rule) (supporting network) (USER_DATA)
2378
+ * @param {number} [recvWindow]
2379
+ *
2380
+ * @throws {RequiredError}
2381
+ */
2382
+ checkQuestionnaireRequirements: async (recvWindow) => {
2383
+ const localVarQueryParameter = {};
2384
+ if (recvWindow !== void 0 && recvWindow !== null) {
2385
+ localVarQueryParameter["recvWindow"] = recvWindow;
2386
+ }
2387
+ let _timeUnit;
2388
+ if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
2389
+ return {
2390
+ endpoint: "/sapi/v1/localentity/questionnaire-requirements",
2391
+ method: "GET",
2392
+ params: localVarQueryParameter,
2393
+ timeUnit: _timeUnit
2394
+ };
2395
+ },
2370
2396
  /**
2371
2397
  * Fetch deposit history for local entities that required travel rule.
2372
2398
  *
@@ -2435,46 +2461,83 @@ var TravelRuleApiAxiosParamCreator = function(configuration) {
2435
2461
  };
2436
2462
  },
2437
2463
  /**
2438
- * Fetch address verification list
2464
+ * Fetch deposit history for local entities that with required travel rule information.
2439
2465
  *
2440
- * Weight: 10
2466
+ * Please notice the default `startTime` and `endTime` to make sure that time interval is within
2467
+ * If both ``startTime`` and ``endTime`` are sent, time between ``startTime`` and ``endTime`` must
2441
2468
  *
2442
- * @summary Fetch address verification list (USER_DATA)
2469
+ * Weight: 1
2470
+ *
2471
+ * @summary Deposit History V2 (for local entities that required travel rule) (supporting network) (USER_DATA)
2472
+ * @param {string} [depositId] Comma(,) separated list of wallet tran Ids.
2473
+ * @param {string} [txId]
2474
+ * @param {string} [network]
2475
+ * @param {string} [coin]
2476
+ * @param {boolean} [retrieveQuestionnaire] true: return `questionnaire` within response.
2477
+ * @param {number} [startTime]
2478
+ * @param {number} [endTime]
2479
+ * @param {number} [offset] Default: 0
2480
+ * @param {number} [limit] min 7, max 30, default 7
2443
2481
  *
2444
2482
  * @throws {RequiredError}
2445
2483
  */
2446
- fetchAddressVerificationList: async () => {
2484
+ depositHistoryV2: async (depositId, txId, network, coin, retrieveQuestionnaire, startTime, endTime, offset, limit) => {
2447
2485
  const localVarQueryParameter = {};
2486
+ if (depositId !== void 0 && depositId !== null) {
2487
+ localVarQueryParameter["depositId"] = depositId;
2488
+ }
2489
+ if (txId !== void 0 && txId !== null) {
2490
+ localVarQueryParameter["txId"] = txId;
2491
+ }
2492
+ if (network !== void 0 && network !== null) {
2493
+ localVarQueryParameter["network"] = network;
2494
+ }
2495
+ if (coin !== void 0 && coin !== null) {
2496
+ localVarQueryParameter["coin"] = coin;
2497
+ }
2498
+ if (retrieveQuestionnaire !== void 0 && retrieveQuestionnaire !== null) {
2499
+ localVarQueryParameter["retrieveQuestionnaire"] = retrieveQuestionnaire;
2500
+ }
2501
+ if (startTime !== void 0 && startTime !== null) {
2502
+ localVarQueryParameter["startTime"] = startTime;
2503
+ }
2504
+ if (endTime !== void 0 && endTime !== null) {
2505
+ localVarQueryParameter["endTime"] = endTime;
2506
+ }
2507
+ if (offset !== void 0 && offset !== null) {
2508
+ localVarQueryParameter["offset"] = offset;
2509
+ }
2510
+ if (limit !== void 0 && limit !== null) {
2511
+ localVarQueryParameter["limit"] = limit;
2512
+ }
2448
2513
  let _timeUnit;
2449
2514
  if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
2450
2515
  return {
2451
- endpoint: "/sapi/v1/addressVerify/list",
2516
+ endpoint: "/sapi/v2/localentity/deposit/history",
2452
2517
  method: "GET",
2453
2518
  params: localVarQueryParameter,
2454
2519
  timeUnit: _timeUnit
2455
2520
  };
2456
2521
  },
2457
2522
  /**
2458
- * Fetch the onboarded VASP list for local entities that required travel rule.
2459
- *
2460
- * This endpoint specifically uses per second IP rate limit, user's total second level IP rate
2523
+ * Fetch address verification list for user to check on status and other details for the addresses stored in Address Book.
2461
2524
  *
2462
- * Weight: 18000
2463
- * Request limit: 10 requests per second
2464
- * > * This endpoint specifically uses per second IP rate limit, user's total second level IP rate
2465
- * limit is 180000/second. Response from the endpoint contains header
2466
- * key X-SAPI-USED-IP-WEIGHT-1S, which defines weight used by the current IP.
2525
+ * Weight: 1
2467
2526
  *
2468
- * @summary Onboarded VASP list (for local entities that require travel rule) (supporting network) (USER_DATA)
2527
+ * @summary Fetch address verification list (USER_DATA)
2528
+ * @param {number} [recvWindow]
2469
2529
  *
2470
2530
  * @throws {RequiredError}
2471
2531
  */
2472
- onboardedVaspList: async () => {
2532
+ fetchAddressVerificationList: async (recvWindow) => {
2473
2533
  const localVarQueryParameter = {};
2534
+ if (recvWindow !== void 0 && recvWindow !== null) {
2535
+ localVarQueryParameter["recvWindow"] = recvWindow;
2536
+ }
2474
2537
  let _timeUnit;
2475
2538
  if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
2476
2539
  return {
2477
- endpoint: "/sapi/v1/localentity/vasp",
2540
+ endpoint: "/sapi/v1/addressVerify/list",
2478
2541
  method: "GET",
2479
2542
  params: localVarQueryParameter,
2480
2543
  timeUnit: _timeUnit
@@ -2589,19 +2652,38 @@ var TravelRuleApiAxiosParamCreator = function(configuration) {
2589
2652
  timeUnit: _timeUnit
2590
2653
  };
2591
2654
  },
2655
+ /**
2656
+ * Fetch the VASP list for local entities.
2657
+ *
2658
+ * Weight: 1
2659
+ *
2660
+ * @summary VASP list (for local entities that require travel rule) (supporting network) (USER_DATA)
2661
+ * @param {number} [recvWindow]
2662
+ *
2663
+ * @throws {RequiredError}
2664
+ */
2665
+ vaspList: async (recvWindow) => {
2666
+ const localVarQueryParameter = {};
2667
+ if (recvWindow !== void 0 && recvWindow !== null) {
2668
+ localVarQueryParameter["recvWindow"] = recvWindow;
2669
+ }
2670
+ let _timeUnit;
2671
+ if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
2672
+ return {
2673
+ endpoint: "/sapi/v1/localentity/vasp",
2674
+ method: "GET",
2675
+ params: localVarQueryParameter,
2676
+ timeUnit: _timeUnit
2677
+ };
2678
+ },
2592
2679
  /**
2593
2680
  * Fetch withdraw history for local entities that required travel rule.
2594
2681
  *
2595
- * This endpoint specifically uses per second IP rate limit, user's total second level IP rate
2596
2682
  * `network` may not be in the response for old withdraw.
2597
2683
  * Please notice the default `startTime` and `endTime` to make sure that time interval is within
2598
2684
  * If both `startTime` and `endTime`are sent, time between `startTime`and `endTime`must be less
2599
2685
  *
2600
- * Weight: 18000
2601
- * Request limit: 10 requests per second
2602
- * > * This endpoint specifically uses per second IP rate limit, user's total second level IP rate
2603
- * limit is 180000/second. Response from the endpoint contains header
2604
- * key X-SAPI-USED-IP-WEIGHT-1S, which defines weight used by the current IP.
2686
+ * Weight: 1
2605
2687
  *
2606
2688
  * @summary Withdraw History (for local entities that require travel rule) (supporting network) (USER_DATA)
2607
2689
  * @param {string} [trId] Comma(,) separated list of travel rule record Ids.
@@ -2665,7 +2747,6 @@ var TravelRuleApiAxiosParamCreator = function(configuration) {
2665
2747
  /**
2666
2748
  * Fetch withdraw history for local entities that required travel rule.
2667
2749
  *
2668
- * This endpoint specifically uses per second IP rate limit, user's total second level IP rate
2669
2750
  * `network` may not be in the response for old withdraw.
2670
2751
  * Withdrawal made through /sapi/v1/capital/withdraw/apply may not be in the response.
2671
2752
  * Please notice the default `startTime` and `endTime` to make sure that time interval is within
@@ -2676,11 +2757,7 @@ var TravelRuleApiAxiosParamCreator = function(configuration) {
2676
2757
  * WithdrawOrderId only support 1.
2677
2758
  * If responsible does not include withdrawalStatus, please input trId or txId retrieve the data.
2678
2759
  *
2679
- * Weight: 18000
2680
- * Request limit: 10 requests per second
2681
- * > * This endpoint specifically uses per second IP rate limit, user's total second level IP rate
2682
- * limit is 180000/second. Response from the endpoint contains header
2683
- * key X-SAPI-USED-IP-WEIGHT-1S, which defines weight used by the current IP.
2760
+ * Weight: 1
2684
2761
  *
2685
2762
  * @summary Withdraw History V2 (for local entities that require travel rule) (supporting network) (USER_DATA)
2686
2763
  * @param {string} [trId] Comma(,) separated list of travel rule record Ids.
@@ -2862,6 +2939,31 @@ var TravelRuleApi = class {
2862
2939
  { isSigned: true }
2863
2940
  );
2864
2941
  }
2942
+ /**
2943
+ * This API will return user-specific Travel Rule questionnaire requirement information in reference to the current API key.
2944
+ *
2945
+ * Weight: 1
2946
+ *
2947
+ * @summary Check Questionnaire Requirements (for local entities that require travel rule) (supporting network) (USER_DATA)
2948
+ * @param {CheckQuestionnaireRequirementsRequest} requestParameters Request parameters.
2949
+ * @returns {Promise<RestApiResponse<CheckQuestionnaireRequirementsResponse>>}
2950
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2951
+ * @memberof TravelRuleApi
2952
+ * @see {@link https://developers.binance.com/docs/wallet/travel-rule/questionnaire-requirements Binance API Documentation}
2953
+ */
2954
+ async checkQuestionnaireRequirements(requestParameters = {}) {
2955
+ const localVarAxiosArgs = await this.localVarAxiosParamCreator.checkQuestionnaireRequirements(
2956
+ requestParameters?.recvWindow
2957
+ );
2958
+ return sendRequest5(
2959
+ this.configuration,
2960
+ localVarAxiosArgs.endpoint,
2961
+ localVarAxiosArgs.method,
2962
+ localVarAxiosArgs.params,
2963
+ localVarAxiosArgs?.timeUnit,
2964
+ { isSigned: true }
2965
+ );
2966
+ }
2865
2967
  /**
2866
2968
  * Fetch deposit history for local entities that required travel rule.
2867
2969
  *
@@ -2901,18 +3003,32 @@ var TravelRuleApi = class {
2901
3003
  );
2902
3004
  }
2903
3005
  /**
2904
- * Fetch address verification list
3006
+ * Fetch deposit history for local entities that with required travel rule information.
2905
3007
  *
2906
- * Weight: 10
3008
+ * Please notice the default `startTime` and `endTime` to make sure that time interval is within
3009
+ * If both ``startTime`` and ``endTime`` are sent, time between ``startTime`` and ``endTime`` must
2907
3010
  *
2908
- * @summary Fetch address verification list (USER_DATA)
2909
- * @returns {Promise<RestApiResponse<FetchAddressVerificationListResponse>>}
3011
+ * Weight: 1
3012
+ *
3013
+ * @summary Deposit History V2 (for local entities that required travel rule) (supporting network) (USER_DATA)
3014
+ * @param {DepositHistoryV2Request} requestParameters Request parameters.
3015
+ * @returns {Promise<RestApiResponse<DepositHistoryV2Response>>}
2910
3016
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2911
3017
  * @memberof TravelRuleApi
2912
- * @see {@link https://developers.binance.com/docs/wallet/travel-rule/address-verification-list Binance API Documentation}
3018
+ * @see {@link https://developers.binance.com/docs/wallet/travel-rule/Deposit-History-V2 Binance API Documentation}
2913
3019
  */
2914
- async fetchAddressVerificationList() {
2915
- const localVarAxiosArgs = await this.localVarAxiosParamCreator.fetchAddressVerificationList();
3020
+ async depositHistoryV2(requestParameters = {}) {
3021
+ const localVarAxiosArgs = await this.localVarAxiosParamCreator.depositHistoryV2(
3022
+ requestParameters?.depositId,
3023
+ requestParameters?.txId,
3024
+ requestParameters?.network,
3025
+ requestParameters?.coin,
3026
+ requestParameters?.retrieveQuestionnaire,
3027
+ requestParameters?.startTime,
3028
+ requestParameters?.endTime,
3029
+ requestParameters?.offset,
3030
+ requestParameters?.limit
3031
+ );
2916
3032
  return sendRequest5(
2917
3033
  this.configuration,
2918
3034
  localVarAxiosArgs.endpoint,
@@ -2923,24 +3039,21 @@ var TravelRuleApi = class {
2923
3039
  );
2924
3040
  }
2925
3041
  /**
2926
- * Fetch the onboarded VASP list for local entities that required travel rule.
3042
+ * Fetch address verification list for user to check on status and other details for the addresses stored in Address Book.
2927
3043
  *
2928
- * This endpoint specifically uses per second IP rate limit, user's total second level IP rate
2929
- *
2930
- * Weight: 18000
2931
- * Request limit: 10 requests per second
2932
- * > * This endpoint specifically uses per second IP rate limit, user's total second level IP rate
2933
- * limit is 180000/second. Response from the endpoint contains header
2934
- * key X-SAPI-USED-IP-WEIGHT-1S, which defines weight used by the current IP.
3044
+ * Weight: 1
2935
3045
  *
2936
- * @summary Onboarded VASP list (for local entities that require travel rule) (supporting network) (USER_DATA)
2937
- * @returns {Promise<RestApiResponse<OnboardedVaspListResponse>>}
3046
+ * @summary Fetch address verification list (USER_DATA)
3047
+ * @param {FetchAddressVerificationListRequest} requestParameters Request parameters.
3048
+ * @returns {Promise<RestApiResponse<FetchAddressVerificationListResponse>>}
2938
3049
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
2939
3050
  * @memberof TravelRuleApi
2940
- * @see {@link https://developers.binance.com/docs/wallet/travel-rule/Onboarded-VASP-list Binance API Documentation}
3051
+ * @see {@link https://developers.binance.com/docs/wallet/travel-rule/address-verification-list Binance API Documentation}
2941
3052
  */
2942
- async onboardedVaspList() {
2943
- const localVarAxiosArgs = await this.localVarAxiosParamCreator.onboardedVaspList();
3053
+ async fetchAddressVerificationList(requestParameters = {}) {
3054
+ const localVarAxiosArgs = await this.localVarAxiosParamCreator.fetchAddressVerificationList(
3055
+ requestParameters?.recvWindow
3056
+ );
2944
3057
  return sendRequest5(
2945
3058
  this.configuration,
2946
3059
  localVarAxiosArgs.endpoint,
@@ -3020,19 +3133,39 @@ var TravelRuleApi = class {
3020
3133
  { isSigned: true }
3021
3134
  );
3022
3135
  }
3136
+ /**
3137
+ * Fetch the VASP list for local entities.
3138
+ *
3139
+ * Weight: 1
3140
+ *
3141
+ * @summary VASP list (for local entities that require travel rule) (supporting network) (USER_DATA)
3142
+ * @param {VaspListRequest} requestParameters Request parameters.
3143
+ * @returns {Promise<RestApiResponse<VaspListResponse>>}
3144
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3145
+ * @memberof TravelRuleApi
3146
+ * @see {@link https://developers.binance.com/docs/wallet/travel-rule/onboarded-vasp-list Binance API Documentation}
3147
+ */
3148
+ async vaspList(requestParameters = {}) {
3149
+ const localVarAxiosArgs = await this.localVarAxiosParamCreator.vaspList(
3150
+ requestParameters?.recvWindow
3151
+ );
3152
+ return sendRequest5(
3153
+ this.configuration,
3154
+ localVarAxiosArgs.endpoint,
3155
+ localVarAxiosArgs.method,
3156
+ localVarAxiosArgs.params,
3157
+ localVarAxiosArgs?.timeUnit,
3158
+ { isSigned: true }
3159
+ );
3160
+ }
3023
3161
  /**
3024
3162
  * Fetch withdraw history for local entities that required travel rule.
3025
3163
  *
3026
- * This endpoint specifically uses per second IP rate limit, user's total second level IP rate
3027
3164
  * `network` may not be in the response for old withdraw.
3028
3165
  * Please notice the default `startTime` and `endTime` to make sure that time interval is within
3029
3166
  * If both `startTime` and `endTime`are sent, time between `startTime`and `endTime`must be less
3030
3167
  *
3031
- * Weight: 18000
3032
- * Request limit: 10 requests per second
3033
- * > * This endpoint specifically uses per second IP rate limit, user's total second level IP rate
3034
- * limit is 180000/second. Response from the endpoint contains header
3035
- * key X-SAPI-USED-IP-WEIGHT-1S, which defines weight used by the current IP.
3168
+ * Weight: 1
3036
3169
  *
3037
3170
  * @summary Withdraw History (for local entities that require travel rule) (supporting network) (USER_DATA)
3038
3171
  * @param {WithdrawHistoryV1Request} requestParameters Request parameters.
@@ -3067,7 +3200,6 @@ var TravelRuleApi = class {
3067
3200
  /**
3068
3201
  * Fetch withdraw history for local entities that required travel rule.
3069
3202
  *
3070
- * This endpoint specifically uses per second IP rate limit, user's total second level IP rate
3071
3203
  * `network` may not be in the response for old withdraw.
3072
3204
  * Withdrawal made through /sapi/v1/capital/withdraw/apply may not be in the response.
3073
3205
  * Please notice the default `startTime` and `endTime` to make sure that time interval is within
@@ -3078,11 +3210,7 @@ var TravelRuleApi = class {
3078
3210
  * WithdrawOrderId only support 1.
3079
3211
  * If responsible does not include withdrawalStatus, please input trId or txId retrieve the data.
3080
3212
  *
3081
- * Weight: 18000
3082
- * Request limit: 10 requests per second
3083
- * > * This endpoint specifically uses per second IP rate limit, user's total second level IP rate
3084
- * limit is 180000/second. Response from the endpoint contains header
3085
- * key X-SAPI-USED-IP-WEIGHT-1S, which defines weight used by the current IP.
3213
+ * Weight: 1
3086
3214
  *
3087
3215
  * @summary Withdraw History V2 (for local entities that require travel rule) (supporting network) (USER_DATA)
3088
3216
  * @param {WithdrawHistoryV2Request} requestParameters Request parameters.
@@ -3688,6 +3816,7 @@ var RestAPI = class {
3688
3816
  *
3689
3817
  * If `network` not send, return with default network of the coin.
3690
3818
  * You can get `network` and `isDefault` in `networkList` of a coin in the response of `Get /sapi/v1/capital/config/getall (HMAC SHA256)`.
3819
+ * 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.
3691
3820
  *
3692
3821
  * Weight: 900
3693
3822
  *
@@ -3768,6 +3897,20 @@ var RestAPI = class {
3768
3897
  brokerWithdraw(requestParameters) {
3769
3898
  return this.travelRuleApi.brokerWithdraw(requestParameters);
3770
3899
  }
3900
+ /**
3901
+ * This API will return user-specific Travel Rule questionnaire requirement information in reference to the current API key.
3902
+ *
3903
+ * Weight: 1
3904
+ *
3905
+ * @summary Check Questionnaire Requirements (for local entities that require travel rule) (supporting network) (USER_DATA)
3906
+ * @param {CheckQuestionnaireRequirementsRequest} requestParameters Request parameters.
3907
+ * @returns {Promise<RestApiResponse<CheckQuestionnaireRequirementsResponse>>}
3908
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3909
+ * @see {@link https://developers.binance.com/docs/wallet/travel-rule/questionnaire-requirements Binance API Documentation}
3910
+ */
3911
+ checkQuestionnaireRequirements(requestParameters = {}) {
3912
+ return this.travelRuleApi.checkQuestionnaireRequirements(requestParameters);
3913
+ }
3771
3914
  /**
3772
3915
  * Fetch deposit history for local entities that required travel rule.
3773
3916
  *
@@ -3786,36 +3929,35 @@ var RestAPI = class {
3786
3929
  return this.travelRuleApi.depositHistoryTravelRule(requestParameters);
3787
3930
  }
3788
3931
  /**
3789
- * Fetch address verification list
3932
+ * Fetch deposit history for local entities that with required travel rule information.
3790
3933
  *
3791
- * Weight: 10
3934
+ * Please notice the default `startTime` and `endTime` to make sure that time interval is within
3935
+ * If both ``startTime`` and ``endTime`` are sent, time between ``startTime`` and ``endTime`` must
3792
3936
  *
3793
- * @summary Fetch address verification list (USER_DATA)
3794
- * @returns {Promise<RestApiResponse<FetchAddressVerificationListResponse>>}
3937
+ * Weight: 1
3938
+ *
3939
+ * @summary Deposit History V2 (for local entities that required travel rule) (supporting network) (USER_DATA)
3940
+ * @param {DepositHistoryV2Request} requestParameters Request parameters.
3941
+ * @returns {Promise<RestApiResponse<DepositHistoryV2Response>>}
3795
3942
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3796
- * @see {@link https://developers.binance.com/docs/wallet/travel-rule/address-verification-list Binance API Documentation}
3943
+ * @see {@link https://developers.binance.com/docs/wallet/travel-rule/Deposit-History-V2 Binance API Documentation}
3797
3944
  */
3798
- fetchAddressVerificationList() {
3799
- return this.travelRuleApi.fetchAddressVerificationList();
3945
+ depositHistoryV2(requestParameters = {}) {
3946
+ return this.travelRuleApi.depositHistoryV2(requestParameters);
3800
3947
  }
3801
3948
  /**
3802
- * Fetch the onboarded VASP list for local entities that required travel rule.
3803
- *
3804
- * This endpoint specifically uses per second IP rate limit, user's total second level IP rate
3949
+ * Fetch address verification list for user to check on status and other details for the addresses stored in Address Book.
3805
3950
  *
3806
- * Weight: 18000
3807
- * Request limit: 10 requests per second
3808
- * > * This endpoint specifically uses per second IP rate limit, user's total second level IP rate
3809
- * limit is 180000/second. Response from the endpoint contains header
3810
- * key X-SAPI-USED-IP-WEIGHT-1S, which defines weight used by the current IP.
3951
+ * Weight: 1
3811
3952
  *
3812
- * @summary Onboarded VASP list (for local entities that require travel rule) (supporting network) (USER_DATA)
3813
- * @returns {Promise<RestApiResponse<OnboardedVaspListResponse>>}
3953
+ * @summary Fetch address verification list (USER_DATA)
3954
+ * @param {FetchAddressVerificationListRequest} requestParameters Request parameters.
3955
+ * @returns {Promise<RestApiResponse<FetchAddressVerificationListResponse>>}
3814
3956
  * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
3815
- * @see {@link https://developers.binance.com/docs/wallet/travel-rule/Onboarded-VASP-list Binance API Documentation}
3957
+ * @see {@link https://developers.binance.com/docs/wallet/travel-rule/address-verification-list Binance API Documentation}
3816
3958
  */
3817
- onboardedVaspList() {
3818
- return this.travelRuleApi.onboardedVaspList();
3959
+ fetchAddressVerificationList(requestParameters = {}) {
3960
+ return this.travelRuleApi.fetchAddressVerificationList(requestParameters);
3819
3961
  }
3820
3962
  /**
3821
3963
  * Submit questionnaire for brokers of local entities that require travel rule.
@@ -3855,19 +3997,28 @@ var RestAPI = class {
3855
3997
  submitDepositQuestionnaireTravelRule(requestParameters) {
3856
3998
  return this.travelRuleApi.submitDepositQuestionnaireTravelRule(requestParameters);
3857
3999
  }
4000
+ /**
4001
+ * Fetch the VASP list for local entities.
4002
+ *
4003
+ * Weight: 1
4004
+ *
4005
+ * @summary VASP list (for local entities that require travel rule) (supporting network) (USER_DATA)
4006
+ * @param {VaspListRequest} requestParameters Request parameters.
4007
+ * @returns {Promise<RestApiResponse<VaspListResponse>>}
4008
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
4009
+ * @see {@link https://developers.binance.com/docs/wallet/travel-rule/onboarded-vasp-list Binance API Documentation}
4010
+ */
4011
+ vaspList(requestParameters = {}) {
4012
+ return this.travelRuleApi.vaspList(requestParameters);
4013
+ }
3858
4014
  /**
3859
4015
  * Fetch withdraw history for local entities that required travel rule.
3860
4016
  *
3861
- * This endpoint specifically uses per second IP rate limit, user's total second level IP rate
3862
4017
  * `network` may not be in the response for old withdraw.
3863
4018
  * Please notice the default `startTime` and `endTime` to make sure that time interval is within
3864
4019
  * If both `startTime` and `endTime`are sent, time between `startTime`and `endTime`must be less
3865
4020
  *
3866
- * Weight: 18000
3867
- * Request limit: 10 requests per second
3868
- * > * This endpoint specifically uses per second IP rate limit, user's total second level IP rate
3869
- * limit is 180000/second. Response from the endpoint contains header
3870
- * key X-SAPI-USED-IP-WEIGHT-1S, which defines weight used by the current IP.
4021
+ * Weight: 1
3871
4022
  *
3872
4023
  * @summary Withdraw History (for local entities that require travel rule) (supporting network) (USER_DATA)
3873
4024
  * @param {WithdrawHistoryV1Request} requestParameters Request parameters.
@@ -3881,7 +4032,6 @@ var RestAPI = class {
3881
4032
  /**
3882
4033
  * Fetch withdraw history for local entities that required travel rule.
3883
4034
  *
3884
- * This endpoint specifically uses per second IP rate limit, user's total second level IP rate
3885
4035
  * `network` may not be in the response for old withdraw.
3886
4036
  * Withdrawal made through /sapi/v1/capital/withdraw/apply may not be in the response.
3887
4037
  * Please notice the default `startTime` and `endTime` to make sure that time interval is within
@@ -3892,11 +4042,7 @@ var RestAPI = class {
3892
4042
  * WithdrawOrderId only support 1.
3893
4043
  * If responsible does not include withdrawalStatus, please input trId or txId retrieve the data.
3894
4044
  *
3895
- * Weight: 18000
3896
- * Request limit: 10 requests per second
3897
- * > * This endpoint specifically uses per second IP rate limit, user's total second level IP rate
3898
- * limit is 180000/second. Response from the endpoint contains header
3899
- * key X-SAPI-USED-IP-WEIGHT-1S, which defines weight used by the current IP.
4045
+ * Weight: 1
3900
4046
  *
3901
4047
  * @summary Withdraw History V2 (for local entities that require travel rule) (supporting network) (USER_DATA)
3902
4048
  * @param {WithdrawHistoryV2Request} requestParameters Request parameters.