@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/avalanche-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
|
|
16
|
+
* Contains info about an EVM account
|
|
17
17
|
* @export
|
|
18
|
-
* @interface
|
|
18
|
+
* @interface Account
|
|
19
19
|
*/
|
|
20
|
-
export interface
|
|
20
|
+
export interface Account {
|
|
21
21
|
/**
|
|
22
22
|
*
|
|
23
23
|
* @type {string}
|
|
24
|
-
* @memberof
|
|
24
|
+
* @memberof Account
|
|
25
25
|
*/
|
|
26
26
|
'balance': string;
|
|
27
27
|
/**
|
|
28
28
|
*
|
|
29
29
|
* @type {string}
|
|
30
|
-
* @memberof
|
|
30
|
+
* @memberof Account
|
|
31
31
|
*/
|
|
32
32
|
'unconfirmedBalance': string;
|
|
33
33
|
/**
|
|
34
34
|
*
|
|
35
35
|
* @type {string}
|
|
36
|
-
* @memberof
|
|
36
|
+
* @memberof Account
|
|
37
37
|
*/
|
|
38
38
|
'pubkey': string;
|
|
39
39
|
/**
|
|
40
40
|
*
|
|
41
41
|
* @type {number}
|
|
42
|
-
* @memberof
|
|
42
|
+
* @memberof Account
|
|
43
43
|
*/
|
|
44
44
|
'nonce': number;
|
|
45
45
|
/**
|
|
46
46
|
*
|
|
47
47
|
* @type {Array<TokenBalance>}
|
|
48
|
-
* @memberof
|
|
48
|
+
* @memberof Account
|
|
49
49
|
*/
|
|
50
50
|
'tokens': Array<TokenBalance>;
|
|
51
51
|
}
|
|
52
52
|
/**
|
|
53
|
-
* Contains info about
|
|
53
|
+
* Contains info about a 400 Bad Request response
|
|
54
54
|
* @export
|
|
55
|
-
* @interface
|
|
55
|
+
* @interface BadRequestError
|
|
56
56
|
*/
|
|
57
|
-
export interface
|
|
58
|
-
/**
|
|
59
|
-
*
|
|
60
|
-
* @type {string}
|
|
61
|
-
* @memberof AvalancheTx
|
|
62
|
-
*/
|
|
63
|
-
'txid': string;
|
|
64
|
-
/**
|
|
65
|
-
*
|
|
66
|
-
* @type {string}
|
|
67
|
-
* @memberof AvalancheTx
|
|
68
|
-
*/
|
|
69
|
-
'blockHash'?: string;
|
|
70
|
-
/**
|
|
71
|
-
*
|
|
72
|
-
* @type {number}
|
|
73
|
-
* @memberof AvalancheTx
|
|
74
|
-
*/
|
|
75
|
-
'blockHeight': number;
|
|
76
|
-
/**
|
|
77
|
-
*
|
|
78
|
-
* @type {number}
|
|
79
|
-
* @memberof AvalancheTx
|
|
80
|
-
*/
|
|
81
|
-
'timestamp': number;
|
|
82
|
-
/**
|
|
83
|
-
*
|
|
84
|
-
* @type {string}
|
|
85
|
-
* @memberof AvalancheTx
|
|
86
|
-
*/
|
|
87
|
-
'from': string;
|
|
88
|
-
/**
|
|
89
|
-
*
|
|
90
|
-
* @type {string}
|
|
91
|
-
* @memberof AvalancheTx
|
|
92
|
-
*/
|
|
93
|
-
'to': string;
|
|
94
|
-
/**
|
|
95
|
-
*
|
|
96
|
-
* @type {number}
|
|
97
|
-
* @memberof AvalancheTx
|
|
98
|
-
*/
|
|
99
|
-
'confirmations': number;
|
|
100
|
-
/**
|
|
101
|
-
*
|
|
102
|
-
* @type {string}
|
|
103
|
-
* @memberof AvalancheTx
|
|
104
|
-
*/
|
|
105
|
-
'value': string;
|
|
106
|
-
/**
|
|
107
|
-
*
|
|
108
|
-
* @type {string}
|
|
109
|
-
* @memberof AvalancheTx
|
|
110
|
-
*/
|
|
111
|
-
'fee': string;
|
|
112
|
-
/**
|
|
113
|
-
*
|
|
114
|
-
* @type {string}
|
|
115
|
-
* @memberof AvalancheTx
|
|
116
|
-
*/
|
|
117
|
-
'gasLimit': string;
|
|
118
|
-
/**
|
|
119
|
-
*
|
|
120
|
-
* @type {string}
|
|
121
|
-
* @memberof AvalancheTx
|
|
122
|
-
*/
|
|
123
|
-
'gasUsed'?: string;
|
|
57
|
+
export interface BadRequestError {
|
|
124
58
|
/**
|
|
125
59
|
*
|
|
126
60
|
* @type {string}
|
|
127
|
-
* @memberof
|
|
128
|
-
*/
|
|
129
|
-
'gasPrice': string;
|
|
130
|
-
/**
|
|
131
|
-
*
|
|
132
|
-
* @type {number}
|
|
133
|
-
* @memberof AvalancheTx
|
|
61
|
+
* @memberof BadRequestError
|
|
134
62
|
*/
|
|
135
|
-
'
|
|
63
|
+
'error': string;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Contains base info about the running coinstack
|
|
67
|
+
* @export
|
|
68
|
+
* @interface BaseInfo
|
|
69
|
+
*/
|
|
70
|
+
export interface BaseInfo {
|
|
136
71
|
/**
|
|
137
72
|
*
|
|
138
73
|
* @type {string}
|
|
139
|
-
* @memberof
|
|
140
|
-
*/
|
|
141
|
-
'inputData'?: string;
|
|
142
|
-
/**
|
|
143
|
-
*
|
|
144
|
-
* @type {Array<TokenTransfer>}
|
|
145
|
-
* @memberof AvalancheTx
|
|
146
|
-
*/
|
|
147
|
-
'tokenTransfers'?: Array<TokenTransfer>;
|
|
148
|
-
/**
|
|
149
|
-
*
|
|
150
|
-
* @type {Array<InternalTx>}
|
|
151
|
-
* @memberof AvalancheTx
|
|
74
|
+
* @memberof BaseInfo
|
|
152
75
|
*/
|
|
153
|
-
'
|
|
76
|
+
'network': string;
|
|
154
77
|
}
|
|
155
78
|
/**
|
|
156
|
-
* Contains
|
|
79
|
+
* Contains paginated base transaction history details
|
|
157
80
|
* @export
|
|
158
|
-
* @interface
|
|
81
|
+
* @interface BaseTxHistoryTx
|
|
159
82
|
*/
|
|
160
|
-
export interface
|
|
83
|
+
export interface BaseTxHistoryTx {
|
|
161
84
|
/**
|
|
162
85
|
*
|
|
163
86
|
* @type {string}
|
|
164
|
-
* @memberof
|
|
87
|
+
* @memberof BaseTxHistoryTx
|
|
165
88
|
*/
|
|
166
89
|
'cursor'?: string;
|
|
167
90
|
/**
|
|
168
91
|
*
|
|
169
92
|
* @type {string}
|
|
170
|
-
* @memberof
|
|
93
|
+
* @memberof BaseTxHistoryTx
|
|
171
94
|
*/
|
|
172
95
|
'pubkey': string;
|
|
173
96
|
/**
|
|
174
97
|
*
|
|
175
|
-
* @type {Array<
|
|
176
|
-
* @memberof
|
|
177
|
-
*/
|
|
178
|
-
'txs': Array<AvalancheTx>;
|
|
179
|
-
}
|
|
180
|
-
/**
|
|
181
|
-
* Contains info about a 400 Bad Request response
|
|
182
|
-
* @export
|
|
183
|
-
* @interface BadRequestError
|
|
184
|
-
*/
|
|
185
|
-
export interface BadRequestError {
|
|
186
|
-
/**
|
|
187
|
-
*
|
|
188
|
-
* @type {string}
|
|
189
|
-
* @memberof BadRequestError
|
|
98
|
+
* @type {Array<Tx>}
|
|
99
|
+
* @memberof BaseTxHistoryTx
|
|
190
100
|
*/
|
|
191
|
-
'
|
|
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
|
|
@@ -484,7 +453,7 @@ export declare const V1ApiAxiosParamCreator: (configuration?: Configuration | un
|
|
|
484
453
|
*/
|
|
485
454
|
getTxHistory: (pubkey: string, cursor?: string | undefined, pageSize?: number | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
486
455
|
/**
|
|
487
|
-
*
|
|
456
|
+
* Broadcast signed raw transaction
|
|
488
457
|
* @param {SendTxBody} sendTxBody serialized raw transaction hex
|
|
489
458
|
* @param {*} [options] Override http request option.
|
|
490
459
|
* @throws {RequiredError}
|
|
@@ -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,9 +509,9 @@ 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
|
+
* Broadcast signed raw transaction
|
|
546
515
|
* @param {SendTxBody} sendTxBody serialized raw transaction hex
|
|
547
516
|
* @param {*} [options] Override http request option.
|
|
548
517
|
* @throws {RequiredError}
|
|
@@ -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,9 +567,9 @@ 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
|
+
* Broadcast signed raw transaction
|
|
604
573
|
* @param {SendTxBody} sendTxBody serialized raw transaction hex
|
|
605
574
|
* @param {*} [options] Override http request option.
|
|
606
575
|
* @throws {RequiredError}
|
|
@@ -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,9 +723,9 @@ 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
|
+
* Broadcast signed raw transaction
|
|
760
729
|
* @param {V1ApiSendTxRequest} requestParameters Request parameters.
|
|
761
730
|
* @param {*} [options] Override http request option.
|
|
762
731
|
* @throws {RequiredError}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* @shapeshiftoss/avalanche-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).
|
|
@@ -221,7 +221,7 @@ const V1ApiAxiosParamCreator = function (configuration) {
|
|
|
221
221
|
};
|
|
222
222
|
},
|
|
223
223
|
/**
|
|
224
|
-
*
|
|
224
|
+
* Broadcast signed raw transaction
|
|
225
225
|
* @param {SendTxBody} sendTxBody serialized raw transaction hex
|
|
226
226
|
* @param {*} [options] Override http request option.
|
|
227
227
|
* @throws {RequiredError}
|
|
@@ -323,7 +323,7 @@ const V1ApiFp = function (configuration) {
|
|
|
323
323
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
324
324
|
},
|
|
325
325
|
/**
|
|
326
|
-
*
|
|
326
|
+
* Broadcast signed raw transaction
|
|
327
327
|
* @param {SendTxBody} sendTxBody serialized raw transaction hex
|
|
328
328
|
* @param {*} [options] Override http request option.
|
|
329
329
|
* @throws {RequiredError}
|
|
@@ -400,7 +400,7 @@ const V1ApiFactory = function (configuration, basePath, axios) {
|
|
|
400
400
|
return localVarFp.getTxHistory(pubkey, cursor, pageSize, options).then((request) => request(axios, basePath));
|
|
401
401
|
},
|
|
402
402
|
/**
|
|
403
|
-
*
|
|
403
|
+
* Broadcast signed raw transaction
|
|
404
404
|
* @param {SendTxBody} sendTxBody serialized raw transaction hex
|
|
405
405
|
* @param {*} [options] Override http request option.
|
|
406
406
|
* @throws {RequiredError}
|
|
@@ -477,7 +477,7 @@ class V1Api extends base_1.BaseAPI {
|
|
|
477
477
|
return (0, exports.V1ApiFp)(this.configuration).getTxHistory(requestParameters.pubkey, requestParameters.cursor, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
478
478
|
}
|
|
479
479
|
/**
|
|
480
|
-
*
|
|
480
|
+
* Broadcast signed raw transaction
|
|
481
481
|
* @param {V1ApiSendTxRequest} requestParameters Request parameters.
|
|
482
482
|
* @param {*} [options] Override http request option.
|
|
483
483
|
* @throws {RequiredError}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @shapeshiftoss/avalanche-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/avalanche-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/avalanche-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/avalanche-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/avalanche-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/avalanche-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/avalanche-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/avalanche-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).
|