@ocap/client 1.28.8 → 1.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -1
- package/dist/browser.d.ts +455 -595
- package/dist/bundle.js +1 -1
- package/dist/bundle.js.LICENSE.txt +55 -0
- package/dist/report.html +2 -2
- package/dist/schema/graphql.json +5 -20
- package/dist/types.js +200 -201
- package/dist/types.js.map +1 -1
- package/lib/node.d.ts +455 -595
- package/lib/schema/graphql.json +5 -20
- package/lib/types.js +200 -201
- package/lib/types.js.map +1 -1
- package/package.json +21 -22
package/lib/node.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { WalletObject } from
|
|
1
|
+
import { WalletObject } from '@ocap/wallet';
|
|
2
2
|
|
|
3
3
|
type PartialDeep<T> = {
|
|
4
|
-
[K in keyof T]?: T[K] extends object ? PartialDeep<T[K]> : T[K]
|
|
5
|
-
}
|
|
4
|
+
[K in keyof T]?: T[K] extends object ? PartialDeep<T[K]> : T[K]
|
|
5
|
+
}
|
|
6
6
|
|
|
7
7
|
export as namespace GraphQLClient;
|
|
8
8
|
|
|
@@ -36,25 +36,110 @@ declare class GraphQLClient {
|
|
|
36
36
|
fromUnitToToken(value: string): Promise<string>;
|
|
37
37
|
fromTokenToUnit(amount: number): Promise<BN>;
|
|
38
38
|
getTxSendMethods(): Array<string>;
|
|
39
|
-
|
|
39
|
+
getTxEncodeMethods(): Array<string>;
|
|
40
40
|
getTxSignMethods(): Array<string>;
|
|
41
41
|
getTxMultiSignMethods(): Array<string>;
|
|
42
42
|
getType(x: string): Object;
|
|
43
|
-
decodeTx(input: string |
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
43
|
+
decodeTx(input: string | Buffer): object;
|
|
44
|
+
|
|
45
|
+
// Account methods
|
|
46
|
+
migrateAccount(params: {
|
|
47
|
+
from: WalletObject;
|
|
48
|
+
to: WalletObject;
|
|
49
|
+
}, extra?: any): Promise<string>;
|
|
50
|
+
|
|
51
|
+
delegate(params: {
|
|
52
|
+
from: WalletObject;
|
|
53
|
+
to: WalletObject;
|
|
54
|
+
privileges: Array<{ typeUrl: string; limit?: { tokens?: string[]; assets?: string[] } }> | { typeUrl: string; limit?: { tokens?: string[]; assets?: string[] } };
|
|
55
|
+
}, extra?: any): Promise<[string, string]>;
|
|
56
|
+
|
|
57
|
+
revokeDelegate(params: {
|
|
58
|
+
from: WalletObject;
|
|
59
|
+
to: WalletObject;
|
|
60
|
+
privileges: Array<string | { toString(): string }>;
|
|
61
|
+
}, extra?: any): Promise<string>;
|
|
62
|
+
|
|
63
|
+
// Asset methods
|
|
64
|
+
createAsset(params: {
|
|
65
|
+
moniker: string;
|
|
66
|
+
parent?: string;
|
|
67
|
+
ttl?: number;
|
|
68
|
+
data?: any;
|
|
69
|
+
readonly?: boolean;
|
|
70
|
+
transferrable?: boolean;
|
|
71
|
+
display?: any;
|
|
72
|
+
endpoint?: any;
|
|
73
|
+
tags?: string[];
|
|
74
|
+
delegator?: string;
|
|
75
|
+
wallet: WalletObject;
|
|
76
|
+
}, extra?: any): Promise<[string, string]>;
|
|
77
|
+
|
|
78
|
+
updateAsset(params: {
|
|
79
|
+
address: string;
|
|
80
|
+
moniker?: string;
|
|
81
|
+
data?: any;
|
|
82
|
+
wallet: WalletObject;
|
|
83
|
+
}, extra?: any): Promise<string>;
|
|
84
|
+
|
|
85
|
+
createAssetFactory(params: {
|
|
86
|
+
factory: {
|
|
87
|
+
name: string;
|
|
88
|
+
description?: string;
|
|
89
|
+
settlement?: string;
|
|
90
|
+
limit?: number;
|
|
91
|
+
trustedIssuers?: string[];
|
|
92
|
+
input?: any;
|
|
93
|
+
output?: any;
|
|
94
|
+
data?: any;
|
|
95
|
+
hooks?: any[];
|
|
96
|
+
display?: any;
|
|
97
|
+
};
|
|
98
|
+
wallet: WalletObject;
|
|
99
|
+
}, extra?: any): Promise<[string, string]>;
|
|
100
|
+
|
|
101
|
+
acquireAsset(params: {
|
|
102
|
+
itx: any;
|
|
103
|
+
delegator?: string;
|
|
104
|
+
wallet: WalletObject;
|
|
105
|
+
}, extra?: any): Promise<string>;
|
|
106
|
+
|
|
107
|
+
// Transfer methods
|
|
108
|
+
transfer(params: {
|
|
109
|
+
token?: number;
|
|
110
|
+
assets?: string[];
|
|
111
|
+
tokens?: Array<{ address: string; value: number }>;
|
|
112
|
+
to: string;
|
|
113
|
+
memo?: string;
|
|
114
|
+
delegator?: string;
|
|
115
|
+
wallet: WalletObject;
|
|
116
|
+
}, extra?: any): Promise<string>;
|
|
117
|
+
|
|
118
|
+
// Exchange methods
|
|
119
|
+
prepareExchange(params: {
|
|
120
|
+
offerToken?: number;
|
|
121
|
+
offerAssets?: string[];
|
|
122
|
+
demandToken?: number;
|
|
123
|
+
demandAssets?: string[];
|
|
124
|
+
offerTokens?: Array<{ address: string; value: number }>;
|
|
125
|
+
demandTokens?: Array<{ address: string; value: number }>;
|
|
126
|
+
receiver?: string;
|
|
127
|
+
memo?: string;
|
|
128
|
+
delegator?: string;
|
|
129
|
+
wallet: WalletObject;
|
|
130
|
+
}, extra?: any): Promise<GraphQLClient.Transaction>;
|
|
131
|
+
|
|
132
|
+
finalizeExchange(params: {
|
|
133
|
+
tx: GraphQLClient.Transaction;
|
|
134
|
+
delegator?: string;
|
|
135
|
+
data?: any;
|
|
136
|
+
wallet: WalletObject;
|
|
137
|
+
}, extra?: any): Promise<GraphQLClient.Transaction>;
|
|
138
|
+
|
|
139
|
+
exchange(params: {
|
|
140
|
+
tx: GraphQLClient.Transaction;
|
|
141
|
+
wallet: WalletObject;
|
|
142
|
+
}, extra?: any): Promise<string>;
|
|
58
143
|
|
|
59
144
|
generateQueryFns(): void;
|
|
60
145
|
generateSubscriptionFns(): void;
|
|
@@ -63,582 +148,354 @@ declare class GraphQLClient {
|
|
|
63
148
|
setGasPayer(wallet: WalletObject): void;
|
|
64
149
|
pickGasPayerHeaders(req: any): any;
|
|
65
150
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
): Promise<string>;
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
): Promise<string>;
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
extra?:
|
|
173
|
-
): Promise<
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
): Promise<string>;
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
): Promise<
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
): Promise<
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
): Promise<
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
): Promise<
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
): Promise<
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
): Promise<
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
): Promise<
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
): Promise<
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
): Promise<
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
): Promise<
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
): Promise<
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
): Promise<GraphQLClient.EncodeTxResult>;
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
): Promise<GraphQLClient.EncodeTxResult>;
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
): Promise<GraphQLClient.EncodeTxResult>;
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
): Promise<GraphQLClient.EncodeTxResult>;
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
): Promise<GraphQLClient.EncodeTxResult>;
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
): Promise<GraphQLClient.EncodeTxResult>;
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
): Promise<GraphQLClient.EncodeTxResult>;
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
): Promise<GraphQLClient.EncodeTxResult>;
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
): Promise<GraphQLClient.EncodeTxResult>;
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
): Promise<GraphQLClient.EncodeTxResult>;
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
): Promise<GraphQLClient.EncodeTxResult>;
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
): Promise<GraphQLClient.EncodeTxResult>;
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
): Promise<GraphQLClient.EncodeTxResult>;
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
): Promise<GraphQLClient.
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
): Promise<GraphQLClient.
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
): Promise<GraphQLClient.
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
): Promise<GraphQLClient.
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
): Promise<GraphQLClient.
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
): Promise<GraphQLClient.
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
): Promise<GraphQLClient.
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
): Promise<GraphQLClient.
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
): Promise<GraphQLClient.
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
): Promise<GraphQLClient.
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
): Promise<GraphQLClient.
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
): Promise<GraphQLClient.Transaction>;
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
): Promise<GraphQLClient.Transaction>;
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
): Promise<GraphQLClient.Transaction>;
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
): Promise<GraphQLClient.Transaction>;
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
): Promise<GraphQLClient.Transaction>;
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
): Promise<GraphQLClient.Transaction>;
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
): Promise<GraphQLClient.Transaction>;
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
): Promise<GraphQLClient.
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
): Promise<GraphQLClient.
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
): Promise<GraphQLClient.
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
): Promise<GraphQLClient.
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
): Promise<GraphQLClient.
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
): Promise<GraphQLClient.
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
): Promise<GraphQLClient.
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
): Promise<GraphQLClient.
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
): Promise<GraphQLClient.
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
): Promise<GraphQLClient.
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
): Promise<GraphQLClient.
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
): Promise<GraphQLClient.
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
signMigrateRollupTx(
|
|
409
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MigrateRollupTx>>,
|
|
410
|
-
): Promise<GraphQLClient.Transaction>;
|
|
411
|
-
signMintAssetTx(
|
|
412
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MintAssetTx>>,
|
|
413
|
-
): Promise<GraphQLClient.Transaction>;
|
|
414
|
-
signMintTokenTx(
|
|
415
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MintTokenTx>>,
|
|
416
|
-
): Promise<GraphQLClient.Transaction>;
|
|
417
|
-
signPauseRollupTx(
|
|
418
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.PauseRollupTx>>,
|
|
419
|
-
): Promise<GraphQLClient.Transaction>;
|
|
420
|
-
signResumeRollupTx(
|
|
421
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ResumeRollupTx>>,
|
|
422
|
-
): Promise<GraphQLClient.Transaction>;
|
|
423
|
-
signReturnStakeTx(
|
|
424
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ReturnStakeTx>>,
|
|
425
|
-
): Promise<GraphQLClient.Transaction>;
|
|
426
|
-
signRevokeDelegateTx(
|
|
427
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.RevokeDelegateTx>>,
|
|
428
|
-
): Promise<GraphQLClient.Transaction>;
|
|
429
|
-
signRevokeStakeTx(
|
|
430
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.RevokeStakeTx>>,
|
|
431
|
-
): Promise<GraphQLClient.Transaction>;
|
|
432
|
-
signSlashStakeTx(
|
|
433
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.SlashStakeTx>>,
|
|
434
|
-
): Promise<GraphQLClient.Transaction>;
|
|
435
|
-
signStakeTx(
|
|
436
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.StakeTx>>,
|
|
437
|
-
): Promise<GraphQLClient.Transaction>;
|
|
438
|
-
signTransferTx(
|
|
439
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferTx>>,
|
|
440
|
-
): Promise<GraphQLClient.Transaction>;
|
|
441
|
-
signTransferV2Tx(
|
|
442
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV2Tx>>,
|
|
443
|
-
): Promise<GraphQLClient.Transaction>;
|
|
444
|
-
signTransferV3Tx(
|
|
445
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV3Tx>>,
|
|
446
|
-
): Promise<GraphQLClient.Transaction>;
|
|
447
|
-
signUpdateAssetTx(
|
|
448
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateAssetTx>>,
|
|
449
|
-
): Promise<GraphQLClient.Transaction>;
|
|
450
|
-
signUpdateRollupTx(
|
|
451
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateRollupTx>>,
|
|
452
|
-
): Promise<GraphQLClient.Transaction>;
|
|
453
|
-
signUpdateTokenFactoryTx(
|
|
454
|
-
param: GraphQLClient.TxParam<
|
|
455
|
-
PartialDeep<GraphQLClient.UpdateTokenFactoryTx>
|
|
456
|
-
>,
|
|
457
|
-
): Promise<GraphQLClient.Transaction>;
|
|
458
|
-
signUpgradeNodeTx(
|
|
459
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpgradeNodeTx>>,
|
|
460
|
-
): Promise<GraphQLClient.Transaction>;
|
|
461
|
-
signWithdrawTokenV2Tx(
|
|
462
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.WithdrawTokenV2Tx>>,
|
|
463
|
-
): Promise<GraphQLClient.Transaction>;
|
|
464
|
-
multiSignExchangeV2Tx(
|
|
465
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeV2Tx>>,
|
|
466
|
-
): Promise<GraphQLClient.Transaction>;
|
|
467
|
-
multiSignTransferV3Tx(
|
|
468
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV3Tx>>,
|
|
469
|
-
): Promise<GraphQLClient.Transaction>;
|
|
470
|
-
multiSignAcquireAssetV3Tx(
|
|
471
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AcquireAssetV3Tx>>,
|
|
472
|
-
): Promise<GraphQLClient.Transaction>;
|
|
473
|
-
multiSignStakeTx(
|
|
474
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.StakeTx>>,
|
|
475
|
-
): Promise<GraphQLClient.Transaction>;
|
|
476
|
-
multiSignUpdateRollupTx(
|
|
477
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateRollupTx>>,
|
|
478
|
-
): Promise<GraphQLClient.Transaction>;
|
|
479
|
-
multiSignJoinRollupTx(
|
|
480
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.JoinRollupTx>>,
|
|
481
|
-
): Promise<GraphQLClient.Transaction>;
|
|
482
|
-
multiSignLeaveRollupTx(
|
|
483
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.LeaveRollupTx>>,
|
|
484
|
-
): Promise<GraphQLClient.Transaction>;
|
|
485
|
-
multiSignPauseRollupTx(
|
|
486
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.PauseRollupTx>>,
|
|
487
|
-
): Promise<GraphQLClient.Transaction>;
|
|
488
|
-
multiSignCloseRollupTx(
|
|
489
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CloseRollupTx>>,
|
|
490
|
-
): Promise<GraphQLClient.Transaction>;
|
|
491
|
-
multiSignMigrateRollupTx(
|
|
492
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MigrateRollupTx>>,
|
|
493
|
-
): Promise<GraphQLClient.Transaction>;
|
|
494
|
-
multiSignResumeRollupTx(
|
|
495
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ResumeRollupTx>>,
|
|
496
|
-
): Promise<GraphQLClient.Transaction>;
|
|
497
|
-
multiSignDepositTokenV2Tx(
|
|
498
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DepositTokenV2Tx>>,
|
|
499
|
-
): Promise<GraphQLClient.Transaction>;
|
|
500
|
-
multiSignWithdrawTokenV2Tx(
|
|
501
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.WithdrawTokenV2Tx>>,
|
|
502
|
-
): Promise<GraphQLClient.Transaction>;
|
|
503
|
-
multiSignCreateRollupBlockTx(
|
|
504
|
-
param: GraphQLClient.TxParam<
|
|
505
|
-
PartialDeep<GraphQLClient.CreateRollupBlockTx>
|
|
506
|
-
>,
|
|
507
|
-
): Promise<GraphQLClient.Transaction>;
|
|
508
|
-
multiSignClaimBlockRewardTx(
|
|
509
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimBlockRewardTx>>,
|
|
510
|
-
): Promise<GraphQLClient.Transaction>;
|
|
511
|
-
multiSignCreateAssetTx(
|
|
512
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateAssetTx>>,
|
|
513
|
-
): Promise<GraphQLClient.Transaction>;
|
|
514
|
-
multiSignConsumeAssetTx(
|
|
515
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ConsumeAssetTx>>,
|
|
516
|
-
): Promise<GraphQLClient.Transaction>;
|
|
517
|
-
multiSignMintTokenTx(
|
|
518
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MintTokenTx>>,
|
|
519
|
-
): Promise<GraphQLClient.Transaction>;
|
|
520
|
-
multiSignBurnTokenTx(
|
|
521
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.BurnTokenTx>>,
|
|
522
|
-
): Promise<GraphQLClient.Transaction>;
|
|
523
|
-
getAccountState(
|
|
524
|
-
params: PartialDeep<GraphQLClient.GetAccountStateParams>,
|
|
525
|
-
): Promise<GraphQLClient.ResponseGetAccountState>;
|
|
526
|
-
getAssetState(
|
|
527
|
-
params: PartialDeep<GraphQLClient.GetAssetStateParams>,
|
|
528
|
-
): Promise<GraphQLClient.ResponseGetAssetState>;
|
|
529
|
-
getFactoryState(
|
|
530
|
-
params: PartialDeep<GraphQLClient.GetFactoryStateParams>,
|
|
531
|
-
): Promise<GraphQLClient.ResponseGetFactoryState>;
|
|
532
|
-
getDelegateState(
|
|
533
|
-
params: PartialDeep<GraphQLClient.GetDelegateStateParams>,
|
|
534
|
-
): Promise<GraphQLClient.ResponseGetDelegateState>;
|
|
535
|
-
getTokenState(
|
|
536
|
-
params: PartialDeep<GraphQLClient.GetTokenStateParams>,
|
|
537
|
-
): Promise<GraphQLClient.ResponseGetTokenState>;
|
|
538
|
-
getEvidenceState(
|
|
539
|
-
params: PartialDeep<GraphQLClient.GetEvidenceStateParams>,
|
|
540
|
-
): Promise<GraphQLClient.ResponseGetEvidenceState>;
|
|
541
|
-
getForgeState(
|
|
542
|
-
params: PartialDeep<GraphQLClient.GetForgeStateParams>,
|
|
543
|
-
): Promise<GraphQLClient.ResponseGetForgeState>;
|
|
544
|
-
getTokenFactoryState(
|
|
545
|
-
params: PartialDeep<GraphQLClient.GetTokenFactoryStateParams>,
|
|
546
|
-
): Promise<GraphQLClient.ResponseGetTokenFactoryState>;
|
|
547
|
-
getTx(
|
|
548
|
-
params: PartialDeep<GraphQLClient.GetTxParams>,
|
|
549
|
-
): Promise<GraphQLClient.ResponseGetTx>;
|
|
550
|
-
getBlock(
|
|
551
|
-
params: PartialDeep<GraphQLClient.GetBlockParams>,
|
|
552
|
-
): Promise<GraphQLClient.ResponseGetBlock>;
|
|
553
|
-
getBlocks(
|
|
554
|
-
params: PartialDeep<GraphQLClient.GetBlocksParams>,
|
|
555
|
-
): Promise<GraphQLClient.ResponseGetBlocks>;
|
|
556
|
-
getUnconfirmedTxs(
|
|
557
|
-
params: PartialDeep<GraphQLClient.GetUnconfirmedTxsParams>,
|
|
558
|
-
): Promise<GraphQLClient.ResponseGetUnconfirmedTxs>;
|
|
559
|
-
getChainInfo(): Promise<GraphQLClient.ResponseGetChainInfo>;
|
|
560
|
-
getConfig(
|
|
561
|
-
params: PartialDeep<GraphQLClient.GetConfigParams>,
|
|
562
|
-
): Promise<GraphQLClient.ResponseGetConfig>;
|
|
563
|
-
getNetInfo(): Promise<GraphQLClient.ResponseGetNetInfo>;
|
|
564
|
-
getNodeInfo(): Promise<GraphQLClient.ResponseGetNodeInfo>;
|
|
565
|
-
getValidatorsInfo(): Promise<GraphQLClient.ResponseGetValidatorsInfo>;
|
|
566
|
-
getForgeStats(): Promise<GraphQLClient.ResponseGetForgeStats>;
|
|
567
|
-
listAssetTransactions(
|
|
568
|
-
params: PartialDeep<GraphQLClient.ListAssetTransactionsParams>,
|
|
569
|
-
): Promise<GraphQLClient.ResponseListAssetTransactions>;
|
|
570
|
-
listAssets(
|
|
571
|
-
params: PartialDeep<GraphQLClient.ListAssetsParams>,
|
|
572
|
-
): Promise<GraphQLClient.ResponseListAssets>;
|
|
573
|
-
listBlocks(
|
|
574
|
-
params: PartialDeep<GraphQLClient.ListBlocksParams>,
|
|
575
|
-
): Promise<GraphQLClient.ResponseListBlocks>;
|
|
576
|
-
listTopAccounts(
|
|
577
|
-
params: PartialDeep<GraphQLClient.ListTopAccountsParams>,
|
|
578
|
-
): Promise<GraphQLClient.ResponseListTopAccounts>;
|
|
579
|
-
listTransactions(
|
|
580
|
-
params: PartialDeep<GraphQLClient.ListTransactionsParams>,
|
|
581
|
-
): Promise<GraphQLClient.ResponseListTransactions>;
|
|
582
|
-
listTokens(
|
|
583
|
-
params: PartialDeep<GraphQLClient.ListTokensParams>,
|
|
584
|
-
): Promise<GraphQLClient.ResponseListTokens>;
|
|
585
|
-
listFactories(
|
|
586
|
-
params: PartialDeep<GraphQLClient.ListFactoriesParams>,
|
|
587
|
-
): Promise<GraphQLClient.ResponseListFactories>;
|
|
588
|
-
getAccountTokens(
|
|
589
|
-
params: PartialDeep<GraphQLClient.GetAccountTokensParams>,
|
|
590
|
-
): Promise<GraphQLClient.ResponseGetAccountTokens>;
|
|
591
|
-
getStakeState(
|
|
592
|
-
params: PartialDeep<GraphQLClient.GetStakeStateParams>,
|
|
593
|
-
): Promise<GraphQLClient.ResponseGetStakeState>;
|
|
594
|
-
listStakes(
|
|
595
|
-
params: PartialDeep<GraphQLClient.ListStakesParams>,
|
|
596
|
-
): Promise<GraphQLClient.ResponseListStakes>;
|
|
597
|
-
getRollupState(
|
|
598
|
-
params: PartialDeep<GraphQLClient.GetRollupStateParams>,
|
|
599
|
-
): Promise<GraphQLClient.ResponseGetRollupState>;
|
|
600
|
-
listRollups(
|
|
601
|
-
params: PartialDeep<GraphQLClient.ListRollupsParams>,
|
|
602
|
-
): Promise<GraphQLClient.ResponseListRollups>;
|
|
603
|
-
getRollupBlock(
|
|
604
|
-
params: PartialDeep<GraphQLClient.GetRollupBlockParams>,
|
|
605
|
-
): Promise<GraphQLClient.ResponseGetRollupBlock>;
|
|
606
|
-
listRollupBlocks(
|
|
607
|
-
params: PartialDeep<GraphQLClient.ListRollupBlocksParams>,
|
|
608
|
-
): Promise<GraphQLClient.ResponseListRollupBlocks>;
|
|
609
|
-
listRollupValidators(
|
|
610
|
-
params: PartialDeep<GraphQLClient.ListRollupValidatorsParams>,
|
|
611
|
-
): Promise<GraphQLClient.ResponseListRollupValidators>;
|
|
612
|
-
listDelegations(
|
|
613
|
-
params: PartialDeep<GraphQLClient.ListDelegationsParams>,
|
|
614
|
-
): Promise<GraphQLClient.ResponseListDelegations>;
|
|
615
|
-
search(
|
|
616
|
-
params: PartialDeep<GraphQLClient.SearchParams>,
|
|
617
|
-
): Promise<GraphQLClient.ResponseSearch>;
|
|
618
|
-
estimateGas(
|
|
619
|
-
params: PartialDeep<GraphQLClient.EstimateGasParams>,
|
|
620
|
-
): Promise<GraphQLClient.ResponseEstimateGas>;
|
|
621
|
-
listTokenFlows(
|
|
622
|
-
params: PartialDeep<GraphQLClient.ListTokenFlowsParams>,
|
|
623
|
-
): Promise<GraphQLClient.ResponseListTokenFlows>;
|
|
624
|
-
verifyAccountRisk(
|
|
625
|
-
params: PartialDeep<GraphQLClient.VerifyAccountRiskParams>,
|
|
626
|
-
): Promise<GraphQLClient.ResponseVerifyAccountRisk>;
|
|
627
|
-
getTokenDistribution(
|
|
628
|
-
params: PartialDeep<GraphQLClient.GetTokenDistributionParams>,
|
|
629
|
-
): Promise<GraphQLClient.ResponseGetTokenDistribution>;
|
|
630
|
-
listTokenFactories(
|
|
631
|
-
params: PartialDeep<GraphQLClient.ListTokenFactoriesParams>,
|
|
632
|
-
): Promise<GraphQLClient.ResponseListTokenFactories>;
|
|
633
|
-
sendTx(
|
|
634
|
-
params: PartialDeep<GraphQLClient.SendTxParams>,
|
|
635
|
-
): Promise<GraphQLClient.ResponseSendTx>;
|
|
151
|
+
// WebSocket methods from base.js
|
|
152
|
+
subscribe(topic: string, callback: (data: any) => void): any;
|
|
153
|
+
unsubscribe(topic: string, callback?: (data: any) => void): any;
|
|
154
|
+
|
|
155
|
+
// Token factory methods from extension.js
|
|
156
|
+
createTokenFactory(params: {
|
|
157
|
+
feeRate?: number;
|
|
158
|
+
curve?: {
|
|
159
|
+
type?: string;
|
|
160
|
+
slope?: string;
|
|
161
|
+
basePrice?: string;
|
|
162
|
+
fixedPrice?: string;
|
|
163
|
+
};
|
|
164
|
+
token: {
|
|
165
|
+
name: string;
|
|
166
|
+
symbol: string;
|
|
167
|
+
decimal?: number;
|
|
168
|
+
description?: string;
|
|
169
|
+
icon?: string;
|
|
170
|
+
maxTotalSupply?: string;
|
|
171
|
+
};
|
|
172
|
+
data?: any;
|
|
173
|
+
wallet: WalletObject;
|
|
174
|
+
}, extra?: any): Promise<[string, string]>;
|
|
175
|
+
|
|
176
|
+
updateTokenFactory(params: {
|
|
177
|
+
address: string;
|
|
178
|
+
feeRate?: number;
|
|
179
|
+
token?: any;
|
|
180
|
+
data?: any;
|
|
181
|
+
wallet: WalletObject;
|
|
182
|
+
}, extra?: any): Promise<string>;
|
|
183
|
+
|
|
184
|
+
// Token methods
|
|
185
|
+
createToken(params: {
|
|
186
|
+
name: string;
|
|
187
|
+
description?: string;
|
|
188
|
+
symbol: string;
|
|
189
|
+
unit?: string;
|
|
190
|
+
decimal?: number;
|
|
191
|
+
icon?: string;
|
|
192
|
+
totalSupply: number;
|
|
193
|
+
initialSupply?: number;
|
|
194
|
+
maxTotalSupply?: number;
|
|
195
|
+
foreignToken?: any;
|
|
196
|
+
data?: any;
|
|
197
|
+
wallet: WalletObject;
|
|
198
|
+
}, extra?: any): Promise<[string, string]>;
|
|
199
|
+
|
|
200
|
+
mintToken(params: {
|
|
201
|
+
tokenFactory: string;
|
|
202
|
+
amount: number;
|
|
203
|
+
receiver?: string;
|
|
204
|
+
maxReserve?: number;
|
|
205
|
+
data?: any;
|
|
206
|
+
wallet: WalletObject;
|
|
207
|
+
}, extra?: any): Promise<string>;
|
|
208
|
+
|
|
209
|
+
burnToken(params: {
|
|
210
|
+
tokenFactory: string;
|
|
211
|
+
amount: number;
|
|
212
|
+
receiver?: string;
|
|
213
|
+
minReserve?: number;
|
|
214
|
+
data?: any;
|
|
215
|
+
wallet: WalletObject;
|
|
216
|
+
}, extra?: any): Promise<string>;
|
|
217
|
+
|
|
218
|
+
// Staking methods
|
|
219
|
+
stake(params: {
|
|
220
|
+
assets?: string[];
|
|
221
|
+
tokens?: Array<{ address: string; value: number }>;
|
|
222
|
+
slashers?: string[];
|
|
223
|
+
to: string;
|
|
224
|
+
locked?: boolean;
|
|
225
|
+
message?: string;
|
|
226
|
+
nonce?: string;
|
|
227
|
+
wallet: WalletObject;
|
|
228
|
+
}, extra?: any): Promise<[string, string]>;
|
|
229
|
+
|
|
230
|
+
revokeStake(params: {
|
|
231
|
+
assets?: string[];
|
|
232
|
+
tokens?: Array<{ address: string; value: number }>;
|
|
233
|
+
from: string;
|
|
234
|
+
wallet: WalletObject;
|
|
235
|
+
}, extra?: any): Promise<string>;
|
|
236
|
+
|
|
237
|
+
slashStake(params: {
|
|
238
|
+
assets?: string[];
|
|
239
|
+
tokens?: Array<{ address: string; value: number }>;
|
|
240
|
+
reason: string;
|
|
241
|
+
from: string;
|
|
242
|
+
wallet: WalletObject;
|
|
243
|
+
}, extra?: any): Promise<string>;
|
|
244
|
+
|
|
245
|
+
claimStake(params: {
|
|
246
|
+
from: string;
|
|
247
|
+
evidence: string;
|
|
248
|
+
wallet: WalletObject;
|
|
249
|
+
}, extra?: any): Promise<string>;
|
|
250
|
+
|
|
251
|
+
// Asset factory methods
|
|
252
|
+
preMintAsset(params: {
|
|
253
|
+
factory: string;
|
|
254
|
+
inputs?: object;
|
|
255
|
+
owner: string;
|
|
256
|
+
wallet: WalletObject;
|
|
257
|
+
extra?: object;
|
|
258
|
+
}): Promise<{
|
|
259
|
+
asset: { address: string; owner: string; parent: string;[key: string]: any };
|
|
260
|
+
factory: string;
|
|
261
|
+
address: string;
|
|
262
|
+
variables: Array<{ name: string; value: any }>;
|
|
263
|
+
issuer: any;
|
|
264
|
+
owner: string;
|
|
265
|
+
[key: string]: any;
|
|
266
|
+
}>;
|
|
267
|
+
|
|
268
|
+
mintAsset(params: {
|
|
269
|
+
itx: any;
|
|
270
|
+
wallet: WalletObject;
|
|
271
|
+
}, extra?: any): Promise<string>;
|
|
272
|
+
|
|
273
|
+
// Rollup methods
|
|
274
|
+
createRollup(params: {
|
|
275
|
+
tokenAddress: string;
|
|
276
|
+
vaultAddress: string;
|
|
277
|
+
contractAddress: string;
|
|
278
|
+
seedValidators: any[];
|
|
279
|
+
minStakeAmount: string;
|
|
280
|
+
maxStakeAmount?: string;
|
|
281
|
+
minSignerCount?: number;
|
|
282
|
+
maxSignerCount?: number;
|
|
283
|
+
minBlockSize?: number;
|
|
284
|
+
maxBlockSize?: number;
|
|
285
|
+
minBlockInterval?: number;
|
|
286
|
+
minBlockConfirmation?: number;
|
|
287
|
+
minDepositAmount?: string;
|
|
288
|
+
maxDepositAmount?: string;
|
|
289
|
+
minWithdrawAmount?: string;
|
|
290
|
+
maxWithdrawAmount?: string;
|
|
291
|
+
depositFeeRate?: number;
|
|
292
|
+
withdrawFeeRate?: number;
|
|
293
|
+
publisherFeeShare?: number;
|
|
294
|
+
proposerFeeShare?: number;
|
|
295
|
+
minDepositFee?: string;
|
|
296
|
+
maxDepositFee?: string;
|
|
297
|
+
minWithdrawFee?: string;
|
|
298
|
+
maxWithdrawFee?: string;
|
|
299
|
+
leaveWaitingPeriod?: number;
|
|
300
|
+
publishWaitingPeriod?: number;
|
|
301
|
+
publishSlashRate?: number;
|
|
302
|
+
data?: any;
|
|
303
|
+
wallet: WalletObject;
|
|
304
|
+
}, extra?: any): Promise<[string, string]>;
|
|
305
|
+
|
|
306
|
+
// Context methods
|
|
307
|
+
getContext(): Promise<{
|
|
308
|
+
chainId: string;
|
|
309
|
+
consensus: string;
|
|
310
|
+
token: { address: string; decimal: number; symbol: string };
|
|
311
|
+
txConfig: any;
|
|
312
|
+
vaults: any;
|
|
313
|
+
tokenStateMap: Map<string, any>;
|
|
314
|
+
}>;
|
|
315
|
+
|
|
316
|
+
getTokenStateMap(addressList: string[]): Promise<Map<string, { decimal: number }>>;
|
|
317
|
+
|
|
318
|
+
sendAccountMigrateTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AccountMigrateTx>>, extra?: any): Promise<string>;
|
|
319
|
+
sendAcquireAssetV2Tx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AcquireAssetV2Tx>>, extra?: any): Promise<string>;
|
|
320
|
+
sendAcquireAssetV3Tx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AcquireAssetV3Tx>>, extra?: any): Promise<string>;
|
|
321
|
+
sendBurnTokenTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.BurnTokenTx>>, extra?: any): Promise<string>;
|
|
322
|
+
sendClaimBlockRewardTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimBlockRewardTx>>, extra?: any): Promise<string>;
|
|
323
|
+
sendClaimStakeTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimStakeTx>>, extra?: any): Promise<string>;
|
|
324
|
+
sendCloseRollupTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CloseRollupTx>>, extra?: any): Promise<string>;
|
|
325
|
+
sendConsumeAssetTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ConsumeAssetTx>>, extra?: any): Promise<string>;
|
|
326
|
+
sendCreateAssetTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateAssetTx>>, extra?: any): Promise<string>;
|
|
327
|
+
sendCreateFactoryTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateFactoryTx>>, extra?: any): Promise<string>;
|
|
328
|
+
sendCreateRollupBlockTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateRollupBlockTx>>, extra?: any): Promise<string>;
|
|
329
|
+
sendCreateRollupTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateRollupTx>>, extra?: any): Promise<string>;
|
|
330
|
+
sendCreateTokenFactoryTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateTokenFactoryTx>>, extra?: any): Promise<string>;
|
|
331
|
+
sendCreateTokenTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateTokenTx>>, extra?: any): Promise<string>;
|
|
332
|
+
sendDelegateTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DelegateTx>>, extra?: any): Promise<string>;
|
|
333
|
+
sendDepositTokenV2Tx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DepositTokenV2Tx>>, extra?: any): Promise<string>;
|
|
334
|
+
sendExchangeTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeTx>>, extra?: any): Promise<string>;
|
|
335
|
+
sendExchangeV2Tx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeV2Tx>>, extra?: any): Promise<string>;
|
|
336
|
+
sendJoinRollupTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.JoinRollupTx>>, extra?: any): Promise<string>;
|
|
337
|
+
sendLeaveRollupTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.LeaveRollupTx>>, extra?: any): Promise<string>;
|
|
338
|
+
sendMigrateRollupTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MigrateRollupTx>>, extra?: any): Promise<string>;
|
|
339
|
+
sendMintAssetTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MintAssetTx>>, extra?: any): Promise<string>;
|
|
340
|
+
sendMintTokenTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MintTokenTx>>, extra?: any): Promise<string>;
|
|
341
|
+
sendPauseRollupTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.PauseRollupTx>>, extra?: any): Promise<string>;
|
|
342
|
+
sendResumeRollupTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ResumeRollupTx>>, extra?: any): Promise<string>;
|
|
343
|
+
sendReturnStakeTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ReturnStakeTx>>, extra?: any): Promise<string>;
|
|
344
|
+
sendRevokeDelegateTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.RevokeDelegateTx>>, extra?: any): Promise<string>;
|
|
345
|
+
sendRevokeStakeTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.RevokeStakeTx>>, extra?: any): Promise<string>;
|
|
346
|
+
sendSlashStakeTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.SlashStakeTx>>, extra?: any): Promise<string>;
|
|
347
|
+
sendStakeTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.StakeTx>>, extra?: any): Promise<string>;
|
|
348
|
+
sendTransferTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferTx>>, extra?: any): Promise<string>;
|
|
349
|
+
sendTransferV2Tx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV2Tx>>, extra?: any): Promise<string>;
|
|
350
|
+
sendTransferV3Tx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV3Tx>>, extra?: any): Promise<string>;
|
|
351
|
+
sendUpdateAssetTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateAssetTx>>, extra?: any): Promise<string>;
|
|
352
|
+
sendUpdateRollupTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateRollupTx>>, extra?: any): Promise<string>;
|
|
353
|
+
sendUpdateTokenFactoryTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateTokenFactoryTx>>, extra?: any): Promise<string>;
|
|
354
|
+
sendUpgradeNodeTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpgradeNodeTx>>, extra?: any): Promise<string>;
|
|
355
|
+
sendWithdrawTokenV2Tx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.WithdrawTokenV2Tx>>, extra?: any): Promise<string>;
|
|
356
|
+
encodeAccountMigrateTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AccountMigrateTx>>): Promise<GraphQLClient.EncodeTxResult>;
|
|
357
|
+
encodeAcquireAssetV2Tx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AcquireAssetV2Tx>>): Promise<GraphQLClient.EncodeTxResult>;
|
|
358
|
+
encodeAcquireAssetV3Tx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AcquireAssetV3Tx>>): Promise<GraphQLClient.EncodeTxResult>;
|
|
359
|
+
encodeBurnTokenTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.BurnTokenTx>>): Promise<GraphQLClient.EncodeTxResult>;
|
|
360
|
+
encodeClaimBlockRewardTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimBlockRewardTx>>): Promise<GraphQLClient.EncodeTxResult>;
|
|
361
|
+
encodeClaimStakeTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimStakeTx>>): Promise<GraphQLClient.EncodeTxResult>;
|
|
362
|
+
encodeCloseRollupTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CloseRollupTx>>): Promise<GraphQLClient.EncodeTxResult>;
|
|
363
|
+
encodeConsumeAssetTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ConsumeAssetTx>>): Promise<GraphQLClient.EncodeTxResult>;
|
|
364
|
+
encodeCreateAssetTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateAssetTx>>): Promise<GraphQLClient.EncodeTxResult>;
|
|
365
|
+
encodeCreateFactoryTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateFactoryTx>>): Promise<GraphQLClient.EncodeTxResult>;
|
|
366
|
+
encodeCreateRollupBlockTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateRollupBlockTx>>): Promise<GraphQLClient.EncodeTxResult>;
|
|
367
|
+
encodeCreateRollupTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateRollupTx>>): Promise<GraphQLClient.EncodeTxResult>;
|
|
368
|
+
encodeCreateTokenFactoryTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateTokenFactoryTx>>): Promise<GraphQLClient.EncodeTxResult>;
|
|
369
|
+
encodeCreateTokenTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateTokenTx>>): Promise<GraphQLClient.EncodeTxResult>;
|
|
370
|
+
encodeDelegateTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DelegateTx>>): Promise<GraphQLClient.EncodeTxResult>;
|
|
371
|
+
encodeDepositTokenV2Tx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DepositTokenV2Tx>>): Promise<GraphQLClient.EncodeTxResult>;
|
|
372
|
+
encodeExchangeTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeTx>>): Promise<GraphQLClient.EncodeTxResult>;
|
|
373
|
+
encodeExchangeV2Tx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeV2Tx>>): Promise<GraphQLClient.EncodeTxResult>;
|
|
374
|
+
encodeJoinRollupTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.JoinRollupTx>>): Promise<GraphQLClient.EncodeTxResult>;
|
|
375
|
+
encodeLeaveRollupTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.LeaveRollupTx>>): Promise<GraphQLClient.EncodeTxResult>;
|
|
376
|
+
encodeMigrateRollupTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MigrateRollupTx>>): Promise<GraphQLClient.EncodeTxResult>;
|
|
377
|
+
encodeMintAssetTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MintAssetTx>>): Promise<GraphQLClient.EncodeTxResult>;
|
|
378
|
+
encodeMintTokenTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MintTokenTx>>): Promise<GraphQLClient.EncodeTxResult>;
|
|
379
|
+
encodePauseRollupTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.PauseRollupTx>>): Promise<GraphQLClient.EncodeTxResult>;
|
|
380
|
+
encodeResumeRollupTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ResumeRollupTx>>): Promise<GraphQLClient.EncodeTxResult>;
|
|
381
|
+
encodeReturnStakeTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ReturnStakeTx>>): Promise<GraphQLClient.EncodeTxResult>;
|
|
382
|
+
encodeRevokeDelegateTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.RevokeDelegateTx>>): Promise<GraphQLClient.EncodeTxResult>;
|
|
383
|
+
encodeRevokeStakeTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.RevokeStakeTx>>): Promise<GraphQLClient.EncodeTxResult>;
|
|
384
|
+
encodeSlashStakeTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.SlashStakeTx>>): Promise<GraphQLClient.EncodeTxResult>;
|
|
385
|
+
encodeStakeTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.StakeTx>>): Promise<GraphQLClient.EncodeTxResult>;
|
|
386
|
+
encodeTransferTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferTx>>): Promise<GraphQLClient.EncodeTxResult>;
|
|
387
|
+
encodeTransferV2Tx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV2Tx>>): Promise<GraphQLClient.EncodeTxResult>;
|
|
388
|
+
encodeTransferV3Tx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV3Tx>>): Promise<GraphQLClient.EncodeTxResult>;
|
|
389
|
+
encodeUpdateAssetTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateAssetTx>>): Promise<GraphQLClient.EncodeTxResult>;
|
|
390
|
+
encodeUpdateRollupTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateRollupTx>>): Promise<GraphQLClient.EncodeTxResult>;
|
|
391
|
+
encodeUpdateTokenFactoryTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateTokenFactoryTx>>): Promise<GraphQLClient.EncodeTxResult>;
|
|
392
|
+
encodeUpgradeNodeTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpgradeNodeTx>>): Promise<GraphQLClient.EncodeTxResult>;
|
|
393
|
+
encodeWithdrawTokenV2Tx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.WithdrawTokenV2Tx>>): Promise<GraphQLClient.EncodeTxResult>;
|
|
394
|
+
signAccountMigrateTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AccountMigrateTx>>): Promise<GraphQLClient.Transaction>;
|
|
395
|
+
signAcquireAssetV2Tx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AcquireAssetV2Tx>>): Promise<GraphQLClient.Transaction>;
|
|
396
|
+
signAcquireAssetV3Tx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AcquireAssetV3Tx>>): Promise<GraphQLClient.Transaction>;
|
|
397
|
+
signBurnTokenTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.BurnTokenTx>>): Promise<GraphQLClient.Transaction>;
|
|
398
|
+
signClaimBlockRewardTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimBlockRewardTx>>): Promise<GraphQLClient.Transaction>;
|
|
399
|
+
signClaimStakeTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimStakeTx>>): Promise<GraphQLClient.Transaction>;
|
|
400
|
+
signCloseRollupTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CloseRollupTx>>): Promise<GraphQLClient.Transaction>;
|
|
401
|
+
signConsumeAssetTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ConsumeAssetTx>>): Promise<GraphQLClient.Transaction>;
|
|
402
|
+
signCreateAssetTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateAssetTx>>): Promise<GraphQLClient.Transaction>;
|
|
403
|
+
signCreateFactoryTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateFactoryTx>>): Promise<GraphQLClient.Transaction>;
|
|
404
|
+
signCreateRollupBlockTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateRollupBlockTx>>): Promise<GraphQLClient.Transaction>;
|
|
405
|
+
signCreateRollupTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateRollupTx>>): Promise<GraphQLClient.Transaction>;
|
|
406
|
+
signCreateTokenFactoryTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateTokenFactoryTx>>): Promise<GraphQLClient.Transaction>;
|
|
407
|
+
signCreateTokenTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateTokenTx>>): Promise<GraphQLClient.Transaction>;
|
|
408
|
+
signDelegateTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DelegateTx>>): Promise<GraphQLClient.Transaction>;
|
|
409
|
+
signDepositTokenV2Tx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DepositTokenV2Tx>>): Promise<GraphQLClient.Transaction>;
|
|
410
|
+
signExchangeTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeTx>>): Promise<GraphQLClient.Transaction>;
|
|
411
|
+
signExchangeV2Tx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeV2Tx>>): Promise<GraphQLClient.Transaction>;
|
|
412
|
+
signJoinRollupTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.JoinRollupTx>>): Promise<GraphQLClient.Transaction>;
|
|
413
|
+
signLeaveRollupTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.LeaveRollupTx>>): Promise<GraphQLClient.Transaction>;
|
|
414
|
+
signMigrateRollupTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MigrateRollupTx>>): Promise<GraphQLClient.Transaction>;
|
|
415
|
+
signMintAssetTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MintAssetTx>>): Promise<GraphQLClient.Transaction>;
|
|
416
|
+
signMintTokenTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MintTokenTx>>): Promise<GraphQLClient.Transaction>;
|
|
417
|
+
signPauseRollupTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.PauseRollupTx>>): Promise<GraphQLClient.Transaction>;
|
|
418
|
+
signResumeRollupTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ResumeRollupTx>>): Promise<GraphQLClient.Transaction>;
|
|
419
|
+
signReturnStakeTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ReturnStakeTx>>): Promise<GraphQLClient.Transaction>;
|
|
420
|
+
signRevokeDelegateTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.RevokeDelegateTx>>): Promise<GraphQLClient.Transaction>;
|
|
421
|
+
signRevokeStakeTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.RevokeStakeTx>>): Promise<GraphQLClient.Transaction>;
|
|
422
|
+
signSlashStakeTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.SlashStakeTx>>): Promise<GraphQLClient.Transaction>;
|
|
423
|
+
signStakeTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.StakeTx>>): Promise<GraphQLClient.Transaction>;
|
|
424
|
+
signTransferTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferTx>>): Promise<GraphQLClient.Transaction>;
|
|
425
|
+
signTransferV2Tx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV2Tx>>): Promise<GraphQLClient.Transaction>;
|
|
426
|
+
signTransferV3Tx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV3Tx>>): Promise<GraphQLClient.Transaction>;
|
|
427
|
+
signUpdateAssetTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateAssetTx>>): Promise<GraphQLClient.Transaction>;
|
|
428
|
+
signUpdateRollupTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateRollupTx>>): Promise<GraphQLClient.Transaction>;
|
|
429
|
+
signUpdateTokenFactoryTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateTokenFactoryTx>>): Promise<GraphQLClient.Transaction>;
|
|
430
|
+
signUpgradeNodeTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpgradeNodeTx>>): Promise<GraphQLClient.Transaction>;
|
|
431
|
+
signWithdrawTokenV2Tx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.WithdrawTokenV2Tx>>): Promise<GraphQLClient.Transaction>;
|
|
432
|
+
multiSignExchangeV2Tx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeV2Tx>>): Promise<GraphQLClient.Transaction>;
|
|
433
|
+
multiSignTransferV3Tx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV3Tx>>): Promise<GraphQLClient.Transaction>;
|
|
434
|
+
multiSignAcquireAssetV3Tx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AcquireAssetV3Tx>>): Promise<GraphQLClient.Transaction>;
|
|
435
|
+
multiSignStakeTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.StakeTx>>): Promise<GraphQLClient.Transaction>;
|
|
436
|
+
multiSignUpdateRollupTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateRollupTx>>): Promise<GraphQLClient.Transaction>;
|
|
437
|
+
multiSignJoinRollupTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.JoinRollupTx>>): Promise<GraphQLClient.Transaction>;
|
|
438
|
+
multiSignLeaveRollupTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.LeaveRollupTx>>): Promise<GraphQLClient.Transaction>;
|
|
439
|
+
multiSignPauseRollupTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.PauseRollupTx>>): Promise<GraphQLClient.Transaction>;
|
|
440
|
+
multiSignCloseRollupTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CloseRollupTx>>): Promise<GraphQLClient.Transaction>;
|
|
441
|
+
multiSignMigrateRollupTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MigrateRollupTx>>): Promise<GraphQLClient.Transaction>;
|
|
442
|
+
multiSignResumeRollupTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ResumeRollupTx>>): Promise<GraphQLClient.Transaction>;
|
|
443
|
+
multiSignDepositTokenV2Tx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DepositTokenV2Tx>>): Promise<GraphQLClient.Transaction>;
|
|
444
|
+
multiSignWithdrawTokenV2Tx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.WithdrawTokenV2Tx>>): Promise<GraphQLClient.Transaction>;
|
|
445
|
+
multiSignCreateRollupBlockTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateRollupBlockTx>>): Promise<GraphQLClient.Transaction>;
|
|
446
|
+
multiSignClaimBlockRewardTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimBlockRewardTx>>): Promise<GraphQLClient.Transaction>;
|
|
447
|
+
multiSignCreateAssetTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateAssetTx>>): Promise<GraphQLClient.Transaction>;
|
|
448
|
+
multiSignConsumeAssetTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ConsumeAssetTx>>): Promise<GraphQLClient.Transaction>;
|
|
449
|
+
multiSignMintTokenTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MintTokenTx>>): Promise<GraphQLClient.Transaction>;
|
|
450
|
+
multiSignBurnTokenTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.BurnTokenTx>>): Promise<GraphQLClient.Transaction>;
|
|
451
|
+
getAccountState(params?: PartialDeep<GraphQLClient.GetAccountStateParams>): Promise<GraphQLClient.ResponseGetAccountState>
|
|
452
|
+
getAssetState(params?: PartialDeep<GraphQLClient.GetAssetStateParams>): Promise<GraphQLClient.ResponseGetAssetState>
|
|
453
|
+
getFactoryState(params?: PartialDeep<GraphQLClient.GetFactoryStateParams>): Promise<GraphQLClient.ResponseGetFactoryState>
|
|
454
|
+
getDelegateState(params?: PartialDeep<GraphQLClient.GetDelegateStateParams>): Promise<GraphQLClient.ResponseGetDelegateState>
|
|
455
|
+
getTokenState(params?: PartialDeep<GraphQLClient.GetTokenStateParams>): Promise<GraphQLClient.ResponseGetTokenState>
|
|
456
|
+
getEvidenceState(params?: PartialDeep<GraphQLClient.GetEvidenceStateParams>): Promise<GraphQLClient.ResponseGetEvidenceState>
|
|
457
|
+
getForgeState(params?: PartialDeep<GraphQLClient.GetForgeStateParams>): Promise<GraphQLClient.ResponseGetForgeState>
|
|
458
|
+
getTokenFactoryState(params?: PartialDeep<GraphQLClient.GetTokenFactoryStateParams>): Promise<GraphQLClient.ResponseGetTokenFactoryState>
|
|
459
|
+
getTx(params?: PartialDeep<GraphQLClient.GetTxParams>): Promise<GraphQLClient.ResponseGetTx>
|
|
460
|
+
getBlock(params?: PartialDeep<GraphQLClient.GetBlockParams>): Promise<GraphQLClient.ResponseGetBlock>
|
|
461
|
+
getBlocks(params?: PartialDeep<GraphQLClient.GetBlocksParams>): Promise<GraphQLClient.ResponseGetBlocks>
|
|
462
|
+
getUnconfirmedTxs(params?: PartialDeep<GraphQLClient.GetUnconfirmedTxsParams>): Promise<GraphQLClient.ResponseGetUnconfirmedTxs>
|
|
463
|
+
getChainInfo(): Promise<GraphQLClient.ResponseGetChainInfo>
|
|
464
|
+
getConfig(params?: PartialDeep<GraphQLClient.GetConfigParams>): Promise<GraphQLClient.ResponseGetConfig>
|
|
465
|
+
getNetInfo(): Promise<GraphQLClient.ResponseGetNetInfo>
|
|
466
|
+
getNodeInfo(): Promise<GraphQLClient.ResponseGetNodeInfo>
|
|
467
|
+
getValidatorsInfo(): Promise<GraphQLClient.ResponseGetValidatorsInfo>
|
|
468
|
+
getForgeStats(): Promise<GraphQLClient.ResponseGetForgeStats>
|
|
469
|
+
listAssetTransactions(params?: PartialDeep<GraphQLClient.ListAssetTransactionsParams>): Promise<GraphQLClient.ResponseListAssetTransactions>
|
|
470
|
+
listAssets(params?: PartialDeep<GraphQLClient.ListAssetsParams>): Promise<GraphQLClient.ResponseListAssets>
|
|
471
|
+
listBlocks(params?: PartialDeep<GraphQLClient.ListBlocksParams>): Promise<GraphQLClient.ResponseListBlocks>
|
|
472
|
+
listTopAccounts(params?: PartialDeep<GraphQLClient.ListTopAccountsParams>): Promise<GraphQLClient.ResponseListTopAccounts>
|
|
473
|
+
listTransactions(params?: PartialDeep<GraphQLClient.ListTransactionsParams>): Promise<GraphQLClient.ResponseListTransactions>
|
|
474
|
+
listTokens(params?: PartialDeep<GraphQLClient.ListTokensParams>): Promise<GraphQLClient.ResponseListTokens>
|
|
475
|
+
listFactories(params?: PartialDeep<GraphQLClient.ListFactoriesParams>): Promise<GraphQLClient.ResponseListFactories>
|
|
476
|
+
getAccountTokens(params?: PartialDeep<GraphQLClient.GetAccountTokensParams>): Promise<GraphQLClient.ResponseGetAccountTokens>
|
|
477
|
+
getStakeState(params?: PartialDeep<GraphQLClient.GetStakeStateParams>): Promise<GraphQLClient.ResponseGetStakeState>
|
|
478
|
+
listStakes(params?: PartialDeep<GraphQLClient.ListStakesParams>): Promise<GraphQLClient.ResponseListStakes>
|
|
479
|
+
getRollupState(params?: PartialDeep<GraphQLClient.GetRollupStateParams>): Promise<GraphQLClient.ResponseGetRollupState>
|
|
480
|
+
listRollups(params?: PartialDeep<GraphQLClient.ListRollupsParams>): Promise<GraphQLClient.ResponseListRollups>
|
|
481
|
+
getRollupBlock(params?: PartialDeep<GraphQLClient.GetRollupBlockParams>): Promise<GraphQLClient.ResponseGetRollupBlock>
|
|
482
|
+
listRollupBlocks(params?: PartialDeep<GraphQLClient.ListRollupBlocksParams>): Promise<GraphQLClient.ResponseListRollupBlocks>
|
|
483
|
+
listRollupValidators(params?: PartialDeep<GraphQLClient.ListRollupValidatorsParams>): Promise<GraphQLClient.ResponseListRollupValidators>
|
|
484
|
+
listDelegations(params?: PartialDeep<GraphQLClient.ListDelegationsParams>): Promise<GraphQLClient.ResponseListDelegations>
|
|
485
|
+
search(params?: PartialDeep<GraphQLClient.SearchParams>): Promise<GraphQLClient.ResponseSearch>
|
|
486
|
+
estimateGas(params?: PartialDeep<GraphQLClient.EstimateGasParams>): Promise<GraphQLClient.ResponseEstimateGas>
|
|
487
|
+
listTokenFlows(params?: PartialDeep<GraphQLClient.ListTokenFlowsParams>): Promise<GraphQLClient.ResponseListTokenFlows>
|
|
488
|
+
verifyAccountRisk(params?: PartialDeep<GraphQLClient.VerifyAccountRiskParams>): Promise<GraphQLClient.ResponseVerifyAccountRisk>
|
|
489
|
+
getTokenDistribution(params?: PartialDeep<GraphQLClient.GetTokenDistributionParams>): Promise<GraphQLClient.ResponseGetTokenDistribution>
|
|
490
|
+
listTokenFactories(params?: PartialDeep<GraphQLClient.ListTokenFactoriesParams>): Promise<GraphQLClient.ResponseListTokenFactories>
|
|
491
|
+
sendTx(params?: PartialDeep<GraphQLClient.SendTxParams>): Promise<GraphQLClient.ResponseSendTx>
|
|
492
|
+
|
|
636
493
|
}
|
|
637
494
|
|
|
638
495
|
declare namespace GraphQLClient {
|
|
639
496
|
interface Subscription<T> {
|
|
640
|
-
on(event:
|
|
641
|
-
on(event:
|
|
497
|
+
on(event: 'data', fn: (data: T) => any): this;
|
|
498
|
+
on(event: 'error', fn: (err: Error) => void): this;
|
|
642
499
|
}
|
|
643
500
|
|
|
644
501
|
interface TxParam<T> {
|
|
@@ -650,9 +507,9 @@ declare namespace GraphQLClient {
|
|
|
650
507
|
delegator?: string;
|
|
651
508
|
signature?: string;
|
|
652
509
|
signatures?: PartialDeep<GraphQLClient.Multisig>[];
|
|
653
|
-
itx
|
|
654
|
-
};
|
|
655
|
-
wallet: WalletObject
|
|
510
|
+
itx?: T;
|
|
511
|
+
} | Transaction;
|
|
512
|
+
wallet: WalletObject,
|
|
656
513
|
delegator?: string;
|
|
657
514
|
signature?: string;
|
|
658
515
|
}
|
|
@@ -666,9 +523,10 @@ declare namespace GraphQLClient {
|
|
|
666
523
|
|
|
667
524
|
interface EncodeTxResult {
|
|
668
525
|
object: object;
|
|
669
|
-
buffer:
|
|
526
|
+
buffer: Buffer;
|
|
670
527
|
}
|
|
671
528
|
|
|
529
|
+
|
|
672
530
|
enum Direction {
|
|
673
531
|
MUTUAL,
|
|
674
532
|
ONE_WAY,
|
|
@@ -2669,6 +2527,7 @@ declare namespace GraphQLClient {
|
|
|
2669
2527
|
data: GraphQLClient.Any;
|
|
2670
2528
|
}
|
|
2671
2529
|
|
|
2530
|
+
|
|
2672
2531
|
interface GetAccountStateParams {
|
|
2673
2532
|
address: string;
|
|
2674
2533
|
height: string;
|
|
@@ -2891,4 +2750,5 @@ declare namespace GraphQLClient {
|
|
|
2891
2750
|
wallet: string;
|
|
2892
2751
|
extra: string;
|
|
2893
2752
|
}
|
|
2753
|
+
|
|
2894
2754
|
}
|