@shapeshiftoss/unchained-client 6.9.0 → 6.11.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.
- package/README.md +3 -1
- package/dist/bitcoin/index.d.ts +0 -1
- package/dist/bitcoin/index.js +5 -2
- package/dist/bitcoin/parser/index.d.ts +0 -1
- package/dist/bitcoin/parser/index.js +43 -54
- package/dist/bitcoin/parser/utils.d.ts +0 -1
- package/dist/bitcoin/parser/utils.js +0 -1
- package/dist/bitcoin/types.d.ts +0 -1
- package/dist/bitcoin/types.js +0 -1
- package/dist/cosmos/index.d.ts +0 -1
- package/dist/cosmos/index.js +5 -2
- package/dist/cosmos/parser/index.d.ts +4 -5
- package/dist/cosmos/parser/index.js +55 -50
- package/dist/cosmos/parser/utils.d.ts +3 -4
- package/dist/cosmos/parser/utils.js +28 -25
- package/dist/cosmos/types.d.ts +4 -1
- package/dist/cosmos/types.js +0 -1
- package/dist/ethereum/index.d.ts +0 -1
- package/dist/ethereum/index.js +5 -2
- package/dist/ethereum/parser/abi/erc20.d.ts +0 -1
- package/dist/ethereum/parser/abi/erc20.js +69 -70
- package/dist/ethereum/parser/abi/foxyStaking.d.ts +0 -1
- package/dist/ethereum/parser/abi/foxyStaking.js +161 -162
- package/dist/ethereum/parser/abi/multiSig.d.ts +0 -1
- package/dist/ethereum/parser/abi/multiSig.js +79 -80
- package/dist/ethereum/parser/abi/shapeShiftRouter.d.ts +0 -1
- package/dist/ethereum/parser/abi/shapeShiftRouter.js +119 -120
- package/dist/ethereum/parser/abi/thor.d.ts +0 -1
- package/dist/ethereum/parser/abi/thor.js +28 -29
- package/dist/ethereum/parser/abi/uniV2.d.ts +0 -1
- package/dist/ethereum/parser/abi/uniV2.js +55 -56
- package/dist/ethereum/parser/abi/weth.d.ts +3 -0
- package/dist/ethereum/parser/abi/weth.js +282 -0
- package/dist/ethereum/parser/abi/yearnVault.d.ts +0 -1
- package/dist/ethereum/parser/abi/yearnVault.js +95 -96
- package/dist/ethereum/parser/constants.d.ts +2 -1
- package/dist/ethereum/parser/constants.js +3 -2
- package/dist/ethereum/parser/foxy.d.ts +8 -9
- package/dist/ethereum/parser/foxy.js +27 -59
- package/dist/ethereum/parser/index.d.ts +1 -1
- package/dist/ethereum/parser/index.js +51 -56
- package/dist/ethereum/parser/thor.d.ts +6 -5
- package/dist/ethereum/parser/thor.js +33 -49
- package/dist/ethereum/parser/uniV2.d.ts +5 -5
- package/dist/ethereum/parser/uniV2.js +76 -83
- package/dist/ethereum/parser/utils.d.ts +0 -1
- package/dist/ethereum/parser/utils.js +2 -3
- package/dist/ethereum/parser/weth.d.ts +19 -0
- package/dist/ethereum/parser/weth.js +102 -0
- package/dist/ethereum/parser/yearn.d.ts +11 -12
- package/dist/ethereum/parser/yearn.js +51 -51
- package/dist/ethereum/parser/zrx.d.ts +1 -2
- package/dist/ethereum/parser/zrx.js +18 -30
- package/dist/ethereum/types.d.ts +0 -1
- package/dist/ethereum/types.js +0 -1
- package/dist/generated/bitcoin/api.d.ts +117 -121
- package/dist/generated/bitcoin/api.js +82 -111
- package/dist/generated/bitcoin/base.d.ts +3 -4
- package/dist/generated/bitcoin/base.js +2 -3
- package/dist/generated/bitcoin/common.d.ts +3 -4
- package/dist/generated/bitcoin/common.js +23 -39
- package/dist/generated/bitcoin/configuration.d.ts +1 -2
- package/dist/generated/bitcoin/configuration.js +1 -2
- package/dist/generated/bitcoin/index.d.ts +1 -2
- package/dist/generated/bitcoin/index.js +6 -3
- package/dist/generated/cosmos/api.d.ts +143 -144
- package/dist/generated/cosmos/api.js +89 -115
- package/dist/generated/cosmos/base.d.ts +2 -3
- package/dist/generated/cosmos/base.js +0 -1
- package/dist/generated/cosmos/common.d.ts +2 -3
- package/dist/generated/cosmos/common.js +22 -38
- package/dist/generated/cosmos/configuration.d.ts +0 -1
- package/dist/generated/cosmos/configuration.js +0 -1
- package/dist/generated/cosmos/index.d.ts +0 -1
- package/dist/generated/cosmos/index.js +5 -2
- package/dist/generated/ethereum/api.d.ts +74 -78
- package/dist/generated/ethereum/api.js +74 -101
- package/dist/generated/ethereum/base.d.ts +3 -4
- package/dist/generated/ethereum/base.js +2 -3
- package/dist/generated/ethereum/common.d.ts +3 -4
- package/dist/generated/ethereum/common.js +23 -39
- package/dist/generated/ethereum/configuration.d.ts +1 -2
- package/dist/generated/ethereum/configuration.js +1 -2
- package/dist/generated/ethereum/index.d.ts +1 -2
- package/dist/generated/ethereum/index.js +6 -3
- package/dist/index.d.ts +0 -1
- package/dist/index.js +5 -2
- package/dist/types.d.ts +14 -3
- package/dist/types.js +1 -1
- package/dist/utils.d.ts +2 -3
- package/dist/utils.js +23 -23
- package/dist/websocket.d.ts +1 -2
- package/dist/websocket.js +78 -80
- package/package.json +21 -13
- package/dist/bitcoin/index.d.ts.map +0 -1
- package/dist/bitcoin/index.js.map +0 -1
- package/dist/bitcoin/parser/index.d.ts.map +0 -1
- package/dist/bitcoin/parser/index.js.map +0 -1
- package/dist/bitcoin/parser/utils.d.ts.map +0 -1
- package/dist/bitcoin/parser/utils.js.map +0 -1
- package/dist/bitcoin/types.d.ts.map +0 -1
- package/dist/bitcoin/types.js.map +0 -1
- package/dist/cosmos/index.d.ts.map +0 -1
- package/dist/cosmos/index.js.map +0 -1
- package/dist/cosmos/parser/index.d.ts.map +0 -1
- package/dist/cosmos/parser/index.js.map +0 -1
- package/dist/cosmos/parser/utils.d.ts.map +0 -1
- package/dist/cosmos/parser/utils.js.map +0 -1
- package/dist/cosmos/types.d.ts.map +0 -1
- package/dist/cosmos/types.js.map +0 -1
- package/dist/ethereum/index.d.ts.map +0 -1
- package/dist/ethereum/index.js.map +0 -1
- package/dist/ethereum/parser/abi/erc20.d.ts.map +0 -1
- package/dist/ethereum/parser/abi/erc20.js.map +0 -1
- package/dist/ethereum/parser/abi/foxyStaking.d.ts.map +0 -1
- package/dist/ethereum/parser/abi/foxyStaking.js.map +0 -1
- package/dist/ethereum/parser/abi/multiSig.d.ts.map +0 -1
- package/dist/ethereum/parser/abi/multiSig.js.map +0 -1
- package/dist/ethereum/parser/abi/shapeShiftRouter.d.ts.map +0 -1
- package/dist/ethereum/parser/abi/shapeShiftRouter.js.map +0 -1
- package/dist/ethereum/parser/abi/thor.d.ts.map +0 -1
- package/dist/ethereum/parser/abi/thor.js.map +0 -1
- package/dist/ethereum/parser/abi/uniV2.d.ts.map +0 -1
- package/dist/ethereum/parser/abi/uniV2.js.map +0 -1
- package/dist/ethereum/parser/abi/yearnVault.d.ts.map +0 -1
- package/dist/ethereum/parser/abi/yearnVault.js.map +0 -1
- package/dist/ethereum/parser/constants.d.ts.map +0 -1
- package/dist/ethereum/parser/constants.js.map +0 -1
- package/dist/ethereum/parser/foxy.d.ts.map +0 -1
- package/dist/ethereum/parser/foxy.js.map +0 -1
- package/dist/ethereum/parser/index.d.ts.map +0 -1
- package/dist/ethereum/parser/index.js.map +0 -1
- package/dist/ethereum/parser/thor.d.ts.map +0 -1
- package/dist/ethereum/parser/thor.js.map +0 -1
- package/dist/ethereum/parser/uniV2.d.ts.map +0 -1
- package/dist/ethereum/parser/uniV2.js.map +0 -1
- package/dist/ethereum/parser/utils.d.ts.map +0 -1
- package/dist/ethereum/parser/utils.js.map +0 -1
- package/dist/ethereum/parser/yearn.d.ts.map +0 -1
- package/dist/ethereum/parser/yearn.js.map +0 -1
- package/dist/ethereum/parser/zrx.d.ts.map +0 -1
- package/dist/ethereum/parser/zrx.js.map +0 -1
- package/dist/ethereum/types.d.ts.map +0 -1
- package/dist/ethereum/types.js.map +0 -1
- package/dist/generated/bitcoin/api.d.ts.map +0 -1
- package/dist/generated/bitcoin/api.js.map +0 -1
- package/dist/generated/bitcoin/base.d.ts.map +0 -1
- package/dist/generated/bitcoin/base.js.map +0 -1
- package/dist/generated/bitcoin/common.d.ts.map +0 -1
- package/dist/generated/bitcoin/common.js.map +0 -1
- package/dist/generated/bitcoin/configuration.d.ts.map +0 -1
- package/dist/generated/bitcoin/configuration.js.map +0 -1
- package/dist/generated/bitcoin/index.d.ts.map +0 -1
- package/dist/generated/bitcoin/index.js.map +0 -1
- package/dist/generated/cosmos/api.d.ts.map +0 -1
- package/dist/generated/cosmos/api.js.map +0 -1
- package/dist/generated/cosmos/base.d.ts.map +0 -1
- package/dist/generated/cosmos/base.js.map +0 -1
- package/dist/generated/cosmos/common.d.ts.map +0 -1
- package/dist/generated/cosmos/common.js.map +0 -1
- package/dist/generated/cosmos/configuration.d.ts.map +0 -1
- package/dist/generated/cosmos/configuration.js.map +0 -1
- package/dist/generated/cosmos/index.d.ts.map +0 -1
- package/dist/generated/cosmos/index.js.map +0 -1
- package/dist/generated/ethereum/api.d.ts.map +0 -1
- package/dist/generated/ethereum/api.js.map +0 -1
- package/dist/generated/ethereum/base.d.ts.map +0 -1
- package/dist/generated/ethereum/base.js.map +0 -1
- package/dist/generated/ethereum/common.d.ts.map +0 -1
- package/dist/generated/ethereum/common.js.map +0 -1
- package/dist/generated/ethereum/configuration.d.ts.map +0 -1
- package/dist/generated/ethereum/configuration.js.map +0 -1
- package/dist/generated/ethereum/index.d.ts.map +0 -1
- package/dist/generated/ethereum/index.js.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/tsconfig.tsbuildinfo +0 -4934
- package/dist/types.d.ts.map +0 -1
- package/dist/types.js.map +0 -1
- package/dist/utils.d.ts.map +0 -1
- package/dist/utils.js.map +0 -1
- package/dist/websocket.d.ts.map +0 -1
- package/dist/websocket.js.map +0 -1
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { Configuration } from './configuration';
|
|
13
|
-
import { AxiosPromise, AxiosInstance } from 'axios';
|
|
13
|
+
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
14
14
|
import { RequestArgs, BaseAPI } from './base';
|
|
15
15
|
/**
|
|
16
16
|
* Contains info about account details for an address or xpub
|
|
@@ -23,61 +23,61 @@ export interface Account {
|
|
|
23
23
|
* @type {string}
|
|
24
24
|
* @memberof Account
|
|
25
25
|
*/
|
|
26
|
-
balance: string;
|
|
26
|
+
'balance': string;
|
|
27
27
|
/**
|
|
28
28
|
*
|
|
29
29
|
* @type {string}
|
|
30
30
|
* @memberof Account
|
|
31
31
|
*/
|
|
32
|
-
pubkey: string;
|
|
32
|
+
'pubkey': string;
|
|
33
33
|
/**
|
|
34
34
|
*
|
|
35
35
|
* @type {string}
|
|
36
36
|
* @memberof Account
|
|
37
37
|
*/
|
|
38
|
-
unconfirmedBalance: string;
|
|
38
|
+
'unconfirmedBalance': string;
|
|
39
39
|
/**
|
|
40
40
|
*
|
|
41
41
|
* @type {number}
|
|
42
42
|
* @memberof Account
|
|
43
43
|
*/
|
|
44
|
-
accountNumber: number;
|
|
44
|
+
'accountNumber': number;
|
|
45
45
|
/**
|
|
46
46
|
*
|
|
47
47
|
* @type {Array<Value>}
|
|
48
48
|
* @memberof Account
|
|
49
49
|
*/
|
|
50
|
-
assets: Array<Value>;
|
|
50
|
+
'assets': Array<Value>;
|
|
51
51
|
/**
|
|
52
52
|
*
|
|
53
53
|
* @type {Array<Delegation>}
|
|
54
54
|
* @memberof Account
|
|
55
55
|
*/
|
|
56
|
-
delegations: Array<Delegation>;
|
|
56
|
+
'delegations': Array<Delegation>;
|
|
57
57
|
/**
|
|
58
58
|
*
|
|
59
59
|
* @type {Array<Redelegation>}
|
|
60
60
|
* @memberof Account
|
|
61
61
|
*/
|
|
62
|
-
redelegations: Array<Redelegation>;
|
|
62
|
+
'redelegations': Array<Redelegation>;
|
|
63
63
|
/**
|
|
64
64
|
*
|
|
65
65
|
* @type {Array<Reward>}
|
|
66
66
|
* @memberof Account
|
|
67
67
|
*/
|
|
68
|
-
rewards: Array<Reward>;
|
|
68
|
+
'rewards': Array<Reward>;
|
|
69
69
|
/**
|
|
70
70
|
*
|
|
71
71
|
* @type {number}
|
|
72
72
|
* @memberof Account
|
|
73
73
|
*/
|
|
74
|
-
sequence: number;
|
|
74
|
+
'sequence': number;
|
|
75
75
|
/**
|
|
76
76
|
*
|
|
77
77
|
* @type {Array<Unbonding>}
|
|
78
78
|
* @memberof Account
|
|
79
79
|
*/
|
|
80
|
-
unbondings: Array<Unbonding>;
|
|
80
|
+
'unbondings': Array<Unbonding>;
|
|
81
81
|
}
|
|
82
82
|
/**
|
|
83
83
|
*
|
|
@@ -90,43 +90,43 @@ export interface AccountAllOf {
|
|
|
90
90
|
* @type {number}
|
|
91
91
|
* @memberof AccountAllOf
|
|
92
92
|
*/
|
|
93
|
-
accountNumber: number;
|
|
93
|
+
'accountNumber': number;
|
|
94
94
|
/**
|
|
95
95
|
*
|
|
96
96
|
* @type {Array<Value>}
|
|
97
97
|
* @memberof AccountAllOf
|
|
98
98
|
*/
|
|
99
|
-
assets: Array<Value>;
|
|
99
|
+
'assets': Array<Value>;
|
|
100
100
|
/**
|
|
101
101
|
*
|
|
102
102
|
* @type {Array<Delegation>}
|
|
103
103
|
* @memberof AccountAllOf
|
|
104
104
|
*/
|
|
105
|
-
delegations: Array<Delegation>;
|
|
105
|
+
'delegations': Array<Delegation>;
|
|
106
106
|
/**
|
|
107
107
|
*
|
|
108
108
|
* @type {Array<Redelegation>}
|
|
109
109
|
* @memberof AccountAllOf
|
|
110
110
|
*/
|
|
111
|
-
redelegations: Array<Redelegation>;
|
|
111
|
+
'redelegations': Array<Redelegation>;
|
|
112
112
|
/**
|
|
113
113
|
*
|
|
114
114
|
* @type {Array<Reward>}
|
|
115
115
|
* @memberof AccountAllOf
|
|
116
116
|
*/
|
|
117
|
-
rewards: Array<Reward>;
|
|
117
|
+
'rewards': Array<Reward>;
|
|
118
118
|
/**
|
|
119
119
|
*
|
|
120
120
|
* @type {number}
|
|
121
121
|
* @memberof AccountAllOf
|
|
122
122
|
*/
|
|
123
|
-
sequence: number;
|
|
123
|
+
'sequence': number;
|
|
124
124
|
/**
|
|
125
125
|
*
|
|
126
126
|
* @type {Array<Unbonding>}
|
|
127
127
|
* @memberof AccountAllOf
|
|
128
128
|
*/
|
|
129
|
-
unbondings: Array<Unbonding>;
|
|
129
|
+
'unbondings': Array<Unbonding>;
|
|
130
130
|
}
|
|
131
131
|
/**
|
|
132
132
|
* Generic api error for handling failed requests
|
|
@@ -139,7 +139,7 @@ export interface ApiError {
|
|
|
139
139
|
* @type {string}
|
|
140
140
|
* @memberof ApiError
|
|
141
141
|
*/
|
|
142
|
-
message: string;
|
|
142
|
+
'message': string;
|
|
143
143
|
}
|
|
144
144
|
/**
|
|
145
145
|
* Contains info about a transaction log event key/val attribute
|
|
@@ -152,13 +152,13 @@ export interface Attribute {
|
|
|
152
152
|
* @type {string}
|
|
153
153
|
* @memberof Attribute
|
|
154
154
|
*/
|
|
155
|
-
key: string;
|
|
155
|
+
'key': string;
|
|
156
156
|
/**
|
|
157
157
|
*
|
|
158
158
|
* @type {string}
|
|
159
159
|
* @memberof Attribute
|
|
160
160
|
*/
|
|
161
|
-
value: string;
|
|
161
|
+
'value': string;
|
|
162
162
|
}
|
|
163
163
|
/**
|
|
164
164
|
* Contains info about a 400 Bad Request response
|
|
@@ -171,7 +171,7 @@ export interface BadRequestError {
|
|
|
171
171
|
* @type {string}
|
|
172
172
|
* @memberof BadRequestError
|
|
173
173
|
*/
|
|
174
|
-
error: string;
|
|
174
|
+
'error': string;
|
|
175
175
|
}
|
|
176
176
|
/**
|
|
177
177
|
* Contains info about required base account details for an address or xpub
|
|
@@ -184,19 +184,19 @@ export interface BaseAccount {
|
|
|
184
184
|
* @type {string}
|
|
185
185
|
* @memberof BaseAccount
|
|
186
186
|
*/
|
|
187
|
-
balance: string;
|
|
187
|
+
'balance': string;
|
|
188
188
|
/**
|
|
189
189
|
*
|
|
190
190
|
* @type {string}
|
|
191
191
|
* @memberof BaseAccount
|
|
192
192
|
*/
|
|
193
|
-
pubkey: string;
|
|
193
|
+
'pubkey': string;
|
|
194
194
|
/**
|
|
195
195
|
*
|
|
196
196
|
* @type {string}
|
|
197
197
|
* @memberof BaseAccount
|
|
198
198
|
*/
|
|
199
|
-
unconfirmedBalance: string;
|
|
199
|
+
'unconfirmedBalance': string;
|
|
200
200
|
}
|
|
201
201
|
/**
|
|
202
202
|
* Contains required base info about the running coinstack
|
|
@@ -209,7 +209,7 @@ export interface BaseInfo {
|
|
|
209
209
|
* @type {string}
|
|
210
210
|
* @memberof BaseInfo
|
|
211
211
|
*/
|
|
212
|
-
network: string;
|
|
212
|
+
'network': string;
|
|
213
213
|
}
|
|
214
214
|
/**
|
|
215
215
|
* Contains info about required base transaction details
|
|
@@ -222,25 +222,25 @@ export interface BaseTx {
|
|
|
222
222
|
* @type {string}
|
|
223
223
|
* @memberof BaseTx
|
|
224
224
|
*/
|
|
225
|
-
blockHash?: string;
|
|
225
|
+
'blockHash'?: string;
|
|
226
226
|
/**
|
|
227
227
|
*
|
|
228
228
|
* @type {number}
|
|
229
229
|
* @memberof BaseTx
|
|
230
230
|
*/
|
|
231
|
-
blockHeight?: number;
|
|
231
|
+
'blockHeight'?: number;
|
|
232
232
|
/**
|
|
233
233
|
*
|
|
234
234
|
* @type {number}
|
|
235
235
|
* @memberof BaseTx
|
|
236
236
|
*/
|
|
237
|
-
timestamp?: number;
|
|
237
|
+
'timestamp'?: number;
|
|
238
238
|
/**
|
|
239
239
|
*
|
|
240
240
|
* @type {string}
|
|
241
241
|
* @memberof BaseTx
|
|
242
242
|
*/
|
|
243
|
-
txid: string;
|
|
243
|
+
'txid': string;
|
|
244
244
|
}
|
|
245
245
|
/**
|
|
246
246
|
* Contains info about required base transaction history details
|
|
@@ -253,19 +253,19 @@ export interface BaseTxHistory {
|
|
|
253
253
|
* @type {string}
|
|
254
254
|
* @memberof BaseTxHistory
|
|
255
255
|
*/
|
|
256
|
-
cursor: string;
|
|
256
|
+
'cursor': string;
|
|
257
257
|
/**
|
|
258
258
|
*
|
|
259
259
|
* @type {string}
|
|
260
260
|
* @memberof BaseTxHistory
|
|
261
261
|
*/
|
|
262
|
-
pubkey: string;
|
|
262
|
+
'pubkey': string;
|
|
263
263
|
/**
|
|
264
264
|
*
|
|
265
265
|
* @type {Array<Tx>}
|
|
266
266
|
* @memberof BaseTxHistory
|
|
267
267
|
*/
|
|
268
|
-
txs: Array<Tx>;
|
|
268
|
+
'txs': Array<Tx>;
|
|
269
269
|
}
|
|
270
270
|
/**
|
|
271
271
|
*
|
|
@@ -278,13 +278,13 @@ export interface BaseTxHistoryAllOf {
|
|
|
278
278
|
* @type {string}
|
|
279
279
|
* @memberof BaseTxHistoryAllOf
|
|
280
280
|
*/
|
|
281
|
-
pubkey: string;
|
|
281
|
+
'pubkey': string;
|
|
282
282
|
/**
|
|
283
283
|
*
|
|
284
284
|
* @type {Array<Tx>}
|
|
285
285
|
* @memberof BaseTxHistoryAllOf
|
|
286
286
|
*/
|
|
287
|
-
txs: Array<Tx>;
|
|
287
|
+
'txs': Array<Tx>;
|
|
288
288
|
}
|
|
289
289
|
/**
|
|
290
290
|
* Contains info about a staking delegation
|
|
@@ -297,19 +297,19 @@ export interface Delegation {
|
|
|
297
297
|
* @type {Value}
|
|
298
298
|
* @memberof Delegation
|
|
299
299
|
*/
|
|
300
|
-
balance: Value;
|
|
300
|
+
'balance': Value;
|
|
301
301
|
/**
|
|
302
302
|
*
|
|
303
303
|
* @type {string}
|
|
304
304
|
* @memberof Delegation
|
|
305
305
|
*/
|
|
306
|
-
shares: string;
|
|
306
|
+
'shares': string;
|
|
307
307
|
/**
|
|
308
308
|
*
|
|
309
309
|
* @type {Validator}
|
|
310
310
|
* @memberof Delegation
|
|
311
311
|
*/
|
|
312
|
-
validator: Validator;
|
|
312
|
+
'validator': Validator;
|
|
313
313
|
}
|
|
314
314
|
/**
|
|
315
315
|
* Contains info about a transaction log event
|
|
@@ -322,13 +322,13 @@ export interface Event {
|
|
|
322
322
|
* @type {Array<Attribute>}
|
|
323
323
|
* @memberof Event
|
|
324
324
|
*/
|
|
325
|
-
attributes: Array<Attribute>;
|
|
325
|
+
'attributes': Array<Attribute>;
|
|
326
326
|
/**
|
|
327
327
|
*
|
|
328
328
|
* @type {string}
|
|
329
329
|
* @memberof Event
|
|
330
330
|
*/
|
|
331
|
-
type: string;
|
|
331
|
+
'type': string;
|
|
332
332
|
}
|
|
333
333
|
/**
|
|
334
334
|
* Contains info about the running coinstack
|
|
@@ -341,37 +341,37 @@ export interface Info {
|
|
|
341
341
|
* @type {string}
|
|
342
342
|
* @memberof Info
|
|
343
343
|
*/
|
|
344
|
-
network: string;
|
|
344
|
+
'network': string;
|
|
345
345
|
/**
|
|
346
346
|
*
|
|
347
347
|
* @type {string}
|
|
348
348
|
* @memberof Info
|
|
349
349
|
*/
|
|
350
|
-
annualProvisions: string;
|
|
350
|
+
'annualProvisions': string;
|
|
351
351
|
/**
|
|
352
352
|
*
|
|
353
353
|
* @type {string}
|
|
354
354
|
* @memberof Info
|
|
355
355
|
*/
|
|
356
|
-
apr: string;
|
|
356
|
+
'apr': string;
|
|
357
357
|
/**
|
|
358
358
|
*
|
|
359
359
|
* @type {string}
|
|
360
360
|
* @memberof Info
|
|
361
361
|
*/
|
|
362
|
-
bondedTokens: string;
|
|
362
|
+
'bondedTokens': string;
|
|
363
363
|
/**
|
|
364
364
|
*
|
|
365
365
|
* @type {string}
|
|
366
366
|
* @memberof Info
|
|
367
367
|
*/
|
|
368
|
-
communityTax: string;
|
|
368
|
+
'communityTax': string;
|
|
369
369
|
/**
|
|
370
370
|
*
|
|
371
371
|
* @type {string}
|
|
372
372
|
* @memberof Info
|
|
373
373
|
*/
|
|
374
|
-
totalSupply: string;
|
|
374
|
+
'totalSupply': string;
|
|
375
375
|
}
|
|
376
376
|
/**
|
|
377
377
|
*
|
|
@@ -384,31 +384,31 @@ export interface InfoAllOf {
|
|
|
384
384
|
* @type {string}
|
|
385
385
|
* @memberof InfoAllOf
|
|
386
386
|
*/
|
|
387
|
-
annualProvisions: string;
|
|
387
|
+
'annualProvisions': string;
|
|
388
388
|
/**
|
|
389
389
|
*
|
|
390
390
|
* @type {string}
|
|
391
391
|
* @memberof InfoAllOf
|
|
392
392
|
*/
|
|
393
|
-
apr: string;
|
|
393
|
+
'apr': string;
|
|
394
394
|
/**
|
|
395
395
|
*
|
|
396
396
|
* @type {string}
|
|
397
397
|
* @memberof InfoAllOf
|
|
398
398
|
*/
|
|
399
|
-
bondedTokens: string;
|
|
399
|
+
'bondedTokens': string;
|
|
400
400
|
/**
|
|
401
401
|
*
|
|
402
402
|
* @type {string}
|
|
403
403
|
* @memberof InfoAllOf
|
|
404
404
|
*/
|
|
405
|
-
communityTax: string;
|
|
405
|
+
'communityTax': string;
|
|
406
406
|
/**
|
|
407
407
|
*
|
|
408
408
|
* @type {string}
|
|
409
409
|
* @memberof InfoAllOf
|
|
410
410
|
*/
|
|
411
|
-
totalSupply: string;
|
|
411
|
+
'totalSupply': string;
|
|
412
412
|
}
|
|
413
413
|
/**
|
|
414
414
|
*
|
|
@@ -421,7 +421,7 @@ export interface InlineObject {
|
|
|
421
421
|
* @type {string}
|
|
422
422
|
* @memberof InlineObject
|
|
423
423
|
*/
|
|
424
|
-
rawTx: string;
|
|
424
|
+
'rawTx': string;
|
|
425
425
|
}
|
|
426
426
|
/**
|
|
427
427
|
*
|
|
@@ -434,7 +434,7 @@ export interface InlineObject1 {
|
|
|
434
434
|
* @type {string}
|
|
435
435
|
* @memberof InlineObject1
|
|
436
436
|
*/
|
|
437
|
-
rawTx: string;
|
|
437
|
+
'rawTx': string;
|
|
438
438
|
}
|
|
439
439
|
/**
|
|
440
440
|
* Contains info about a 500 Internal Server Error response
|
|
@@ -447,7 +447,7 @@ export interface InternalServerError {
|
|
|
447
447
|
* @type {string}
|
|
448
448
|
* @memberof InternalServerError
|
|
449
449
|
*/
|
|
450
|
-
message?: string;
|
|
450
|
+
'message'?: string;
|
|
451
451
|
}
|
|
452
452
|
/**
|
|
453
453
|
* Contains info about a transaction message
|
|
@@ -460,31 +460,31 @@ export interface Message {
|
|
|
460
460
|
* @type {string}
|
|
461
461
|
* @memberof Message
|
|
462
462
|
*/
|
|
463
|
-
from?: string;
|
|
463
|
+
'from'?: string;
|
|
464
464
|
/**
|
|
465
465
|
*
|
|
466
466
|
* @type {string}
|
|
467
467
|
* @memberof Message
|
|
468
468
|
*/
|
|
469
|
-
origin?: string;
|
|
469
|
+
'origin'?: string;
|
|
470
470
|
/**
|
|
471
471
|
*
|
|
472
472
|
* @type {string}
|
|
473
473
|
* @memberof Message
|
|
474
474
|
*/
|
|
475
|
-
to?: string;
|
|
475
|
+
'to'?: string;
|
|
476
476
|
/**
|
|
477
477
|
*
|
|
478
478
|
* @type {string}
|
|
479
479
|
* @memberof Message
|
|
480
480
|
*/
|
|
481
|
-
type: string;
|
|
481
|
+
'type': string;
|
|
482
482
|
/**
|
|
483
483
|
*
|
|
484
484
|
* @type {Value}
|
|
485
485
|
* @memberof Message
|
|
486
486
|
*/
|
|
487
|
-
value?: Value;
|
|
487
|
+
'value'?: Value;
|
|
488
488
|
}
|
|
489
489
|
/**
|
|
490
490
|
* Contains info about pagination metadata
|
|
@@ -497,7 +497,7 @@ export interface Pagination {
|
|
|
497
497
|
* @type {string}
|
|
498
498
|
* @memberof Pagination
|
|
499
499
|
*/
|
|
500
|
-
cursor: string;
|
|
500
|
+
'cursor': string;
|
|
501
501
|
}
|
|
502
502
|
/**
|
|
503
503
|
* Contains info about a staking redelegation
|
|
@@ -510,19 +510,19 @@ export interface Redelegation {
|
|
|
510
510
|
* @type {Validator}
|
|
511
511
|
* @memberof Redelegation
|
|
512
512
|
*/
|
|
513
|
-
destinationValidator: Validator;
|
|
513
|
+
'destinationValidator': Validator;
|
|
514
514
|
/**
|
|
515
515
|
*
|
|
516
516
|
* @type {Array<RedelegationEntry>}
|
|
517
517
|
* @memberof Redelegation
|
|
518
518
|
*/
|
|
519
|
-
entries: Array<RedelegationEntry>;
|
|
519
|
+
'entries': Array<RedelegationEntry>;
|
|
520
520
|
/**
|
|
521
521
|
*
|
|
522
522
|
* @type {Validator}
|
|
523
523
|
* @memberof Redelegation
|
|
524
524
|
*/
|
|
525
|
-
sourceValidator: Validator;
|
|
525
|
+
'sourceValidator': Validator;
|
|
526
526
|
}
|
|
527
527
|
/**
|
|
528
528
|
* Contains info about a redelegation action
|
|
@@ -535,19 +535,19 @@ export interface RedelegationEntry {
|
|
|
535
535
|
* @type {string}
|
|
536
536
|
* @memberof RedelegationEntry
|
|
537
537
|
*/
|
|
538
|
-
balance: string;
|
|
538
|
+
'balance': string;
|
|
539
539
|
/**
|
|
540
540
|
*
|
|
541
541
|
* @type {string}
|
|
542
542
|
* @memberof RedelegationEntry
|
|
543
543
|
*/
|
|
544
|
-
completionTime: string;
|
|
544
|
+
'completionTime': string;
|
|
545
545
|
/**
|
|
546
546
|
*
|
|
547
547
|
* @type {string}
|
|
548
548
|
* @memberof RedelegationEntry
|
|
549
549
|
*/
|
|
550
|
-
shares: string;
|
|
550
|
+
'shares': string;
|
|
551
551
|
}
|
|
552
552
|
/**
|
|
553
553
|
* Contains info about a validator reward
|
|
@@ -560,13 +560,13 @@ export interface Reward {
|
|
|
560
560
|
* @type {Array<Value>}
|
|
561
561
|
* @memberof Reward
|
|
562
562
|
*/
|
|
563
|
-
rewards: Array<Value>;
|
|
563
|
+
'rewards': Array<Value>;
|
|
564
564
|
/**
|
|
565
565
|
*
|
|
566
566
|
* @type {Validator}
|
|
567
567
|
* @memberof Reward
|
|
568
568
|
*/
|
|
569
|
-
validator: Validator;
|
|
569
|
+
'validator': Validator;
|
|
570
570
|
}
|
|
571
571
|
/**
|
|
572
572
|
* Contains info about a transaction
|
|
@@ -579,37 +579,37 @@ export interface Tx {
|
|
|
579
579
|
* @type {string}
|
|
580
580
|
* @memberof Tx
|
|
581
581
|
*/
|
|
582
|
-
blockHash?: string;
|
|
582
|
+
'blockHash'?: string;
|
|
583
583
|
/**
|
|
584
584
|
*
|
|
585
585
|
* @type {number}
|
|
586
586
|
* @memberof Tx
|
|
587
587
|
*/
|
|
588
|
-
blockHeight?: number;
|
|
588
|
+
'blockHeight'?: number;
|
|
589
589
|
/**
|
|
590
590
|
*
|
|
591
591
|
* @type {number}
|
|
592
592
|
* @memberof Tx
|
|
593
593
|
*/
|
|
594
|
-
timestamp?: number;
|
|
594
|
+
'timestamp'?: number;
|
|
595
595
|
/**
|
|
596
596
|
*
|
|
597
597
|
* @type {string}
|
|
598
598
|
* @memberof Tx
|
|
599
599
|
*/
|
|
600
|
-
txid: string;
|
|
600
|
+
'txid': string;
|
|
601
601
|
/**
|
|
602
602
|
*
|
|
603
603
|
* @type {number}
|
|
604
604
|
* @memberof Tx
|
|
605
605
|
*/
|
|
606
|
-
confirmations: number;
|
|
606
|
+
'confirmations': number;
|
|
607
607
|
/**
|
|
608
608
|
* Contains info about tx events keyed by message index
|
|
609
609
|
* @type {{ [key: string]: Array<Event>; }}
|
|
610
610
|
* @memberof Tx
|
|
611
611
|
*/
|
|
612
|
-
events: {
|
|
612
|
+
'events': {
|
|
613
613
|
[key: string]: Array<Event>;
|
|
614
614
|
};
|
|
615
615
|
/**
|
|
@@ -617,43 +617,43 @@ export interface Tx {
|
|
|
617
617
|
* @type {Value}
|
|
618
618
|
* @memberof Tx
|
|
619
619
|
*/
|
|
620
|
-
fee: Value;
|
|
620
|
+
'fee': Value;
|
|
621
621
|
/**
|
|
622
622
|
*
|
|
623
623
|
* @type {string}
|
|
624
624
|
* @memberof Tx
|
|
625
625
|
*/
|
|
626
|
-
gasUsed: string;
|
|
626
|
+
'gasUsed': string;
|
|
627
627
|
/**
|
|
628
628
|
*
|
|
629
629
|
* @type {string}
|
|
630
630
|
* @memberof Tx
|
|
631
631
|
*/
|
|
632
|
-
gasWanted: string;
|
|
632
|
+
'gasWanted': string;
|
|
633
633
|
/**
|
|
634
634
|
*
|
|
635
635
|
* @type {number}
|
|
636
636
|
* @memberof Tx
|
|
637
637
|
*/
|
|
638
|
-
index: number;
|
|
638
|
+
'index': number;
|
|
639
639
|
/**
|
|
640
640
|
*
|
|
641
641
|
* @type {string}
|
|
642
642
|
* @memberof Tx
|
|
643
643
|
*/
|
|
644
|
-
memo?: string;
|
|
644
|
+
'memo'?: string;
|
|
645
645
|
/**
|
|
646
646
|
*
|
|
647
647
|
* @type {Array<Message>}
|
|
648
648
|
* @memberof Tx
|
|
649
649
|
*/
|
|
650
|
-
messages: Array<Message>;
|
|
650
|
+
'messages': Array<Message>;
|
|
651
651
|
/**
|
|
652
652
|
*
|
|
653
653
|
* @type {string}
|
|
654
654
|
* @memberof Tx
|
|
655
655
|
*/
|
|
656
|
-
value: string;
|
|
656
|
+
'value': string;
|
|
657
657
|
}
|
|
658
658
|
/**
|
|
659
659
|
*
|
|
@@ -666,13 +666,13 @@ export interface TxAllOf {
|
|
|
666
666
|
* @type {number}
|
|
667
667
|
* @memberof TxAllOf
|
|
668
668
|
*/
|
|
669
|
-
confirmations: number;
|
|
669
|
+
'confirmations': number;
|
|
670
670
|
/**
|
|
671
671
|
* Contains info about tx events keyed by message index
|
|
672
672
|
* @type {{ [key: string]: Array<Event>; }}
|
|
673
673
|
* @memberof TxAllOf
|
|
674
674
|
*/
|
|
675
|
-
events: {
|
|
675
|
+
'events': {
|
|
676
676
|
[key: string]: Array<Event>;
|
|
677
677
|
};
|
|
678
678
|
/**
|
|
@@ -680,43 +680,43 @@ export interface TxAllOf {
|
|
|
680
680
|
* @type {Value}
|
|
681
681
|
* @memberof TxAllOf
|
|
682
682
|
*/
|
|
683
|
-
fee: Value;
|
|
683
|
+
'fee': Value;
|
|
684
684
|
/**
|
|
685
685
|
*
|
|
686
686
|
* @type {string}
|
|
687
687
|
* @memberof TxAllOf
|
|
688
688
|
*/
|
|
689
|
-
gasUsed: string;
|
|
689
|
+
'gasUsed': string;
|
|
690
690
|
/**
|
|
691
691
|
*
|
|
692
692
|
* @type {string}
|
|
693
693
|
* @memberof TxAllOf
|
|
694
694
|
*/
|
|
695
|
-
gasWanted: string;
|
|
695
|
+
'gasWanted': string;
|
|
696
696
|
/**
|
|
697
697
|
*
|
|
698
698
|
* @type {number}
|
|
699
699
|
* @memberof TxAllOf
|
|
700
700
|
*/
|
|
701
|
-
index: number;
|
|
701
|
+
'index': number;
|
|
702
702
|
/**
|
|
703
703
|
*
|
|
704
704
|
* @type {string}
|
|
705
705
|
* @memberof TxAllOf
|
|
706
706
|
*/
|
|
707
|
-
memo?: string;
|
|
707
|
+
'memo'?: string;
|
|
708
708
|
/**
|
|
709
709
|
*
|
|
710
710
|
* @type {Array<Message>}
|
|
711
711
|
* @memberof TxAllOf
|
|
712
712
|
*/
|
|
713
|
-
messages: Array<Message>;
|
|
713
|
+
'messages': Array<Message>;
|
|
714
714
|
/**
|
|
715
715
|
*
|
|
716
716
|
* @type {string}
|
|
717
717
|
* @memberof TxAllOf
|
|
718
718
|
*/
|
|
719
|
-
value: string;
|
|
719
|
+
'value': string;
|
|
720
720
|
}
|
|
721
721
|
/**
|
|
722
722
|
* Contains info about transaction history for an address or xpub
|
|
@@ -729,19 +729,19 @@ export interface TxHistory {
|
|
|
729
729
|
* @type {string}
|
|
730
730
|
* @memberof TxHistory
|
|
731
731
|
*/
|
|
732
|
-
cursor: string;
|
|
732
|
+
'cursor': string;
|
|
733
733
|
/**
|
|
734
734
|
*
|
|
735
735
|
* @type {string}
|
|
736
736
|
* @memberof TxHistory
|
|
737
737
|
*/
|
|
738
|
-
pubkey: string;
|
|
738
|
+
'pubkey': string;
|
|
739
739
|
/**
|
|
740
740
|
*
|
|
741
741
|
* @type {Array<Tx>}
|
|
742
742
|
* @memberof TxHistory
|
|
743
743
|
*/
|
|
744
|
-
txs: Array<Tx>;
|
|
744
|
+
'txs': Array<Tx>;
|
|
745
745
|
}
|
|
746
746
|
/**
|
|
747
747
|
*
|
|
@@ -754,7 +754,7 @@ export interface TxHistoryAllOf {
|
|
|
754
754
|
* @type {Array<Tx>}
|
|
755
755
|
* @memberof TxHistoryAllOf
|
|
756
756
|
*/
|
|
757
|
-
txs: Array<Tx>;
|
|
757
|
+
'txs': Array<Tx>;
|
|
758
758
|
}
|
|
759
759
|
/**
|
|
760
760
|
* Contains info about a staking unbonding
|
|
@@ -767,13 +767,13 @@ export interface Unbonding {
|
|
|
767
767
|
* @type {Array<UnbondingEntry>}
|
|
768
768
|
* @memberof Unbonding
|
|
769
769
|
*/
|
|
770
|
-
entries: Array<UnbondingEntry>;
|
|
770
|
+
'entries': Array<UnbondingEntry>;
|
|
771
771
|
/**
|
|
772
772
|
*
|
|
773
773
|
* @type {Validator}
|
|
774
774
|
* @memberof Unbonding
|
|
775
775
|
*/
|
|
776
|
-
validator: Validator;
|
|
776
|
+
'validator': Validator;
|
|
777
777
|
}
|
|
778
778
|
/**
|
|
779
779
|
* Contains info about an unbonding action
|
|
@@ -786,13 +786,13 @@ export interface UnbondingEntry {
|
|
|
786
786
|
* @type {Value}
|
|
787
787
|
* @memberof UnbondingEntry
|
|
788
788
|
*/
|
|
789
|
-
balance: Value;
|
|
789
|
+
'balance': Value;
|
|
790
790
|
/**
|
|
791
791
|
*
|
|
792
792
|
* @type {string}
|
|
793
793
|
* @memberof UnbondingEntry
|
|
794
794
|
*/
|
|
795
|
-
completionTime: string;
|
|
795
|
+
'completionTime': string;
|
|
796
796
|
}
|
|
797
797
|
/**
|
|
798
798
|
* Contains info about a 422 Validation Error response
|
|
@@ -805,7 +805,7 @@ export interface ValidationError {
|
|
|
805
805
|
* @type {{ [key: string]: string; }}
|
|
806
806
|
* @memberof ValidationError
|
|
807
807
|
*/
|
|
808
|
-
details: {
|
|
808
|
+
'details': {
|
|
809
809
|
[key: string]: string;
|
|
810
810
|
};
|
|
811
811
|
/**
|
|
@@ -813,7 +813,7 @@ export interface ValidationError {
|
|
|
813
813
|
* @type {string}
|
|
814
814
|
* @memberof ValidationError
|
|
815
815
|
*/
|
|
816
|
-
message: string;
|
|
816
|
+
'message': string;
|
|
817
817
|
}
|
|
818
818
|
/**
|
|
819
819
|
* Contains info about a validator
|
|
@@ -826,67 +826,67 @@ export interface Validator {
|
|
|
826
826
|
* @type {string}
|
|
827
827
|
* @memberof Validator
|
|
828
828
|
*/
|
|
829
|
-
address: string;
|
|
829
|
+
'address': string;
|
|
830
830
|
/**
|
|
831
831
|
*
|
|
832
832
|
* @type {string}
|
|
833
833
|
* @memberof Validator
|
|
834
834
|
*/
|
|
835
|
-
apr: string;
|
|
835
|
+
'apr': string;
|
|
836
836
|
/**
|
|
837
837
|
*
|
|
838
838
|
* @type {ValidatorCommission}
|
|
839
839
|
* @memberof Validator
|
|
840
840
|
*/
|
|
841
|
-
commission: ValidatorCommission;
|
|
841
|
+
'commission': ValidatorCommission;
|
|
842
842
|
/**
|
|
843
843
|
*
|
|
844
844
|
* @type {string}
|
|
845
845
|
* @memberof Validator
|
|
846
846
|
*/
|
|
847
|
-
description: string;
|
|
847
|
+
'description': string;
|
|
848
848
|
/**
|
|
849
849
|
*
|
|
850
850
|
* @type {boolean}
|
|
851
851
|
* @memberof Validator
|
|
852
852
|
*/
|
|
853
|
-
jailed: boolean;
|
|
853
|
+
'jailed': boolean;
|
|
854
854
|
/**
|
|
855
855
|
*
|
|
856
856
|
* @type {string}
|
|
857
857
|
* @memberof Validator
|
|
858
858
|
*/
|
|
859
|
-
moniker: string;
|
|
859
|
+
'moniker': string;
|
|
860
860
|
/**
|
|
861
861
|
*
|
|
862
862
|
* @type {string}
|
|
863
863
|
* @memberof Validator
|
|
864
864
|
*/
|
|
865
|
-
shares: string;
|
|
865
|
+
'shares': string;
|
|
866
866
|
/**
|
|
867
867
|
*
|
|
868
868
|
* @type {string}
|
|
869
869
|
* @memberof Validator
|
|
870
870
|
*/
|
|
871
|
-
status: string;
|
|
871
|
+
'status': string;
|
|
872
872
|
/**
|
|
873
873
|
*
|
|
874
874
|
* @type {string}
|
|
875
875
|
* @memberof Validator
|
|
876
876
|
*/
|
|
877
|
-
tokens: string;
|
|
877
|
+
'tokens': string;
|
|
878
878
|
/**
|
|
879
879
|
*
|
|
880
880
|
* @type {ValidatorUnbonding}
|
|
881
881
|
* @memberof Validator
|
|
882
882
|
*/
|
|
883
|
-
unbonding: ValidatorUnbonding;
|
|
883
|
+
'unbonding': ValidatorUnbonding;
|
|
884
884
|
/**
|
|
885
885
|
*
|
|
886
886
|
* @type {string}
|
|
887
887
|
* @memberof Validator
|
|
888
888
|
*/
|
|
889
|
-
website: string;
|
|
889
|
+
'website': string;
|
|
890
890
|
}
|
|
891
891
|
/**
|
|
892
892
|
* Contains info about validator commission settings
|
|
@@ -899,19 +899,19 @@ export interface ValidatorCommission {
|
|
|
899
899
|
* @type {string}
|
|
900
900
|
* @memberof ValidatorCommission
|
|
901
901
|
*/
|
|
902
|
-
maxChangeRate: string;
|
|
902
|
+
'maxChangeRate': string;
|
|
903
903
|
/**
|
|
904
904
|
*
|
|
905
905
|
* @type {string}
|
|
906
906
|
* @memberof ValidatorCommission
|
|
907
907
|
*/
|
|
908
|
-
maxRate: string;
|
|
908
|
+
'maxRate': string;
|
|
909
909
|
/**
|
|
910
910
|
*
|
|
911
911
|
* @type {string}
|
|
912
912
|
* @memberof ValidatorCommission
|
|
913
913
|
*/
|
|
914
|
-
rate: string;
|
|
914
|
+
'rate': string;
|
|
915
915
|
}
|
|
916
916
|
/**
|
|
917
917
|
* Contains info about validator unbonding settings
|
|
@@ -924,13 +924,13 @@ export interface ValidatorUnbonding {
|
|
|
924
924
|
* @type {number}
|
|
925
925
|
* @memberof ValidatorUnbonding
|
|
926
926
|
*/
|
|
927
|
-
height: number;
|
|
927
|
+
'height': number;
|
|
928
928
|
/**
|
|
929
929
|
*
|
|
930
930
|
* @type {number}
|
|
931
931
|
* @memberof ValidatorUnbonding
|
|
932
932
|
*/
|
|
933
|
-
timestamp: number;
|
|
933
|
+
'timestamp': number;
|
|
934
934
|
}
|
|
935
935
|
/**
|
|
936
936
|
* Contains a list of validators
|
|
@@ -943,7 +943,7 @@ export interface Validators {
|
|
|
943
943
|
* @type {Array<Validator>}
|
|
944
944
|
* @memberof Validators
|
|
945
945
|
*/
|
|
946
|
-
validators: Array<Validator>;
|
|
946
|
+
'validators': Array<Validator>;
|
|
947
947
|
}
|
|
948
948
|
/**
|
|
949
949
|
* Contains info about an asset value
|
|
@@ -956,13 +956,13 @@ export interface Value {
|
|
|
956
956
|
* @type {string}
|
|
957
957
|
* @memberof Value
|
|
958
958
|
*/
|
|
959
|
-
amount: string;
|
|
959
|
+
'amount': string;
|
|
960
960
|
/**
|
|
961
961
|
*
|
|
962
962
|
* @type {string}
|
|
963
963
|
* @memberof Value
|
|
964
964
|
*/
|
|
965
|
-
denom: string;
|
|
965
|
+
'denom': string;
|
|
966
966
|
}
|
|
967
967
|
/**
|
|
968
968
|
* V1Api - axios parameter creator
|
|
@@ -975,7 +975,7 @@ export declare const V1ApiAxiosParamCreator: (configuration?: Configuration | un
|
|
|
975
975
|
* @param {*} [options] Override http request option.
|
|
976
976
|
* @throws {RequiredError}
|
|
977
977
|
*/
|
|
978
|
-
estimateGas: (body?: InlineObject | undefined, options?:
|
|
978
|
+
estimateGas: (body?: InlineObject | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
979
979
|
/**
|
|
980
980
|
*
|
|
981
981
|
* @summary Get account details.
|
|
@@ -983,14 +983,14 @@ export declare const V1ApiAxiosParamCreator: (configuration?: Configuration | un
|
|
|
983
983
|
* @param {*} [options] Override http request option.
|
|
984
984
|
* @throws {RequiredError}
|
|
985
985
|
*/
|
|
986
|
-
getAccount: (pubkey: string, options?:
|
|
986
|
+
getAccount: (pubkey: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
987
987
|
/**
|
|
988
988
|
*
|
|
989
989
|
* @summary Get information about the running coinstack.
|
|
990
990
|
* @param {*} [options] Override http request option.
|
|
991
991
|
* @throws {RequiredError}
|
|
992
992
|
*/
|
|
993
|
-
getInfo: (options?:
|
|
993
|
+
getInfo: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
994
994
|
/**
|
|
995
995
|
*
|
|
996
996
|
* @summary Get paginated transaction history.
|
|
@@ -1000,20 +1000,20 @@ export declare const V1ApiAxiosParamCreator: (configuration?: Configuration | un
|
|
|
1000
1000
|
* @param {*} [options] Override http request option.
|
|
1001
1001
|
* @throws {RequiredError}
|
|
1002
1002
|
*/
|
|
1003
|
-
getTxHistory: (pubkey: string, cursor?: string | undefined, pageSize?: number | undefined, options?:
|
|
1003
|
+
getTxHistory: (pubkey: string, cursor?: string | undefined, pageSize?: number | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
1004
1004
|
/**
|
|
1005
1005
|
* Get a specific validator
|
|
1006
1006
|
* @param {string} pubkey Account address or xpub
|
|
1007
1007
|
* @param {*} [options] Override http request option.
|
|
1008
1008
|
* @throws {RequiredError}
|
|
1009
1009
|
*/
|
|
1010
|
-
getValidator: (pubkey: string, options?:
|
|
1010
|
+
getValidator: (pubkey: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
1011
1011
|
/**
|
|
1012
1012
|
* Get the list of current validators
|
|
1013
1013
|
* @param {*} [options] Override http request option.
|
|
1014
1014
|
* @throws {RequiredError}
|
|
1015
1015
|
*/
|
|
1016
|
-
getValidators: (options?:
|
|
1016
|
+
getValidators: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
1017
1017
|
/**
|
|
1018
1018
|
*
|
|
1019
1019
|
* @summary Sends raw transaction to be broadcast to the node.
|
|
@@ -1021,7 +1021,7 @@ export declare const V1ApiAxiosParamCreator: (configuration?: Configuration | un
|
|
|
1021
1021
|
* @param {*} [options] Override http request option.
|
|
1022
1022
|
* @throws {RequiredError}
|
|
1023
1023
|
*/
|
|
1024
|
-
sendTx: (body?: InlineObject1 | undefined, options?:
|
|
1024
|
+
sendTx: (body?: InlineObject1 | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
1025
1025
|
};
|
|
1026
1026
|
/**
|
|
1027
1027
|
* V1Api - functional programming interface
|
|
@@ -1034,7 +1034,7 @@ export declare const V1ApiFp: (configuration?: Configuration | undefined) => {
|
|
|
1034
1034
|
* @param {*} [options] Override http request option.
|
|
1035
1035
|
* @throws {RequiredError}
|
|
1036
1036
|
*/
|
|
1037
|
-
estimateGas(body?: InlineObject | undefined, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<string>>;
|
|
1037
|
+
estimateGas(body?: InlineObject | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<string>>;
|
|
1038
1038
|
/**
|
|
1039
1039
|
*
|
|
1040
1040
|
* @summary Get account details.
|
|
@@ -1042,14 +1042,14 @@ export declare const V1ApiFp: (configuration?: Configuration | undefined) => {
|
|
|
1042
1042
|
* @param {*} [options] Override http request option.
|
|
1043
1043
|
* @throws {RequiredError}
|
|
1044
1044
|
*/
|
|
1045
|
-
getAccount(pubkey: string, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Account>>;
|
|
1045
|
+
getAccount(pubkey: string, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Account>>;
|
|
1046
1046
|
/**
|
|
1047
1047
|
*
|
|
1048
1048
|
* @summary Get information about the running coinstack.
|
|
1049
1049
|
* @param {*} [options] Override http request option.
|
|
1050
1050
|
* @throws {RequiredError}
|
|
1051
1051
|
*/
|
|
1052
|
-
getInfo(options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Info>>;
|
|
1052
|
+
getInfo(options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Info>>;
|
|
1053
1053
|
/**
|
|
1054
1054
|
*
|
|
1055
1055
|
* @summary Get paginated transaction history.
|
|
@@ -1059,20 +1059,20 @@ export declare const V1ApiFp: (configuration?: Configuration | undefined) => {
|
|
|
1059
1059
|
* @param {*} [options] Override http request option.
|
|
1060
1060
|
* @throws {RequiredError}
|
|
1061
1061
|
*/
|
|
1062
|
-
getTxHistory(pubkey: string, cursor?: string | undefined, pageSize?: number | undefined, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<TxHistory>>;
|
|
1062
|
+
getTxHistory(pubkey: string, cursor?: string | undefined, pageSize?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<TxHistory>>;
|
|
1063
1063
|
/**
|
|
1064
1064
|
* Get a specific validator
|
|
1065
1065
|
* @param {string} pubkey Account address or xpub
|
|
1066
1066
|
* @param {*} [options] Override http request option.
|
|
1067
1067
|
* @throws {RequiredError}
|
|
1068
1068
|
*/
|
|
1069
|
-
getValidator(pubkey: string, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Validator>>;
|
|
1069
|
+
getValidator(pubkey: string, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Validator>>;
|
|
1070
1070
|
/**
|
|
1071
1071
|
* Get the list of current validators
|
|
1072
1072
|
* @param {*} [options] Override http request option.
|
|
1073
1073
|
* @throws {RequiredError}
|
|
1074
1074
|
*/
|
|
1075
|
-
getValidators(options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Validators>>;
|
|
1075
|
+
getValidators(options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Validators>>;
|
|
1076
1076
|
/**
|
|
1077
1077
|
*
|
|
1078
1078
|
* @summary Sends raw transaction to be broadcast to the node.
|
|
@@ -1080,7 +1080,7 @@ export declare const V1ApiFp: (configuration?: Configuration | undefined) => {
|
|
|
1080
1080
|
* @param {*} [options] Override http request option.
|
|
1081
1081
|
* @throws {RequiredError}
|
|
1082
1082
|
*/
|
|
1083
|
-
sendTx(body?: InlineObject1 | undefined, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<string>>;
|
|
1083
|
+
sendTx(body?: InlineObject1 | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<string>>;
|
|
1084
1084
|
};
|
|
1085
1085
|
/**
|
|
1086
1086
|
* V1Api - factory interface
|
|
@@ -1232,7 +1232,7 @@ export declare class V1Api extends BaseAPI {
|
|
|
1232
1232
|
* @throws {RequiredError}
|
|
1233
1233
|
* @memberof V1Api
|
|
1234
1234
|
*/
|
|
1235
|
-
estimateGas(requestParameters?: V1ApiEstimateGasRequest, options?:
|
|
1235
|
+
estimateGas(requestParameters?: V1ApiEstimateGasRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
|
|
1236
1236
|
/**
|
|
1237
1237
|
*
|
|
1238
1238
|
* @summary Get account details.
|
|
@@ -1241,7 +1241,7 @@ export declare class V1Api extends BaseAPI {
|
|
|
1241
1241
|
* @throws {RequiredError}
|
|
1242
1242
|
* @memberof V1Api
|
|
1243
1243
|
*/
|
|
1244
|
-
getAccount(requestParameters: V1ApiGetAccountRequest, options?:
|
|
1244
|
+
getAccount(requestParameters: V1ApiGetAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Account, any>>;
|
|
1245
1245
|
/**
|
|
1246
1246
|
*
|
|
1247
1247
|
* @summary Get information about the running coinstack.
|
|
@@ -1249,7 +1249,7 @@ export declare class V1Api extends BaseAPI {
|
|
|
1249
1249
|
* @throws {RequiredError}
|
|
1250
1250
|
* @memberof V1Api
|
|
1251
1251
|
*/
|
|
1252
|
-
getInfo(options?:
|
|
1252
|
+
getInfo(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Info, any>>;
|
|
1253
1253
|
/**
|
|
1254
1254
|
*
|
|
1255
1255
|
* @summary Get paginated transaction history.
|
|
@@ -1258,7 +1258,7 @@ export declare class V1Api extends BaseAPI {
|
|
|
1258
1258
|
* @throws {RequiredError}
|
|
1259
1259
|
* @memberof V1Api
|
|
1260
1260
|
*/
|
|
1261
|
-
getTxHistory(requestParameters: V1ApiGetTxHistoryRequest, options?:
|
|
1261
|
+
getTxHistory(requestParameters: V1ApiGetTxHistoryRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TxHistory, any>>;
|
|
1262
1262
|
/**
|
|
1263
1263
|
* Get a specific validator
|
|
1264
1264
|
* @param {V1ApiGetValidatorRequest} requestParameters Request parameters.
|
|
@@ -1266,14 +1266,14 @@ export declare class V1Api extends BaseAPI {
|
|
|
1266
1266
|
* @throws {RequiredError}
|
|
1267
1267
|
* @memberof V1Api
|
|
1268
1268
|
*/
|
|
1269
|
-
getValidator(requestParameters: V1ApiGetValidatorRequest, options?:
|
|
1269
|
+
getValidator(requestParameters: V1ApiGetValidatorRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Validator, any>>;
|
|
1270
1270
|
/**
|
|
1271
1271
|
* Get the list of current validators
|
|
1272
1272
|
* @param {*} [options] Override http request option.
|
|
1273
1273
|
* @throws {RequiredError}
|
|
1274
1274
|
* @memberof V1Api
|
|
1275
1275
|
*/
|
|
1276
|
-
getValidators(options?:
|
|
1276
|
+
getValidators(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Validators, any>>;
|
|
1277
1277
|
/**
|
|
1278
1278
|
*
|
|
1279
1279
|
* @summary Sends raw transaction to be broadcast to the node.
|
|
@@ -1282,7 +1282,7 @@ export declare class V1Api extends BaseAPI {
|
|
|
1282
1282
|
* @throws {RequiredError}
|
|
1283
1283
|
* @memberof V1Api
|
|
1284
1284
|
*/
|
|
1285
|
-
sendTx(requestParameters?: V1ApiSendTxRequest, options?:
|
|
1285
|
+
sendTx(requestParameters?: V1ApiSendTxRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
|
|
1286
1286
|
}
|
|
1287
1287
|
/**
|
|
1288
1288
|
* WebsocketApi - axios parameter creator
|
|
@@ -1295,7 +1295,7 @@ export declare const WebsocketApiAxiosParamCreator: (configuration?: Configurati
|
|
|
1295
1295
|
* @param {*} [options] Override http request option.
|
|
1296
1296
|
* @throws {RequiredError}
|
|
1297
1297
|
*/
|
|
1298
|
-
websocket: (options?:
|
|
1298
|
+
websocket: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
1299
1299
|
};
|
|
1300
1300
|
/**
|
|
1301
1301
|
* WebsocketApi - functional programming interface
|
|
@@ -1308,7 +1308,7 @@ export declare const WebsocketApiFp: (configuration?: Configuration | undefined)
|
|
|
1308
1308
|
* @param {*} [options] Override http request option.
|
|
1309
1309
|
* @throws {RequiredError}
|
|
1310
1310
|
*/
|
|
1311
|
-
websocket(options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<void>>;
|
|
1311
|
+
websocket(options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<void>>;
|
|
1312
1312
|
};
|
|
1313
1313
|
/**
|
|
1314
1314
|
* WebsocketApi - factory interface
|
|
@@ -1337,6 +1337,5 @@ export declare class WebsocketApi extends BaseAPI {
|
|
|
1337
1337
|
* @throws {RequiredError}
|
|
1338
1338
|
* @memberof WebsocketApi
|
|
1339
1339
|
*/
|
|
1340
|
-
websocket(options?:
|
|
1340
|
+
websocket(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1341
1341
|
}
|
|
1342
|
-
//# sourceMappingURL=api.d.ts.map
|