@shapeshiftoss/unchained-client 9.4.0 → 9.6.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.
Files changed (91) hide show
  1. package/dist/evm/avalanche/parser/index.js +1 -5
  2. package/dist/evm/ethereum/parser/index.js +1 -5
  3. package/dist/generated/avalanche/api.d.ts +1 -1
  4. package/dist/generated/avalanche/api.js +1 -1
  5. package/dist/generated/avalanche/base.d.ts +1 -1
  6. package/dist/generated/avalanche/base.js +1 -1
  7. package/dist/generated/avalanche/common.d.ts +1 -1
  8. package/dist/generated/avalanche/common.js +1 -1
  9. package/dist/generated/avalanche/configuration.d.ts +1 -1
  10. package/dist/generated/avalanche/configuration.js +1 -1
  11. package/dist/generated/avalanche/index.d.ts +1 -1
  12. package/dist/generated/avalanche/index.js +1 -1
  13. package/dist/generated/bitcoin/api.d.ts +201 -201
  14. package/dist/generated/bitcoin/api.js +26 -26
  15. package/dist/generated/bitcoin/base.d.ts +1 -1
  16. package/dist/generated/bitcoin/base.js +1 -1
  17. package/dist/generated/bitcoin/common.d.ts +1 -1
  18. package/dist/generated/bitcoin/common.js +1 -1
  19. package/dist/generated/bitcoin/configuration.d.ts +1 -1
  20. package/dist/generated/bitcoin/configuration.js +1 -1
  21. package/dist/generated/bitcoin/index.d.ts +1 -1
  22. package/dist/generated/bitcoin/index.js +1 -1
  23. package/dist/generated/bitcoincash/api.d.ts +1010 -0
  24. package/dist/generated/bitcoincash/api.js +521 -0
  25. package/dist/generated/bitcoincash/base.d.ts +55 -0
  26. package/dist/generated/bitcoincash/base.js +64 -0
  27. package/dist/generated/bitcoincash/common.d.ts +65 -0
  28. package/dist/generated/bitcoincash/common.js +137 -0
  29. package/dist/generated/bitcoincash/configuration.d.ts +83 -0
  30. package/dist/generated/bitcoincash/configuration.js +42 -0
  31. package/dist/generated/bitcoincash/index.d.ts +13 -0
  32. package/dist/generated/bitcoincash/index.js +31 -0
  33. package/dist/generated/dogecoin/api.d.ts +201 -201
  34. package/dist/generated/dogecoin/api.js +26 -26
  35. package/dist/generated/dogecoin/base.d.ts +1 -1
  36. package/dist/generated/dogecoin/base.js +1 -1
  37. package/dist/generated/dogecoin/common.d.ts +1 -1
  38. package/dist/generated/dogecoin/common.js +1 -1
  39. package/dist/generated/dogecoin/configuration.d.ts +1 -1
  40. package/dist/generated/dogecoin/configuration.js +1 -1
  41. package/dist/generated/dogecoin/index.d.ts +1 -1
  42. package/dist/generated/dogecoin/index.js +1 -1
  43. package/dist/generated/ethereum/api.d.ts +1 -1
  44. package/dist/generated/ethereum/api.js +1 -1
  45. package/dist/generated/ethereum/base.d.ts +1 -1
  46. package/dist/generated/ethereum/base.js +1 -1
  47. package/dist/generated/ethereum/common.d.ts +1 -1
  48. package/dist/generated/ethereum/common.js +1 -1
  49. package/dist/generated/ethereum/configuration.d.ts +1 -1
  50. package/dist/generated/ethereum/configuration.js +1 -1
  51. package/dist/generated/ethereum/index.d.ts +1 -1
  52. package/dist/generated/ethereum/index.js +1 -1
  53. package/dist/generated/litecoin/api.d.ts +1010 -0
  54. package/dist/generated/litecoin/api.js +521 -0
  55. package/dist/generated/litecoin/base.d.ts +55 -0
  56. package/dist/generated/litecoin/base.js +64 -0
  57. package/dist/generated/litecoin/common.d.ts +65 -0
  58. package/dist/generated/litecoin/common.js +137 -0
  59. package/dist/generated/litecoin/configuration.d.ts +83 -0
  60. package/dist/generated/litecoin/configuration.js +42 -0
  61. package/dist/generated/litecoin/index.d.ts +13 -0
  62. package/dist/generated/litecoin/index.js +31 -0
  63. package/dist/index.d.ts +5 -2
  64. package/dist/index.js +6 -3
  65. package/dist/types.d.ts +1 -1
  66. package/dist/utxo/bitcoin/index.d.ts +2 -0
  67. package/dist/{bitcoin → utxo/bitcoin}/index.js +1 -2
  68. package/dist/utxo/bitcoin/parser/index.d.ts +6 -0
  69. package/dist/utxo/bitcoin/parser/index.js +12 -0
  70. package/dist/utxo/bitcoincash/index.d.ts +2 -0
  71. package/dist/{dogecoin → utxo/bitcoincash}/index.js +2 -3
  72. package/dist/utxo/bitcoincash/parser/index.d.ts +6 -0
  73. package/dist/utxo/bitcoincash/parser/index.js +12 -0
  74. package/dist/utxo/dogecoin/index.d.ts +2 -0
  75. package/dist/utxo/dogecoin/index.js +18 -0
  76. package/dist/utxo/dogecoin/parser/index.d.ts +6 -0
  77. package/dist/utxo/dogecoin/parser/index.js +12 -0
  78. package/dist/utxo/index.d.ts +6 -0
  79. package/dist/utxo/index.js +32 -0
  80. package/dist/utxo/litecoin/index.d.ts +2 -0
  81. package/dist/utxo/litecoin/index.js +18 -0
  82. package/dist/utxo/litecoin/parser/index.d.ts +6 -0
  83. package/dist/utxo/litecoin/parser/index.js +12 -0
  84. package/dist/utxo/parser/index.d.ts +12 -0
  85. package/dist/{bitcoin → utxo}/parser/index.js +3 -10
  86. package/package.json +6 -6
  87. package/dist/bitcoin/index.d.ts +0 -3
  88. package/dist/bitcoin/parser/index.d.ts +0 -13
  89. package/dist/bitcoin/types.d.ts +0 -1
  90. package/dist/bitcoin/types.js +0 -2
  91. package/dist/dogecoin/index.d.ts +0 -3
@@ -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: 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).
@@ -13,48 +13,66 @@ import { Configuration } from './configuration';
13
13
  import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
14
14
  import { RequestArgs, BaseAPI } from './base';
15
15
  /**
16
- * Information about BTC network fee at a specific confirmation speed
16
+ * Contains info about an address or extended public key account
17
17
  * @export
18
- * @interface BTCNetworkFee
18
+ * @interface Account
19
19
  */
20
- export interface BTCNetworkFee {
20
+ export interface Account {
21
21
  /**
22
22
  *
23
- * @type {number}
24
- * @memberof BTCNetworkFee
23
+ * @type {string}
24
+ * @memberof Account
25
25
  */
26
- 'satsPerKiloByte': number;
26
+ 'balance': string;
27
27
  /**
28
28
  *
29
+ * @type {string}
30
+ * @memberof Account
31
+ */
32
+ 'unconfirmedBalance': string;
33
+ /**
34
+ *
35
+ * @type {string}
36
+ * @memberof Account
37
+ */
38
+ 'pubkey': string;
39
+ /**
40
+ * List of associated addresses for an extended public key
41
+ * @type {Array<Address>}
42
+ * @memberof Account
43
+ */
44
+ 'addresses'?: Array<Address>;
45
+ /**
46
+ * The next unused receive address index for an extended public key (change index 0)
29
47
  * @type {number}
30
- * @memberof BTCNetworkFee
48
+ * @memberof Account
31
49
  */
32
- 'blocksUntilConfirmation': number;
50
+ 'nextReceiveAddressIndex'?: number;
51
+ /**
52
+ * The next unused change address index for an extended public key (change index 1)
53
+ * @type {number}
54
+ * @memberof Account
55
+ */
56
+ 'nextChangeAddressIndex'?: number;
33
57
  }
34
58
  /**
35
- * Gets current network fee estimates for \'fast\', \'average\', and \'slow\' tx confirmation times
59
+ * Contains info about an address associated with an extended public key
36
60
  * @export
37
- * @interface BTCNetworkFees
61
+ * @interface Address
38
62
  */
39
- export interface BTCNetworkFees {
40
- /**
41
- *
42
- * @type {BTCNetworkFee}
43
- * @memberof BTCNetworkFees
44
- */
45
- 'fast'?: BTCNetworkFee;
63
+ export interface Address {
46
64
  /**
47
65
  *
48
- * @type {BTCNetworkFee}
49
- * @memberof BTCNetworkFees
66
+ * @type {string}
67
+ * @memberof Address
50
68
  */
51
- 'average'?: BTCNetworkFee;
69
+ 'balance': string;
52
70
  /**
53
71
  *
54
- * @type {BTCNetworkFee}
55
- * @memberof BTCNetworkFees
72
+ * @type {string}
73
+ * @memberof Address
56
74
  */
57
- 'slow'?: BTCNetworkFee;
75
+ 'pubkey': string;
58
76
  }
59
77
  /**
60
78
  * Contains info about a 400 Bad Request response
@@ -85,395 +103,377 @@ export interface BaseInfo {
85
103
  /**
86
104
  * Contains paginated base transaction history details
87
105
  * @export
88
- * @interface BaseTxHistoryBitcoinTx
106
+ * @interface BaseTxHistoryTx
89
107
  */
90
- export interface BaseTxHistoryBitcoinTx {
108
+ export interface BaseTxHistoryTx {
91
109
  /**
92
110
  *
93
111
  * @type {string}
94
- * @memberof BaseTxHistoryBitcoinTx
112
+ * @memberof BaseTxHistoryTx
95
113
  */
96
114
  'cursor'?: string;
97
115
  /**
98
116
  *
99
117
  * @type {string}
100
- * @memberof BaseTxHistoryBitcoinTx
118
+ * @memberof BaseTxHistoryTx
101
119
  */
102
120
  'pubkey': string;
103
121
  /**
104
122
  *
105
- * @type {Array<BitcoinTx>}
106
- * @memberof BaseTxHistoryBitcoinTx
123
+ * @type {Array<Tx>}
124
+ * @memberof BaseTxHistoryTx
107
125
  */
108
- 'txs': Array<BitcoinTx>;
126
+ 'txs': Array<Tx>;
109
127
  }
110
128
  /**
111
- * Contains additional Bitcoin specific account info
129
+ * Contains info about a 500 Internal Server Error response
112
130
  * @export
113
- * @interface BitcoinAccount
131
+ * @interface InternalServerError
114
132
  */
115
- export interface BitcoinAccount {
116
- /**
117
- *
118
- * @type {string}
119
- * @memberof BitcoinAccount
120
- */
121
- 'balance': string;
133
+ export interface InternalServerError {
122
134
  /**
123
135
  *
124
136
  * @type {string}
125
- * @memberof BitcoinAccount
137
+ * @memberof InternalServerError
126
138
  */
127
- 'unconfirmedBalance': string;
139
+ 'message': string;
140
+ }
141
+ /**
142
+ * Contains info about the network fee
143
+ * @export
144
+ * @interface NetworkFee
145
+ */
146
+ export interface NetworkFee {
128
147
  /**
129
148
  *
130
- * @type {string}
131
- * @memberof BitcoinAccount
132
- */
133
- 'pubkey': string;
134
- /**
135
- * List of associated addresses for an xpub
136
- * @type {Array<BitcoinAddress>}
137
- * @memberof BitcoinAccount
138
- */
139
- 'addresses'?: Array<BitcoinAddress>;
140
- /**
141
- * The next unused receive address index for an xpub (change index 0)
142
149
  * @type {number}
143
- * @memberof BitcoinAccount
150
+ * @memberof NetworkFee
144
151
  */
145
- 'nextReceiveAddressIndex'?: number;
152
+ 'satsPerKiloByte': number;
146
153
  /**
147
- * The next unused change address index for an xpub (change index 1)
154
+ *
148
155
  * @type {number}
149
- * @memberof BitcoinAccount
156
+ * @memberof NetworkFee
150
157
  */
151
- 'nextChangeAddressIndex'?: number;
158
+ 'blocksUntilConfirmation': number;
152
159
  }
153
160
  /**
154
- *
161
+ * Contains info about current recommended network fees
155
162
  * @export
156
- * @interface BitcoinAddress
163
+ * @interface NetworkFees
157
164
  */
158
- export interface BitcoinAddress {
165
+ export interface NetworkFees {
159
166
  /**
160
167
  *
161
- * @type {string}
162
- * @memberof BitcoinAddress
168
+ * @type {NetworkFee}
169
+ * @memberof NetworkFees
163
170
  */
164
- 'balance': string;
171
+ 'fast'?: NetworkFee;
165
172
  /**
166
173
  *
167
- * @type {string}
168
- * @memberof BitcoinAddress
174
+ * @type {NetworkFee}
175
+ * @memberof NetworkFees
169
176
  */
170
- 'pubkey': string;
177
+ 'average'?: NetworkFee;
178
+ /**
179
+ *
180
+ * @type {NetworkFee}
181
+ * @memberof NetworkFees
182
+ */
183
+ 'slow'?: NetworkFee;
171
184
  }
172
185
  /**
173
- * Contains Bitcoin specific transaction info as returned from the node
186
+ * Contains info about a transaction as returned from the node
174
187
  * @export
175
- * @interface BitcoinRawTx
188
+ * @interface RawTx
176
189
  */
177
- export interface BitcoinRawTx {
190
+ export interface RawTx {
178
191
  /**
179
192
  *
180
193
  * @type {string}
181
- * @memberof BitcoinRawTx
194
+ * @memberof RawTx
182
195
  */
183
196
  'txid': string;
184
197
  /**
185
198
  *
186
199
  * @type {string}
187
- * @memberof BitcoinRawTx
200
+ * @memberof RawTx
188
201
  */
189
202
  'hash': string;
190
203
  /**
191
204
  *
192
205
  * @type {number}
193
- * @memberof BitcoinRawTx
206
+ * @memberof RawTx
194
207
  */
195
208
  'version': number;
196
209
  /**
197
210
  *
198
211
  * @type {number}
199
- * @memberof BitcoinRawTx
212
+ * @memberof RawTx
200
213
  */
201
214
  'size': number;
202
215
  /**
203
216
  *
204
217
  * @type {number}
205
- * @memberof BitcoinRawTx
218
+ * @memberof RawTx
206
219
  */
207
220
  'vsize': number;
208
221
  /**
209
222
  *
210
223
  * @type {number}
211
- * @memberof BitcoinRawTx
224
+ * @memberof RawTx
212
225
  */
213
226
  'weight': number;
214
227
  /**
215
228
  *
216
229
  * @type {number}
217
- * @memberof BitcoinRawTx
230
+ * @memberof RawTx
218
231
  */
219
232
  'locktime': number;
220
233
  /**
221
234
  *
222
- * @type {Array<BitcoinRawTxVin>}
223
- * @memberof BitcoinRawTx
235
+ * @type {Array<RawTxVin>}
236
+ * @memberof RawTx
224
237
  */
225
- 'vin': Array<BitcoinRawTxVin>;
238
+ 'vin': Array<RawTxVin>;
226
239
  /**
227
240
  *
228
- * @type {Array<BitcoinRawTxVout>}
229
- * @memberof BitcoinRawTx
241
+ * @type {Array<RawTxVout>}
242
+ * @memberof RawTx
230
243
  */
231
- 'vout': Array<BitcoinRawTxVout>;
244
+ 'vout': Array<RawTxVout>;
232
245
  /**
233
246
  *
234
247
  * @type {string}
235
- * @memberof BitcoinRawTx
248
+ * @memberof RawTx
236
249
  */
237
250
  'hex': string;
238
251
  /**
239
252
  *
240
253
  * @type {string}
241
- * @memberof BitcoinRawTx
254
+ * @memberof RawTx
242
255
  */
243
256
  'blockhash': string;
244
257
  /**
245
258
  *
246
259
  * @type {number}
247
- * @memberof BitcoinRawTx
260
+ * @memberof RawTx
248
261
  */
249
262
  'confirmations': number;
250
263
  /**
251
264
  *
252
265
  * @type {number}
253
- * @memberof BitcoinRawTx
266
+ * @memberof RawTx
254
267
  */
255
268
  'time': number;
256
269
  /**
257
270
  *
258
271
  * @type {number}
259
- * @memberof BitcoinRawTx
272
+ * @memberof RawTx
260
273
  */
261
274
  'blocktime': number;
262
275
  }
263
276
  /**
264
277
  *
265
278
  * @export
266
- * @interface BitcoinRawTxScriptPubKey
279
+ * @interface RawTxScriptPubKey
267
280
  */
268
- export interface BitcoinRawTxScriptPubKey {
281
+ export interface RawTxScriptPubKey {
269
282
  /**
270
283
  *
271
284
  * @type {Array<string>}
272
- * @memberof BitcoinRawTxScriptPubKey
285
+ * @memberof RawTxScriptPubKey
273
286
  */
274
287
  'addresses': Array<string>;
275
288
  /**
276
289
  *
277
290
  * @type {string}
278
- * @memberof BitcoinRawTxScriptPubKey
291
+ * @memberof RawTxScriptPubKey
279
292
  */
280
293
  'type': string;
281
294
  /**
282
295
  *
283
296
  * @type {number}
284
- * @memberof BitcoinRawTxScriptPubKey
297
+ * @memberof RawTxScriptPubKey
285
298
  */
286
299
  'reqSigs': number;
287
300
  /**
288
301
  *
289
302
  * @type {string}
290
- * @memberof BitcoinRawTxScriptPubKey
303
+ * @memberof RawTxScriptPubKey
291
304
  */
292
305
  'hex': string;
293
306
  /**
294
307
  *
295
308
  * @type {string}
296
- * @memberof BitcoinRawTxScriptPubKey
309
+ * @memberof RawTxScriptPubKey
297
310
  */
298
311
  'asm': string;
299
312
  }
300
313
  /**
301
314
  *
302
315
  * @export
303
- * @interface BitcoinRawTxScriptSig
316
+ * @interface RawTxScriptSig
304
317
  */
305
- export interface BitcoinRawTxScriptSig {
318
+ export interface RawTxScriptSig {
306
319
  /**
307
320
  *
308
321
  * @type {string}
309
- * @memberof BitcoinRawTxScriptSig
322
+ * @memberof RawTxScriptSig
310
323
  */
311
324
  'hex': string;
312
325
  /**
313
326
  *
314
327
  * @type {string}
315
- * @memberof BitcoinRawTxScriptSig
328
+ * @memberof RawTxScriptSig
316
329
  */
317
330
  'asm': string;
318
331
  }
319
332
  /**
320
333
  *
321
334
  * @export
322
- * @interface BitcoinRawTxVin
335
+ * @interface RawTxVin
323
336
  */
324
- export interface BitcoinRawTxVin {
337
+ export interface RawTxVin {
325
338
  /**
326
339
  *
327
340
  * @type {string}
328
- * @memberof BitcoinRawTxVin
341
+ * @memberof RawTxVin
329
342
  */
330
343
  'txinwitness'?: string;
331
344
  /**
332
345
  *
333
- * @type {BitcoinRawTxScriptSig}
334
- * @memberof BitcoinRawTxVin
346
+ * @type {RawTxScriptSig}
347
+ * @memberof RawTxVin
335
348
  */
336
- 'scriptSig'?: BitcoinRawTxScriptSig;
349
+ 'scriptSig'?: RawTxScriptSig;
337
350
  /**
338
351
  *
339
352
  * @type {string}
340
- * @memberof BitcoinRawTxVin
353
+ * @memberof RawTxVin
341
354
  */
342
355
  'coinbase'?: string;
343
356
  /**
344
357
  *
345
358
  * @type {number}
346
- * @memberof BitcoinRawTxVin
359
+ * @memberof RawTxVin
347
360
  */
348
361
  'sequence'?: number;
349
362
  /**
350
363
  *
351
364
  * @type {number}
352
- * @memberof BitcoinRawTxVin
365
+ * @memberof RawTxVin
353
366
  */
354
367
  'vout'?: number;
355
368
  /**
356
369
  *
357
370
  * @type {string}
358
- * @memberof BitcoinRawTxVin
371
+ * @memberof RawTxVin
359
372
  */
360
373
  'txid'?: string;
361
374
  }
362
375
  /**
363
376
  *
364
377
  * @export
365
- * @interface BitcoinRawTxVout
378
+ * @interface RawTxVout
366
379
  */
367
- export interface BitcoinRawTxVout {
380
+ export interface RawTxVout {
368
381
  /**
369
382
  *
370
- * @type {BitcoinRawTxScriptPubKey}
371
- * @memberof BitcoinRawTxVout
383
+ * @type {RawTxScriptPubKey}
384
+ * @memberof RawTxVout
372
385
  */
373
- 'scriptPubKey'?: BitcoinRawTxScriptPubKey;
386
+ 'scriptPubKey'?: RawTxScriptPubKey;
374
387
  /**
375
388
  *
376
389
  * @type {number}
377
- * @memberof BitcoinRawTxVout
390
+ * @memberof RawTxVout
378
391
  */
379
392
  'n'?: number;
380
393
  /**
381
394
  *
382
395
  * @type {string | number}
383
- * @memberof BitcoinRawTxVout
396
+ * @memberof RawTxVout
384
397
  */
385
398
  'value'?: string | number;
386
399
  }
387
400
  /**
388
- * Contains info about a Bitcoin transaction
401
+ * Contains the serialized raw transaction hex
389
402
  * @export
390
- * @interface BitcoinTx
403
+ * @interface SendTxBody
391
404
  */
392
- export interface BitcoinTx {
405
+ export interface SendTxBody {
406
+ /**
407
+ *
408
+ * @type {string}
409
+ * @memberof SendTxBody
410
+ */
411
+ 'hex': string;
412
+ }
413
+ /**
414
+ * Contains info about a transaction
415
+ * @export
416
+ * @interface Tx
417
+ */
418
+ export interface Tx {
393
419
  /**
394
420
  *
395
421
  * @type {string}
396
- * @memberof BitcoinTx
422
+ * @memberof Tx
397
423
  */
398
424
  'txid': string;
399
425
  /**
400
426
  *
401
427
  * @type {string}
402
- * @memberof BitcoinTx
428
+ * @memberof Tx
403
429
  */
404
430
  'blockHash'?: string;
405
431
  /**
406
432
  *
407
433
  * @type {number}
408
- * @memberof BitcoinTx
434
+ * @memberof Tx
409
435
  */
410
436
  'blockHeight': number;
411
437
  /**
412
438
  *
413
439
  * @type {number}
414
- * @memberof BitcoinTx
440
+ * @memberof Tx
415
441
  */
416
442
  'timestamp': number;
417
443
  /**
418
444
  *
419
445
  * @type {Array<Vin>}
420
- * @memberof BitcoinTx
446
+ * @memberof Tx
421
447
  */
422
448
  'vin': Array<Vin>;
423
449
  /**
424
450
  *
425
451
  * @type {Array<Vout>}
426
- * @memberof BitcoinTx
452
+ * @memberof Tx
427
453
  */
428
454
  'vout': Array<Vout>;
429
455
  /**
430
456
  *
431
457
  * @type {number}
432
- * @memberof BitcoinTx
458
+ * @memberof Tx
433
459
  */
434
460
  'confirmations': number;
435
461
  /**
436
462
  *
437
463
  * @type {string}
438
- * @memberof BitcoinTx
464
+ * @memberof Tx
439
465
  */
440
466
  'value': string;
441
467
  /**
442
468
  *
443
469
  * @type {string}
444
- * @memberof BitcoinTx
470
+ * @memberof Tx
445
471
  */
446
472
  'fee': string;
447
473
  /**
448
474
  *
449
475
  * @type {string}
450
- * @memberof BitcoinTx
451
- */
452
- 'hex': string;
453
- }
454
- /**
455
- * Contains info about a 500 Internal Server Error response
456
- * @export
457
- * @interface InternalServerError
458
- */
459
- export interface InternalServerError {
460
- /**
461
- *
462
- * @type {string}
463
- * @memberof InternalServerError
464
- */
465
- 'message': string;
466
- }
467
- /**
468
- * Contains the serialized raw transaction hex
469
- * @export
470
- * @interface SendTxBody
471
- */
472
- export interface SendTxBody {
473
- /**
474
- *
475
- * @type {string}
476
- * @memberof SendTxBody
476
+ * @memberof Tx
477
477
  */
478
478
  'hex': string;
479
479
  }
@@ -564,7 +564,7 @@ export declare const ValidationErrorMessageEnum: {
564
564
  };
565
565
  export declare type ValidationErrorMessageEnum = typeof ValidationErrorMessageEnum[keyof typeof ValidationErrorMessageEnum];
566
566
  /**
567
- * Contains info about a Bitcoin transaction input
567
+ * Contains info about a transaction input
568
568
  * @export
569
569
  * @interface Vin
570
570
  */
@@ -626,7 +626,7 @@ export interface VinScriptSig {
626
626
  'hex'?: string;
627
627
  }
628
628
  /**
629
- * Contains info about a Bitcoin transaction output
629
+ * Contains info about a transaction output
630
630
  * @export
631
631
  * @interface Vout
632
632
  */
@@ -668,8 +668,8 @@ export interface Vout {
668
668
  */
669
669
  export declare const V1ApiAxiosParamCreator: (configuration?: Configuration | undefined) => {
670
670
  /**
671
- * Get account details by address or xpub Examples 1. Bitcoin (address) 2. Bitcoin (xpub)
672
- * @param {string} pubkey account address or xpub
671
+ * Get account details by address or extended public key
672
+ * @param {string} pubkey account address or extended public key
673
673
  * @param {*} [options] Override http request option.
674
674
  * @throws {RequiredError}
675
675
  */
@@ -681,7 +681,7 @@ export declare const V1ApiAxiosParamCreator: (configuration?: Configuration | un
681
681
  */
682
682
  getInfo: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
683
683
  /**
684
- * Gets current network fee estimates for \'fast\', \'average\', and \'slow\' tx confirmation times
684
+ * Get current recommended network fees to use in a transaction
685
685
  * @param {*} [options] Override http request option.
686
686
  * @throws {RequiredError}
687
687
  */
@@ -701,8 +701,8 @@ export declare const V1ApiAxiosParamCreator: (configuration?: Configuration | un
701
701
  */
702
702
  getTransaction: (txid: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
703
703
  /**
704
- * Get transaction history by address or xpub
705
- * @param {string} pubkey account address or xpub
704
+ * Get transaction history by address or extended public key
705
+ * @param {string} pubkey account address or extended public key
706
706
  * @param {string} [cursor] the cursor returned in previous query (base64 encoded json object with a \&#39;page\&#39; property)
707
707
  * @param {number} [pageSize] page size (10 by default)
708
708
  * @param {*} [options] Override http request option.
@@ -710,8 +710,8 @@ export declare const V1ApiAxiosParamCreator: (configuration?: Configuration | un
710
710
  */
711
711
  getTxHistory: (pubkey: string, cursor?: string | undefined, pageSize?: number | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
712
712
  /**
713
- * Get all unspent transaction outputs for an address or xpub Examples 1. Bitcoin (address) 2. Bitcoin (xpub)
714
- * @param {string} pubkey account address or xpub
713
+ * Get all unspent transaction outputs for an address or extended public key
714
+ * @param {string} pubkey account address or extended public key
715
715
  * @param {*} [options] Override http request option.
716
716
  * @throws {RequiredError}
717
717
  */
@@ -730,12 +730,12 @@ export declare const V1ApiAxiosParamCreator: (configuration?: Configuration | un
730
730
  */
731
731
  export declare const V1ApiFp: (configuration?: Configuration | undefined) => {
732
732
  /**
733
- * Get account details by address or xpub Examples 1. Bitcoin (address) 2. Bitcoin (xpub)
734
- * @param {string} pubkey account address or xpub
733
+ * Get account details by address or extended public key
734
+ * @param {string} pubkey account address or extended public key
735
735
  * @param {*} [options] Override http request option.
736
736
  * @throws {RequiredError}
737
737
  */
738
- getAccount(pubkey: string, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<BitcoinAccount>>;
738
+ getAccount(pubkey: string, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Account>>;
739
739
  /**
740
740
  * Get information about the running coinstack
741
741
  * @param {*} [options] Override http request option.
@@ -743,37 +743,37 @@ export declare const V1ApiFp: (configuration?: Configuration | undefined) => {
743
743
  */
744
744
  getInfo(options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<BaseInfo>>;
745
745
  /**
746
- * Gets current network fee estimates for \'fast\', \'average\', and \'slow\' tx confirmation times
746
+ * Get current recommended network fees to use in a transaction
747
747
  * @param {*} [options] Override http request option.
748
748
  * @throws {RequiredError}
749
749
  */
750
- getNetworkFees(options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<BTCNetworkFees>>;
750
+ getNetworkFees(options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<NetworkFees>>;
751
751
  /**
752
752
  * Get raw transaction details directly from the node
753
753
  * @param {string} txid transaction hash
754
754
  * @param {*} [options] Override http request option.
755
755
  * @throws {RequiredError}
756
756
  */
757
- getRawTransaction(txid: string, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<BitcoinRawTx>>;
757
+ getRawTransaction(txid: string, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<RawTx>>;
758
758
  /**
759
759
  * Get transaction details
760
760
  * @param {string} txid transaction hash
761
761
  * @param {*} [options] Override http request option.
762
762
  * @throws {RequiredError}
763
763
  */
764
- getTransaction(txid: string, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<BitcoinTx>>;
764
+ getTransaction(txid: string, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Tx>>;
765
765
  /**
766
- * Get transaction history by address or xpub
767
- * @param {string} pubkey account address or xpub
766
+ * Get transaction history by address or extended public key
767
+ * @param {string} pubkey account address or extended public key
768
768
  * @param {string} [cursor] the cursor returned in previous query (base64 encoded json object with a \&#39;page\&#39; property)
769
769
  * @param {number} [pageSize] page size (10 by default)
770
770
  * @param {*} [options] Override http request option.
771
771
  * @throws {RequiredError}
772
772
  */
773
- getTxHistory(pubkey: string, cursor?: string | undefined, pageSize?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<BaseTxHistoryBitcoinTx>>;
773
+ getTxHistory(pubkey: string, cursor?: string | undefined, pageSize?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<BaseTxHistoryTx>>;
774
774
  /**
775
- * Get all unspent transaction outputs for an address or xpub Examples 1. Bitcoin (address) 2. Bitcoin (xpub)
776
- * @param {string} pubkey account address or xpub
775
+ * Get all unspent transaction outputs for an address or extended public key
776
+ * @param {string} pubkey account address or extended public key
777
777
  * @param {*} [options] Override http request option.
778
778
  * @throws {RequiredError}
779
779
  */
@@ -792,12 +792,12 @@ export declare const V1ApiFp: (configuration?: Configuration | undefined) => {
792
792
  */
793
793
  export declare const V1ApiFactory: (configuration?: Configuration | undefined, basePath?: string | undefined, axios?: AxiosInstance | undefined) => {
794
794
  /**
795
- * Get account details by address or xpub Examples 1. Bitcoin (address) 2. Bitcoin (xpub)
796
- * @param {string} pubkey account address or xpub
795
+ * Get account details by address or extended public key
796
+ * @param {string} pubkey account address or extended public key
797
797
  * @param {*} [options] Override http request option.
798
798
  * @throws {RequiredError}
799
799
  */
800
- getAccount(pubkey: string, options?: any): AxiosPromise<BitcoinAccount>;
800
+ getAccount(pubkey: string, options?: any): AxiosPromise<Account>;
801
801
  /**
802
802
  * Get information about the running coinstack
803
803
  * @param {*} [options] Override http request option.
@@ -805,37 +805,37 @@ export declare const V1ApiFactory: (configuration?: Configuration | undefined, b
805
805
  */
806
806
  getInfo(options?: any): AxiosPromise<BaseInfo>;
807
807
  /**
808
- * Gets current network fee estimates for \'fast\', \'average\', and \'slow\' tx confirmation times
808
+ * Get current recommended network fees to use in a transaction
809
809
  * @param {*} [options] Override http request option.
810
810
  * @throws {RequiredError}
811
811
  */
812
- getNetworkFees(options?: any): AxiosPromise<BTCNetworkFees>;
812
+ getNetworkFees(options?: any): AxiosPromise<NetworkFees>;
813
813
  /**
814
814
  * Get raw transaction details directly from the node
815
815
  * @param {string} txid transaction hash
816
816
  * @param {*} [options] Override http request option.
817
817
  * @throws {RequiredError}
818
818
  */
819
- getRawTransaction(txid: string, options?: any): AxiosPromise<BitcoinRawTx>;
819
+ getRawTransaction(txid: string, options?: any): AxiosPromise<RawTx>;
820
820
  /**
821
821
  * Get transaction details
822
822
  * @param {string} txid transaction hash
823
823
  * @param {*} [options] Override http request option.
824
824
  * @throws {RequiredError}
825
825
  */
826
- getTransaction(txid: string, options?: any): AxiosPromise<BitcoinTx>;
826
+ getTransaction(txid: string, options?: any): AxiosPromise<Tx>;
827
827
  /**
828
- * Get transaction history by address or xpub
829
- * @param {string} pubkey account address or xpub
828
+ * Get transaction history by address or extended public key
829
+ * @param {string} pubkey account address or extended public key
830
830
  * @param {string} [cursor] the cursor returned in previous query (base64 encoded json object with a \&#39;page\&#39; property)
831
831
  * @param {number} [pageSize] page size (10 by default)
832
832
  * @param {*} [options] Override http request option.
833
833
  * @throws {RequiredError}
834
834
  */
835
- getTxHistory(pubkey: string, cursor?: string | undefined, pageSize?: number | undefined, options?: any): AxiosPromise<BaseTxHistoryBitcoinTx>;
835
+ getTxHistory(pubkey: string, cursor?: string | undefined, pageSize?: number | undefined, options?: any): AxiosPromise<BaseTxHistoryTx>;
836
836
  /**
837
- * Get all unspent transaction outputs for an address or xpub Examples 1. Bitcoin (address) 2. Bitcoin (xpub)
838
- * @param {string} pubkey account address or xpub
837
+ * Get all unspent transaction outputs for an address or extended public key
838
+ * @param {string} pubkey account address or extended public key
839
839
  * @param {*} [options] Override http request option.
840
840
  * @throws {RequiredError}
841
841
  */
@@ -855,7 +855,7 @@ export declare const V1ApiFactory: (configuration?: Configuration | undefined, b
855
855
  */
856
856
  export interface V1ApiGetAccountRequest {
857
857
  /**
858
- * account address or xpub
858
+ * account address or extended public key
859
859
  * @type {string}
860
860
  * @memberof V1ApiGetAccount
861
861
  */
@@ -894,7 +894,7 @@ export interface V1ApiGetTransactionRequest {
894
894
  */
895
895
  export interface V1ApiGetTxHistoryRequest {
896
896
  /**
897
- * account address or xpub
897
+ * account address or extended public key
898
898
  * @type {string}
899
899
  * @memberof V1ApiGetTxHistory
900
900
  */
@@ -919,7 +919,7 @@ export interface V1ApiGetTxHistoryRequest {
919
919
  */
920
920
  export interface V1ApiGetUtxosRequest {
921
921
  /**
922
- * account address or xpub
922
+ * account address or extended public key
923
923
  * @type {string}
924
924
  * @memberof V1ApiGetUtxos
925
925
  */
@@ -946,13 +946,13 @@ export interface V1ApiSendTxRequest {
946
946
  */
947
947
  export declare class V1Api extends BaseAPI {
948
948
  /**
949
- * Get account details by address or xpub Examples 1. Bitcoin (address) 2. Bitcoin (xpub)
949
+ * Get account details by address or extended public key
950
950
  * @param {V1ApiGetAccountRequest} requestParameters Request parameters.
951
951
  * @param {*} [options] Override http request option.
952
952
  * @throws {RequiredError}
953
953
  * @memberof V1Api
954
954
  */
955
- getAccount(requestParameters: V1ApiGetAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BitcoinAccount, any>>;
955
+ getAccount(requestParameters: V1ApiGetAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Account, any>>;
956
956
  /**
957
957
  * Get information about the running coinstack
958
958
  * @param {*} [options] Override http request option.
@@ -961,12 +961,12 @@ export declare class V1Api extends BaseAPI {
961
961
  */
962
962
  getInfo(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseInfo, any>>;
963
963
  /**
964
- * Gets current network fee estimates for \'fast\', \'average\', and \'slow\' tx confirmation times
964
+ * Get current recommended network fees to use in a transaction
965
965
  * @param {*} [options] Override http request option.
966
966
  * @throws {RequiredError}
967
967
  * @memberof V1Api
968
968
  */
969
- getNetworkFees(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BTCNetworkFees, any>>;
969
+ getNetworkFees(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<NetworkFees, any>>;
970
970
  /**
971
971
  * Get raw transaction details directly from the node
972
972
  * @param {V1ApiGetRawTransactionRequest} requestParameters Request parameters.
@@ -974,7 +974,7 @@ export declare class V1Api extends BaseAPI {
974
974
  * @throws {RequiredError}
975
975
  * @memberof V1Api
976
976
  */
977
- getRawTransaction(requestParameters: V1ApiGetRawTransactionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BitcoinRawTx, any>>;
977
+ getRawTransaction(requestParameters: V1ApiGetRawTransactionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RawTx, any>>;
978
978
  /**
979
979
  * Get transaction details
980
980
  * @param {V1ApiGetTransactionRequest} requestParameters Request parameters.
@@ -982,17 +982,17 @@ export declare class V1Api extends BaseAPI {
982
982
  * @throws {RequiredError}
983
983
  * @memberof V1Api
984
984
  */
985
- getTransaction(requestParameters: V1ApiGetTransactionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BitcoinTx, any>>;
985
+ getTransaction(requestParameters: V1ApiGetTransactionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Tx, any>>;
986
986
  /**
987
- * Get transaction history by address or xpub
987
+ * Get transaction history by address or extended public key
988
988
  * @param {V1ApiGetTxHistoryRequest} requestParameters Request parameters.
989
989
  * @param {*} [options] Override http request option.
990
990
  * @throws {RequiredError}
991
991
  * @memberof V1Api
992
992
  */
993
- getTxHistory(requestParameters: V1ApiGetTxHistoryRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseTxHistoryBitcoinTx, any>>;
993
+ getTxHistory(requestParameters: V1ApiGetTxHistoryRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseTxHistoryTx, any>>;
994
994
  /**
995
- * Get all unspent transaction outputs for an address or xpub Examples 1. Bitcoin (address) 2. Bitcoin (xpub)
995
+ * Get all unspent transaction outputs for an address or extended public key
996
996
  * @param {V1ApiGetUtxosRequest} requestParameters Request parameters.
997
997
  * @param {*} [options] Override http request option.
998
998
  * @throws {RequiredError}