@ocap/client 1.29.14 → 1.29.16

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/lib/node.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
 
@@ -43,103 +43,141 @@ declare class GraphQLClient {
43
43
  decodeTx(input: string | Buffer): object;
44
44
 
45
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>;
46
+ migrateAccount(
47
+ params: {
48
+ from: WalletObject;
49
+ to: WalletObject;
50
+ },
51
+ extra?: any,
52
+ ): Promise<string>;
53
+
54
+ delegate(
55
+ params: {
56
+ from: WalletObject;
57
+ to: WalletObject;
58
+ privileges:
59
+ | Array<{
60
+ typeUrl: string;
61
+ limit?: { tokens?: string[]; assets?: string[] };
62
+ }>
63
+ | { typeUrl: string; limit?: { tokens?: string[]; assets?: string[] } };
64
+ },
65
+ extra?: any,
66
+ ): Promise<[string, string]>;
67
+
68
+ revokeDelegate(
69
+ params: {
70
+ from: WalletObject;
71
+ to: WalletObject;
72
+ privileges: Array<string | { toString(): string }>;
73
+ },
74
+ extra?: any,
75
+ ): Promise<string>;
62
76
 
63
77
  // 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;
78
+ createAsset(
79
+ params: {
80
+ moniker: string;
81
+ parent?: string;
82
+ ttl?: number;
94
83
  data?: any;
95
- hooks?: any[];
84
+ readonly?: boolean;
85
+ transferrable?: boolean;
96
86
  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>;
87
+ endpoint?: any;
88
+ tags?: string[];
89
+ delegator?: string;
90
+ wallet: WalletObject;
91
+ },
92
+ extra?: any,
93
+ ): Promise<[string, string]>;
94
+
95
+ updateAsset(
96
+ params: {
97
+ address: string;
98
+ moniker?: string;
99
+ data?: any;
100
+ wallet: WalletObject;
101
+ },
102
+ extra?: any,
103
+ ): Promise<string>;
104
+
105
+ createAssetFactory(
106
+ params: {
107
+ factory: {
108
+ name: string;
109
+ description?: string;
110
+ settlement?: string;
111
+ limit?: number;
112
+ trustedIssuers?: string[];
113
+ input?: any;
114
+ output?: any;
115
+ data?: any;
116
+ hooks?: any[];
117
+ display?: any;
118
+ };
119
+ wallet: WalletObject;
120
+ },
121
+ extra?: any,
122
+ ): Promise<[string, string]>;
123
+
124
+ acquireAsset(
125
+ params: {
126
+ itx: any;
127
+ delegator?: string;
128
+ wallet: WalletObject;
129
+ },
130
+ extra?: any,
131
+ ): Promise<string>;
106
132
 
107
133
  // 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>;
134
+ transfer(
135
+ params: {
136
+ token?: number;
137
+ assets?: string[];
138
+ tokens?: Array<{ address: string; value: number }>;
139
+ to: string;
140
+ memo?: string;
141
+ delegator?: string;
142
+ wallet: WalletObject;
143
+ },
144
+ extra?: any,
145
+ ): Promise<string>;
117
146
 
118
147
  // 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>;
148
+ prepareExchange(
149
+ params: {
150
+ offerToken?: number;
151
+ offerAssets?: string[];
152
+ demandToken?: number;
153
+ demandAssets?: string[];
154
+ offerTokens?: Array<{ address: string; value: number }>;
155
+ demandTokens?: Array<{ address: string; value: number }>;
156
+ receiver?: string;
157
+ memo?: string;
158
+ delegator?: string;
159
+ wallet: WalletObject;
160
+ },
161
+ extra?: any,
162
+ ): Promise<GraphQLClient.Transaction>;
163
+
164
+ finalizeExchange(
165
+ params: {
166
+ tx: GraphQLClient.Transaction;
167
+ delegator?: string;
168
+ data?: any;
169
+ wallet: WalletObject;
170
+ },
171
+ extra?: any,
172
+ ): Promise<GraphQLClient.Transaction>;
173
+
174
+ exchange(
175
+ params: {
176
+ tx: GraphQLClient.Transaction;
177
+ wallet: WalletObject;
178
+ },
179
+ extra?: any,
180
+ ): Promise<string>;
143
181
 
144
182
  generateQueryFns(): void;
145
183
  generateSubscriptionFns(): void;
@@ -153,100 +191,127 @@ declare class GraphQLClient {
153
191
  unsubscribe(topic: string, callback?: (data: any) => void): any;
154
192
 
155
193
  // 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: {
194
+ createTokenFactory(
195
+ params: {
196
+ feeRate?: number;
197
+ curve?: {
198
+ type?: string;
199
+ slope?: string;
200
+ basePrice?: string;
201
+ fixedPrice?: string;
202
+ };
203
+ token: {
204
+ name: string;
205
+ symbol: string;
206
+ decimal?: number;
207
+ description?: string;
208
+ icon?: string;
209
+ maxTotalSupply?: string;
210
+ };
211
+ data?: any;
212
+ wallet: WalletObject;
213
+ },
214
+ extra?: any,
215
+ ): Promise<[string, string]>;
216
+
217
+ updateTokenFactory(
218
+ params: {
219
+ address: string;
220
+ feeRate?: number;
221
+ token?: any;
222
+ data?: any;
223
+ wallet: WalletObject;
224
+ },
225
+ extra?: any,
226
+ ): Promise<string>;
227
+
228
+ // Token methods
229
+ createToken(
230
+ params: {
165
231
  name: string;
232
+ description?: string;
166
233
  symbol: string;
234
+ unit?: string;
167
235
  decimal?: number;
168
- description?: string;
169
236
  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>;
237
+ totalSupply: number;
238
+ initialSupply?: number;
239
+ maxTotalSupply?: number;
240
+ foreignToken?: any;
241
+ data?: any;
242
+ wallet: WalletObject;
243
+ },
244
+ extra?: any,
245
+ ): Promise<[string, string]>;
246
+
247
+ mintToken(
248
+ params: {
249
+ tokenFactory: string;
250
+ amount: number;
251
+ receiver?: string;
252
+ maxReserve?: number;
253
+ data?: any;
254
+ wallet: WalletObject;
255
+ },
256
+ extra?: any,
257
+ ): Promise<string>;
258
+
259
+ burnToken(
260
+ params: {
261
+ tokenFactory: string;
262
+ amount: number;
263
+ receiver?: string;
264
+ minReserve?: number;
265
+ data?: any;
266
+ wallet: WalletObject;
267
+ },
268
+ extra?: any,
269
+ ): Promise<string>;
217
270
 
218
271
  // 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>;
272
+ stake(
273
+ params: {
274
+ assets?: string[];
275
+ tokens?: Array<{ address: string; value: number }>;
276
+ slashers?: string[];
277
+ to: string;
278
+ locked?: boolean;
279
+ message?: string;
280
+ nonce?: string;
281
+ wallet: WalletObject;
282
+ },
283
+ extra?: any,
284
+ ): Promise<[string, string]>;
285
+
286
+ revokeStake(
287
+ params: {
288
+ assets?: string[];
289
+ tokens?: Array<{ address: string; value: number }>;
290
+ from: string;
291
+ wallet: WalletObject;
292
+ },
293
+ extra?: any,
294
+ ): Promise<string>;
295
+
296
+ slashStake(
297
+ params: {
298
+ assets?: string[];
299
+ tokens?: Array<{ address: string; value: number }>;
300
+ reason: string;
301
+ from: string;
302
+ wallet: WalletObject;
303
+ },
304
+ extra?: any,
305
+ ): Promise<string>;
306
+
307
+ claimStake(
308
+ params: {
309
+ from: string;
310
+ evidence: string;
311
+ wallet: WalletObject;
312
+ },
313
+ extra?: any,
314
+ ): Promise<string>;
250
315
 
251
316
  // Asset factory methods
252
317
  preMintAsset(params: {
@@ -256,7 +321,12 @@ declare class GraphQLClient {
256
321
  wallet: WalletObject;
257
322
  extra?: object;
258
323
  }): Promise<{
259
- asset: { address: string; owner: string; parent: string;[key: string]: any };
324
+ asset: {
325
+ address: string;
326
+ owner: string;
327
+ parent: string;
328
+ [key: string]: any;
329
+ };
260
330
  factory: string;
261
331
  address: string;
262
332
  variables: Array<{ name: string; value: any }>;
@@ -265,43 +335,49 @@ declare class GraphQLClient {
265
335
  [key: string]: any;
266
336
  }>;
267
337
 
268
- mintAsset(params: {
269
- itx: any;
270
- wallet: WalletObject;
271
- }, extra?: any): Promise<string>;
338
+ mintAsset(
339
+ params: {
340
+ itx: any;
341
+ wallet: WalletObject;
342
+ },
343
+ extra?: any,
344
+ ): Promise<string>;
272
345
 
273
346
  // 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]>;
347
+ createRollup(
348
+ params: {
349
+ tokenAddress: string;
350
+ vaultAddress: string;
351
+ contractAddress: string;
352
+ seedValidators: any[];
353
+ minStakeAmount: string;
354
+ maxStakeAmount?: string;
355
+ minSignerCount?: number;
356
+ maxSignerCount?: number;
357
+ minBlockSize?: number;
358
+ maxBlockSize?: number;
359
+ minBlockInterval?: number;
360
+ minBlockConfirmation?: number;
361
+ minDepositAmount?: string;
362
+ maxDepositAmount?: string;
363
+ minWithdrawAmount?: string;
364
+ maxWithdrawAmount?: string;
365
+ depositFeeRate?: number;
366
+ withdrawFeeRate?: number;
367
+ publisherFeeShare?: number;
368
+ proposerFeeShare?: number;
369
+ minDepositFee?: string;
370
+ maxDepositFee?: string;
371
+ minWithdrawFee?: string;
372
+ maxWithdrawFee?: string;
373
+ leaveWaitingPeriod?: number;
374
+ publishWaitingPeriod?: number;
375
+ publishSlashRate?: number;
376
+ data?: any;
377
+ wallet: WalletObject;
378
+ },
379
+ extra?: any,
380
+ ): Promise<[string, string]>;
305
381
 
306
382
  // Context methods
307
383
  getContext(): Promise<{
@@ -313,193 +389,591 @@ declare class GraphQLClient {
313
389
  tokenStateMap: Map<string, any>;
314
390
  }>;
315
391
 
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
-
392
+ getTokenStateMap(
393
+ addressList: string[],
394
+ ): Promise<Map<string, { decimal: number }>>;
395
+
396
+ sendAccountMigrateTx(
397
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AccountMigrateTx>>,
398
+ extra?: any,
399
+ ): Promise<string>;
400
+ sendAcquireAssetV2Tx(
401
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AcquireAssetV2Tx>>,
402
+ extra?: any,
403
+ ): Promise<string>;
404
+ sendAcquireAssetV3Tx(
405
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AcquireAssetV3Tx>>,
406
+ extra?: any,
407
+ ): Promise<string>;
408
+ sendBurnTokenTx(
409
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.BurnTokenTx>>,
410
+ extra?: any,
411
+ ): Promise<string>;
412
+ sendClaimBlockRewardTx(
413
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimBlockRewardTx>>,
414
+ extra?: any,
415
+ ): Promise<string>;
416
+ sendClaimStakeTx(
417
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimStakeTx>>,
418
+ extra?: any,
419
+ ): Promise<string>;
420
+ sendCloseRollupTx(
421
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CloseRollupTx>>,
422
+ extra?: any,
423
+ ): Promise<string>;
424
+ sendConsumeAssetTx(
425
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ConsumeAssetTx>>,
426
+ extra?: any,
427
+ ): Promise<string>;
428
+ sendCreateAssetTx(
429
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateAssetTx>>,
430
+ extra?: any,
431
+ ): Promise<string>;
432
+ sendCreateFactoryTx(
433
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateFactoryTx>>,
434
+ extra?: any,
435
+ ): Promise<string>;
436
+ sendCreateRollupBlockTx(
437
+ param: GraphQLClient.TxParam<
438
+ PartialDeep<GraphQLClient.CreateRollupBlockTx>
439
+ >,
440
+ extra?: any,
441
+ ): Promise<string>;
442
+ sendCreateRollupTx(
443
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateRollupTx>>,
444
+ extra?: any,
445
+ ): Promise<string>;
446
+ sendCreateTokenFactoryTx(
447
+ param: GraphQLClient.TxParam<
448
+ PartialDeep<GraphQLClient.CreateTokenFactoryTx>
449
+ >,
450
+ extra?: any,
451
+ ): Promise<string>;
452
+ sendCreateTokenTx(
453
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateTokenTx>>,
454
+ extra?: any,
455
+ ): Promise<string>;
456
+ sendDelegateTx(
457
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DelegateTx>>,
458
+ extra?: any,
459
+ ): Promise<string>;
460
+ sendDepositTokenV2Tx(
461
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DepositTokenV2Tx>>,
462
+ extra?: any,
463
+ ): Promise<string>;
464
+ sendExchangeTx(
465
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeTx>>,
466
+ extra?: any,
467
+ ): Promise<string>;
468
+ sendExchangeV2Tx(
469
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeV2Tx>>,
470
+ extra?: any,
471
+ ): Promise<string>;
472
+ sendJoinRollupTx(
473
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.JoinRollupTx>>,
474
+ extra?: any,
475
+ ): Promise<string>;
476
+ sendLeaveRollupTx(
477
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.LeaveRollupTx>>,
478
+ extra?: any,
479
+ ): Promise<string>;
480
+ sendMigrateRollupTx(
481
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MigrateRollupTx>>,
482
+ extra?: any,
483
+ ): Promise<string>;
484
+ sendMintAssetTx(
485
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MintAssetTx>>,
486
+ extra?: any,
487
+ ): Promise<string>;
488
+ sendMintTokenTx(
489
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MintTokenTx>>,
490
+ extra?: any,
491
+ ): Promise<string>;
492
+ sendPauseRollupTx(
493
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.PauseRollupTx>>,
494
+ extra?: any,
495
+ ): Promise<string>;
496
+ sendResumeRollupTx(
497
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ResumeRollupTx>>,
498
+ extra?: any,
499
+ ): Promise<string>;
500
+ sendReturnStakeTx(
501
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ReturnStakeTx>>,
502
+ extra?: any,
503
+ ): Promise<string>;
504
+ sendRevokeDelegateTx(
505
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.RevokeDelegateTx>>,
506
+ extra?: any,
507
+ ): Promise<string>;
508
+ sendRevokeStakeTx(
509
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.RevokeStakeTx>>,
510
+ extra?: any,
511
+ ): Promise<string>;
512
+ sendSlashStakeTx(
513
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.SlashStakeTx>>,
514
+ extra?: any,
515
+ ): Promise<string>;
516
+ sendStakeTx(
517
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.StakeTx>>,
518
+ extra?: any,
519
+ ): Promise<string>;
520
+ sendTransferTx(
521
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferTx>>,
522
+ extra?: any,
523
+ ): Promise<string>;
524
+ sendTransferV2Tx(
525
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV2Tx>>,
526
+ extra?: any,
527
+ ): Promise<string>;
528
+ sendTransferV3Tx(
529
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV3Tx>>,
530
+ extra?: any,
531
+ ): Promise<string>;
532
+ sendUpdateAssetTx(
533
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateAssetTx>>,
534
+ extra?: any,
535
+ ): Promise<string>;
536
+ sendUpdateRollupTx(
537
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateRollupTx>>,
538
+ extra?: any,
539
+ ): Promise<string>;
540
+ sendUpdateTokenFactoryTx(
541
+ param: GraphQLClient.TxParam<
542
+ PartialDeep<GraphQLClient.UpdateTokenFactoryTx>
543
+ >,
544
+ extra?: any,
545
+ ): Promise<string>;
546
+ sendUpgradeNodeTx(
547
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpgradeNodeTx>>,
548
+ extra?: any,
549
+ ): Promise<string>;
550
+ sendWithdrawTokenV2Tx(
551
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.WithdrawTokenV2Tx>>,
552
+ extra?: any,
553
+ ): Promise<string>;
554
+ encodeAccountMigrateTx(
555
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AccountMigrateTx>>,
556
+ ): Promise<GraphQLClient.EncodeTxResult>;
557
+ encodeAcquireAssetV2Tx(
558
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AcquireAssetV2Tx>>,
559
+ ): Promise<GraphQLClient.EncodeTxResult>;
560
+ encodeAcquireAssetV3Tx(
561
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AcquireAssetV3Tx>>,
562
+ ): Promise<GraphQLClient.EncodeTxResult>;
563
+ encodeBurnTokenTx(
564
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.BurnTokenTx>>,
565
+ ): Promise<GraphQLClient.EncodeTxResult>;
566
+ encodeClaimBlockRewardTx(
567
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimBlockRewardTx>>,
568
+ ): Promise<GraphQLClient.EncodeTxResult>;
569
+ encodeClaimStakeTx(
570
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimStakeTx>>,
571
+ ): Promise<GraphQLClient.EncodeTxResult>;
572
+ encodeCloseRollupTx(
573
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CloseRollupTx>>,
574
+ ): Promise<GraphQLClient.EncodeTxResult>;
575
+ encodeConsumeAssetTx(
576
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ConsumeAssetTx>>,
577
+ ): Promise<GraphQLClient.EncodeTxResult>;
578
+ encodeCreateAssetTx(
579
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateAssetTx>>,
580
+ ): Promise<GraphQLClient.EncodeTxResult>;
581
+ encodeCreateFactoryTx(
582
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateFactoryTx>>,
583
+ ): Promise<GraphQLClient.EncodeTxResult>;
584
+ encodeCreateRollupBlockTx(
585
+ param: GraphQLClient.TxParam<
586
+ PartialDeep<GraphQLClient.CreateRollupBlockTx>
587
+ >,
588
+ ): Promise<GraphQLClient.EncodeTxResult>;
589
+ encodeCreateRollupTx(
590
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateRollupTx>>,
591
+ ): Promise<GraphQLClient.EncodeTxResult>;
592
+ encodeCreateTokenFactoryTx(
593
+ param: GraphQLClient.TxParam<
594
+ PartialDeep<GraphQLClient.CreateTokenFactoryTx>
595
+ >,
596
+ ): Promise<GraphQLClient.EncodeTxResult>;
597
+ encodeCreateTokenTx(
598
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateTokenTx>>,
599
+ ): Promise<GraphQLClient.EncodeTxResult>;
600
+ encodeDelegateTx(
601
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DelegateTx>>,
602
+ ): Promise<GraphQLClient.EncodeTxResult>;
603
+ encodeDepositTokenV2Tx(
604
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DepositTokenV2Tx>>,
605
+ ): Promise<GraphQLClient.EncodeTxResult>;
606
+ encodeExchangeTx(
607
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeTx>>,
608
+ ): Promise<GraphQLClient.EncodeTxResult>;
609
+ encodeExchangeV2Tx(
610
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeV2Tx>>,
611
+ ): Promise<GraphQLClient.EncodeTxResult>;
612
+ encodeJoinRollupTx(
613
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.JoinRollupTx>>,
614
+ ): Promise<GraphQLClient.EncodeTxResult>;
615
+ encodeLeaveRollupTx(
616
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.LeaveRollupTx>>,
617
+ ): Promise<GraphQLClient.EncodeTxResult>;
618
+ encodeMigrateRollupTx(
619
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MigrateRollupTx>>,
620
+ ): Promise<GraphQLClient.EncodeTxResult>;
621
+ encodeMintAssetTx(
622
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MintAssetTx>>,
623
+ ): Promise<GraphQLClient.EncodeTxResult>;
624
+ encodeMintTokenTx(
625
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MintTokenTx>>,
626
+ ): Promise<GraphQLClient.EncodeTxResult>;
627
+ encodePauseRollupTx(
628
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.PauseRollupTx>>,
629
+ ): Promise<GraphQLClient.EncodeTxResult>;
630
+ encodeResumeRollupTx(
631
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ResumeRollupTx>>,
632
+ ): Promise<GraphQLClient.EncodeTxResult>;
633
+ encodeReturnStakeTx(
634
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ReturnStakeTx>>,
635
+ ): Promise<GraphQLClient.EncodeTxResult>;
636
+ encodeRevokeDelegateTx(
637
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.RevokeDelegateTx>>,
638
+ ): Promise<GraphQLClient.EncodeTxResult>;
639
+ encodeRevokeStakeTx(
640
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.RevokeStakeTx>>,
641
+ ): Promise<GraphQLClient.EncodeTxResult>;
642
+ encodeSlashStakeTx(
643
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.SlashStakeTx>>,
644
+ ): Promise<GraphQLClient.EncodeTxResult>;
645
+ encodeStakeTx(
646
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.StakeTx>>,
647
+ ): Promise<GraphQLClient.EncodeTxResult>;
648
+ encodeTransferTx(
649
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferTx>>,
650
+ ): Promise<GraphQLClient.EncodeTxResult>;
651
+ encodeTransferV2Tx(
652
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV2Tx>>,
653
+ ): Promise<GraphQLClient.EncodeTxResult>;
654
+ encodeTransferV3Tx(
655
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV3Tx>>,
656
+ ): Promise<GraphQLClient.EncodeTxResult>;
657
+ encodeUpdateAssetTx(
658
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateAssetTx>>,
659
+ ): Promise<GraphQLClient.EncodeTxResult>;
660
+ encodeUpdateRollupTx(
661
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateRollupTx>>,
662
+ ): Promise<GraphQLClient.EncodeTxResult>;
663
+ encodeUpdateTokenFactoryTx(
664
+ param: GraphQLClient.TxParam<
665
+ PartialDeep<GraphQLClient.UpdateTokenFactoryTx>
666
+ >,
667
+ ): Promise<GraphQLClient.EncodeTxResult>;
668
+ encodeUpgradeNodeTx(
669
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpgradeNodeTx>>,
670
+ ): Promise<GraphQLClient.EncodeTxResult>;
671
+ encodeWithdrawTokenV2Tx(
672
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.WithdrawTokenV2Tx>>,
673
+ ): Promise<GraphQLClient.EncodeTxResult>;
674
+ signAccountMigrateTx(
675
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AccountMigrateTx>>,
676
+ ): Promise<GraphQLClient.Transaction>;
677
+ signAcquireAssetV2Tx(
678
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AcquireAssetV2Tx>>,
679
+ ): Promise<GraphQLClient.Transaction>;
680
+ signAcquireAssetV3Tx(
681
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AcquireAssetV3Tx>>,
682
+ ): Promise<GraphQLClient.Transaction>;
683
+ signBurnTokenTx(
684
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.BurnTokenTx>>,
685
+ ): Promise<GraphQLClient.Transaction>;
686
+ signClaimBlockRewardTx(
687
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimBlockRewardTx>>,
688
+ ): Promise<GraphQLClient.Transaction>;
689
+ signClaimStakeTx(
690
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimStakeTx>>,
691
+ ): Promise<GraphQLClient.Transaction>;
692
+ signCloseRollupTx(
693
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CloseRollupTx>>,
694
+ ): Promise<GraphQLClient.Transaction>;
695
+ signConsumeAssetTx(
696
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ConsumeAssetTx>>,
697
+ ): Promise<GraphQLClient.Transaction>;
698
+ signCreateAssetTx(
699
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateAssetTx>>,
700
+ ): Promise<GraphQLClient.Transaction>;
701
+ signCreateFactoryTx(
702
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateFactoryTx>>,
703
+ ): Promise<GraphQLClient.Transaction>;
704
+ signCreateRollupBlockTx(
705
+ param: GraphQLClient.TxParam<
706
+ PartialDeep<GraphQLClient.CreateRollupBlockTx>
707
+ >,
708
+ ): Promise<GraphQLClient.Transaction>;
709
+ signCreateRollupTx(
710
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateRollupTx>>,
711
+ ): Promise<GraphQLClient.Transaction>;
712
+ signCreateTokenFactoryTx(
713
+ param: GraphQLClient.TxParam<
714
+ PartialDeep<GraphQLClient.CreateTokenFactoryTx>
715
+ >,
716
+ ): Promise<GraphQLClient.Transaction>;
717
+ signCreateTokenTx(
718
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateTokenTx>>,
719
+ ): Promise<GraphQLClient.Transaction>;
720
+ signDelegateTx(
721
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DelegateTx>>,
722
+ ): Promise<GraphQLClient.Transaction>;
723
+ signDepositTokenV2Tx(
724
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DepositTokenV2Tx>>,
725
+ ): Promise<GraphQLClient.Transaction>;
726
+ signExchangeTx(
727
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeTx>>,
728
+ ): Promise<GraphQLClient.Transaction>;
729
+ signExchangeV2Tx(
730
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeV2Tx>>,
731
+ ): Promise<GraphQLClient.Transaction>;
732
+ signJoinRollupTx(
733
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.JoinRollupTx>>,
734
+ ): Promise<GraphQLClient.Transaction>;
735
+ signLeaveRollupTx(
736
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.LeaveRollupTx>>,
737
+ ): Promise<GraphQLClient.Transaction>;
738
+ signMigrateRollupTx(
739
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MigrateRollupTx>>,
740
+ ): Promise<GraphQLClient.Transaction>;
741
+ signMintAssetTx(
742
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MintAssetTx>>,
743
+ ): Promise<GraphQLClient.Transaction>;
744
+ signMintTokenTx(
745
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MintTokenTx>>,
746
+ ): Promise<GraphQLClient.Transaction>;
747
+ signPauseRollupTx(
748
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.PauseRollupTx>>,
749
+ ): Promise<GraphQLClient.Transaction>;
750
+ signResumeRollupTx(
751
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ResumeRollupTx>>,
752
+ ): Promise<GraphQLClient.Transaction>;
753
+ signReturnStakeTx(
754
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ReturnStakeTx>>,
755
+ ): Promise<GraphQLClient.Transaction>;
756
+ signRevokeDelegateTx(
757
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.RevokeDelegateTx>>,
758
+ ): Promise<GraphQLClient.Transaction>;
759
+ signRevokeStakeTx(
760
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.RevokeStakeTx>>,
761
+ ): Promise<GraphQLClient.Transaction>;
762
+ signSlashStakeTx(
763
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.SlashStakeTx>>,
764
+ ): Promise<GraphQLClient.Transaction>;
765
+ signStakeTx(
766
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.StakeTx>>,
767
+ ): Promise<GraphQLClient.Transaction>;
768
+ signTransferTx(
769
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferTx>>,
770
+ ): Promise<GraphQLClient.Transaction>;
771
+ signTransferV2Tx(
772
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV2Tx>>,
773
+ ): Promise<GraphQLClient.Transaction>;
774
+ signTransferV3Tx(
775
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV3Tx>>,
776
+ ): Promise<GraphQLClient.Transaction>;
777
+ signUpdateAssetTx(
778
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateAssetTx>>,
779
+ ): Promise<GraphQLClient.Transaction>;
780
+ signUpdateRollupTx(
781
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateRollupTx>>,
782
+ ): Promise<GraphQLClient.Transaction>;
783
+ signUpdateTokenFactoryTx(
784
+ param: GraphQLClient.TxParam<
785
+ PartialDeep<GraphQLClient.UpdateTokenFactoryTx>
786
+ >,
787
+ ): Promise<GraphQLClient.Transaction>;
788
+ signUpgradeNodeTx(
789
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpgradeNodeTx>>,
790
+ ): Promise<GraphQLClient.Transaction>;
791
+ signWithdrawTokenV2Tx(
792
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.WithdrawTokenV2Tx>>,
793
+ ): Promise<GraphQLClient.Transaction>;
794
+ multiSignExchangeV2Tx(
795
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeV2Tx>>,
796
+ ): Promise<GraphQLClient.Transaction>;
797
+ multiSignTransferV3Tx(
798
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV3Tx>>,
799
+ ): Promise<GraphQLClient.Transaction>;
800
+ multiSignAcquireAssetV3Tx(
801
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AcquireAssetV3Tx>>,
802
+ ): Promise<GraphQLClient.Transaction>;
803
+ multiSignStakeTx(
804
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.StakeTx>>,
805
+ ): Promise<GraphQLClient.Transaction>;
806
+ multiSignUpdateRollupTx(
807
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateRollupTx>>,
808
+ ): Promise<GraphQLClient.Transaction>;
809
+ multiSignJoinRollupTx(
810
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.JoinRollupTx>>,
811
+ ): Promise<GraphQLClient.Transaction>;
812
+ multiSignLeaveRollupTx(
813
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.LeaveRollupTx>>,
814
+ ): Promise<GraphQLClient.Transaction>;
815
+ multiSignPauseRollupTx(
816
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.PauseRollupTx>>,
817
+ ): Promise<GraphQLClient.Transaction>;
818
+ multiSignCloseRollupTx(
819
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CloseRollupTx>>,
820
+ ): Promise<GraphQLClient.Transaction>;
821
+ multiSignMigrateRollupTx(
822
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MigrateRollupTx>>,
823
+ ): Promise<GraphQLClient.Transaction>;
824
+ multiSignResumeRollupTx(
825
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ResumeRollupTx>>,
826
+ ): Promise<GraphQLClient.Transaction>;
827
+ multiSignDepositTokenV2Tx(
828
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DepositTokenV2Tx>>,
829
+ ): Promise<GraphQLClient.Transaction>;
830
+ multiSignWithdrawTokenV2Tx(
831
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.WithdrawTokenV2Tx>>,
832
+ ): Promise<GraphQLClient.Transaction>;
833
+ multiSignCreateRollupBlockTx(
834
+ param: GraphQLClient.TxParam<
835
+ PartialDeep<GraphQLClient.CreateRollupBlockTx>
836
+ >,
837
+ ): Promise<GraphQLClient.Transaction>;
838
+ multiSignClaimBlockRewardTx(
839
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimBlockRewardTx>>,
840
+ ): Promise<GraphQLClient.Transaction>;
841
+ multiSignCreateAssetTx(
842
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateAssetTx>>,
843
+ ): Promise<GraphQLClient.Transaction>;
844
+ multiSignConsumeAssetTx(
845
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ConsumeAssetTx>>,
846
+ ): Promise<GraphQLClient.Transaction>;
847
+ multiSignMintTokenTx(
848
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MintTokenTx>>,
849
+ ): Promise<GraphQLClient.Transaction>;
850
+ multiSignBurnTokenTx(
851
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.BurnTokenTx>>,
852
+ ): Promise<GraphQLClient.Transaction>;
853
+ getAccountState(
854
+ params?: PartialDeep<GraphQLClient.GetAccountStateParams>,
855
+ ): Promise<GraphQLClient.ResponseGetAccountState>;
856
+ getAssetState(
857
+ params?: PartialDeep<GraphQLClient.GetAssetStateParams>,
858
+ ): Promise<GraphQLClient.ResponseGetAssetState>;
859
+ getFactoryState(
860
+ params?: PartialDeep<GraphQLClient.GetFactoryStateParams>,
861
+ ): Promise<GraphQLClient.ResponseGetFactoryState>;
862
+ getDelegateState(
863
+ params?: PartialDeep<GraphQLClient.GetDelegateStateParams>,
864
+ ): Promise<GraphQLClient.ResponseGetDelegateState>;
865
+ getTokenState(
866
+ params?: PartialDeep<GraphQLClient.GetTokenStateParams>,
867
+ ): Promise<GraphQLClient.ResponseGetTokenState>;
868
+ getEvidenceState(
869
+ params?: PartialDeep<GraphQLClient.GetEvidenceStateParams>,
870
+ ): Promise<GraphQLClient.ResponseGetEvidenceState>;
871
+ getForgeState(
872
+ params?: PartialDeep<GraphQLClient.GetForgeStateParams>,
873
+ ): Promise<GraphQLClient.ResponseGetForgeState>;
874
+ getTokenFactoryState(
875
+ params?: PartialDeep<GraphQLClient.GetTokenFactoryStateParams>,
876
+ ): Promise<GraphQLClient.ResponseGetTokenFactoryState>;
877
+ getTx(
878
+ params?: PartialDeep<GraphQLClient.GetTxParams>,
879
+ ): Promise<GraphQLClient.ResponseGetTx>;
880
+ getBlock(
881
+ params?: PartialDeep<GraphQLClient.GetBlockParams>,
882
+ ): Promise<GraphQLClient.ResponseGetBlock>;
883
+ getBlocks(
884
+ params?: PartialDeep<GraphQLClient.GetBlocksParams>,
885
+ ): Promise<GraphQLClient.ResponseGetBlocks>;
886
+ getUnconfirmedTxs(
887
+ params?: PartialDeep<GraphQLClient.GetUnconfirmedTxsParams>,
888
+ ): Promise<GraphQLClient.ResponseGetUnconfirmedTxs>;
889
+ getChainInfo(): Promise<GraphQLClient.ResponseGetChainInfo>;
890
+ getConfig(
891
+ params?: PartialDeep<GraphQLClient.GetConfigParams>,
892
+ ): Promise<GraphQLClient.ResponseGetConfig>;
893
+ getNetInfo(): Promise<GraphQLClient.ResponseGetNetInfo>;
894
+ getNodeInfo(): Promise<GraphQLClient.ResponseGetNodeInfo>;
895
+ getValidatorsInfo(): Promise<GraphQLClient.ResponseGetValidatorsInfo>;
896
+ getForgeStats(): Promise<GraphQLClient.ResponseGetForgeStats>;
897
+ listAssetTransactions(
898
+ params?: PartialDeep<GraphQLClient.ListAssetTransactionsParams>,
899
+ ): Promise<GraphQLClient.ResponseListAssetTransactions>;
900
+ listAssets(
901
+ params?: PartialDeep<GraphQLClient.ListAssetsParams>,
902
+ ): Promise<GraphQLClient.ResponseListAssets>;
903
+ listBlocks(
904
+ params?: PartialDeep<GraphQLClient.ListBlocksParams>,
905
+ ): Promise<GraphQLClient.ResponseListBlocks>;
906
+ listTopAccounts(
907
+ params?: PartialDeep<GraphQLClient.ListTopAccountsParams>,
908
+ ): Promise<GraphQLClient.ResponseListTopAccounts>;
909
+ listTransactions(
910
+ params?: PartialDeep<GraphQLClient.ListTransactionsParams>,
911
+ ): Promise<GraphQLClient.ResponseListTransactions>;
912
+ listTokens(
913
+ params?: PartialDeep<GraphQLClient.ListTokensParams>,
914
+ ): Promise<GraphQLClient.ResponseListTokens>;
915
+ listFactories(
916
+ params?: PartialDeep<GraphQLClient.ListFactoriesParams>,
917
+ ): Promise<GraphQLClient.ResponseListFactories>;
918
+ getAccountTokens(
919
+ params?: PartialDeep<GraphQLClient.GetAccountTokensParams>,
920
+ ): Promise<GraphQLClient.ResponseGetAccountTokens>;
921
+ getStakeState(
922
+ params?: PartialDeep<GraphQLClient.GetStakeStateParams>,
923
+ ): Promise<GraphQLClient.ResponseGetStakeState>;
924
+ listStakes(
925
+ params?: PartialDeep<GraphQLClient.ListStakesParams>,
926
+ ): Promise<GraphQLClient.ResponseListStakes>;
927
+ getRollupState(
928
+ params?: PartialDeep<GraphQLClient.GetRollupStateParams>,
929
+ ): Promise<GraphQLClient.ResponseGetRollupState>;
930
+ listRollups(
931
+ params?: PartialDeep<GraphQLClient.ListRollupsParams>,
932
+ ): Promise<GraphQLClient.ResponseListRollups>;
933
+ getRollupBlock(
934
+ params?: PartialDeep<GraphQLClient.GetRollupBlockParams>,
935
+ ): Promise<GraphQLClient.ResponseGetRollupBlock>;
936
+ listRollupBlocks(
937
+ params?: PartialDeep<GraphQLClient.ListRollupBlocksParams>,
938
+ ): Promise<GraphQLClient.ResponseListRollupBlocks>;
939
+ listRollupValidators(
940
+ params?: PartialDeep<GraphQLClient.ListRollupValidatorsParams>,
941
+ ): Promise<GraphQLClient.ResponseListRollupValidators>;
942
+ listDelegations(
943
+ params?: PartialDeep<GraphQLClient.ListDelegationsParams>,
944
+ ): Promise<GraphQLClient.ResponseListDelegations>;
945
+ search(
946
+ params?: PartialDeep<GraphQLClient.SearchParams>,
947
+ ): Promise<GraphQLClient.ResponseSearch>;
948
+ estimateGas(
949
+ params?: PartialDeep<GraphQLClient.EstimateGasParams>,
950
+ ): Promise<GraphQLClient.ResponseEstimateGas>;
951
+ listTokenFlows(
952
+ params?: PartialDeep<GraphQLClient.ListTokenFlowsParams>,
953
+ ): Promise<GraphQLClient.ResponseListTokenFlows>;
954
+ verifyAccountRisk(
955
+ params?: PartialDeep<GraphQLClient.VerifyAccountRiskParams>,
956
+ ): Promise<GraphQLClient.ResponseVerifyAccountRisk>;
957
+ getTokenDistribution(
958
+ params?: PartialDeep<GraphQLClient.GetTokenDistributionParams>,
959
+ ): Promise<GraphQLClient.ResponseGetTokenDistribution>;
960
+ listTokenFactories(
961
+ params?: PartialDeep<GraphQLClient.ListTokenFactoriesParams>,
962
+ ): Promise<GraphQLClient.ResponseListTokenFactories>;
963
+ sendTx(
964
+ params?: PartialDeep<GraphQLClient.SendTxParams>,
965
+ ): Promise<GraphQLClient.ResponseSendTx>;
493
966
  }
494
967
 
495
968
  declare namespace GraphQLClient {
496
969
  interface Subscription<T> {
497
- on(event: 'data', fn: (data: T) => any): this;
498
- on(event: 'error', fn: (err: Error) => void): this;
970
+ on(event: "data", fn: (data: T) => any): this;
971
+ on(event: "error", fn: (err: Error) => void): this;
499
972
  }
500
973
 
501
974
  interface TxParam<T> {
502
- tx: {
975
+ tx:
976
+ | {
503
977
  nonce?: number;
504
978
  from?: string;
505
979
  pk?: string;
@@ -508,8 +982,9 @@ declare namespace GraphQLClient {
508
982
  signature?: string;
509
983
  signatures?: PartialDeep<GraphQLClient.Multisig>[];
510
984
  itx?: T;
511
- } | Transaction;
512
- wallet: WalletObject,
985
+ }
986
+ | Transaction;
987
+ wallet: WalletObject;
513
988
  delegator?: string;
514
989
  signature?: string;
515
990
  }
@@ -526,7 +1001,6 @@ declare namespace GraphQLClient {
526
1001
  buffer: Buffer;
527
1002
  }
528
1003
 
529
-
530
1004
  enum Direction {
531
1005
  MUTUAL,
532
1006
  ONE_WAY,
@@ -2174,6 +2648,7 @@ declare namespace GraphQLClient {
2174
2648
  interface SearchResult {
2175
2649
  type: string;
2176
2650
  id: string;
2651
+ title: string;
2177
2652
  }
2178
2653
 
2179
2654
  interface SlashStakeTx {
@@ -2527,7 +3002,6 @@ declare namespace GraphQLClient {
2527
3002
  data: GraphQLClient.Any;
2528
3003
  }
2529
3004
 
2530
-
2531
3005
  interface GetAccountStateParams {
2532
3006
  address: string;
2533
3007
  height: string;
@@ -2750,5 +3224,4 @@ declare namespace GraphQLClient {
2750
3224
  wallet: string;
2751
3225
  extra: string;
2752
3226
  }
2753
-
2754
3227
  }