@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/dist/browser.d.ts CHANGED
@@ -1,8 +1,8 @@
1
- import { WalletObject } from "@ocap/wallet";
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
- getTxSendMethods(): Array<string>;
39
+ getTxEncodeMethods(): Array<string>;
40
40
  getTxSignMethods(): Array<string>;
41
41
  getTxMultiSignMethods(): Array<string>;
42
42
  getType(x: string): Object;
43
- decodeTx(input: string | buffer): object;
44
- declare(params: object, extra?: any): Promise<string>;
45
- migrateAccount(params: object, extra?: any): Promise<string>;
46
- delegate(params: object, extra?: any): Promise<string>;
47
- revokeDelegate(params: object, extra?: any): Promise<string>;
48
- createAsset(params: object, extra?: any): Promise<string>;
49
- updateAsset(params: object, extra?: any): Promise<string>;
50
- consumeAsset(params: object, extra?: any): Promise<string>;
51
- createAssetFactory(params: object, extra?: any): Promise<string>;
52
- acquireAsset(params: object, extra?: any): Promise<string>;
53
- upgradeNode(params: object, extra?: any): Promise<string>;
54
- transfer(params: object, extra?: any): Promise<string>;
55
- prepareExchange(params: object, extra?: any): Promise<string>;
56
- finalizeExchange(params: object, extra?: any): Promise<string>;
57
- exchange(params: object, extra?: any): Promise<string>;
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
- sendAccountMigrateTx(
67
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AccountMigrateTx>>,
68
- extra?: any,
69
- ): Promise<string>;
70
- sendAcquireAssetV2Tx(
71
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AcquireAssetV2Tx>>,
72
- extra?: any,
73
- ): Promise<string>;
74
- sendAcquireAssetV3Tx(
75
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AcquireAssetV3Tx>>,
76
- extra?: any,
77
- ): Promise<string>;
78
- sendBurnTokenTx(
79
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.BurnTokenTx>>,
80
- extra?: any,
81
- ): Promise<string>;
82
- sendClaimBlockRewardTx(
83
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimBlockRewardTx>>,
84
- extra?: any,
85
- ): Promise<string>;
86
- sendClaimStakeTx(
87
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimStakeTx>>,
88
- extra?: any,
89
- ): Promise<string>;
90
- sendCloseRollupTx(
91
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CloseRollupTx>>,
92
- extra?: any,
93
- ): Promise<string>;
94
- sendConsumeAssetTx(
95
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ConsumeAssetTx>>,
96
- extra?: any,
97
- ): Promise<string>;
98
- sendCreateAssetTx(
99
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateAssetTx>>,
100
- extra?: any,
101
- ): Promise<string>;
102
- sendCreateFactoryTx(
103
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateFactoryTx>>,
104
- extra?: any,
105
- ): Promise<string>;
106
- sendCreateRollupBlockTx(
107
- param: GraphQLClient.TxParam<
108
- PartialDeep<GraphQLClient.CreateRollupBlockTx>
109
- >,
110
- extra?: any,
111
- ): Promise<string>;
112
- sendCreateRollupTx(
113
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateRollupTx>>,
114
- extra?: any,
115
- ): Promise<string>;
116
- sendCreateTokenFactoryTx(
117
- param: GraphQLClient.TxParam<
118
- PartialDeep<GraphQLClient.CreateTokenFactoryTx>
119
- >,
120
- extra?: any,
121
- ): Promise<string>;
122
- sendCreateTokenTx(
123
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateTokenTx>>,
124
- extra?: any,
125
- ): Promise<string>;
126
- sendDelegateTx(
127
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DelegateTx>>,
128
- extra?: any,
129
- ): Promise<string>;
130
- sendDepositTokenV2Tx(
131
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DepositTokenV2Tx>>,
132
- extra?: any,
133
- ): Promise<string>;
134
- sendExchangeTx(
135
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeTx>>,
136
- extra?: any,
137
- ): Promise<string>;
138
- sendExchangeV2Tx(
139
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeV2Tx>>,
140
- extra?: any,
141
- ): Promise<string>;
142
- sendJoinRollupTx(
143
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.JoinRollupTx>>,
144
- extra?: any,
145
- ): Promise<string>;
146
- sendLeaveRollupTx(
147
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.LeaveRollupTx>>,
148
- extra?: any,
149
- ): Promise<string>;
150
- sendMigrateRollupTx(
151
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MigrateRollupTx>>,
152
- extra?: any,
153
- ): Promise<string>;
154
- sendMintAssetTx(
155
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MintAssetTx>>,
156
- extra?: any,
157
- ): Promise<string>;
158
- sendMintTokenTx(
159
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MintTokenTx>>,
160
- extra?: any,
161
- ): Promise<string>;
162
- sendPauseRollupTx(
163
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.PauseRollupTx>>,
164
- extra?: any,
165
- ): Promise<string>;
166
- sendResumeRollupTx(
167
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ResumeRollupTx>>,
168
- extra?: any,
169
- ): Promise<string>;
170
- sendReturnStakeTx(
171
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ReturnStakeTx>>,
172
- extra?: any,
173
- ): Promise<string>;
174
- sendRevokeDelegateTx(
175
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.RevokeDelegateTx>>,
176
- extra?: any,
177
- ): Promise<string>;
178
- sendRevokeStakeTx(
179
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.RevokeStakeTx>>,
180
- extra?: any,
181
- ): Promise<string>;
182
- sendSlashStakeTx(
183
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.SlashStakeTx>>,
184
- extra?: any,
185
- ): Promise<string>;
186
- sendStakeTx(
187
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.StakeTx>>,
188
- extra?: any,
189
- ): Promise<string>;
190
- sendTransferTx(
191
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferTx>>,
192
- extra?: any,
193
- ): Promise<string>;
194
- sendTransferV2Tx(
195
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV2Tx>>,
196
- extra?: any,
197
- ): Promise<string>;
198
- sendTransferV3Tx(
199
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV3Tx>>,
200
- extra?: any,
201
- ): Promise<string>;
202
- sendUpdateAssetTx(
203
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateAssetTx>>,
204
- extra?: any,
205
- ): Promise<string>;
206
- sendUpdateRollupTx(
207
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateRollupTx>>,
208
- extra?: any,
209
- ): Promise<string>;
210
- sendUpdateTokenFactoryTx(
211
- param: GraphQLClient.TxParam<
212
- PartialDeep<GraphQLClient.UpdateTokenFactoryTx>
213
- >,
214
- extra?: any,
215
- ): Promise<string>;
216
- sendUpgradeNodeTx(
217
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpgradeNodeTx>>,
218
- extra?: any,
219
- ): Promise<string>;
220
- sendWithdrawTokenV2Tx(
221
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.WithdrawTokenV2Tx>>,
222
- extra?: any,
223
- ): Promise<string>;
224
- encodeAccountMigrateTx(
225
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AccountMigrateTx>>,
226
- ): Promise<GraphQLClient.EncodeTxResult>;
227
- encodeAcquireAssetV2Tx(
228
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AcquireAssetV2Tx>>,
229
- ): Promise<GraphQLClient.EncodeTxResult>;
230
- encodeAcquireAssetV3Tx(
231
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AcquireAssetV3Tx>>,
232
- ): Promise<GraphQLClient.EncodeTxResult>;
233
- encodeBurnTokenTx(
234
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.BurnTokenTx>>,
235
- ): Promise<GraphQLClient.EncodeTxResult>;
236
- encodeClaimBlockRewardTx(
237
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimBlockRewardTx>>,
238
- ): Promise<GraphQLClient.EncodeTxResult>;
239
- encodeClaimStakeTx(
240
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimStakeTx>>,
241
- ): Promise<GraphQLClient.EncodeTxResult>;
242
- encodeCloseRollupTx(
243
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CloseRollupTx>>,
244
- ): Promise<GraphQLClient.EncodeTxResult>;
245
- encodeConsumeAssetTx(
246
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ConsumeAssetTx>>,
247
- ): Promise<GraphQLClient.EncodeTxResult>;
248
- encodeCreateAssetTx(
249
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateAssetTx>>,
250
- ): Promise<GraphQLClient.EncodeTxResult>;
251
- encodeCreateFactoryTx(
252
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateFactoryTx>>,
253
- ): Promise<GraphQLClient.EncodeTxResult>;
254
- encodeCreateRollupBlockTx(
255
- param: GraphQLClient.TxParam<
256
- PartialDeep<GraphQLClient.CreateRollupBlockTx>
257
- >,
258
- ): Promise<GraphQLClient.EncodeTxResult>;
259
- encodeCreateRollupTx(
260
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateRollupTx>>,
261
- ): Promise<GraphQLClient.EncodeTxResult>;
262
- encodeCreateTokenFactoryTx(
263
- param: GraphQLClient.TxParam<
264
- PartialDeep<GraphQLClient.CreateTokenFactoryTx>
265
- >,
266
- ): Promise<GraphQLClient.EncodeTxResult>;
267
- encodeCreateTokenTx(
268
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateTokenTx>>,
269
- ): Promise<GraphQLClient.EncodeTxResult>;
270
- encodeDelegateTx(
271
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DelegateTx>>,
272
- ): Promise<GraphQLClient.EncodeTxResult>;
273
- encodeDepositTokenV2Tx(
274
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DepositTokenV2Tx>>,
275
- ): Promise<GraphQLClient.EncodeTxResult>;
276
- encodeExchangeTx(
277
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeTx>>,
278
- ): Promise<GraphQLClient.EncodeTxResult>;
279
- encodeExchangeV2Tx(
280
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeV2Tx>>,
281
- ): Promise<GraphQLClient.EncodeTxResult>;
282
- encodeJoinRollupTx(
283
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.JoinRollupTx>>,
284
- ): Promise<GraphQLClient.EncodeTxResult>;
285
- encodeLeaveRollupTx(
286
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.LeaveRollupTx>>,
287
- ): Promise<GraphQLClient.EncodeTxResult>;
288
- encodeMigrateRollupTx(
289
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MigrateRollupTx>>,
290
- ): Promise<GraphQLClient.EncodeTxResult>;
291
- encodeMintAssetTx(
292
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MintAssetTx>>,
293
- ): Promise<GraphQLClient.EncodeTxResult>;
294
- encodeMintTokenTx(
295
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MintTokenTx>>,
296
- ): Promise<GraphQLClient.EncodeTxResult>;
297
- encodePauseRollupTx(
298
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.PauseRollupTx>>,
299
- ): Promise<GraphQLClient.EncodeTxResult>;
300
- encodeResumeRollupTx(
301
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ResumeRollupTx>>,
302
- ): Promise<GraphQLClient.EncodeTxResult>;
303
- encodeReturnStakeTx(
304
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ReturnStakeTx>>,
305
- ): Promise<GraphQLClient.EncodeTxResult>;
306
- encodeRevokeDelegateTx(
307
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.RevokeDelegateTx>>,
308
- ): Promise<GraphQLClient.EncodeTxResult>;
309
- encodeRevokeStakeTx(
310
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.RevokeStakeTx>>,
311
- ): Promise<GraphQLClient.EncodeTxResult>;
312
- encodeSlashStakeTx(
313
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.SlashStakeTx>>,
314
- ): Promise<GraphQLClient.EncodeTxResult>;
315
- encodeStakeTx(
316
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.StakeTx>>,
317
- ): Promise<GraphQLClient.EncodeTxResult>;
318
- encodeTransferTx(
319
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferTx>>,
320
- ): Promise<GraphQLClient.EncodeTxResult>;
321
- encodeTransferV2Tx(
322
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV2Tx>>,
323
- ): Promise<GraphQLClient.EncodeTxResult>;
324
- encodeTransferV3Tx(
325
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV3Tx>>,
326
- ): Promise<GraphQLClient.EncodeTxResult>;
327
- encodeUpdateAssetTx(
328
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateAssetTx>>,
329
- ): Promise<GraphQLClient.EncodeTxResult>;
330
- encodeUpdateRollupTx(
331
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateRollupTx>>,
332
- ): Promise<GraphQLClient.EncodeTxResult>;
333
- encodeUpdateTokenFactoryTx(
334
- param: GraphQLClient.TxParam<
335
- PartialDeep<GraphQLClient.UpdateTokenFactoryTx>
336
- >,
337
- ): Promise<GraphQLClient.EncodeTxResult>;
338
- encodeUpgradeNodeTx(
339
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpgradeNodeTx>>,
340
- ): Promise<GraphQLClient.EncodeTxResult>;
341
- encodeWithdrawTokenV2Tx(
342
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.WithdrawTokenV2Tx>>,
343
- ): Promise<GraphQLClient.EncodeTxResult>;
344
- signAccountMigrateTx(
345
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AccountMigrateTx>>,
346
- ): Promise<GraphQLClient.Transaction>;
347
- signAcquireAssetV2Tx(
348
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AcquireAssetV2Tx>>,
349
- ): Promise<GraphQLClient.Transaction>;
350
- signAcquireAssetV3Tx(
351
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AcquireAssetV3Tx>>,
352
- ): Promise<GraphQLClient.Transaction>;
353
- signBurnTokenTx(
354
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.BurnTokenTx>>,
355
- ): Promise<GraphQLClient.Transaction>;
356
- signClaimBlockRewardTx(
357
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimBlockRewardTx>>,
358
- ): Promise<GraphQLClient.Transaction>;
359
- signClaimStakeTx(
360
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimStakeTx>>,
361
- ): Promise<GraphQLClient.Transaction>;
362
- signCloseRollupTx(
363
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CloseRollupTx>>,
364
- ): Promise<GraphQLClient.Transaction>;
365
- signConsumeAssetTx(
366
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ConsumeAssetTx>>,
367
- ): Promise<GraphQLClient.Transaction>;
368
- signCreateAssetTx(
369
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateAssetTx>>,
370
- ): Promise<GraphQLClient.Transaction>;
371
- signCreateFactoryTx(
372
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateFactoryTx>>,
373
- ): Promise<GraphQLClient.Transaction>;
374
- signCreateRollupBlockTx(
375
- param: GraphQLClient.TxParam<
376
- PartialDeep<GraphQLClient.CreateRollupBlockTx>
377
- >,
378
- ): Promise<GraphQLClient.Transaction>;
379
- signCreateRollupTx(
380
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateRollupTx>>,
381
- ): Promise<GraphQLClient.Transaction>;
382
- signCreateTokenFactoryTx(
383
- param: GraphQLClient.TxParam<
384
- PartialDeep<GraphQLClient.CreateTokenFactoryTx>
385
- >,
386
- ): Promise<GraphQLClient.Transaction>;
387
- signCreateTokenTx(
388
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateTokenTx>>,
389
- ): Promise<GraphQLClient.Transaction>;
390
- signDelegateTx(
391
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DelegateTx>>,
392
- ): Promise<GraphQLClient.Transaction>;
393
- signDepositTokenV2Tx(
394
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DepositTokenV2Tx>>,
395
- ): Promise<GraphQLClient.Transaction>;
396
- signExchangeTx(
397
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeTx>>,
398
- ): Promise<GraphQLClient.Transaction>;
399
- signExchangeV2Tx(
400
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeV2Tx>>,
401
- ): Promise<GraphQLClient.Transaction>;
402
- signJoinRollupTx(
403
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.JoinRollupTx>>,
404
- ): Promise<GraphQLClient.Transaction>;
405
- signLeaveRollupTx(
406
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.LeaveRollupTx>>,
407
- ): Promise<GraphQLClient.Transaction>;
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: "data", fn: (data: T) => any): this;
641
- on(event: "error", fn: (err: Error) => void): this;
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: T;
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: 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
  }