@shapeshiftoss/unchained-client 9.3.2 → 9.5.1

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.
Files changed (84) hide show
  1. package/dist/cosmos/parser/index.js +1 -1
  2. package/dist/evm/avalanche/parser/index.js +1 -5
  3. package/dist/evm/ethereum/parser/constants.d.ts +1 -0
  4. package/dist/evm/ethereum/parser/constants.js +2 -1
  5. package/dist/evm/ethereum/parser/cowswap.d.ts +5 -0
  6. package/dist/evm/ethereum/parser/cowswap.js +27 -0
  7. package/dist/evm/ethereum/parser/index.js +4 -6
  8. package/dist/evm/parser/index.js +4 -4
  9. package/dist/generated/avalanche/api.d.ts +1 -1
  10. package/dist/generated/avalanche/api.js +1 -1
  11. package/dist/generated/avalanche/base.d.ts +1 -1
  12. package/dist/generated/avalanche/base.js +1 -1
  13. package/dist/generated/avalanche/common.d.ts +1 -1
  14. package/dist/generated/avalanche/common.js +1 -1
  15. package/dist/generated/avalanche/configuration.d.ts +1 -1
  16. package/dist/generated/avalanche/configuration.js +1 -1
  17. package/dist/generated/avalanche/index.d.ts +1 -1
  18. package/dist/generated/avalanche/index.js +1 -1
  19. package/dist/generated/bitcoin/api.d.ts +201 -201
  20. package/dist/generated/bitcoin/api.js +26 -26
  21. package/dist/generated/bitcoin/base.d.ts +1 -1
  22. package/dist/generated/bitcoin/base.js +1 -1
  23. package/dist/generated/bitcoin/common.d.ts +1 -1
  24. package/dist/generated/bitcoin/common.js +1 -1
  25. package/dist/generated/bitcoin/configuration.d.ts +1 -1
  26. package/dist/generated/bitcoin/configuration.js +1 -1
  27. package/dist/generated/bitcoin/index.d.ts +1 -1
  28. package/dist/generated/bitcoin/index.js +1 -1
  29. package/dist/generated/dogecoin/api.d.ts +201 -201
  30. package/dist/generated/dogecoin/api.js +26 -26
  31. package/dist/generated/dogecoin/base.d.ts +1 -1
  32. package/dist/generated/dogecoin/base.js +1 -1
  33. package/dist/generated/dogecoin/common.d.ts +1 -1
  34. package/dist/generated/dogecoin/common.js +1 -1
  35. package/dist/generated/dogecoin/configuration.d.ts +1 -1
  36. package/dist/generated/dogecoin/configuration.js +1 -1
  37. package/dist/generated/dogecoin/index.d.ts +1 -1
  38. package/dist/generated/dogecoin/index.js +1 -1
  39. package/dist/generated/ethereum/api.d.ts +1 -1
  40. package/dist/generated/ethereum/api.js +1 -1
  41. package/dist/generated/ethereum/base.d.ts +1 -1
  42. package/dist/generated/ethereum/base.js +1 -1
  43. package/dist/generated/ethereum/common.d.ts +1 -1
  44. package/dist/generated/ethereum/common.js +1 -1
  45. package/dist/generated/ethereum/configuration.d.ts +1 -1
  46. package/dist/generated/ethereum/configuration.js +1 -1
  47. package/dist/generated/ethereum/index.d.ts +1 -1
  48. package/dist/generated/ethereum/index.js +1 -1
  49. package/dist/generated/litecoin/api.d.ts +1010 -0
  50. package/dist/generated/litecoin/api.js +521 -0
  51. package/dist/generated/litecoin/base.d.ts +55 -0
  52. package/dist/generated/litecoin/base.js +64 -0
  53. package/dist/generated/litecoin/common.d.ts +65 -0
  54. package/dist/generated/litecoin/common.js +137 -0
  55. package/dist/generated/litecoin/configuration.d.ts +83 -0
  56. package/dist/generated/litecoin/configuration.js +42 -0
  57. package/dist/generated/litecoin/index.d.ts +13 -0
  58. package/dist/generated/litecoin/index.js +31 -0
  59. package/dist/index.d.ts +4 -2
  60. package/dist/index.js +5 -3
  61. package/dist/types.d.ts +17 -14
  62. package/dist/types.js +21 -14
  63. package/dist/utxo/bitcoin/index.d.ts +2 -0
  64. package/dist/{bitcoin → utxo/bitcoin}/index.js +1 -2
  65. package/dist/utxo/bitcoin/parser/index.d.ts +6 -0
  66. package/dist/utxo/bitcoin/parser/index.js +12 -0
  67. package/dist/utxo/dogecoin/index.d.ts +2 -0
  68. package/dist/{dogecoin → utxo/dogecoin}/index.js +2 -3
  69. package/dist/utxo/dogecoin/parser/index.d.ts +6 -0
  70. package/dist/utxo/dogecoin/parser/index.js +12 -0
  71. package/dist/utxo/index.d.ts +5 -0
  72. package/dist/utxo/index.js +31 -0
  73. package/dist/utxo/litecoin/index.d.ts +2 -0
  74. package/dist/utxo/litecoin/index.js +18 -0
  75. package/dist/utxo/litecoin/parser/index.d.ts +6 -0
  76. package/dist/utxo/litecoin/parser/index.js +12 -0
  77. package/dist/utxo/parser/index.d.ts +12 -0
  78. package/dist/{bitcoin → utxo}/parser/index.js +4 -11
  79. package/package.json +6 -6
  80. package/dist/bitcoin/index.d.ts +0 -3
  81. package/dist/bitcoin/parser/index.d.ts +0 -13
  82. package/dist/bitcoin/types.d.ts +0 -1
  83. package/dist/bitcoin/types.js +0 -2
  84. package/dist/dogecoin/index.d.ts +0 -3
@@ -5,7 +5,7 @@
5
5
  * @shapeshiftoss/dogecoin-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: 7.2.0
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 xpub Examples 1. Bitcoin (address) 2. Bitcoin (xpub)
37
- * @param {string} pubkey account address or xpub
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
- * Gets current network fee estimates for \'fast\', \'average\', and \'slow\' tx confirmation times
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 xpub
169
- * @param {string} pubkey account address or xpub
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 xpub Examples 1. Bitcoin (address) 2. Bitcoin (xpub)
205
- * @param {string} pubkey account address or xpub
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 xpub Examples 1. Bitcoin (address) 2. Bitcoin (xpub)
272
- * @param {string} pubkey account address or xpub
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
- * Gets current network fee estimates for \'fast\', \'average\', and \'slow\' tx confirmation times
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 xpub
320
- * @param {string} pubkey account address or xpub
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 xpub Examples 1. Bitcoin (address) 2. Bitcoin (xpub)
332
- * @param {string} pubkey account address or xpub
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 xpub Examples 1. Bitcoin (address) 2. Bitcoin (xpub)
362
- * @param {string} pubkey account address or xpub
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
- * Gets current network fee estimates for \'fast\', \'average\', and \'slow\' tx confirmation times
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 xpub
405
- * @param {string} pubkey account address or xpub
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 xpub Examples 1. Bitcoin (address) 2. Bitcoin (xpub)
416
- * @param {string} pubkey account address or xpub
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 xpub Examples 1. Bitcoin (address) 2. Bitcoin (xpub)
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
- * Gets current network fee estimates for \'fast\', \'average\', and \'slow\' tx confirmation times
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 xpub
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 xpub Examples 1. Bitcoin (address) 2. Bitcoin (xpub)
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/dogecoin-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: 7.2.0
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/dogecoin-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: 7.2.0
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/dogecoin-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: 7.2.0
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/dogecoin-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: 7.2.0
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/dogecoin-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: 7.2.0
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/dogecoin-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: 7.2.0
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/dogecoin-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: 7.2.0
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/dogecoin-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: 7.2.0
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/ethereum-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: 7.2.0
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/ethereum-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: 7.2.0
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/ethereum-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: 7.2.0
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/ethereum-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: 7.2.0
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/ethereum-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: 7.2.0
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/ethereum-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: 7.2.0
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/ethereum-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: 7.2.0
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/ethereum-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: 7.2.0
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/ethereum-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: 7.2.0
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/ethereum-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: 7.2.0
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).