@shapeshiftoss/unchained-client 9.3.1 → 9.5.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/cosmos/parser/index.js +1 -1
- package/dist/evm/avalanche/parser/index.js +1 -5
- package/dist/evm/ethereum/parser/constants.d.ts +1 -0
- package/dist/evm/ethereum/parser/constants.js +2 -1
- package/dist/evm/ethereum/parser/cowswap.d.ts +5 -0
- package/dist/evm/ethereum/parser/cowswap.js +27 -0
- package/dist/evm/ethereum/parser/index.js +4 -6
- package/dist/evm/parser/index.js +4 -4
- package/dist/generated/avalanche/api.d.ts +1 -1
- package/dist/generated/avalanche/api.js +1 -1
- package/dist/generated/avalanche/base.d.ts +1 -1
- package/dist/generated/avalanche/base.js +1 -1
- package/dist/generated/avalanche/common.d.ts +1 -1
- package/dist/generated/avalanche/common.js +1 -1
- package/dist/generated/avalanche/configuration.d.ts +1 -1
- package/dist/generated/avalanche/configuration.js +1 -1
- package/dist/generated/avalanche/index.d.ts +1 -1
- package/dist/generated/avalanche/index.js +1 -1
- package/dist/generated/bitcoin/api.d.ts +201 -201
- package/dist/generated/bitcoin/api.js +26 -26
- package/dist/generated/bitcoin/base.d.ts +1 -1
- package/dist/generated/bitcoin/base.js +1 -1
- package/dist/generated/bitcoin/common.d.ts +1 -1
- package/dist/generated/bitcoin/common.js +1 -1
- package/dist/generated/bitcoin/configuration.d.ts +1 -1
- package/dist/generated/bitcoin/configuration.js +1 -1
- package/dist/generated/bitcoin/index.d.ts +1 -1
- package/dist/generated/bitcoin/index.js +1 -1
- package/dist/generated/dogecoin/api.d.ts +201 -201
- package/dist/generated/dogecoin/api.js +26 -26
- package/dist/generated/dogecoin/base.d.ts +1 -1
- package/dist/generated/dogecoin/base.js +1 -1
- package/dist/generated/dogecoin/common.d.ts +1 -1
- package/dist/generated/dogecoin/common.js +1 -1
- package/dist/generated/dogecoin/configuration.d.ts +1 -1
- package/dist/generated/dogecoin/configuration.js +1 -1
- package/dist/generated/dogecoin/index.d.ts +1 -1
- package/dist/generated/dogecoin/index.js +1 -1
- package/dist/generated/ethereum/api.d.ts +1 -1
- package/dist/generated/ethereum/api.js +1 -1
- package/dist/generated/ethereum/base.d.ts +1 -1
- package/dist/generated/ethereum/base.js +1 -1
- package/dist/generated/ethereum/common.d.ts +1 -1
- package/dist/generated/ethereum/common.js +1 -1
- package/dist/generated/ethereum/configuration.d.ts +1 -1
- package/dist/generated/ethereum/configuration.js +1 -1
- package/dist/generated/ethereum/index.d.ts +1 -1
- package/dist/generated/ethereum/index.js +1 -1
- package/dist/generated/litecoin/api.d.ts +1010 -0
- package/dist/generated/litecoin/api.js +521 -0
- package/dist/generated/litecoin/base.d.ts +55 -0
- package/dist/generated/litecoin/base.js +64 -0
- package/dist/generated/litecoin/common.d.ts +65 -0
- package/dist/generated/litecoin/common.js +137 -0
- package/dist/generated/litecoin/configuration.d.ts +83 -0
- package/dist/generated/litecoin/configuration.js +42 -0
- package/dist/generated/litecoin/index.d.ts +13 -0
- package/dist/generated/litecoin/index.js +31 -0
- package/dist/index.d.ts +4 -2
- package/dist/index.js +5 -3
- package/dist/types.d.ts +17 -14
- package/dist/types.js +21 -14
- package/dist/utxo/bitcoin/index.d.ts +2 -0
- package/dist/{bitcoin → utxo/bitcoin}/index.js +1 -2
- package/dist/utxo/bitcoin/parser/index.d.ts +6 -0
- package/dist/utxo/bitcoin/parser/index.js +12 -0
- package/dist/utxo/dogecoin/index.d.ts +2 -0
- package/dist/{dogecoin → utxo/dogecoin}/index.js +2 -3
- package/dist/utxo/dogecoin/parser/index.d.ts +6 -0
- package/dist/utxo/dogecoin/parser/index.js +12 -0
- package/dist/utxo/index.d.ts +5 -0
- package/dist/utxo/index.js +31 -0
- package/dist/utxo/litecoin/index.d.ts +2 -0
- package/dist/utxo/litecoin/index.js +18 -0
- package/dist/utxo/litecoin/parser/index.d.ts +6 -0
- package/dist/utxo/litecoin/parser/index.js +12 -0
- package/dist/utxo/parser/index.d.ts +12 -0
- package/dist/{bitcoin → utxo}/parser/index.js +4 -11
- package/package.json +4 -4
- package/dist/bitcoin/index.d.ts +0 -3
- package/dist/bitcoin/parser/index.d.ts +0 -13
- package/dist/bitcoin/types.d.ts +0 -1
- package/dist/bitcoin/types.js +0 -2
- package/dist/dogecoin/index.d.ts +0 -3
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* @shapeshiftoss/bitcoin-api
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 8.0.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -33,8 +33,8 @@ exports.ValidationErrorMessageEnum = {
|
|
|
33
33
|
const V1ApiAxiosParamCreator = function (configuration) {
|
|
34
34
|
return {
|
|
35
35
|
/**
|
|
36
|
-
* Get account details by address or
|
|
37
|
-
* @param {string} pubkey account address or
|
|
36
|
+
* Get account details by address or extended public key
|
|
37
|
+
* @param {string} pubkey account address or extended public key
|
|
38
38
|
* @param {*} [options] Override http request option.
|
|
39
39
|
* @throws {RequiredError}
|
|
40
40
|
*/
|
|
@@ -85,7 +85,7 @@ const V1ApiAxiosParamCreator = function (configuration) {
|
|
|
85
85
|
};
|
|
86
86
|
},
|
|
87
87
|
/**
|
|
88
|
-
*
|
|
88
|
+
* Get current recommended network fees to use in a transaction
|
|
89
89
|
* @param {*} [options] Override http request option.
|
|
90
90
|
* @throws {RequiredError}
|
|
91
91
|
*/
|
|
@@ -165,8 +165,8 @@ const V1ApiAxiosParamCreator = function (configuration) {
|
|
|
165
165
|
};
|
|
166
166
|
},
|
|
167
167
|
/**
|
|
168
|
-
* Get transaction history by address or
|
|
169
|
-
* @param {string} pubkey account address or
|
|
168
|
+
* Get transaction history by address or extended public key
|
|
169
|
+
* @param {string} pubkey account address or extended public key
|
|
170
170
|
* @param {string} [cursor] the cursor returned in previous query (base64 encoded json object with a \'page\' property)
|
|
171
171
|
* @param {number} [pageSize] page size (10 by default)
|
|
172
172
|
* @param {*} [options] Override http request option.
|
|
@@ -201,8 +201,8 @@ const V1ApiAxiosParamCreator = function (configuration) {
|
|
|
201
201
|
};
|
|
202
202
|
},
|
|
203
203
|
/**
|
|
204
|
-
* Get all unspent transaction outputs for an address or
|
|
205
|
-
* @param {string} pubkey account address or
|
|
204
|
+
* Get all unspent transaction outputs for an address or extended public key
|
|
205
|
+
* @param {string} pubkey account address or extended public key
|
|
206
206
|
* @param {*} [options] Override http request option.
|
|
207
207
|
* @throws {RequiredError}
|
|
208
208
|
*/
|
|
@@ -268,8 +268,8 @@ const V1ApiFp = function (configuration) {
|
|
|
268
268
|
const localVarAxiosParamCreator = (0, exports.V1ApiAxiosParamCreator)(configuration);
|
|
269
269
|
return {
|
|
270
270
|
/**
|
|
271
|
-
* Get account details by address or
|
|
272
|
-
* @param {string} pubkey account address or
|
|
271
|
+
* Get account details by address or extended public key
|
|
272
|
+
* @param {string} pubkey account address or extended public key
|
|
273
273
|
* @param {*} [options] Override http request option.
|
|
274
274
|
* @throws {RequiredError}
|
|
275
275
|
*/
|
|
@@ -287,7 +287,7 @@ const V1ApiFp = function (configuration) {
|
|
|
287
287
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
288
288
|
},
|
|
289
289
|
/**
|
|
290
|
-
*
|
|
290
|
+
* Get current recommended network fees to use in a transaction
|
|
291
291
|
* @param {*} [options] Override http request option.
|
|
292
292
|
* @throws {RequiredError}
|
|
293
293
|
*/
|
|
@@ -316,8 +316,8 @@ const V1ApiFp = function (configuration) {
|
|
|
316
316
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
317
317
|
},
|
|
318
318
|
/**
|
|
319
|
-
* Get transaction history by address or
|
|
320
|
-
* @param {string} pubkey account address or
|
|
319
|
+
* Get transaction history by address or extended public key
|
|
320
|
+
* @param {string} pubkey account address or extended public key
|
|
321
321
|
* @param {string} [cursor] the cursor returned in previous query (base64 encoded json object with a \'page\' property)
|
|
322
322
|
* @param {number} [pageSize] page size (10 by default)
|
|
323
323
|
* @param {*} [options] Override http request option.
|
|
@@ -328,8 +328,8 @@ const V1ApiFp = function (configuration) {
|
|
|
328
328
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
329
329
|
},
|
|
330
330
|
/**
|
|
331
|
-
* Get all unspent transaction outputs for an address or
|
|
332
|
-
* @param {string} pubkey account address or
|
|
331
|
+
* Get all unspent transaction outputs for an address or extended public key
|
|
332
|
+
* @param {string} pubkey account address or extended public key
|
|
333
333
|
* @param {*} [options] Override http request option.
|
|
334
334
|
* @throws {RequiredError}
|
|
335
335
|
*/
|
|
@@ -358,8 +358,8 @@ const V1ApiFactory = function (configuration, basePath, axios) {
|
|
|
358
358
|
const localVarFp = (0, exports.V1ApiFp)(configuration);
|
|
359
359
|
return {
|
|
360
360
|
/**
|
|
361
|
-
* Get account details by address or
|
|
362
|
-
* @param {string} pubkey account address or
|
|
361
|
+
* Get account details by address or extended public key
|
|
362
|
+
* @param {string} pubkey account address or extended public key
|
|
363
363
|
* @param {*} [options] Override http request option.
|
|
364
364
|
* @throws {RequiredError}
|
|
365
365
|
*/
|
|
@@ -375,7 +375,7 @@ const V1ApiFactory = function (configuration, basePath, axios) {
|
|
|
375
375
|
return localVarFp.getInfo(options).then((request) => request(axios, basePath));
|
|
376
376
|
},
|
|
377
377
|
/**
|
|
378
|
-
*
|
|
378
|
+
* Get current recommended network fees to use in a transaction
|
|
379
379
|
* @param {*} [options] Override http request option.
|
|
380
380
|
* @throws {RequiredError}
|
|
381
381
|
*/
|
|
@@ -401,8 +401,8 @@ const V1ApiFactory = function (configuration, basePath, axios) {
|
|
|
401
401
|
return localVarFp.getTransaction(txid, options).then((request) => request(axios, basePath));
|
|
402
402
|
},
|
|
403
403
|
/**
|
|
404
|
-
* Get transaction history by address or
|
|
405
|
-
* @param {string} pubkey account address or
|
|
404
|
+
* Get transaction history by address or extended public key
|
|
405
|
+
* @param {string} pubkey account address or extended public key
|
|
406
406
|
* @param {string} [cursor] the cursor returned in previous query (base64 encoded json object with a \'page\' property)
|
|
407
407
|
* @param {number} [pageSize] page size (10 by default)
|
|
408
408
|
* @param {*} [options] Override http request option.
|
|
@@ -412,8 +412,8 @@ const V1ApiFactory = function (configuration, basePath, axios) {
|
|
|
412
412
|
return localVarFp.getTxHistory(pubkey, cursor, pageSize, options).then((request) => request(axios, basePath));
|
|
413
413
|
},
|
|
414
414
|
/**
|
|
415
|
-
* Get all unspent transaction outputs for an address or
|
|
416
|
-
* @param {string} pubkey account address or
|
|
415
|
+
* Get all unspent transaction outputs for an address or extended public key
|
|
416
|
+
* @param {string} pubkey account address or extended public key
|
|
417
417
|
* @param {*} [options] Override http request option.
|
|
418
418
|
* @throws {RequiredError}
|
|
419
419
|
*/
|
|
@@ -440,7 +440,7 @@ exports.V1ApiFactory = V1ApiFactory;
|
|
|
440
440
|
*/
|
|
441
441
|
class V1Api extends base_1.BaseAPI {
|
|
442
442
|
/**
|
|
443
|
-
* Get account details by address or
|
|
443
|
+
* Get account details by address or extended public key
|
|
444
444
|
* @param {V1ApiGetAccountRequest} requestParameters Request parameters.
|
|
445
445
|
* @param {*} [options] Override http request option.
|
|
446
446
|
* @throws {RequiredError}
|
|
@@ -459,7 +459,7 @@ class V1Api extends base_1.BaseAPI {
|
|
|
459
459
|
return (0, exports.V1ApiFp)(this.configuration).getInfo(options).then((request) => request(this.axios, this.basePath));
|
|
460
460
|
}
|
|
461
461
|
/**
|
|
462
|
-
*
|
|
462
|
+
* Get current recommended network fees to use in a transaction
|
|
463
463
|
* @param {*} [options] Override http request option.
|
|
464
464
|
* @throws {RequiredError}
|
|
465
465
|
* @memberof V1Api
|
|
@@ -488,7 +488,7 @@ class V1Api extends base_1.BaseAPI {
|
|
|
488
488
|
return (0, exports.V1ApiFp)(this.configuration).getTransaction(requestParameters.txid, options).then((request) => request(this.axios, this.basePath));
|
|
489
489
|
}
|
|
490
490
|
/**
|
|
491
|
-
* Get transaction history by address or
|
|
491
|
+
* Get transaction history by address or extended public key
|
|
492
492
|
* @param {V1ApiGetTxHistoryRequest} requestParameters Request parameters.
|
|
493
493
|
* @param {*} [options] Override http request option.
|
|
494
494
|
* @throws {RequiredError}
|
|
@@ -498,7 +498,7 @@ class V1Api extends base_1.BaseAPI {
|
|
|
498
498
|
return (0, exports.V1ApiFp)(this.configuration).getTxHistory(requestParameters.pubkey, requestParameters.cursor, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
499
499
|
}
|
|
500
500
|
/**
|
|
501
|
-
* Get all unspent transaction outputs for an address or
|
|
501
|
+
* Get all unspent transaction outputs for an address or extended public key
|
|
502
502
|
* @param {V1ApiGetUtxosRequest} requestParameters Request parameters.
|
|
503
503
|
* @param {*} [options] Override http request option.
|
|
504
504
|
* @throws {RequiredError}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @shapeshiftoss/bitcoin-api
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 8.0.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* @shapeshiftoss/bitcoin-api
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 8.0.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @shapeshiftoss/bitcoin-api
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 8.0.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* @shapeshiftoss/bitcoin-api
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 8.0.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @shapeshiftoss/bitcoin-api
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 8.0.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* @shapeshiftoss/bitcoin-api
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 8.0.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @shapeshiftoss/bitcoin-api
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 8.0.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* @shapeshiftoss/bitcoin-api
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 8.0.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|