@binance/wallet 8.0.0 → 10.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +296 -94
- package/dist/index.d.ts +296 -94
- package/dist/index.js +134 -94
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +134 -94
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
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 = "
|
|
12
|
+
var version = "10.0.0";
|
|
13
13
|
|
|
14
14
|
// src/rest-api/index.ts
|
|
15
15
|
var rest_api_exports = {};
|
|
@@ -816,9 +816,6 @@ var AssetApiAxiosParamCreator = function(configuration) {
|
|
|
816
816
|
/**
|
|
817
817
|
* Query User Wallet Balance
|
|
818
818
|
*
|
|
819
|
-
*
|
|
820
|
-
* You need to open Permits Universal Transfer permission for the API Key which requests this endpoint.
|
|
821
|
-
*
|
|
822
819
|
* Weight: 60
|
|
823
820
|
*
|
|
824
821
|
* @summary Query User Wallet Balance (USER_DATA)
|
|
@@ -1336,9 +1333,6 @@ var AssetApi = class {
|
|
|
1336
1333
|
/**
|
|
1337
1334
|
* Query User Wallet Balance
|
|
1338
1335
|
*
|
|
1339
|
-
*
|
|
1340
|
-
* You need to open Permits Universal Transfer permission for the API Key which requests this endpoint.
|
|
1341
|
-
*
|
|
1342
1336
|
* Weight: 60
|
|
1343
1337
|
*
|
|
1344
1338
|
* @summary Query User Wallet Balance (USER_DATA)
|
|
@@ -1763,6 +1757,7 @@ var CapitalApiAxiosParamCreator = function(configuration) {
|
|
|
1763
1757
|
*
|
|
1764
1758
|
* If `network` not send, return with default network of the coin.
|
|
1765
1759
|
* You can get `network` and `isDefault` in `networkList` of a coin in the response of `Get /sapi/v1/capital/config/getall (HMAC SHA256)`.
|
|
1760
|
+
* 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
1761
|
*
|
|
1767
1762
|
* Weight: 900
|
|
1768
1763
|
*
|
|
@@ -2099,6 +2094,7 @@ var CapitalApi = class {
|
|
|
2099
2094
|
*
|
|
2100
2095
|
* If `network` not send, return with default network of the coin.
|
|
2101
2096
|
* You can get `network` and `isDefault` in `networkList` of a coin in the response of `Get /sapi/v1/capital/config/getall (HMAC SHA256)`.
|
|
2097
|
+
* 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
2098
|
*
|
|
2103
2099
|
* Weight: 900
|
|
2104
2100
|
*
|
|
@@ -2370,13 +2366,7 @@ var TravelRuleApiAxiosParamCreator = function(configuration) {
|
|
|
2370
2366
|
/**
|
|
2371
2367
|
* This API will return user-specific Travel Rule questionnaire requirement information in reference to the current API key.
|
|
2372
2368
|
*
|
|
2373
|
-
*
|
|
2374
|
-
*
|
|
2375
|
-
* Weight: 18000
|
|
2376
|
-
* Request limit: 10 requests per second
|
|
2377
|
-
* > * This endpoint specifically uses per second IP rate limit, user's total second level IP rate
|
|
2378
|
-
* limit is 180000/second. Response from the endpoint contains header
|
|
2379
|
-
* key X-SAPI-USED-IP-WEIGHT-1S, which defines weight used by the current IP.
|
|
2369
|
+
* Weight: 1
|
|
2380
2370
|
*
|
|
2381
2371
|
* @summary Check Questionnaire Requirements (for local entities that require travel rule) (supporting network) (USER_DATA)
|
|
2382
2372
|
* @param {number} [recvWindow]
|
|
@@ -2465,9 +2455,68 @@ var TravelRuleApiAxiosParamCreator = function(configuration) {
|
|
|
2465
2455
|
};
|
|
2466
2456
|
},
|
|
2467
2457
|
/**
|
|
2468
|
-
* Fetch
|
|
2458
|
+
* Fetch deposit history for local entities that with required travel rule information.
|
|
2469
2459
|
*
|
|
2470
|
-
*
|
|
2460
|
+
* Please notice the default `startTime` and `endTime` to make sure that time interval is within
|
|
2461
|
+
* If both ``startTime`` and ``endTime`` are sent, time between ``startTime`` and ``endTime`` must
|
|
2462
|
+
*
|
|
2463
|
+
* Weight: 1
|
|
2464
|
+
*
|
|
2465
|
+
* @summary Deposit History V2 (for local entities that required travel rule) (supporting network) (USER_DATA)
|
|
2466
|
+
* @param {string} [depositId] Comma(,) separated list of wallet tran Ids.
|
|
2467
|
+
* @param {string} [txId]
|
|
2468
|
+
* @param {string} [network]
|
|
2469
|
+
* @param {string} [coin]
|
|
2470
|
+
* @param {boolean} [retrieveQuestionnaire] true: return `questionnaire` within response.
|
|
2471
|
+
* @param {number} [startTime]
|
|
2472
|
+
* @param {number} [endTime]
|
|
2473
|
+
* @param {number} [offset] Default: 0
|
|
2474
|
+
* @param {number} [limit] min 7, max 30, default 7
|
|
2475
|
+
*
|
|
2476
|
+
* @throws {RequiredError}
|
|
2477
|
+
*/
|
|
2478
|
+
depositHistoryV2: async (depositId, txId, network, coin, retrieveQuestionnaire, startTime, endTime, offset, limit) => {
|
|
2479
|
+
const localVarQueryParameter = {};
|
|
2480
|
+
if (depositId !== void 0 && depositId !== null) {
|
|
2481
|
+
localVarQueryParameter["depositId"] = depositId;
|
|
2482
|
+
}
|
|
2483
|
+
if (txId !== void 0 && txId !== null) {
|
|
2484
|
+
localVarQueryParameter["txId"] = txId;
|
|
2485
|
+
}
|
|
2486
|
+
if (network !== void 0 && network !== null) {
|
|
2487
|
+
localVarQueryParameter["network"] = network;
|
|
2488
|
+
}
|
|
2489
|
+
if (coin !== void 0 && coin !== null) {
|
|
2490
|
+
localVarQueryParameter["coin"] = coin;
|
|
2491
|
+
}
|
|
2492
|
+
if (retrieveQuestionnaire !== void 0 && retrieveQuestionnaire !== null) {
|
|
2493
|
+
localVarQueryParameter["retrieveQuestionnaire"] = retrieveQuestionnaire;
|
|
2494
|
+
}
|
|
2495
|
+
if (startTime !== void 0 && startTime !== null) {
|
|
2496
|
+
localVarQueryParameter["startTime"] = startTime;
|
|
2497
|
+
}
|
|
2498
|
+
if (endTime !== void 0 && endTime !== null) {
|
|
2499
|
+
localVarQueryParameter["endTime"] = endTime;
|
|
2500
|
+
}
|
|
2501
|
+
if (offset !== void 0 && offset !== null) {
|
|
2502
|
+
localVarQueryParameter["offset"] = offset;
|
|
2503
|
+
}
|
|
2504
|
+
if (limit !== void 0 && limit !== null) {
|
|
2505
|
+
localVarQueryParameter["limit"] = limit;
|
|
2506
|
+
}
|
|
2507
|
+
let _timeUnit;
|
|
2508
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
2509
|
+
return {
|
|
2510
|
+
endpoint: "/sapi/v2/localentity/deposit/history",
|
|
2511
|
+
method: "GET",
|
|
2512
|
+
params: localVarQueryParameter,
|
|
2513
|
+
timeUnit: _timeUnit
|
|
2514
|
+
};
|
|
2515
|
+
},
|
|
2516
|
+
/**
|
|
2517
|
+
* Fetch address verification list for user to check on status and other details for the addresses stored in Address Book.
|
|
2518
|
+
*
|
|
2519
|
+
* Weight: 1
|
|
2471
2520
|
*
|
|
2472
2521
|
* @summary Fetch address verification list (USER_DATA)
|
|
2473
2522
|
* @param {number} [recvWindow]
|
|
@@ -2600,13 +2649,7 @@ var TravelRuleApiAxiosParamCreator = function(configuration) {
|
|
|
2600
2649
|
/**
|
|
2601
2650
|
* Fetch the VASP list for local entities.
|
|
2602
2651
|
*
|
|
2603
|
-
*
|
|
2604
|
-
*
|
|
2605
|
-
* Weight: 18000
|
|
2606
|
-
* Request limit: 10 requests per second
|
|
2607
|
-
* > * This endpoint specifically uses per second IP rate limit, user's total second level IP rate
|
|
2608
|
-
* limit is 180000/second. Response from the endpoint contains header
|
|
2609
|
-
* key X-SAPI-USED-IP-WEIGHT-1S, which defines weight used by the current IP.
|
|
2652
|
+
* Weight: 1
|
|
2610
2653
|
*
|
|
2611
2654
|
* @summary VASP list (for local entities that require travel rule) (supporting network) (USER_DATA)
|
|
2612
2655
|
* @param {number} [recvWindow]
|
|
@@ -2630,16 +2673,11 @@ var TravelRuleApiAxiosParamCreator = function(configuration) {
|
|
|
2630
2673
|
/**
|
|
2631
2674
|
* Fetch withdraw history for local entities that required travel rule.
|
|
2632
2675
|
*
|
|
2633
|
-
* This endpoint specifically uses per second IP rate limit, user's total second level IP rate
|
|
2634
2676
|
* `network` may not be in the response for old withdraw.
|
|
2635
2677
|
* Please notice the default `startTime` and `endTime` to make sure that time interval is within
|
|
2636
2678
|
* If both `startTime` and `endTime`are sent, time between `startTime`and `endTime`must be less
|
|
2637
2679
|
*
|
|
2638
|
-
* Weight:
|
|
2639
|
-
* Request limit: 10 requests per second
|
|
2640
|
-
* > * This endpoint specifically uses per second IP rate limit, user's total second level IP rate
|
|
2641
|
-
* limit is 180000/second. Response from the endpoint contains header
|
|
2642
|
-
* key X-SAPI-USED-IP-WEIGHT-1S, which defines weight used by the current IP.
|
|
2680
|
+
* Weight: 1
|
|
2643
2681
|
*
|
|
2644
2682
|
* @summary Withdraw History (for local entities that require travel rule) (supporting network) (USER_DATA)
|
|
2645
2683
|
* @param {string} [trId] Comma(,) separated list of travel rule record Ids.
|
|
@@ -2703,7 +2741,6 @@ var TravelRuleApiAxiosParamCreator = function(configuration) {
|
|
|
2703
2741
|
/**
|
|
2704
2742
|
* Fetch withdraw history for local entities that required travel rule.
|
|
2705
2743
|
*
|
|
2706
|
-
* This endpoint specifically uses per second IP rate limit, user's total second level IP rate
|
|
2707
2744
|
* `network` may not be in the response for old withdraw.
|
|
2708
2745
|
* Withdrawal made through /sapi/v1/capital/withdraw/apply may not be in the response.
|
|
2709
2746
|
* Please notice the default `startTime` and `endTime` to make sure that time interval is within
|
|
@@ -2714,11 +2751,7 @@ var TravelRuleApiAxiosParamCreator = function(configuration) {
|
|
|
2714
2751
|
* WithdrawOrderId only support 1.
|
|
2715
2752
|
* If responsible does not include withdrawalStatus, please input trId or txId retrieve the data.
|
|
2716
2753
|
*
|
|
2717
|
-
* Weight:
|
|
2718
|
-
* Request limit: 10 requests per second
|
|
2719
|
-
* > * This endpoint specifically uses per second IP rate limit, user's total second level IP rate
|
|
2720
|
-
* limit is 180000/second. Response from the endpoint contains header
|
|
2721
|
-
* key X-SAPI-USED-IP-WEIGHT-1S, which defines weight used by the current IP.
|
|
2754
|
+
* Weight: 1
|
|
2722
2755
|
*
|
|
2723
2756
|
* @summary Withdraw History V2 (for local entities that require travel rule) (supporting network) (USER_DATA)
|
|
2724
2757
|
* @param {string} [trId] Comma(,) separated list of travel rule record Ids.
|
|
@@ -2903,13 +2936,7 @@ var TravelRuleApi = class {
|
|
|
2903
2936
|
/**
|
|
2904
2937
|
* This API will return user-specific Travel Rule questionnaire requirement information in reference to the current API key.
|
|
2905
2938
|
*
|
|
2906
|
-
*
|
|
2907
|
-
*
|
|
2908
|
-
* Weight: 18000
|
|
2909
|
-
* Request limit: 10 requests per second
|
|
2910
|
-
* > * This endpoint specifically uses per second IP rate limit, user's total second level IP rate
|
|
2911
|
-
* limit is 180000/second. Response from the endpoint contains header
|
|
2912
|
-
* key X-SAPI-USED-IP-WEIGHT-1S, which defines weight used by the current IP.
|
|
2939
|
+
* Weight: 1
|
|
2913
2940
|
*
|
|
2914
2941
|
* @summary Check Questionnaire Requirements (for local entities that require travel rule) (supporting network) (USER_DATA)
|
|
2915
2942
|
* @param {CheckQuestionnaireRequirementsRequest} requestParameters Request parameters.
|
|
@@ -2970,9 +2997,45 @@ var TravelRuleApi = class {
|
|
|
2970
2997
|
);
|
|
2971
2998
|
}
|
|
2972
2999
|
/**
|
|
2973
|
-
* Fetch
|
|
3000
|
+
* Fetch deposit history for local entities that with required travel rule information.
|
|
2974
3001
|
*
|
|
2975
|
-
*
|
|
3002
|
+
* Please notice the default `startTime` and `endTime` to make sure that time interval is within
|
|
3003
|
+
* If both ``startTime`` and ``endTime`` are sent, time between ``startTime`` and ``endTime`` must
|
|
3004
|
+
*
|
|
3005
|
+
* Weight: 1
|
|
3006
|
+
*
|
|
3007
|
+
* @summary Deposit History V2 (for local entities that required travel rule) (supporting network) (USER_DATA)
|
|
3008
|
+
* @param {DepositHistoryV2Request} requestParameters Request parameters.
|
|
3009
|
+
* @returns {Promise<RestApiResponse<DepositHistoryV2Response>>}
|
|
3010
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3011
|
+
* @memberof TravelRuleApi
|
|
3012
|
+
* @see {@link https://developers.binance.com/docs/wallet/travel-rule/Deposit-History-V2 Binance API Documentation}
|
|
3013
|
+
*/
|
|
3014
|
+
async depositHistoryV2(requestParameters = {}) {
|
|
3015
|
+
const localVarAxiosArgs = await this.localVarAxiosParamCreator.depositHistoryV2(
|
|
3016
|
+
requestParameters?.depositId,
|
|
3017
|
+
requestParameters?.txId,
|
|
3018
|
+
requestParameters?.network,
|
|
3019
|
+
requestParameters?.coin,
|
|
3020
|
+
requestParameters?.retrieveQuestionnaire,
|
|
3021
|
+
requestParameters?.startTime,
|
|
3022
|
+
requestParameters?.endTime,
|
|
3023
|
+
requestParameters?.offset,
|
|
3024
|
+
requestParameters?.limit
|
|
3025
|
+
);
|
|
3026
|
+
return sendRequest5(
|
|
3027
|
+
this.configuration,
|
|
3028
|
+
localVarAxiosArgs.endpoint,
|
|
3029
|
+
localVarAxiosArgs.method,
|
|
3030
|
+
localVarAxiosArgs.params,
|
|
3031
|
+
localVarAxiosArgs?.timeUnit,
|
|
3032
|
+
{ isSigned: true }
|
|
3033
|
+
);
|
|
3034
|
+
}
|
|
3035
|
+
/**
|
|
3036
|
+
* Fetch address verification list for user to check on status and other details for the addresses stored in Address Book.
|
|
3037
|
+
*
|
|
3038
|
+
* Weight: 1
|
|
2976
3039
|
*
|
|
2977
3040
|
* @summary Fetch address verification list (USER_DATA)
|
|
2978
3041
|
* @param {FetchAddressVerificationListRequest} requestParameters Request parameters.
|
|
@@ -3067,13 +3130,7 @@ var TravelRuleApi = class {
|
|
|
3067
3130
|
/**
|
|
3068
3131
|
* Fetch the VASP list for local entities.
|
|
3069
3132
|
*
|
|
3070
|
-
*
|
|
3071
|
-
*
|
|
3072
|
-
* Weight: 18000
|
|
3073
|
-
* Request limit: 10 requests per second
|
|
3074
|
-
* > * This endpoint specifically uses per second IP rate limit, user's total second level IP rate
|
|
3075
|
-
* limit is 180000/second. Response from the endpoint contains header
|
|
3076
|
-
* key X-SAPI-USED-IP-WEIGHT-1S, which defines weight used by the current IP.
|
|
3133
|
+
* Weight: 1
|
|
3077
3134
|
*
|
|
3078
3135
|
* @summary VASP list (for local entities that require travel rule) (supporting network) (USER_DATA)
|
|
3079
3136
|
* @param {VaspListRequest} requestParameters Request parameters.
|
|
@@ -3098,16 +3155,11 @@ var TravelRuleApi = class {
|
|
|
3098
3155
|
/**
|
|
3099
3156
|
* Fetch withdraw history for local entities that required travel rule.
|
|
3100
3157
|
*
|
|
3101
|
-
* This endpoint specifically uses per second IP rate limit, user's total second level IP rate
|
|
3102
3158
|
* `network` may not be in the response for old withdraw.
|
|
3103
3159
|
* Please notice the default `startTime` and `endTime` to make sure that time interval is within
|
|
3104
3160
|
* If both `startTime` and `endTime`are sent, time between `startTime`and `endTime`must be less
|
|
3105
3161
|
*
|
|
3106
|
-
* Weight:
|
|
3107
|
-
* Request limit: 10 requests per second
|
|
3108
|
-
* > * This endpoint specifically uses per second IP rate limit, user's total second level IP rate
|
|
3109
|
-
* limit is 180000/second. Response from the endpoint contains header
|
|
3110
|
-
* key X-SAPI-USED-IP-WEIGHT-1S, which defines weight used by the current IP.
|
|
3162
|
+
* Weight: 1
|
|
3111
3163
|
*
|
|
3112
3164
|
* @summary Withdraw History (for local entities that require travel rule) (supporting network) (USER_DATA)
|
|
3113
3165
|
* @param {WithdrawHistoryV1Request} requestParameters Request parameters.
|
|
@@ -3142,7 +3194,6 @@ var TravelRuleApi = class {
|
|
|
3142
3194
|
/**
|
|
3143
3195
|
* Fetch withdraw history for local entities that required travel rule.
|
|
3144
3196
|
*
|
|
3145
|
-
* This endpoint specifically uses per second IP rate limit, user's total second level IP rate
|
|
3146
3197
|
* `network` may not be in the response for old withdraw.
|
|
3147
3198
|
* Withdrawal made through /sapi/v1/capital/withdraw/apply may not be in the response.
|
|
3148
3199
|
* Please notice the default `startTime` and `endTime` to make sure that time interval is within
|
|
@@ -3153,11 +3204,7 @@ var TravelRuleApi = class {
|
|
|
3153
3204
|
* WithdrawOrderId only support 1.
|
|
3154
3205
|
* If responsible does not include withdrawalStatus, please input trId or txId retrieve the data.
|
|
3155
3206
|
*
|
|
3156
|
-
* Weight:
|
|
3157
|
-
* Request limit: 10 requests per second
|
|
3158
|
-
* > * This endpoint specifically uses per second IP rate limit, user's total second level IP rate
|
|
3159
|
-
* limit is 180000/second. Response from the endpoint contains header
|
|
3160
|
-
* key X-SAPI-USED-IP-WEIGHT-1S, which defines weight used by the current IP.
|
|
3207
|
+
* Weight: 1
|
|
3161
3208
|
*
|
|
3162
3209
|
* @summary Withdraw History V2 (for local entities that require travel rule) (supporting network) (USER_DATA)
|
|
3163
3210
|
* @param {WithdrawHistoryV2Request} requestParameters Request parameters.
|
|
@@ -3537,9 +3584,6 @@ var RestAPI = class {
|
|
|
3537
3584
|
/**
|
|
3538
3585
|
* Query User Wallet Balance
|
|
3539
3586
|
*
|
|
3540
|
-
*
|
|
3541
|
-
* You need to open Permits Universal Transfer permission for the API Key which requests this endpoint.
|
|
3542
|
-
*
|
|
3543
3587
|
* Weight: 60
|
|
3544
3588
|
*
|
|
3545
3589
|
* @summary Query User Wallet Balance (USER_DATA)
|
|
@@ -3763,6 +3807,7 @@ var RestAPI = class {
|
|
|
3763
3807
|
*
|
|
3764
3808
|
* If `network` not send, return with default network of the coin.
|
|
3765
3809
|
* You can get `network` and `isDefault` in `networkList` of a coin in the response of `Get /sapi/v1/capital/config/getall (HMAC SHA256)`.
|
|
3810
|
+
* 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.
|
|
3766
3811
|
*
|
|
3767
3812
|
* Weight: 900
|
|
3768
3813
|
*
|
|
@@ -3846,13 +3891,7 @@ var RestAPI = class {
|
|
|
3846
3891
|
/**
|
|
3847
3892
|
* This API will return user-specific Travel Rule questionnaire requirement information in reference to the current API key.
|
|
3848
3893
|
*
|
|
3849
|
-
*
|
|
3850
|
-
*
|
|
3851
|
-
* Weight: 18000
|
|
3852
|
-
* Request limit: 10 requests per second
|
|
3853
|
-
* > * This endpoint specifically uses per second IP rate limit, user's total second level IP rate
|
|
3854
|
-
* limit is 180000/second. Response from the endpoint contains header
|
|
3855
|
-
* key X-SAPI-USED-IP-WEIGHT-1S, which defines weight used by the current IP.
|
|
3894
|
+
* Weight: 1
|
|
3856
3895
|
*
|
|
3857
3896
|
* @summary Check Questionnaire Requirements (for local entities that require travel rule) (supporting network) (USER_DATA)
|
|
3858
3897
|
* @param {CheckQuestionnaireRequirementsRequest} requestParameters Request parameters.
|
|
@@ -3881,9 +3920,26 @@ var RestAPI = class {
|
|
|
3881
3920
|
return this.travelRuleApi.depositHistoryTravelRule(requestParameters);
|
|
3882
3921
|
}
|
|
3883
3922
|
/**
|
|
3884
|
-
* Fetch
|
|
3923
|
+
* Fetch deposit history for local entities that with required travel rule information.
|
|
3885
3924
|
*
|
|
3886
|
-
*
|
|
3925
|
+
* Please notice the default `startTime` and `endTime` to make sure that time interval is within
|
|
3926
|
+
* If both ``startTime`` and ``endTime`` are sent, time between ``startTime`` and ``endTime`` must
|
|
3927
|
+
*
|
|
3928
|
+
* Weight: 1
|
|
3929
|
+
*
|
|
3930
|
+
* @summary Deposit History V2 (for local entities that required travel rule) (supporting network) (USER_DATA)
|
|
3931
|
+
* @param {DepositHistoryV2Request} requestParameters Request parameters.
|
|
3932
|
+
* @returns {Promise<RestApiResponse<DepositHistoryV2Response>>}
|
|
3933
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3934
|
+
* @see {@link https://developers.binance.com/docs/wallet/travel-rule/Deposit-History-V2 Binance API Documentation}
|
|
3935
|
+
*/
|
|
3936
|
+
depositHistoryV2(requestParameters = {}) {
|
|
3937
|
+
return this.travelRuleApi.depositHistoryV2(requestParameters);
|
|
3938
|
+
}
|
|
3939
|
+
/**
|
|
3940
|
+
* Fetch address verification list for user to check on status and other details for the addresses stored in Address Book.
|
|
3941
|
+
*
|
|
3942
|
+
* Weight: 1
|
|
3887
3943
|
*
|
|
3888
3944
|
* @summary Fetch address verification list (USER_DATA)
|
|
3889
3945
|
* @param {FetchAddressVerificationListRequest} requestParameters Request parameters.
|
|
@@ -3935,13 +3991,7 @@ var RestAPI = class {
|
|
|
3935
3991
|
/**
|
|
3936
3992
|
* Fetch the VASP list for local entities.
|
|
3937
3993
|
*
|
|
3938
|
-
*
|
|
3939
|
-
*
|
|
3940
|
-
* Weight: 18000
|
|
3941
|
-
* Request limit: 10 requests per second
|
|
3942
|
-
* > * This endpoint specifically uses per second IP rate limit, user's total second level IP rate
|
|
3943
|
-
* limit is 180000/second. Response from the endpoint contains header
|
|
3944
|
-
* key X-SAPI-USED-IP-WEIGHT-1S, which defines weight used by the current IP.
|
|
3994
|
+
* Weight: 1
|
|
3945
3995
|
*
|
|
3946
3996
|
* @summary VASP list (for local entities that require travel rule) (supporting network) (USER_DATA)
|
|
3947
3997
|
* @param {VaspListRequest} requestParameters Request parameters.
|
|
@@ -3955,16 +4005,11 @@ var RestAPI = class {
|
|
|
3955
4005
|
/**
|
|
3956
4006
|
* Fetch withdraw history for local entities that required travel rule.
|
|
3957
4007
|
*
|
|
3958
|
-
* This endpoint specifically uses per second IP rate limit, user's total second level IP rate
|
|
3959
4008
|
* `network` may not be in the response for old withdraw.
|
|
3960
4009
|
* Please notice the default `startTime` and `endTime` to make sure that time interval is within
|
|
3961
4010
|
* If both `startTime` and `endTime`are sent, time between `startTime`and `endTime`must be less
|
|
3962
4011
|
*
|
|
3963
|
-
* Weight:
|
|
3964
|
-
* Request limit: 10 requests per second
|
|
3965
|
-
* > * This endpoint specifically uses per second IP rate limit, user's total second level IP rate
|
|
3966
|
-
* limit is 180000/second. Response from the endpoint contains header
|
|
3967
|
-
* key X-SAPI-USED-IP-WEIGHT-1S, which defines weight used by the current IP.
|
|
4012
|
+
* Weight: 1
|
|
3968
4013
|
*
|
|
3969
4014
|
* @summary Withdraw History (for local entities that require travel rule) (supporting network) (USER_DATA)
|
|
3970
4015
|
* @param {WithdrawHistoryV1Request} requestParameters Request parameters.
|
|
@@ -3978,7 +4023,6 @@ var RestAPI = class {
|
|
|
3978
4023
|
/**
|
|
3979
4024
|
* Fetch withdraw history for local entities that required travel rule.
|
|
3980
4025
|
*
|
|
3981
|
-
* This endpoint specifically uses per second IP rate limit, user's total second level IP rate
|
|
3982
4026
|
* `network` may not be in the response for old withdraw.
|
|
3983
4027
|
* Withdrawal made through /sapi/v1/capital/withdraw/apply may not be in the response.
|
|
3984
4028
|
* Please notice the default `startTime` and `endTime` to make sure that time interval is within
|
|
@@ -3989,11 +4033,7 @@ var RestAPI = class {
|
|
|
3989
4033
|
* WithdrawOrderId only support 1.
|
|
3990
4034
|
* If responsible does not include withdrawalStatus, please input trId or txId retrieve the data.
|
|
3991
4035
|
*
|
|
3992
|
-
* Weight:
|
|
3993
|
-
* Request limit: 10 requests per second
|
|
3994
|
-
* > * This endpoint specifically uses per second IP rate limit, user's total second level IP rate
|
|
3995
|
-
* limit is 180000/second. Response from the endpoint contains header
|
|
3996
|
-
* key X-SAPI-USED-IP-WEIGHT-1S, which defines weight used by the current IP.
|
|
4036
|
+
* Weight: 1
|
|
3997
4037
|
*
|
|
3998
4038
|
* @summary Withdraw History V2 (for local entities that require travel rule) (supporting network) (USER_DATA)
|
|
3999
4039
|
* @param {WithdrawHistoryV2Request} requestParameters Request parameters.
|