@cobo/cobo-waas2 1.9.0 → 1.10.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/README.md +40 -4
- package/dist/ApiClient.js +1 -1
- package/dist/api/DevelopersApi.js +4 -4
- package/dist/api/StakingsApi.js +400 -6
- package/dist/api/SwapsApi.js +360 -0
- package/dist/api/TransactionsApi.js +4 -4
- package/dist/index.js +164 -3
- package/dist/model/AddressesEventData.js +4 -4
- package/dist/model/AddressesEventDataAllOfAddresses.js +295 -0
- package/dist/model/BTCEIP191MessageSignDestination.js +1 -1
- package/dist/model/BabylonAirdropPop.js +186 -0
- package/dist/model/BabylonAirdropRegistration.js +172 -0
- package/dist/model/BabylonEligibleAirdrop.js +157 -0
- package/dist/model/BabylonRegistrationRequestStatus.js +66 -0
- package/dist/model/BabylonRegistrationStatus.js +66 -0
- package/dist/model/BabylonStakingRegistration.js +185 -0
- package/dist/model/ContractCallSource.js +6 -0
- package/dist/model/CreateBabylonAirdropRegistration201Response.js +87 -0
- package/dist/model/CreateBabylonAirdropRegistrationRequest.js +105 -0
- package/dist/model/CreateBabylonStakingRegistration201Response.js +87 -0
- package/dist/model/CreateBabylonStakingRegistrationRequest.js +103 -0
- package/dist/model/CreateSwapActivityRequest.js +153 -0
- package/dist/model/CreateSwapQuote201Response.js +264 -0
- package/dist/model/CreateSwapQuoteRequest.js +166 -0
- package/dist/model/ListBabylonAirdropRegistrations200Response.js +123 -0
- package/dist/model/ListBabylonEligibleAirdrops200Response.js +123 -0
- package/dist/model/ListBabylonEligibleStakings200Response.js +123 -0
- package/dist/model/ListBabylonEligibleStakings200ResponseDataInner.js +141 -0
- package/dist/model/ListBabylonStakingRegistrations200Response.js +123 -0
- package/dist/model/{SwapSummary.js → ListEnableTokenPairs200Response.js} +51 -49
- package/dist/model/ListSwapActivities200Response.js +123 -0
- package/dist/model/MessageSignSource.js +6 -0
- package/dist/model/MpcContractCallSource.js +16 -0
- package/dist/model/MpcMessageSignSource.js +16 -0
- package/dist/model/MpcSigningGroup.js +27 -4
- package/dist/model/MpcTransferSource.js +16 -0
- package/dist/model/QueryGuardPubkey200ResponseAddressesInner.js +2 -2
- package/dist/model/StakingPoolId.js +30 -0
- package/dist/model/StakingPoolType.js +15 -0
- package/dist/model/SwapQuote.js +203 -0
- package/dist/model/TransactionDestination.js +4 -4
- package/dist/model/TransactionRawTxInfo.js +16 -0
- package/dist/model/TransactionRbfSource.js +6 -0
- package/dist/model/TransactionUtxoChange.js +101 -0
- package/dist/model/TransferSource.js +6 -0
- package/dist/model/WebhookEventData.js +2 -2
- package/docs/AddressesEventData.md +1 -1
- package/docs/AddressesEventDataAllOfAddresses.md +19 -0
- package/docs/BabylonAirdropPop.md +14 -0
- package/docs/BabylonAirdropRegistration.md +16 -0
- package/docs/BabylonEligibleAirdrop.md +14 -0
- package/docs/BabylonRegistrationRequestStatus.md +14 -0
- package/docs/BabylonRegistrationStatus.md +14 -0
- package/docs/BabylonStakingRegistration.md +17 -0
- package/docs/ContractCallSource.md +1 -0
- package/docs/CreateBabylonAirdropRegistration201Response.md +9 -0
- package/docs/CreateBabylonAirdropRegistrationRequest.md +10 -0
- package/docs/CreateBabylonStakingRegistration201Response.md +9 -0
- package/docs/CreateBabylonStakingRegistrationRequest.md +10 -0
- package/docs/CreateSwapActivityRequest.md +12 -0
- package/docs/CreateSwapQuote201Response.md +17 -0
- package/docs/CreateSwapQuoteRequest.md +13 -0
- package/docs/DevelopersApi.md +2 -2
- package/docs/ListBabylonAirdropRegistrations200Response.md +10 -0
- package/docs/ListBabylonEligibleAirdrops200Response.md +10 -0
- package/docs/ListBabylonEligibleStakings200Response.md +10 -0
- package/docs/ListBabylonEligibleStakings200ResponseDataInner.md +13 -0
- package/docs/ListBabylonStakingRegistrations200Response.md +10 -0
- package/docs/ListEnableTokenPairs200Response.md +10 -0
- package/docs/ListSwapActivities200Response.md +10 -0
- package/docs/MessageSignSource.md +1 -0
- package/docs/MpcContractCallSource.md +1 -0
- package/docs/MpcMessageSignSource.md +1 -0
- package/docs/MpcSigningGroup.md +1 -1
- package/docs/MpcTransferSource.md +1 -0
- package/docs/QueryGuardPubkey200ResponseAddressesInner.md +1 -1
- package/docs/StakingPoolId.md +12 -0
- package/docs/StakingPoolType.md +6 -0
- package/docs/StakingsApi.md +449 -1
- package/docs/SwapQuote.md +16 -0
- package/docs/SwapsApi.md +348 -0
- package/docs/TransactionRawTxInfo.md +1 -0
- package/docs/TransactionRbfSource.md +1 -0
- package/docs/TransactionUtxoChange.md +10 -0
- package/docs/TransactionsApi.md +2 -2
- package/docs/TransferSource.md +1 -0
- package/docs/WebhookEventData.md +1 -1
- package/package.json +2 -2
- package/docs/SwapSummary.md +0 -10
package/dist/index.js
CHANGED
|
@@ -99,6 +99,12 @@ Object.defineProperty(exports, "AddressesEventData", {
|
|
|
99
99
|
return _AddressesEventData["default"];
|
|
100
100
|
}
|
|
101
101
|
});
|
|
102
|
+
Object.defineProperty(exports, "AddressesEventDataAllOfAddresses", {
|
|
103
|
+
enumerable: true,
|
|
104
|
+
get: function get() {
|
|
105
|
+
return _AddressesEventDataAllOfAddresses["default"];
|
|
106
|
+
}
|
|
107
|
+
});
|
|
102
108
|
Object.defineProperty(exports, "AmountDetailsInner", {
|
|
103
109
|
enumerable: true,
|
|
104
110
|
get: function get() {
|
|
@@ -159,6 +165,36 @@ Object.defineProperty(exports, "BTCEIP191MessageSignDestination", {
|
|
|
159
165
|
return _BTCEIP191MessageSignDestination["default"];
|
|
160
166
|
}
|
|
161
167
|
});
|
|
168
|
+
Object.defineProperty(exports, "BabylonAirdropPop", {
|
|
169
|
+
enumerable: true,
|
|
170
|
+
get: function get() {
|
|
171
|
+
return _BabylonAirdropPop["default"];
|
|
172
|
+
}
|
|
173
|
+
});
|
|
174
|
+
Object.defineProperty(exports, "BabylonAirdropRegistration", {
|
|
175
|
+
enumerable: true,
|
|
176
|
+
get: function get() {
|
|
177
|
+
return _BabylonAirdropRegistration["default"];
|
|
178
|
+
}
|
|
179
|
+
});
|
|
180
|
+
Object.defineProperty(exports, "BabylonEligibleAirdrop", {
|
|
181
|
+
enumerable: true,
|
|
182
|
+
get: function get() {
|
|
183
|
+
return _BabylonEligibleAirdrop["default"];
|
|
184
|
+
}
|
|
185
|
+
});
|
|
186
|
+
Object.defineProperty(exports, "BabylonRegistrationRequestStatus", {
|
|
187
|
+
enumerable: true,
|
|
188
|
+
get: function get() {
|
|
189
|
+
return _BabylonRegistrationRequestStatus["default"];
|
|
190
|
+
}
|
|
191
|
+
});
|
|
192
|
+
Object.defineProperty(exports, "BabylonRegistrationStatus", {
|
|
193
|
+
enumerable: true,
|
|
194
|
+
get: function get() {
|
|
195
|
+
return _BabylonRegistrationStatus["default"];
|
|
196
|
+
}
|
|
197
|
+
});
|
|
162
198
|
Object.defineProperty(exports, "BabylonStakeEstimatedFee", {
|
|
163
199
|
enumerable: true,
|
|
164
200
|
get: function get() {
|
|
@@ -183,6 +219,12 @@ Object.defineProperty(exports, "BabylonStakingExtra", {
|
|
|
183
219
|
return _BabylonStakingExtra["default"];
|
|
184
220
|
}
|
|
185
221
|
});
|
|
222
|
+
Object.defineProperty(exports, "BabylonStakingRegistration", {
|
|
223
|
+
enumerable: true,
|
|
224
|
+
get: function get() {
|
|
225
|
+
return _BabylonStakingRegistration["default"];
|
|
226
|
+
}
|
|
227
|
+
});
|
|
186
228
|
Object.defineProperty(exports, "BabylonValidator", {
|
|
187
229
|
enumerable: true,
|
|
188
230
|
get: function get() {
|
|
@@ -339,6 +381,30 @@ Object.defineProperty(exports, "CreateAddressRequest", {
|
|
|
339
381
|
return _CreateAddressRequest["default"];
|
|
340
382
|
}
|
|
341
383
|
});
|
|
384
|
+
Object.defineProperty(exports, "CreateBabylonAirdropRegistration201Response", {
|
|
385
|
+
enumerable: true,
|
|
386
|
+
get: function get() {
|
|
387
|
+
return _CreateBabylonAirdropRegistration201Response["default"];
|
|
388
|
+
}
|
|
389
|
+
});
|
|
390
|
+
Object.defineProperty(exports, "CreateBabylonAirdropRegistrationRequest", {
|
|
391
|
+
enumerable: true,
|
|
392
|
+
get: function get() {
|
|
393
|
+
return _CreateBabylonAirdropRegistrationRequest["default"];
|
|
394
|
+
}
|
|
395
|
+
});
|
|
396
|
+
Object.defineProperty(exports, "CreateBabylonStakingRegistration201Response", {
|
|
397
|
+
enumerable: true,
|
|
398
|
+
get: function get() {
|
|
399
|
+
return _CreateBabylonStakingRegistration201Response["default"];
|
|
400
|
+
}
|
|
401
|
+
});
|
|
402
|
+
Object.defineProperty(exports, "CreateBabylonStakingRegistrationRequest", {
|
|
403
|
+
enumerable: true,
|
|
404
|
+
get: function get() {
|
|
405
|
+
return _CreateBabylonStakingRegistrationRequest["default"];
|
|
406
|
+
}
|
|
407
|
+
});
|
|
342
408
|
Object.defineProperty(exports, "CreateClaimActivity", {
|
|
343
409
|
enumerable: true,
|
|
344
410
|
get: function get() {
|
|
@@ -441,6 +507,24 @@ Object.defineProperty(exports, "CreateStakeActivityRequest", {
|
|
|
441
507
|
return _CreateStakeActivityRequest["default"];
|
|
442
508
|
}
|
|
443
509
|
});
|
|
510
|
+
Object.defineProperty(exports, "CreateSwapActivityRequest", {
|
|
511
|
+
enumerable: true,
|
|
512
|
+
get: function get() {
|
|
513
|
+
return _CreateSwapActivityRequest["default"];
|
|
514
|
+
}
|
|
515
|
+
});
|
|
516
|
+
Object.defineProperty(exports, "CreateSwapQuote201Response", {
|
|
517
|
+
enumerable: true,
|
|
518
|
+
get: function get() {
|
|
519
|
+
return _CreateSwapQuote201Response["default"];
|
|
520
|
+
}
|
|
521
|
+
});
|
|
522
|
+
Object.defineProperty(exports, "CreateSwapQuoteRequest", {
|
|
523
|
+
enumerable: true,
|
|
524
|
+
get: function get() {
|
|
525
|
+
return _CreateSwapQuoteRequest["default"];
|
|
526
|
+
}
|
|
527
|
+
});
|
|
444
528
|
Object.defineProperty(exports, "CreateTransferTransaction201Response", {
|
|
445
529
|
enumerable: true,
|
|
446
530
|
get: function get() {
|
|
@@ -927,12 +1011,48 @@ Object.defineProperty(exports, "ListAssetBalancesForExchangeWallet200Response",
|
|
|
927
1011
|
return _ListAssetBalancesForExchangeWallet200Response["default"];
|
|
928
1012
|
}
|
|
929
1013
|
});
|
|
1014
|
+
Object.defineProperty(exports, "ListBabylonAirdropRegistrations200Response", {
|
|
1015
|
+
enumerable: true,
|
|
1016
|
+
get: function get() {
|
|
1017
|
+
return _ListBabylonAirdropRegistrations200Response["default"];
|
|
1018
|
+
}
|
|
1019
|
+
});
|
|
1020
|
+
Object.defineProperty(exports, "ListBabylonEligibleAirdrops200Response", {
|
|
1021
|
+
enumerable: true,
|
|
1022
|
+
get: function get() {
|
|
1023
|
+
return _ListBabylonEligibleAirdrops200Response["default"];
|
|
1024
|
+
}
|
|
1025
|
+
});
|
|
1026
|
+
Object.defineProperty(exports, "ListBabylonEligibleStakings200Response", {
|
|
1027
|
+
enumerable: true,
|
|
1028
|
+
get: function get() {
|
|
1029
|
+
return _ListBabylonEligibleStakings200Response["default"];
|
|
1030
|
+
}
|
|
1031
|
+
});
|
|
1032
|
+
Object.defineProperty(exports, "ListBabylonEligibleStakings200ResponseDataInner", {
|
|
1033
|
+
enumerable: true,
|
|
1034
|
+
get: function get() {
|
|
1035
|
+
return _ListBabylonEligibleStakings200ResponseDataInner["default"];
|
|
1036
|
+
}
|
|
1037
|
+
});
|
|
1038
|
+
Object.defineProperty(exports, "ListBabylonStakingRegistrations200Response", {
|
|
1039
|
+
enumerable: true,
|
|
1040
|
+
get: function get() {
|
|
1041
|
+
return _ListBabylonStakingRegistrations200Response["default"];
|
|
1042
|
+
}
|
|
1043
|
+
});
|
|
930
1044
|
Object.defineProperty(exports, "ListCallbackMessages200Response", {
|
|
931
1045
|
enumerable: true,
|
|
932
1046
|
get: function get() {
|
|
933
1047
|
return _ListCallbackMessages200Response["default"];
|
|
934
1048
|
}
|
|
935
1049
|
});
|
|
1050
|
+
Object.defineProperty(exports, "ListEnableTokenPairs200Response", {
|
|
1051
|
+
enumerable: true,
|
|
1052
|
+
get: function get() {
|
|
1053
|
+
return _ListEnableTokenPairs200Response["default"];
|
|
1054
|
+
}
|
|
1055
|
+
});
|
|
936
1056
|
Object.defineProperty(exports, "ListExchanges200ResponseInner", {
|
|
937
1057
|
enumerable: true,
|
|
938
1058
|
get: function get() {
|
|
@@ -1005,6 +1125,12 @@ Object.defineProperty(exports, "ListSupportedTokens200Response", {
|
|
|
1005
1125
|
return _ListSupportedTokens200Response["default"];
|
|
1006
1126
|
}
|
|
1007
1127
|
});
|
|
1128
|
+
Object.defineProperty(exports, "ListSwapActivities200Response", {
|
|
1129
|
+
enumerable: true,
|
|
1130
|
+
get: function get() {
|
|
1131
|
+
return _ListSwapActivities200Response["default"];
|
|
1132
|
+
}
|
|
1133
|
+
});
|
|
1008
1134
|
Object.defineProperty(exports, "ListTokenBalancesForAddress200Response", {
|
|
1009
1135
|
enumerable: true,
|
|
1010
1136
|
get: function get() {
|
|
@@ -1443,10 +1569,10 @@ Object.defineProperty(exports, "SwapActivity", {
|
|
|
1443
1569
|
return _SwapActivity["default"];
|
|
1444
1570
|
}
|
|
1445
1571
|
});
|
|
1446
|
-
Object.defineProperty(exports, "
|
|
1572
|
+
Object.defineProperty(exports, "SwapQuote", {
|
|
1447
1573
|
enumerable: true,
|
|
1448
1574
|
get: function get() {
|
|
1449
|
-
return
|
|
1575
|
+
return _SwapQuote["default"];
|
|
1450
1576
|
}
|
|
1451
1577
|
});
|
|
1452
1578
|
Object.defineProperty(exports, "SwapTokenPair", {
|
|
@@ -1455,6 +1581,12 @@ Object.defineProperty(exports, "SwapTokenPair", {
|
|
|
1455
1581
|
return _SwapTokenPair["default"];
|
|
1456
1582
|
}
|
|
1457
1583
|
});
|
|
1584
|
+
Object.defineProperty(exports, "SwapsApi", {
|
|
1585
|
+
enumerable: true,
|
|
1586
|
+
get: function get() {
|
|
1587
|
+
return _SwapsApi["default"];
|
|
1588
|
+
}
|
|
1589
|
+
});
|
|
1458
1590
|
Object.defineProperty(exports, "TSSGroups", {
|
|
1459
1591
|
enumerable: true,
|
|
1460
1592
|
get: function get() {
|
|
@@ -1869,6 +2001,12 @@ Object.defineProperty(exports, "TransactionUtxo", {
|
|
|
1869
2001
|
return _TransactionUtxo["default"];
|
|
1870
2002
|
}
|
|
1871
2003
|
});
|
|
2004
|
+
Object.defineProperty(exports, "TransactionUtxoChange", {
|
|
2005
|
+
enumerable: true,
|
|
2006
|
+
get: function get() {
|
|
2007
|
+
return _TransactionUtxoChange["default"];
|
|
2008
|
+
}
|
|
2009
|
+
});
|
|
1872
2010
|
Object.defineProperty(exports, "TransactionUtxoFee", {
|
|
1873
2011
|
enumerable: true,
|
|
1874
2012
|
get: function get() {
|
|
@@ -2200,6 +2338,7 @@ var _AddressTransferDestination = _interopRequireDefault(require("./model/Addres
|
|
|
2200
2338
|
var _AddressTransferDestinationAccountOutput = _interopRequireDefault(require("./model/AddressTransferDestinationAccountOutput"));
|
|
2201
2339
|
var _AddressTransferDestinationUtxoOutputsInner = _interopRequireDefault(require("./model/AddressTransferDestinationUtxoOutputsInner"));
|
|
2202
2340
|
var _AddressesEventData = _interopRequireDefault(require("./model/AddressesEventData"));
|
|
2341
|
+
var _AddressesEventDataAllOfAddresses = _interopRequireDefault(require("./model/AddressesEventDataAllOfAddresses"));
|
|
2203
2342
|
var _AmountDetailsInner = _interopRequireDefault(require("./model/AmountDetailsInner"));
|
|
2204
2343
|
var _AmountStatus = _interopRequireDefault(require("./model/AmountStatus"));
|
|
2205
2344
|
var _ApiLogDetails = _interopRequireDefault(require("./model/ApiLogDetails"));
|
|
@@ -2209,10 +2348,16 @@ var _AssetBalance = _interopRequireDefault(require("./model/AssetBalance"));
|
|
|
2209
2348
|
var _AssetInfo = _interopRequireDefault(require("./model/AssetInfo"));
|
|
2210
2349
|
var _AutoFuelType = _interopRequireDefault(require("./model/AutoFuelType"));
|
|
2211
2350
|
var _BTCEIP191MessageSignDestination = _interopRequireDefault(require("./model/BTCEIP191MessageSignDestination"));
|
|
2351
|
+
var _BabylonAirdropPop = _interopRequireDefault(require("./model/BabylonAirdropPop"));
|
|
2352
|
+
var _BabylonAirdropRegistration = _interopRequireDefault(require("./model/BabylonAirdropRegistration"));
|
|
2353
|
+
var _BabylonEligibleAirdrop = _interopRequireDefault(require("./model/BabylonEligibleAirdrop"));
|
|
2354
|
+
var _BabylonRegistrationRequestStatus = _interopRequireDefault(require("./model/BabylonRegistrationRequestStatus"));
|
|
2355
|
+
var _BabylonRegistrationStatus = _interopRequireDefault(require("./model/BabylonRegistrationStatus"));
|
|
2212
2356
|
var _BabylonStakeEstimatedFee = _interopRequireDefault(require("./model/BabylonStakeEstimatedFee"));
|
|
2213
2357
|
var _BabylonStakeExtra = _interopRequireDefault(require("./model/BabylonStakeExtra"));
|
|
2214
2358
|
var _BabylonStakingActivityDetailExtra = _interopRequireDefault(require("./model/BabylonStakingActivityDetailExtra"));
|
|
2215
2359
|
var _BabylonStakingExtra = _interopRequireDefault(require("./model/BabylonStakingExtra"));
|
|
2360
|
+
var _BabylonStakingRegistration = _interopRequireDefault(require("./model/BabylonStakingRegistration"));
|
|
2216
2361
|
var _BabylonValidator = _interopRequireDefault(require("./model/BabylonValidator"));
|
|
2217
2362
|
var _Balance = _interopRequireDefault(require("./model/Balance"));
|
|
2218
2363
|
var _BaseContractCallSource = _interopRequireDefault(require("./model/BaseContractCallSource"));
|
|
@@ -2239,6 +2384,10 @@ var _CoreStakeExtra = _interopRequireDefault(require("./model/CoreStakeExtra"));
|
|
|
2239
2384
|
var _CoreStakingActivityDetailExtra = _interopRequireDefault(require("./model/CoreStakingActivityDetailExtra"));
|
|
2240
2385
|
var _CoreStakingExtra = _interopRequireDefault(require("./model/CoreStakingExtra"));
|
|
2241
2386
|
var _CreateAddressRequest = _interopRequireDefault(require("./model/CreateAddressRequest"));
|
|
2387
|
+
var _CreateBabylonAirdropRegistration201Response = _interopRequireDefault(require("./model/CreateBabylonAirdropRegistration201Response"));
|
|
2388
|
+
var _CreateBabylonAirdropRegistrationRequest = _interopRequireDefault(require("./model/CreateBabylonAirdropRegistrationRequest"));
|
|
2389
|
+
var _CreateBabylonStakingRegistration201Response = _interopRequireDefault(require("./model/CreateBabylonStakingRegistration201Response"));
|
|
2390
|
+
var _CreateBabylonStakingRegistrationRequest = _interopRequireDefault(require("./model/CreateBabylonStakingRegistrationRequest"));
|
|
2242
2391
|
var _CreateClaimActivity = _interopRequireDefault(require("./model/CreateClaimActivity"));
|
|
2243
2392
|
var _CreateClaimActivityRequest = _interopRequireDefault(require("./model/CreateClaimActivityRequest"));
|
|
2244
2393
|
var _CreateCustodialWalletParams = _interopRequireDefault(require("./model/CreateCustodialWalletParams"));
|
|
@@ -2256,6 +2405,9 @@ var _CreateStakeActivity = _interopRequireDefault(require("./model/CreateStakeAc
|
|
|
2256
2405
|
var _CreateStakeActivity201Response = _interopRequireDefault(require("./model/CreateStakeActivity201Response"));
|
|
2257
2406
|
var _CreateStakeActivityExtra = _interopRequireDefault(require("./model/CreateStakeActivityExtra"));
|
|
2258
2407
|
var _CreateStakeActivityRequest = _interopRequireDefault(require("./model/CreateStakeActivityRequest"));
|
|
2408
|
+
var _CreateSwapActivityRequest = _interopRequireDefault(require("./model/CreateSwapActivityRequest"));
|
|
2409
|
+
var _CreateSwapQuote201Response = _interopRequireDefault(require("./model/CreateSwapQuote201Response"));
|
|
2410
|
+
var _CreateSwapQuoteRequest = _interopRequireDefault(require("./model/CreateSwapQuoteRequest"));
|
|
2259
2411
|
var _CreateTransferTransaction201Response = _interopRequireDefault(require("./model/CreateTransferTransaction201Response"));
|
|
2260
2412
|
var _CreateTssRequestRequest = _interopRequireDefault(require("./model/CreateTssRequestRequest"));
|
|
2261
2413
|
var _CreateUnstakeActivity = _interopRequireDefault(require("./model/CreateUnstakeActivity"));
|
|
@@ -2333,7 +2485,13 @@ var _ListAddressBalancesByToken200Response = _interopRequireDefault(require("./m
|
|
|
2333
2485
|
var _ListAddressBooks200Response = _interopRequireDefault(require("./model/ListAddressBooks200Response"));
|
|
2334
2486
|
var _ListAddresses200Response = _interopRequireDefault(require("./model/ListAddresses200Response"));
|
|
2335
2487
|
var _ListAssetBalancesForExchangeWallet200Response = _interopRequireDefault(require("./model/ListAssetBalancesForExchangeWallet200Response"));
|
|
2488
|
+
var _ListBabylonAirdropRegistrations200Response = _interopRequireDefault(require("./model/ListBabylonAirdropRegistrations200Response"));
|
|
2489
|
+
var _ListBabylonEligibleAirdrops200Response = _interopRequireDefault(require("./model/ListBabylonEligibleAirdrops200Response"));
|
|
2490
|
+
var _ListBabylonEligibleStakings200Response = _interopRequireDefault(require("./model/ListBabylonEligibleStakings200Response"));
|
|
2491
|
+
var _ListBabylonEligibleStakings200ResponseDataInner = _interopRequireDefault(require("./model/ListBabylonEligibleStakings200ResponseDataInner"));
|
|
2492
|
+
var _ListBabylonStakingRegistrations200Response = _interopRequireDefault(require("./model/ListBabylonStakingRegistrations200Response"));
|
|
2336
2493
|
var _ListCallbackMessages200Response = _interopRequireDefault(require("./model/ListCallbackMessages200Response"));
|
|
2494
|
+
var _ListEnableTokenPairs200Response = _interopRequireDefault(require("./model/ListEnableTokenPairs200Response"));
|
|
2337
2495
|
var _ListExchanges200ResponseInner = _interopRequireDefault(require("./model/ListExchanges200ResponseInner"));
|
|
2338
2496
|
var _ListKeyShareHolderGroups200Response = _interopRequireDefault(require("./model/ListKeyShareHolderGroups200Response"));
|
|
2339
2497
|
var _ListKeyShareHolders200Response = _interopRequireDefault(require("./model/ListKeyShareHolders200Response"));
|
|
@@ -2346,6 +2504,7 @@ var _ListSupportedAssetsForExchange200Response = _interopRequireDefault(require(
|
|
|
2346
2504
|
var _ListSupportedChains200Response = _interopRequireDefault(require("./model/ListSupportedChains200Response"));
|
|
2347
2505
|
var _ListSupportedCountries200ResponseInner = _interopRequireDefault(require("./model/ListSupportedCountries200ResponseInner"));
|
|
2348
2506
|
var _ListSupportedTokens200Response = _interopRequireDefault(require("./model/ListSupportedTokens200Response"));
|
|
2507
|
+
var _ListSwapActivities200Response = _interopRequireDefault(require("./model/ListSwapActivities200Response"));
|
|
2349
2508
|
var _ListTokenBalancesForAddress200Response = _interopRequireDefault(require("./model/ListTokenBalancesForAddress200Response"));
|
|
2350
2509
|
var _ListTransactions200Response = _interopRequireDefault(require("./model/ListTransactions200Response"));
|
|
2351
2510
|
var _ListTssRequests200Response = _interopRequireDefault(require("./model/ListTssRequests200Response"));
|
|
@@ -2415,7 +2574,7 @@ var _StakingsExtra = _interopRequireDefault(require("./model/StakingsExtra"));
|
|
|
2415
2574
|
var _SubWalletAssetBalance = _interopRequireDefault(require("./model/SubWalletAssetBalance"));
|
|
2416
2575
|
var _SubmitDepositTravelRuleInfo201Response = _interopRequireDefault(require("./model/SubmitDepositTravelRuleInfo201Response"));
|
|
2417
2576
|
var _SwapActivity = _interopRequireDefault(require("./model/SwapActivity"));
|
|
2418
|
-
var
|
|
2577
|
+
var _SwapQuote = _interopRequireDefault(require("./model/SwapQuote"));
|
|
2419
2578
|
var _SwapTokenPair = _interopRequireDefault(require("./model/SwapTokenPair"));
|
|
2420
2579
|
var _TSSGroups = _interopRequireDefault(require("./model/TSSGroups"));
|
|
2421
2580
|
var _TSSRequest = _interopRequireDefault(require("./model/TSSRequest"));
|
|
@@ -2486,6 +2645,7 @@ var _TransactionTransferToWalletDestination = _interopRequireDefault(require("./
|
|
|
2486
2645
|
var _TransactionType = _interopRequireDefault(require("./model/TransactionType"));
|
|
2487
2646
|
var _TransactionUserApprovalDetail = _interopRequireDefault(require("./model/TransactionUserApprovalDetail"));
|
|
2488
2647
|
var _TransactionUtxo = _interopRequireDefault(require("./model/TransactionUtxo"));
|
|
2648
|
+
var _TransactionUtxoChange = _interopRequireDefault(require("./model/TransactionUtxoChange"));
|
|
2489
2649
|
var _TransactionUtxoFee = _interopRequireDefault(require("./model/TransactionUtxoFee"));
|
|
2490
2650
|
var _TransactionWebhookEventData = _interopRequireDefault(require("./model/TransactionWebhookEventData"));
|
|
2491
2651
|
var _TransferDestination = _interopRequireDefault(require("./model/TransferDestination"));
|
|
@@ -2538,6 +2698,7 @@ var _DevelopersWebhooksApi = _interopRequireDefault(require("./api/DevelopersWeb
|
|
|
2538
2698
|
var _OAuthApi = _interopRequireDefault(require("./api/OAuthApi"));
|
|
2539
2699
|
var _PrimeBrokerApi = _interopRequireDefault(require("./api/PrimeBrokerApi"));
|
|
2540
2700
|
var _StakingsApi = _interopRequireDefault(require("./api/StakingsApi"));
|
|
2701
|
+
var _SwapsApi = _interopRequireDefault(require("./api/SwapsApi"));
|
|
2541
2702
|
var _TransactionsApi = _interopRequireDefault(require("./api/TransactionsApi"));
|
|
2542
2703
|
var _TravelRuleApi = _interopRequireDefault(require("./api/TravelRuleApi"));
|
|
2543
2704
|
var _WalletsApi = _interopRequireDefault(require("./api/WalletsApi"));
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports["default"] = void 0;
|
|
7
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
-
var
|
|
8
|
+
var _AddressesEventDataAllOfAddresses = _interopRequireDefault(require("./AddressesEventDataAllOfAddresses"));
|
|
9
9
|
var _WebhookEventDataType = _interopRequireDefault(require("./WebhookEventDataType"));
|
|
10
10
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
11
11
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
@@ -71,7 +71,7 @@ var AddressesEventData = /*#__PURE__*/function () {
|
|
|
71
71
|
obj['data_type'] = _ApiClient["default"].convertToType(data['data_type'], 'String');
|
|
72
72
|
}
|
|
73
73
|
if (data.hasOwnProperty('addresses')) {
|
|
74
|
-
obj['addresses'] = _ApiClient["default"].convertToType(data['addresses'], [
|
|
74
|
+
obj['addresses'] = _ApiClient["default"].convertToType(data['addresses'], [_AddressesEventDataAllOfAddresses["default"]]);
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
return obj;
|
|
@@ -116,7 +116,7 @@ var AddressesEventData = /*#__PURE__*/function () {
|
|
|
116
116
|
try {
|
|
117
117
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
118
118
|
var item = _step2.value;
|
|
119
|
-
|
|
119
|
+
_AddressesEventDataAllOfAddresses["default"].validateJSON(item);
|
|
120
120
|
}
|
|
121
121
|
} catch (err) {
|
|
122
122
|
_iterator2.e(err);
|
|
@@ -139,7 +139,7 @@ AddressesEventData.prototype['data_type'] = undefined;
|
|
|
139
139
|
|
|
140
140
|
/**
|
|
141
141
|
* A list of addresses.
|
|
142
|
-
* @member {Array.<module:model/
|
|
142
|
+
* @member {Array.<module:model/AddressesEventDataAllOfAddresses>} addresses
|
|
143
143
|
*/
|
|
144
144
|
AddressesEventData.prototype['addresses'] = undefined;
|
|
145
145
|
|
|
@@ -0,0 +1,295 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
+
var _AddressEncoding = _interopRequireDefault(require("./AddressEncoding"));
|
|
9
|
+
var _AddressInfo = _interopRequireDefault(require("./AddressInfo"));
|
|
10
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
11
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
12
|
+
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
13
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
14
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
15
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
16
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
17
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
18
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
19
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
20
|
+
* Cobo Wallet as a Service 2.0
|
|
21
|
+
*
|
|
22
|
+
* Contact: help@cobo.com
|
|
23
|
+
*
|
|
24
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
25
|
+
* https://openapi-generator.tech
|
|
26
|
+
* Do not edit the class manually.
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
/**
|
|
30
|
+
* The AddressesEventDataAllOfAddresses model module.
|
|
31
|
+
* @module model/AddressesEventDataAllOfAddresses
|
|
32
|
+
*/
|
|
33
|
+
var AddressesEventDataAllOfAddresses = /*#__PURE__*/function () {
|
|
34
|
+
/**
|
|
35
|
+
* Constructs a new <code>AddressesEventDataAllOfAddresses</code>.
|
|
36
|
+
* @alias module:model/AddressesEventDataAllOfAddresses
|
|
37
|
+
* @implements module:model/AddressInfo
|
|
38
|
+
* @param address {String} The wallet address.
|
|
39
|
+
* @param chain_id {String} The chain ID, which is the unique identifier of a blockchain. You can retrieve the IDs of all the chains you can use by calling [List enabled chains](https://www.cobo.com/developers/v2/api-references/wallets/list-enabled-chains).
|
|
40
|
+
* @param wallet_id {String} The wallet ID.
|
|
41
|
+
*/
|
|
42
|
+
function AddressesEventDataAllOfAddresses(address, chain_id, wallet_id) {
|
|
43
|
+
_classCallCheck(this, AddressesEventDataAllOfAddresses);
|
|
44
|
+
_AddressInfo["default"].initialize(this, address, chain_id);
|
|
45
|
+
AddressesEventDataAllOfAddresses.initialize(this, address, chain_id, wallet_id);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Initializes the fields of this object.
|
|
50
|
+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
51
|
+
* Only for internal use.
|
|
52
|
+
*/
|
|
53
|
+
return _createClass(AddressesEventDataAllOfAddresses, null, [{
|
|
54
|
+
key: "initialize",
|
|
55
|
+
value: function initialize(obj, address, chain_id, wallet_id) {
|
|
56
|
+
obj['address'] = address;
|
|
57
|
+
obj['chain_id'] = chain_id;
|
|
58
|
+
obj['wallet_id'] = wallet_id;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Constructs a <code>AddressesEventDataAllOfAddresses</code> from a plain JavaScript object, optionally creating a new instance.
|
|
63
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
64
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
65
|
+
* @param {module:model/AddressesEventDataAllOfAddresses} obj Optional instance to populate.
|
|
66
|
+
* @return {module:model/AddressesEventDataAllOfAddresses} The populated <code>AddressesEventDataAllOfAddresses</code> instance.
|
|
67
|
+
*/
|
|
68
|
+
}, {
|
|
69
|
+
key: "constructFromObject",
|
|
70
|
+
value: function constructFromObject(data, obj) {
|
|
71
|
+
if (data) {
|
|
72
|
+
obj = obj || new AddressesEventDataAllOfAddresses();
|
|
73
|
+
_AddressInfo["default"].constructFromObject(data, obj);
|
|
74
|
+
if (data.hasOwnProperty('address')) {
|
|
75
|
+
obj['address'] = _ApiClient["default"].convertToType(data['address'], 'String');
|
|
76
|
+
}
|
|
77
|
+
if (data.hasOwnProperty('chain_id')) {
|
|
78
|
+
obj['chain_id'] = _ApiClient["default"].convertToType(data['chain_id'], 'String');
|
|
79
|
+
}
|
|
80
|
+
if (data.hasOwnProperty('memo')) {
|
|
81
|
+
obj['memo'] = _ApiClient["default"].convertToType(data['memo'], 'String');
|
|
82
|
+
}
|
|
83
|
+
if (data.hasOwnProperty('path')) {
|
|
84
|
+
obj['path'] = _ApiClient["default"].convertToType(data['path'], 'String');
|
|
85
|
+
}
|
|
86
|
+
if (data.hasOwnProperty('encoding')) {
|
|
87
|
+
obj['encoding'] = _AddressEncoding["default"].constructFromObject(data['encoding']);
|
|
88
|
+
}
|
|
89
|
+
if (data.hasOwnProperty('pubkey')) {
|
|
90
|
+
obj['pubkey'] = _ApiClient["default"].convertToType(data['pubkey'], 'String');
|
|
91
|
+
}
|
|
92
|
+
if (data.hasOwnProperty('x_only_pubkey')) {
|
|
93
|
+
obj['x_only_pubkey'] = _ApiClient["default"].convertToType(data['x_only_pubkey'], 'String');
|
|
94
|
+
}
|
|
95
|
+
if (data.hasOwnProperty('root_pubkey')) {
|
|
96
|
+
obj['root_pubkey'] = _ApiClient["default"].convertToType(data['root_pubkey'], 'String');
|
|
97
|
+
}
|
|
98
|
+
if (data.hasOwnProperty('taproot_script_tree_hash')) {
|
|
99
|
+
obj['taproot_script_tree_hash'] = _ApiClient["default"].convertToType(data['taproot_script_tree_hash'], 'String');
|
|
100
|
+
}
|
|
101
|
+
if (data.hasOwnProperty('taproot_internal_address')) {
|
|
102
|
+
obj['taproot_internal_address'] = _ApiClient["default"].convertToType(data['taproot_internal_address'], 'String');
|
|
103
|
+
}
|
|
104
|
+
if (data.hasOwnProperty('wallet_id')) {
|
|
105
|
+
obj['wallet_id'] = _ApiClient["default"].convertToType(data['wallet_id'], 'String');
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
return obj;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* Validates the JSON data with respect to <code>AddressesEventDataAllOfAddresses</code>.
|
|
113
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
114
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>AddressesEventDataAllOfAddresses</code>.
|
|
115
|
+
*/
|
|
116
|
+
}, {
|
|
117
|
+
key: "validateJSON",
|
|
118
|
+
value: function validateJSON(data) {
|
|
119
|
+
// check to make sure all required properties are present in the JSON string
|
|
120
|
+
var _iterator = _createForOfIteratorHelper(AddressesEventDataAllOfAddresses.RequiredProperties),
|
|
121
|
+
_step;
|
|
122
|
+
try {
|
|
123
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
124
|
+
var property = _step.value;
|
|
125
|
+
if (!data.hasOwnProperty(property)) {
|
|
126
|
+
throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
// ensure the json data is a string
|
|
130
|
+
} catch (err) {
|
|
131
|
+
_iterator.e(err);
|
|
132
|
+
} finally {
|
|
133
|
+
_iterator.f();
|
|
134
|
+
}
|
|
135
|
+
if (data['address'] && !(typeof data['address'] === 'string' || data['address'] instanceof String)) {
|
|
136
|
+
throw new Error("Expected the field `address` to be a primitive type in the JSON string but got " + data['address']);
|
|
137
|
+
}
|
|
138
|
+
// ensure the json data is a string
|
|
139
|
+
if (data['chain_id'] && !(typeof data['chain_id'] === 'string' || data['chain_id'] instanceof String)) {
|
|
140
|
+
throw new Error("Expected the field `chain_id` to be a primitive type in the JSON string but got " + data['chain_id']);
|
|
141
|
+
}
|
|
142
|
+
// ensure the json data is a string
|
|
143
|
+
if (data['memo'] && !(typeof data['memo'] === 'string' || data['memo'] instanceof String)) {
|
|
144
|
+
throw new Error("Expected the field `memo` to be a primitive type in the JSON string but got " + data['memo']);
|
|
145
|
+
}
|
|
146
|
+
// ensure the json data is a string
|
|
147
|
+
if (data['path'] && !(typeof data['path'] === 'string' || data['path'] instanceof String)) {
|
|
148
|
+
throw new Error("Expected the field `path` to be a primitive type in the JSON string but got " + data['path']);
|
|
149
|
+
}
|
|
150
|
+
// ensure the json data is a string
|
|
151
|
+
if (data['pubkey'] && !(typeof data['pubkey'] === 'string' || data['pubkey'] instanceof String)) {
|
|
152
|
+
throw new Error("Expected the field `pubkey` to be a primitive type in the JSON string but got " + data['pubkey']);
|
|
153
|
+
}
|
|
154
|
+
// ensure the json data is a string
|
|
155
|
+
if (data['x_only_pubkey'] && !(typeof data['x_only_pubkey'] === 'string' || data['x_only_pubkey'] instanceof String)) {
|
|
156
|
+
throw new Error("Expected the field `x_only_pubkey` to be a primitive type in the JSON string but got " + data['x_only_pubkey']);
|
|
157
|
+
}
|
|
158
|
+
// ensure the json data is a string
|
|
159
|
+
if (data['root_pubkey'] && !(typeof data['root_pubkey'] === 'string' || data['root_pubkey'] instanceof String)) {
|
|
160
|
+
throw new Error("Expected the field `root_pubkey` to be a primitive type in the JSON string but got " + data['root_pubkey']);
|
|
161
|
+
}
|
|
162
|
+
// ensure the json data is a string
|
|
163
|
+
if (data['taproot_script_tree_hash'] && !(typeof data['taproot_script_tree_hash'] === 'string' || data['taproot_script_tree_hash'] instanceof String)) {
|
|
164
|
+
throw new Error("Expected the field `taproot_script_tree_hash` to be a primitive type in the JSON string but got " + data['taproot_script_tree_hash']);
|
|
165
|
+
}
|
|
166
|
+
// ensure the json data is a string
|
|
167
|
+
if (data['taproot_internal_address'] && !(typeof data['taproot_internal_address'] === 'string' || data['taproot_internal_address'] instanceof String)) {
|
|
168
|
+
throw new Error("Expected the field `taproot_internal_address` to be a primitive type in the JSON string but got " + data['taproot_internal_address']);
|
|
169
|
+
}
|
|
170
|
+
// ensure the json data is a string
|
|
171
|
+
if (data['wallet_id'] && !(typeof data['wallet_id'] === 'string' || data['wallet_id'] instanceof String)) {
|
|
172
|
+
throw new Error("Expected the field `wallet_id` to be a primitive type in the JSON string but got " + data['wallet_id']);
|
|
173
|
+
}
|
|
174
|
+
return true;
|
|
175
|
+
}
|
|
176
|
+
}]);
|
|
177
|
+
}();
|
|
178
|
+
AddressesEventDataAllOfAddresses.RequiredProperties = ["address", "chain_id", "wallet_id"];
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* The wallet address.
|
|
182
|
+
* @member {String} address
|
|
183
|
+
*/
|
|
184
|
+
AddressesEventDataAllOfAddresses.prototype['address'] = undefined;
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* The chain ID, which is the unique identifier of a blockchain. You can retrieve the IDs of all the chains you can use by calling [List enabled chains](https://www.cobo.com/developers/v2/api-references/wallets/list-enabled-chains).
|
|
188
|
+
* @member {String} chain_id
|
|
189
|
+
*/
|
|
190
|
+
AddressesEventDataAllOfAddresses.prototype['chain_id'] = undefined;
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* The memo code.
|
|
194
|
+
* @member {String} memo
|
|
195
|
+
*/
|
|
196
|
+
AddressesEventDataAllOfAddresses.prototype['memo'] = undefined;
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* The derivation path of the address. This property applies to MPC Wallets only. To learn the meaning of each level in the path, see [Path levels](https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki#path-levels).
|
|
200
|
+
* @member {String} path
|
|
201
|
+
*/
|
|
202
|
+
AddressesEventDataAllOfAddresses.prototype['path'] = undefined;
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* @member {module:model/AddressEncoding} encoding
|
|
206
|
+
*/
|
|
207
|
+
AddressesEventDataAllOfAddresses.prototype['encoding'] = undefined;
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* The public key of the address. This property applies to MPC Wallets only.
|
|
211
|
+
* @member {String} pubkey
|
|
212
|
+
*/
|
|
213
|
+
AddressesEventDataAllOfAddresses.prototype['pubkey'] = undefined;
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* The 32-byte x-only public key in hexadecimal format after tweaking.
|
|
217
|
+
* @member {String} x_only_pubkey
|
|
218
|
+
*/
|
|
219
|
+
AddressesEventDataAllOfAddresses.prototype['x_only_pubkey'] = undefined;
|
|
220
|
+
|
|
221
|
+
/**
|
|
222
|
+
* The root public key of the address. This property applies to MPC Wallets only.
|
|
223
|
+
* @member {String} root_pubkey
|
|
224
|
+
*/
|
|
225
|
+
AddressesEventDataAllOfAddresses.prototype['root_pubkey'] = undefined;
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* The information about the new address.
|
|
229
|
+
* @member {String} taproot_script_tree_hash
|
|
230
|
+
*/
|
|
231
|
+
AddressesEventDataAllOfAddresses.prototype['taproot_script_tree_hash'] = undefined;
|
|
232
|
+
|
|
233
|
+
/**
|
|
234
|
+
* The Taproot address before tweaking.
|
|
235
|
+
* @member {String} taproot_internal_address
|
|
236
|
+
*/
|
|
237
|
+
AddressesEventDataAllOfAddresses.prototype['taproot_internal_address'] = undefined;
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
* The wallet ID.
|
|
241
|
+
* @member {String} wallet_id
|
|
242
|
+
*/
|
|
243
|
+
AddressesEventDataAllOfAddresses.prototype['wallet_id'] = undefined;
|
|
244
|
+
|
|
245
|
+
// Implement AddressInfo interface:
|
|
246
|
+
/**
|
|
247
|
+
* The wallet address.
|
|
248
|
+
* @member {String} address
|
|
249
|
+
*/
|
|
250
|
+
_AddressInfo["default"].prototype['address'] = undefined;
|
|
251
|
+
/**
|
|
252
|
+
* The chain ID, which is the unique identifier of a blockchain. You can retrieve the IDs of all the chains you can use by calling [List enabled chains](https://www.cobo.com/developers/v2/api-references/wallets/list-enabled-chains).
|
|
253
|
+
* @member {String} chain_id
|
|
254
|
+
*/
|
|
255
|
+
_AddressInfo["default"].prototype['chain_id'] = undefined;
|
|
256
|
+
/**
|
|
257
|
+
* The memo code.
|
|
258
|
+
* @member {String} memo
|
|
259
|
+
*/
|
|
260
|
+
_AddressInfo["default"].prototype['memo'] = undefined;
|
|
261
|
+
/**
|
|
262
|
+
* The derivation path of the address. This property applies to MPC Wallets only. To learn the meaning of each level in the path, see [Path levels](https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki#path-levels).
|
|
263
|
+
* @member {String} path
|
|
264
|
+
*/
|
|
265
|
+
_AddressInfo["default"].prototype['path'] = undefined;
|
|
266
|
+
/**
|
|
267
|
+
* @member {module:model/AddressEncoding} encoding
|
|
268
|
+
*/
|
|
269
|
+
_AddressInfo["default"].prototype['encoding'] = undefined;
|
|
270
|
+
/**
|
|
271
|
+
* The public key of the address. This property applies to MPC Wallets only.
|
|
272
|
+
* @member {String} pubkey
|
|
273
|
+
*/
|
|
274
|
+
_AddressInfo["default"].prototype['pubkey'] = undefined;
|
|
275
|
+
/**
|
|
276
|
+
* The 32-byte x-only public key in hexadecimal format after tweaking.
|
|
277
|
+
* @member {String} x_only_pubkey
|
|
278
|
+
*/
|
|
279
|
+
_AddressInfo["default"].prototype['x_only_pubkey'] = undefined;
|
|
280
|
+
/**
|
|
281
|
+
* The root public key of the address. This property applies to MPC Wallets only.
|
|
282
|
+
* @member {String} root_pubkey
|
|
283
|
+
*/
|
|
284
|
+
_AddressInfo["default"].prototype['root_pubkey'] = undefined;
|
|
285
|
+
/**
|
|
286
|
+
* The information about the new address.
|
|
287
|
+
* @member {String} taproot_script_tree_hash
|
|
288
|
+
*/
|
|
289
|
+
_AddressInfo["default"].prototype['taproot_script_tree_hash'] = undefined;
|
|
290
|
+
/**
|
|
291
|
+
* The Taproot address before tweaking.
|
|
292
|
+
* @member {String} taproot_internal_address
|
|
293
|
+
*/
|
|
294
|
+
_AddressInfo["default"].prototype['taproot_internal_address'] = undefined;
|
|
295
|
+
var _default = exports["default"] = AddressesEventDataAllOfAddresses;
|
|
@@ -32,7 +32,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
32
32
|
var BTCEIP191MessageSignDestination = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
34
34
|
* Constructs a new <code>BTCEIP191MessageSignDestination</code>.
|
|
35
|
-
* The information about the destination `BTC_EIP_191_Signature`. Refer to [Transaction sources and destinations](/v2/guides/transactions/sources-and-destinations) for a detailed introduction about the supported sources and destinations for each transaction type.
|
|
35
|
+
* The information about the destination `BTC_EIP_191_Signature`. Refer to [Transaction sources and destinations](https://www.cobo.com/developers/v2/guides/transactions/sources-and-destinations) for a detailed introduction about the supported sources and destinations for each transaction type.
|
|
36
36
|
* @alias module:model/BTCEIP191MessageSignDestination
|
|
37
37
|
* @param destination_type {module:model/MessageSignDestinationType}
|
|
38
38
|
* @param message {String} The raw data of the message to be signed, encoded in Base64 format.
|