@shapeshiftoss/unchained-client 9.2.0 → 9.3.2
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/bitcoin/parser/index.d.ts +1 -0
- package/dist/bitcoin/parser/index.js +2 -1
- package/dist/dogecoin/index.d.ts +3 -0
- package/dist/dogecoin/index.js +19 -0
- package/dist/evm/avalanche/parser/index.d.ts +2 -2
- package/dist/evm/ethereum/parser/foxy.d.ts +3 -3
- package/dist/evm/ethereum/parser/index.d.ts +2 -2
- package/dist/evm/ethereum/parser/thor.d.ts +3 -3
- package/dist/evm/ethereum/parser/uniV2.d.ts +5 -5
- package/dist/evm/ethereum/parser/weth.d.ts +3 -3
- package/dist/evm/ethereum/parser/yearn.d.ts +3 -3
- package/dist/evm/ethereum/parser/zrx.d.ts +3 -3
- package/dist/evm/index.d.ts +2 -0
- package/dist/evm/index.js +3 -1
- package/dist/evm/parser/types.d.ts +2 -3
- package/dist/generated/avalanche/api.d.ts +121 -152
- package/dist/generated/avalanche/api.js +5 -5
- 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 +45 -76
- package/dist/generated/bitcoin/api.js +1 -1
- 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 +1010 -0
- package/dist/generated/dogecoin/api.js +521 -0
- package/dist/generated/dogecoin/base.d.ts +55 -0
- package/dist/generated/dogecoin/base.js +64 -0
- package/dist/generated/dogecoin/common.d.ts +65 -0
- package/dist/generated/dogecoin/common.js +137 -0
- package/dist/generated/dogecoin/configuration.d.ts +83 -0
- package/dist/generated/dogecoin/configuration.js +42 -0
- package/dist/generated/dogecoin/index.d.ts +13 -0
- package/dist/generated/dogecoin/index.js +31 -0
- package/dist/generated/ethereum/api.d.ts +117 -148
- 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/index.d.ts +4 -1
- package/dist/index.js +5 -2
- package/package.json +4 -4
|
@@ -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.
|
|
5
|
+
* The version of the OpenAPI document: 7.2.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,182 +13,92 @@ import { Configuration } from './configuration';
|
|
|
13
13
|
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
14
14
|
import { RequestArgs, BaseAPI } from './base';
|
|
15
15
|
/**
|
|
16
|
-
* Contains info about
|
|
17
|
-
* @export
|
|
18
|
-
* @interface BadRequestError
|
|
19
|
-
*/
|
|
20
|
-
export interface BadRequestError {
|
|
21
|
-
/**
|
|
22
|
-
*
|
|
23
|
-
* @type {string}
|
|
24
|
-
* @memberof BadRequestError
|
|
25
|
-
*/
|
|
26
|
-
'error': string;
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* Contains additional ethereum specific info
|
|
16
|
+
* Contains info about an EVM account
|
|
30
17
|
* @export
|
|
31
|
-
* @interface
|
|
18
|
+
* @interface Account
|
|
32
19
|
*/
|
|
33
|
-
export interface
|
|
20
|
+
export interface Account {
|
|
34
21
|
/**
|
|
35
22
|
*
|
|
36
23
|
* @type {string}
|
|
37
|
-
* @memberof
|
|
24
|
+
* @memberof Account
|
|
38
25
|
*/
|
|
39
26
|
'balance': string;
|
|
40
27
|
/**
|
|
41
28
|
*
|
|
42
29
|
* @type {string}
|
|
43
|
-
* @memberof
|
|
30
|
+
* @memberof Account
|
|
44
31
|
*/
|
|
45
32
|
'unconfirmedBalance': string;
|
|
46
33
|
/**
|
|
47
34
|
*
|
|
48
35
|
* @type {string}
|
|
49
|
-
* @memberof
|
|
36
|
+
* @memberof Account
|
|
50
37
|
*/
|
|
51
38
|
'pubkey': string;
|
|
52
39
|
/**
|
|
53
40
|
*
|
|
54
41
|
* @type {number}
|
|
55
|
-
* @memberof
|
|
42
|
+
* @memberof Account
|
|
56
43
|
*/
|
|
57
44
|
'nonce': number;
|
|
58
45
|
/**
|
|
59
46
|
*
|
|
60
47
|
* @type {Array<TokenBalance>}
|
|
61
|
-
* @memberof
|
|
48
|
+
* @memberof Account
|
|
62
49
|
*/
|
|
63
50
|
'tokens': Array<TokenBalance>;
|
|
64
51
|
}
|
|
65
52
|
/**
|
|
66
|
-
* Contains info about
|
|
53
|
+
* Contains info about a 400 Bad Request response
|
|
67
54
|
* @export
|
|
68
|
-
* @interface
|
|
55
|
+
* @interface BadRequestError
|
|
69
56
|
*/
|
|
70
|
-
export interface
|
|
71
|
-
/**
|
|
72
|
-
*
|
|
73
|
-
* @type {string}
|
|
74
|
-
* @memberof EthereumTx
|
|
75
|
-
*/
|
|
76
|
-
'txid': string;
|
|
77
|
-
/**
|
|
78
|
-
*
|
|
79
|
-
* @type {string}
|
|
80
|
-
* @memberof EthereumTx
|
|
81
|
-
*/
|
|
82
|
-
'blockHash'?: string;
|
|
83
|
-
/**
|
|
84
|
-
*
|
|
85
|
-
* @type {number}
|
|
86
|
-
* @memberof EthereumTx
|
|
87
|
-
*/
|
|
88
|
-
'blockHeight': number;
|
|
89
|
-
/**
|
|
90
|
-
*
|
|
91
|
-
* @type {number}
|
|
92
|
-
* @memberof EthereumTx
|
|
93
|
-
*/
|
|
94
|
-
'timestamp': number;
|
|
95
|
-
/**
|
|
96
|
-
*
|
|
97
|
-
* @type {string}
|
|
98
|
-
* @memberof EthereumTx
|
|
99
|
-
*/
|
|
100
|
-
'from': string;
|
|
101
|
-
/**
|
|
102
|
-
*
|
|
103
|
-
* @type {string}
|
|
104
|
-
* @memberof EthereumTx
|
|
105
|
-
*/
|
|
106
|
-
'to': string;
|
|
107
|
-
/**
|
|
108
|
-
*
|
|
109
|
-
* @type {number}
|
|
110
|
-
* @memberof EthereumTx
|
|
111
|
-
*/
|
|
112
|
-
'confirmations': number;
|
|
113
|
-
/**
|
|
114
|
-
*
|
|
115
|
-
* @type {string}
|
|
116
|
-
* @memberof EthereumTx
|
|
117
|
-
*/
|
|
118
|
-
'value': string;
|
|
119
|
-
/**
|
|
120
|
-
*
|
|
121
|
-
* @type {string}
|
|
122
|
-
* @memberof EthereumTx
|
|
123
|
-
*/
|
|
124
|
-
'fee': string;
|
|
125
|
-
/**
|
|
126
|
-
*
|
|
127
|
-
* @type {string}
|
|
128
|
-
* @memberof EthereumTx
|
|
129
|
-
*/
|
|
130
|
-
'gasLimit': string;
|
|
131
|
-
/**
|
|
132
|
-
*
|
|
133
|
-
* @type {string}
|
|
134
|
-
* @memberof EthereumTx
|
|
135
|
-
*/
|
|
136
|
-
'gasUsed'?: string;
|
|
57
|
+
export interface BadRequestError {
|
|
137
58
|
/**
|
|
138
59
|
*
|
|
139
60
|
* @type {string}
|
|
140
|
-
* @memberof
|
|
141
|
-
*/
|
|
142
|
-
'gasPrice': string;
|
|
143
|
-
/**
|
|
144
|
-
*
|
|
145
|
-
* @type {number}
|
|
146
|
-
* @memberof EthereumTx
|
|
61
|
+
* @memberof BadRequestError
|
|
147
62
|
*/
|
|
148
|
-
'
|
|
63
|
+
'error': string;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Contains base info about the running coinstack
|
|
67
|
+
* @export
|
|
68
|
+
* @interface BaseInfo
|
|
69
|
+
*/
|
|
70
|
+
export interface BaseInfo {
|
|
149
71
|
/**
|
|
150
72
|
*
|
|
151
73
|
* @type {string}
|
|
152
|
-
* @memberof
|
|
153
|
-
*/
|
|
154
|
-
'inputData'?: string;
|
|
155
|
-
/**
|
|
156
|
-
*
|
|
157
|
-
* @type {Array<TokenTransfer>}
|
|
158
|
-
* @memberof EthereumTx
|
|
74
|
+
* @memberof BaseInfo
|
|
159
75
|
*/
|
|
160
|
-
'
|
|
161
|
-
/**
|
|
162
|
-
*
|
|
163
|
-
* @type {Array<InternalTx>}
|
|
164
|
-
* @memberof EthereumTx
|
|
165
|
-
*/
|
|
166
|
-
'internalTxs'?: Array<InternalTx>;
|
|
76
|
+
'network': string;
|
|
167
77
|
}
|
|
168
78
|
/**
|
|
169
|
-
* Contains
|
|
79
|
+
* Contains paginated base transaction history details
|
|
170
80
|
* @export
|
|
171
|
-
* @interface
|
|
81
|
+
* @interface BaseTxHistoryTx
|
|
172
82
|
*/
|
|
173
|
-
export interface
|
|
83
|
+
export interface BaseTxHistoryTx {
|
|
174
84
|
/**
|
|
175
85
|
*
|
|
176
86
|
* @type {string}
|
|
177
|
-
* @memberof
|
|
87
|
+
* @memberof BaseTxHistoryTx
|
|
178
88
|
*/
|
|
179
89
|
'cursor'?: string;
|
|
180
90
|
/**
|
|
181
91
|
*
|
|
182
92
|
* @type {string}
|
|
183
|
-
* @memberof
|
|
93
|
+
* @memberof BaseTxHistoryTx
|
|
184
94
|
*/
|
|
185
95
|
'pubkey': string;
|
|
186
96
|
/**
|
|
187
97
|
*
|
|
188
|
-
* @type {Array<
|
|
189
|
-
* @memberof
|
|
98
|
+
* @type {Array<Tx>}
|
|
99
|
+
* @memberof BaseTxHistoryTx
|
|
190
100
|
*/
|
|
191
|
-
'txs': Array<
|
|
101
|
+
'txs': Array<Tx>;
|
|
192
102
|
}
|
|
193
103
|
/**
|
|
194
104
|
* Contains info about current recommended fees to use in a transaction
|
|
@@ -215,19 +125,6 @@ export interface GasFees {
|
|
|
215
125
|
*/
|
|
216
126
|
'maxPriorityFeePerGas': string;
|
|
217
127
|
}
|
|
218
|
-
/**
|
|
219
|
-
* Contains info about the running coinstack
|
|
220
|
-
* @export
|
|
221
|
-
* @interface Info
|
|
222
|
-
*/
|
|
223
|
-
export interface Info {
|
|
224
|
-
/**
|
|
225
|
-
*
|
|
226
|
-
* @type {string}
|
|
227
|
-
* @memberof Info
|
|
228
|
-
*/
|
|
229
|
-
'network': string;
|
|
230
|
-
}
|
|
231
128
|
/**
|
|
232
129
|
* Contains info about a 500 Internal Server Error response
|
|
233
130
|
* @export
|
|
@@ -242,7 +139,7 @@ export interface InternalServerError {
|
|
|
242
139
|
'message': string;
|
|
243
140
|
}
|
|
244
141
|
/**
|
|
245
|
-
* Contains info about an
|
|
142
|
+
* Contains info about an EVM internal transaction
|
|
246
143
|
* @export
|
|
247
144
|
* @interface InternalTx
|
|
248
145
|
*/
|
|
@@ -378,7 +275,7 @@ export interface TokenTransfer {
|
|
|
378
275
|
'value': string;
|
|
379
276
|
}
|
|
380
277
|
/**
|
|
381
|
-
* Contains info about
|
|
278
|
+
* Contains info about an EVM transaction
|
|
382
279
|
* @export
|
|
383
280
|
* @interface Tx
|
|
384
281
|
*/
|
|
@@ -407,6 +304,78 @@ export interface Tx {
|
|
|
407
304
|
* @memberof Tx
|
|
408
305
|
*/
|
|
409
306
|
'timestamp': number;
|
|
307
|
+
/**
|
|
308
|
+
*
|
|
309
|
+
* @type {string}
|
|
310
|
+
* @memberof Tx
|
|
311
|
+
*/
|
|
312
|
+
'from': string;
|
|
313
|
+
/**
|
|
314
|
+
*
|
|
315
|
+
* @type {string}
|
|
316
|
+
* @memberof Tx
|
|
317
|
+
*/
|
|
318
|
+
'to': string;
|
|
319
|
+
/**
|
|
320
|
+
*
|
|
321
|
+
* @type {number}
|
|
322
|
+
* @memberof Tx
|
|
323
|
+
*/
|
|
324
|
+
'confirmations': number;
|
|
325
|
+
/**
|
|
326
|
+
*
|
|
327
|
+
* @type {string}
|
|
328
|
+
* @memberof Tx
|
|
329
|
+
*/
|
|
330
|
+
'value': string;
|
|
331
|
+
/**
|
|
332
|
+
*
|
|
333
|
+
* @type {string}
|
|
334
|
+
* @memberof Tx
|
|
335
|
+
*/
|
|
336
|
+
'fee': string;
|
|
337
|
+
/**
|
|
338
|
+
*
|
|
339
|
+
* @type {string}
|
|
340
|
+
* @memberof Tx
|
|
341
|
+
*/
|
|
342
|
+
'gasLimit': string;
|
|
343
|
+
/**
|
|
344
|
+
*
|
|
345
|
+
* @type {string}
|
|
346
|
+
* @memberof Tx
|
|
347
|
+
*/
|
|
348
|
+
'gasUsed'?: string;
|
|
349
|
+
/**
|
|
350
|
+
*
|
|
351
|
+
* @type {string}
|
|
352
|
+
* @memberof Tx
|
|
353
|
+
*/
|
|
354
|
+
'gasPrice': string;
|
|
355
|
+
/**
|
|
356
|
+
*
|
|
357
|
+
* @type {number}
|
|
358
|
+
* @memberof Tx
|
|
359
|
+
*/
|
|
360
|
+
'status': number;
|
|
361
|
+
/**
|
|
362
|
+
*
|
|
363
|
+
* @type {string}
|
|
364
|
+
* @memberof Tx
|
|
365
|
+
*/
|
|
366
|
+
'inputData'?: string;
|
|
367
|
+
/**
|
|
368
|
+
*
|
|
369
|
+
* @type {Array<TokenTransfer>}
|
|
370
|
+
* @memberof Tx
|
|
371
|
+
*/
|
|
372
|
+
'tokenTransfers'?: Array<TokenTransfer>;
|
|
373
|
+
/**
|
|
374
|
+
*
|
|
375
|
+
* @type {Array<InternalTx>}
|
|
376
|
+
* @memberof Tx
|
|
377
|
+
*/
|
|
378
|
+
'internalTxs'?: Array<InternalTx>;
|
|
410
379
|
}
|
|
411
380
|
/**
|
|
412
381
|
* Contains info about a 422 Validation Error response
|
|
@@ -512,7 +481,7 @@ export declare const V1ApiFp: (configuration?: Configuration | undefined) => {
|
|
|
512
481
|
* @param {*} [options] Override http request option.
|
|
513
482
|
* @throws {RequiredError}
|
|
514
483
|
*/
|
|
515
|
-
getAccount(pubkey: string, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<
|
|
484
|
+
getAccount(pubkey: string, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Account>>;
|
|
516
485
|
/**
|
|
517
486
|
* Get the current recommended gas fees to use in a transaction * For EIP-1559 transactions, use `maxFeePerGas` and `maxPriorityFeePerGas` * For Legacy transactions, use `gasPrice`
|
|
518
487
|
* @param {*} [options] Override http request option.
|
|
@@ -524,14 +493,14 @@ export declare const V1ApiFp: (configuration?: Configuration | undefined) => {
|
|
|
524
493
|
* @param {*} [options] Override http request option.
|
|
525
494
|
* @throws {RequiredError}
|
|
526
495
|
*/
|
|
527
|
-
getInfo(options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<
|
|
496
|
+
getInfo(options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<BaseInfo>>;
|
|
528
497
|
/**
|
|
529
498
|
* Get transaction details
|
|
530
499
|
* @param {string} txid transaction hash
|
|
531
500
|
* @param {*} [options] Override http request option.
|
|
532
501
|
* @throws {RequiredError}
|
|
533
502
|
*/
|
|
534
|
-
getTransaction(txid: string, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<
|
|
503
|
+
getTransaction(txid: string, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Tx>>;
|
|
535
504
|
/**
|
|
536
505
|
* Get transaction history by address
|
|
537
506
|
* @param {string} pubkey account address
|
|
@@ -540,7 +509,7 @@ export declare const V1ApiFp: (configuration?: Configuration | undefined) => {
|
|
|
540
509
|
* @param {*} [options] Override http request option.
|
|
541
510
|
* @throws {RequiredError}
|
|
542
511
|
*/
|
|
543
|
-
getTxHistory(pubkey: string, cursor?: string | undefined, pageSize?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<
|
|
512
|
+
getTxHistory(pubkey: string, cursor?: string | undefined, pageSize?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<BaseTxHistoryTx>>;
|
|
544
513
|
/**
|
|
545
514
|
* Sends raw transaction to be broadcast to the node.
|
|
546
515
|
* @param {SendTxBody} sendTxBody serialized raw transaction hex
|
|
@@ -570,7 +539,7 @@ export declare const V1ApiFactory: (configuration?: Configuration | undefined, b
|
|
|
570
539
|
* @param {*} [options] Override http request option.
|
|
571
540
|
* @throws {RequiredError}
|
|
572
541
|
*/
|
|
573
|
-
getAccount(pubkey: string, options?: any): AxiosPromise<
|
|
542
|
+
getAccount(pubkey: string, options?: any): AxiosPromise<Account>;
|
|
574
543
|
/**
|
|
575
544
|
* Get the current recommended gas fees to use in a transaction * For EIP-1559 transactions, use `maxFeePerGas` and `maxPriorityFeePerGas` * For Legacy transactions, use `gasPrice`
|
|
576
545
|
* @param {*} [options] Override http request option.
|
|
@@ -582,14 +551,14 @@ export declare const V1ApiFactory: (configuration?: Configuration | undefined, b
|
|
|
582
551
|
* @param {*} [options] Override http request option.
|
|
583
552
|
* @throws {RequiredError}
|
|
584
553
|
*/
|
|
585
|
-
getInfo(options?: any): AxiosPromise<
|
|
554
|
+
getInfo(options?: any): AxiosPromise<BaseInfo>;
|
|
586
555
|
/**
|
|
587
556
|
* Get transaction details
|
|
588
557
|
* @param {string} txid transaction hash
|
|
589
558
|
* @param {*} [options] Override http request option.
|
|
590
559
|
* @throws {RequiredError}
|
|
591
560
|
*/
|
|
592
|
-
getTransaction(txid: string, options?: any): AxiosPromise<
|
|
561
|
+
getTransaction(txid: string, options?: any): AxiosPromise<Tx>;
|
|
593
562
|
/**
|
|
594
563
|
* Get transaction history by address
|
|
595
564
|
* @param {string} pubkey account address
|
|
@@ -598,7 +567,7 @@ export declare const V1ApiFactory: (configuration?: Configuration | undefined, b
|
|
|
598
567
|
* @param {*} [options] Override http request option.
|
|
599
568
|
* @throws {RequiredError}
|
|
600
569
|
*/
|
|
601
|
-
getTxHistory(pubkey: string, cursor?: string | undefined, pageSize?: number | undefined, options?: any): AxiosPromise<
|
|
570
|
+
getTxHistory(pubkey: string, cursor?: string | undefined, pageSize?: number | undefined, options?: any): AxiosPromise<BaseTxHistoryTx>;
|
|
602
571
|
/**
|
|
603
572
|
* Sends raw transaction to be broadcast to the node.
|
|
604
573
|
* @param {SendTxBody} sendTxBody serialized raw transaction hex
|
|
@@ -724,7 +693,7 @@ export declare class V1Api extends BaseAPI {
|
|
|
724
693
|
* @throws {RequiredError}
|
|
725
694
|
* @memberof V1Api
|
|
726
695
|
*/
|
|
727
|
-
getAccount(requestParameters: V1ApiGetAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
696
|
+
getAccount(requestParameters: V1ApiGetAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Account, any>>;
|
|
728
697
|
/**
|
|
729
698
|
* Get the current recommended gas fees to use in a transaction * For EIP-1559 transactions, use `maxFeePerGas` and `maxPriorityFeePerGas` * For Legacy transactions, use `gasPrice`
|
|
730
699
|
* @param {*} [options] Override http request option.
|
|
@@ -738,7 +707,7 @@ export declare class V1Api extends BaseAPI {
|
|
|
738
707
|
* @throws {RequiredError}
|
|
739
708
|
* @memberof V1Api
|
|
740
709
|
*/
|
|
741
|
-
getInfo(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
710
|
+
getInfo(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseInfo, any>>;
|
|
742
711
|
/**
|
|
743
712
|
* Get transaction details
|
|
744
713
|
* @param {V1ApiGetTransactionRequest} requestParameters Request parameters.
|
|
@@ -746,7 +715,7 @@ export declare class V1Api extends BaseAPI {
|
|
|
746
715
|
* @throws {RequiredError}
|
|
747
716
|
* @memberof V1Api
|
|
748
717
|
*/
|
|
749
|
-
getTransaction(requestParameters: V1ApiGetTransactionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
718
|
+
getTransaction(requestParameters: V1ApiGetTransactionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Tx, any>>;
|
|
750
719
|
/**
|
|
751
720
|
* Get transaction history by address
|
|
752
721
|
* @param {V1ApiGetTxHistoryRequest} requestParameters Request parameters.
|
|
@@ -754,7 +723,7 @@ export declare class V1Api extends BaseAPI {
|
|
|
754
723
|
* @throws {RequiredError}
|
|
755
724
|
* @memberof V1Api
|
|
756
725
|
*/
|
|
757
|
-
getTxHistory(requestParameters: V1ApiGetTxHistoryRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
726
|
+
getTxHistory(requestParameters: V1ApiGetTxHistoryRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseTxHistoryTx, any>>;
|
|
758
727
|
/**
|
|
759
728
|
* Sends raw transaction to be broadcast to the node.
|
|
760
729
|
* @param {V1ApiSendTxRequest} requestParameters Request parameters.
|
|
@@ -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.
|
|
8
|
+
* The version of the OpenAPI document: 7.2.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.
|
|
5
|
+
* The version of the OpenAPI document: 7.2.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.
|
|
8
|
+
* The version of the OpenAPI document: 7.2.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.
|
|
5
|
+
* The version of the OpenAPI document: 7.2.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.
|
|
8
|
+
* The version of the OpenAPI document: 7.2.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.
|
|
5
|
+
* The version of the OpenAPI document: 7.2.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.
|
|
8
|
+
* The version of the OpenAPI document: 7.2.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.
|
|
5
|
+
* The version of the OpenAPI document: 7.2.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.
|
|
8
|
+
* The version of the OpenAPI document: 7.2.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
export * from './types';
|
|
2
|
-
export * from './evm';
|
|
3
2
|
export * as ws from './websocket';
|
|
3
|
+
export * as evm from './evm';
|
|
4
|
+
export * as ethereum from './evm/ethereum';
|
|
5
|
+
export * as avalanche from './evm/avalanche';
|
|
4
6
|
export * as bitcoin from './bitcoin';
|
|
7
|
+
export * as dogecoin from './dogecoin';
|
|
5
8
|
export * as cosmos from './cosmos';
|
|
6
9
|
export * as osmosis from './osmosis';
|
package/dist/index.js
CHANGED
|
@@ -26,10 +26,13 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.osmosis = exports.cosmos = exports.bitcoin = exports.ws = void 0;
|
|
29
|
+
exports.osmosis = exports.cosmos = exports.dogecoin = exports.bitcoin = exports.avalanche = exports.ethereum = exports.evm = exports.ws = void 0;
|
|
30
30
|
__exportStar(require("./types"), exports);
|
|
31
|
-
__exportStar(require("./evm"), exports);
|
|
32
31
|
exports.ws = __importStar(require("./websocket"));
|
|
32
|
+
exports.evm = __importStar(require("./evm"));
|
|
33
|
+
exports.ethereum = __importStar(require("./evm/ethereum"));
|
|
34
|
+
exports.avalanche = __importStar(require("./evm/avalanche"));
|
|
33
35
|
exports.bitcoin = __importStar(require("./bitcoin"));
|
|
36
|
+
exports.dogecoin = __importStar(require("./dogecoin"));
|
|
34
37
|
exports.cosmos = __importStar(require("./cosmos"));
|
|
35
38
|
exports.osmosis = __importStar(require("./osmosis"));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shapeshiftoss/unchained-client",
|
|
3
|
-
"version": "9.2
|
|
3
|
+
"version": "9.3.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"source": "src/index.ts",
|
|
@@ -31,14 +31,14 @@
|
|
|
31
31
|
"peerDependencies": {
|
|
32
32
|
"@shapeshiftoss/caip": "^6.2.0",
|
|
33
33
|
"@shapeshiftoss/logger": "^1.1.2",
|
|
34
|
-
"@shapeshiftoss/types": "^
|
|
34
|
+
"@shapeshiftoss/types": "^8.0.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@openapitools/openapi-generator-cli": "^2.5.1",
|
|
38
38
|
"@shapeshiftoss/caip": "^6.2.0",
|
|
39
|
-
"@shapeshiftoss/common-api": "^7.
|
|
39
|
+
"@shapeshiftoss/common-api": "^7.2.0",
|
|
40
40
|
"@shapeshiftoss/logger": "^1.1.2",
|
|
41
|
-
"@shapeshiftoss/types": "^
|
|
41
|
+
"@shapeshiftoss/types": "^8.0.0",
|
|
42
42
|
"@types/ws": "^8.2.1"
|
|
43
43
|
}
|
|
44
44
|
}
|