@ocap/sdk 1.28.6 → 1.28.8

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/index.d.ts CHANGED
@@ -1,23 +1,25 @@
1
- import { BN } from './bn.js';
2
- import { LiteralUnion } from 'type-fest';
3
- import rightPad from 'lodash/padEnd';
4
- import leftPad from 'lodash/padStart';
5
-
6
- //#region src/index.d.ts
7
- declare const isBase58btc: (data: any) => boolean;
8
- type BytesType = string | Buffer | Uint8Array;
9
- type EncodingType = LiteralUnion<'hex' | 'base16' | 'base58' | 'base64' | 'Uint8Array' | 'buffer', string>;
10
- type KeyPairType = {
1
+ import type { LiteralUnion } from "type-fest";
2
+ import rightPad from "lodash/padEnd";
3
+ import leftPad from "lodash/padStart";
4
+ import { BN } from "./bn";
5
+ export declare const isBase58btc: (data: any) => boolean;
6
+ export type BytesType = string | Buffer | Uint8Array;
7
+ export type EncodingType = LiteralUnion<
8
+ "hex" | "base16" | "base58" | "base64" | "Uint8Array" | "buffer",
9
+ string
10
+ >;
11
+ export type KeyPairType = {
11
12
  publicKey: BytesType;
12
13
  secretKey: BytesType;
13
14
  };
15
+ export { BN, leftPad, rightPad };
14
16
  /**
15
17
  * Returns a BN object, converts a number value to a BN
16
18
  * @param {string|number|BN} `arg` input a string number, hex string number, number, BigNumber or BN object
17
19
  * @return {BN} `output` BN object of the number
18
20
  * @throws if the argument is not an array, object that isn't a bignumber, not a string number or number
19
21
  */
20
- declare const numberToBN: (arg: string | number | BN) => BN;
22
+ export declare const numberToBN: (arg: string | number | BN) => BN;
21
23
  /**
22
24
  * Returns a `boolean` on whether or not the `string` starts with '0x'
23
25
  *
@@ -27,14 +29,14 @@ declare const numberToBN: (arg: string | number | BN) => BN;
27
29
  * @return {Boolean} a boolean if it is or is not hex prefixed
28
30
  * @throws if the str input is not a string
29
31
  */
30
- declare const isHexPrefixed: (str: string) => boolean;
32
+ export declare const isHexPrefixed: (str: string) => boolean;
31
33
  /**
32
34
  * Removes '0x' from a given `String` if present
33
35
  *
34
36
  * @public
35
37
  * @static
36
38
  */
37
- declare const stripHexPrefix: (str: string | any) => any;
39
+ export declare const stripHexPrefix: (str: string | any) => any;
38
40
  /**
39
41
  * Returns true if object is BN, otherwise false
40
42
  *
@@ -44,7 +46,7 @@ declare const stripHexPrefix: (str: string | any) => any;
44
46
  * @param {Object} object
45
47
  * @returns {Boolean}
46
48
  */
47
- declare const isBN: (object: $TSFixMe) => boolean;
49
+ export declare const isBN: (object: $TSFixMe) => boolean;
48
50
  /**
49
51
  * Returns true if object is BigNumber, otherwise false
50
52
  *
@@ -54,7 +56,7 @@ declare const isBN: (object: $TSFixMe) => boolean;
54
56
  * @param {Object} object
55
57
  * @returns {Boolean}
56
58
  */
57
- declare const isBigNumber: (object: $TSFixMe) => boolean;
59
+ export declare const isBigNumber: (object: $TSFixMe) => boolean;
58
60
  /**
59
61
  * Check if string is HEX, requires a 0x in front
60
62
  *
@@ -64,7 +66,7 @@ declare const isBigNumber: (object: $TSFixMe) => boolean;
64
66
  * @param {String} hex to be checked
65
67
  * @returns {Boolean}
66
68
  */
67
- declare const isHexStrict: (hex: string) => boolean;
69
+ export declare const isHexStrict: (hex: string) => boolean;
68
70
  /**
69
71
  * Check if string is HEX
70
72
  *
@@ -74,7 +76,7 @@ declare const isHexStrict: (hex: string) => boolean;
74
76
  * @param {String} hex to be checked
75
77
  * @returns {Boolean}
76
78
  */
77
- declare const isHex: (hex: string) => boolean;
79
+ export declare const isHex: (hex: string) => boolean;
78
80
  /**
79
81
  * Takes an input and transforms it into an BN
80
82
  *
@@ -84,7 +86,10 @@ declare const isHex: (hex: string) => boolean;
84
86
  * @param {Number|String|BN} num, string, HEX string or BN
85
87
  * @returns {BN} BN
86
88
  */
87
- declare const toBN: (num: number | string | BN, base?: number | 'hex') => BN;
89
+ export declare const toBN: (
90
+ num: number | string | BN,
91
+ base?: number | "hex",
92
+ ) => BN;
88
93
  /**
89
94
  * Should be called to get hex representation (prefixed by 0x) of utf8 string
90
95
  *
@@ -94,7 +99,7 @@ declare const toBN: (num: number | string | BN, base?: number | 'hex') => BN;
94
99
  * @param {String} str
95
100
  * @returns {String} hex representation of input string
96
101
  */
97
- declare const utf8ToHex: (str: string) => string;
102
+ export declare const utf8ToHex: (str: string) => string;
98
103
  /**
99
104
  * Should be called to get utf8 from it's hex representation
100
105
  *
@@ -104,7 +109,7 @@ declare const utf8ToHex: (str: string) => string;
104
109
  * @param {String} hex
105
110
  * @returns {String} ascii string representation of hex value
106
111
  */
107
- declare const hexToUtf8: (hex: string) => string;
112
+ export declare const hexToUtf8: (hex: string) => string;
108
113
  /**
109
114
  * Converts value to number representation
110
115
  *
@@ -114,7 +119,7 @@ declare const hexToUtf8: (hex: string) => string;
114
119
  * @param {String|Number|BN} value
115
120
  * @returns {Number}
116
121
  */
117
- declare const hexToNumber: (value: string | number | BN) => number;
122
+ export declare const hexToNumber: (value: string | number | BN) => number;
118
123
  /**
119
124
  * Converts value to hex representation
120
125
  *
@@ -124,7 +129,7 @@ declare const hexToNumber: (value: string | number | BN) => number;
124
129
  * @param {String|Number|BN} value
125
130
  * @returns {String}
126
131
  */
127
- declare const numberToHex: (value: $TSFixMe) => string;
132
+ export declare const numberToHex: (value: $TSFixMe) => string;
128
133
  /**
129
134
  * Convert a byte array to a hex string
130
135
  * Note: Implementation from crypto-js
@@ -135,7 +140,7 @@ declare const numberToHex: (value: $TSFixMe) => string;
135
140
  * @param {Array} bytes
136
141
  * @returns {String} the hex string
137
142
  */
138
- declare const bytesToHex: (bytes: $TSFixMe) => string;
143
+ export declare const bytesToHex: (bytes: $TSFixMe) => string;
139
144
  /**
140
145
  * Convert a hex string to a byte array
141
146
  * Note: Implementation from crypto-js
@@ -146,7 +151,7 @@ declare const bytesToHex: (bytes: $TSFixMe) => string;
146
151
  * @param {String} hex
147
152
  * @returns {Array} the byte array
148
153
  */
149
- declare const hexToBytes: (hex: $TSFixMe) => Array<any>;
154
+ export declare const hexToBytes: (hex: $TSFixMe) => Array<any>;
150
155
  /**
151
156
  * Auto converts any given value into it's hex representation.
152
157
  * And even stringify objects before.
@@ -158,7 +163,7 @@ declare const hexToBytes: (hex: $TSFixMe) => Array<any>;
158
163
  * @param {Boolean} returnType
159
164
  * @returns {String}
160
165
  */
161
- declare const toHex: (
166
+ export declare const toHex: (
162
167
  value:
163
168
  | string
164
169
  | number
@@ -175,155 +180,157 @@ declare const toHex: (
175
180
  | {
176
181
  test: string;
177
182
  },
178
- returnType?: boolean
183
+ returnType?: boolean,
179
184
  ) => string;
180
- declare const numberToString: (arg: $TSFixMe) => any;
185
+ export declare const numberToString: (arg: $TSFixMe) => any;
181
186
  /**
182
187
  * Format a big number to human readable number, such as 1_0000_0000_0000_000 => 1 Token
183
188
  */
184
- declare const fromUnitToToken: (input: string | number | BN, decimal?: number, optionsInput?: $TSFixMe) => string;
189
+ export declare const fromUnitToToken: (
190
+ input: string | number | BN,
191
+ decimal?: number,
192
+ optionsInput?: $TSFixMe,
193
+ ) => string;
185
194
  /**
186
195
  * Convert human readable token number to big number instance
187
196
  */
188
- declare const fromTokenToUnit: (input: string | number, decimal?: number) => BN;
197
+ export declare const fromTokenToUnit: (
198
+ input: string | number,
199
+ decimal?: number,
200
+ ) => BN;
189
201
  /**
190
202
  * Validates if a value is an Uint8Array.
191
203
  */
192
- declare function isUint8Array(value: $TSFixMe): boolean;
204
+ export declare function isUint8Array(value: $TSFixMe): boolean;
193
205
  /**
194
206
  * Generate a random UUID
195
207
  */
196
- declare function UUID(): string;
208
+ export declare function UUID(): string;
197
209
  /**
198
210
  * Check if a string is valid UUID
199
211
  */
200
- declare function isUUID(str: string): boolean;
212
+ export declare function isUUID(str: string): boolean;
201
213
  /**
202
214
  * Convert input to Uint8Array on best effort, base64 node supported
203
215
  */
204
- declare function toUint8Array(v: any): Uint8Array;
216
+ export declare function toUint8Array(v: any): Uint8Array;
205
217
  /**
206
218
  * Convert input to Buffer on best effort, base64 not supported
207
219
  */
208
- declare function toBuffer(v: any): Buffer;
220
+ export declare function toBuffer(v: any): Buffer;
209
221
  /**
210
222
  * Convert input to base58btc format on best effort
211
223
  */
212
- declare function toBase58(v: any): string;
224
+ export declare function toBase58(v: any): string;
213
225
  /**
214
226
  * Decode base58 string
215
227
  */
216
- declare function fromBase58(v: string): Buffer;
228
+ export declare function fromBase58(v: string): Buffer;
217
229
  /**
218
230
  * Convert input to base64 format
219
231
  */
220
- declare function toBase64(v: any, escape?: boolean): string;
232
+ export declare function toBase64(v: any, escape?: boolean): string;
221
233
  /**
222
234
  * Decode base64(base64_url) string to buffer
223
235
  */
224
- declare function fromBase64(v: string): Buffer;
236
+ export declare function fromBase64(v: string): Buffer;
225
237
  /**
226
238
  * Convert did to address: remove `did:abt:` prefix
227
239
  */
228
- declare function toAddress(did: string): string;
240
+ export declare function toAddress(did: string): string;
229
241
  /**
230
242
  * Convert address to did: prepend `did:abt:` prefix
231
243
  */
232
- declare function toDid(address: string): string;
233
- declare function isSameDid(a: string, b: string): boolean;
234
- declare function formatTxType(type: string): Capitalize<string>;
235
- //#endregion
236
- export {
237
- BN,
238
- BytesType,
239
- EncodingType,
240
- KeyPairType,
241
- UUID,
242
- bytesToHex,
243
- formatTxType,
244
- fromBase58,
245
- fromBase64,
246
- fromTokenToUnit,
247
- fromUnitToToken,
248
- hexToBytes,
249
- hexToNumber,
250
- hexToUtf8,
251
- isBN,
252
- isBase58btc,
253
- isBigNumber,
254
- isHex,
255
- isHexPrefixed,
256
- isHexStrict,
257
- isSameDid,
258
- isUUID,
259
- isUint8Array,
260
- leftPad,
261
- numberToBN,
262
- numberToHex,
263
- numberToString,
264
- rightPad,
265
- stripHexPrefix,
266
- toAddress,
267
- toBN,
268
- toBase58,
269
- toBase64,
270
- toBuffer,
271
- toDid,
272
- toHex,
273
- toUint8Array,
274
- utf8ToHex,
275
- };
276
- import { BytesType, EncodingType } from '@ocap/util';
277
- import { DIDType, DIDTypeArg, DIDTypeStr, DidType } from '@arcblock/did';
278
-
279
- //#region src/index.d.ts
244
+ export declare function toDid(address: string): string;
245
+ export declare function isSameDid(a: string, b: string): boolean;
246
+ export declare function formatTxType(type: string): any;
247
+ import { EncodingType, BytesType } from "@ocap/util";
248
+ import { DidType, DIDType, DIDTypeStr, DIDTypeArg } from "@arcblock/did";
280
249
  type KeyPairType<T extends BytesType = string> = {
281
250
  sk?: T;
282
251
  pk?: T;
283
252
  address?: string;
284
253
  };
285
- type SerializedWallet = {
254
+ export type SerializedWallet = {
286
255
  type: DIDTypeStr;
287
256
  pk: string;
288
257
  sk: string;
289
258
  address: string;
290
259
  };
291
- interface WalletObject<T extends BytesType = string> {
260
+ export interface WalletObject<T extends BytesType = string> {
292
261
  type: DIDType;
293
262
  secretKey: T;
294
263
  publicKey: T;
295
264
  address: string;
296
- hash(data: BytesType, round?: number, encoding?: 'hex'): string;
297
- hash(data: BytesType, round?: number, encoding?: 'base16'): string;
298
- hash(data: BytesType, round?: number, encoding?: 'base58'): string;
299
- hash(data: BytesType, round?: number, encoding?: 'base64'): string;
300
- hash(data: BytesType, round?: number, encoding?: 'buffer'): Buffer;
301
- hash(data: BytesType, round?: number, encoding?: 'Uint8Array'): Uint8Array;
265
+ hash(data: BytesType, round?: number, encoding?: "hex"): string;
266
+ hash(data: BytesType, round?: number, encoding?: "base16"): string;
267
+ hash(data: BytesType, round?: number, encoding?: "base58"): string;
268
+ hash(data: BytesType, round?: number, encoding?: "base64"): string;
269
+ hash(data: BytesType, round?: number, encoding?: "buffer"): Buffer;
270
+ hash(data: BytesType, round?: number, encoding?: "Uint8Array"): Uint8Array;
302
271
  hash(data: BytesType, round?: number, encoding?: EncodingType): BytesType;
303
- sign(data: BytesType, hashBeforeSign?: boolean, encoding?: 'hex'): Promise<string>;
304
- sign(data: BytesType, hashBeforeSign?: boolean, encoding?: 'base16'): Promise<string>;
305
- sign(data: BytesType, hashBeforeSign?: boolean, encoding?: 'base58'): Promise<string>;
306
- sign(data: BytesType, hashBeforeSign?: boolean, encoding?: 'base64'): Promise<string>;
307
- sign(data: BytesType, hashBeforeSign?: boolean, encoding?: 'buffer'): Promise<Buffer>;
308
- sign(data: BytesType, hashBeforeSign?: boolean, encoding?: 'Uint8Array'): Promise<Uint8Array>;
309
- sign(data: BytesType, hashBeforeSign?: boolean, encoding?: EncodingType): Promise<BytesType>;
310
- verify(data: BytesType, signature: BytesType, hashBeforeVerify?: boolean, extra?: any): Promise<boolean>;
272
+ sign(
273
+ data: BytesType,
274
+ hashBeforeSign?: boolean,
275
+ encoding?: "hex",
276
+ ): Promise<string>;
277
+ sign(
278
+ data: BytesType,
279
+ hashBeforeSign?: boolean,
280
+ encoding?: "base16",
281
+ ): Promise<string>;
282
+ sign(
283
+ data: BytesType,
284
+ hashBeforeSign?: boolean,
285
+ encoding?: "base58",
286
+ ): Promise<string>;
287
+ sign(
288
+ data: BytesType,
289
+ hashBeforeSign?: boolean,
290
+ encoding?: "base64",
291
+ ): Promise<string>;
292
+ sign(
293
+ data: BytesType,
294
+ hashBeforeSign?: boolean,
295
+ encoding?: "buffer",
296
+ ): Promise<Buffer>;
297
+ sign(
298
+ data: BytesType,
299
+ hashBeforeSign?: boolean,
300
+ encoding?: "Uint8Array",
301
+ ): Promise<Uint8Array>;
302
+ sign(
303
+ data: BytesType,
304
+ hashBeforeSign?: boolean,
305
+ encoding?: EncodingType,
306
+ ): Promise<BytesType>;
307
+ verify(
308
+ data: BytesType,
309
+ signature: BytesType,
310
+ hashBeforeVerify?: boolean,
311
+ extra?: any,
312
+ ): Promise<boolean>;
311
313
  ethHash(data: string): string;
312
314
  ethSign(data: string, hashBeforeSign?: boolean): Promise<string>;
313
- ethVerify(data: string, signature: string, hashBeforeVerify?: boolean): Promise<boolean>;
314
- signETH(data: string, hashBeforeSign?: boolean): Promise<string>;
315
- signJWT(payload?: any, doSign?: boolean, version?: string): Promise<string>;
315
+ ethVerify(
316
+ data: string,
317
+ signature: string,
318
+ hashBeforeVerify?: boolean,
319
+ ): boolean;
316
320
  toJSON(): SerializedWallet;
317
321
  /**
318
322
  * @deprecated ES6: use `wallet.address` instead
319
323
  */
320
324
  toAddress(): string;
321
325
  }
322
- declare const WalletType: typeof DidType;
326
+ export declare const WalletType: typeof DidType;
323
327
  /**
324
328
  * Generate an wallet instance that can be used to sign a message or verify a signature
325
329
  */
326
- declare function Wallet<T extends BytesType = string>(keyPair: KeyPairType<T>, t?: DIDTypeArg): WalletObject<T>;
330
+ export declare function Wallet<T extends BytesType = string>(
331
+ keyPair: KeyPairType<T>,
332
+ t?: DIDTypeArg,
333
+ ): WalletObject<T>;
327
334
  /**
328
335
  * Generate a wallet from secretKey
329
336
  *
@@ -342,82 +349,104 @@ declare function Wallet<T extends BytesType = string>(keyPair: KeyPairType<T>, t
342
349
  * assert.equal(signature, sig, "signature should match");
343
350
  * assert.ok(wallet.verify(message, signature), "signature should be verified");
344
351
  */
345
- declare function fromSecretKey<T extends BytesType = string>(sk: T, _type?: DIDTypeArg): WalletObject<T>;
352
+ export declare function fromSecretKey<T extends BytesType = string>(
353
+ sk: T,
354
+ _type?: DIDTypeArg,
355
+ ): WalletObject<T>;
346
356
  /**
347
357
  * Generate a wallet from publicKey
348
358
  */
349
- declare function fromPublicKey<T extends BytesType = string>(pk: T, _type?: DIDTypeArg): WalletObject<T>;
359
+ export declare function fromPublicKey<T extends BytesType = string>(
360
+ pk: T,
361
+ _type?: DIDTypeArg,
362
+ ): WalletObject<T>;
350
363
  /**
351
364
  * Generate a wallet from address (did)
352
365
  *
353
366
  * Since we do not know the publicKey and secretKey, this kind of wallet cannot be used for signing and verifying
354
367
  */
355
- declare function fromAddress<T extends BytesType = string>(address: string): WalletObject<T>;
368
+ export declare function fromAddress<T extends BytesType = string>(
369
+ address: string,
370
+ ): WalletObject<T>;
356
371
  /**
357
372
  * Generate a wallet by generating a random secretKey
358
373
  */
359
- declare function fromRandom<T extends BytesType = string>(_type?: DIDTypeArg): WalletObject<T>;
374
+ export declare function fromRandom<T extends BytesType = string>(
375
+ _type?: DIDTypeArg,
376
+ ): WalletObject<T>;
360
377
  /**
361
378
  * Generating a wallet from a serialized json presentation of another wallet
362
379
  */
363
- declare function fromJSON<T extends BytesType = string>(json: SerializedWallet): WalletObject<T>;
380
+ export declare function fromJSON<T extends BytesType = string>(
381
+ json: SerializedWallet,
382
+ ): WalletObject<T>;
364
383
  /**
365
384
  * Check if an object is valid wallet object
366
385
  */
367
- declare function isValid(wallet: WalletObject, canSign?: boolean): boolean;
368
- //#endregion
386
+ export declare function isValid(
387
+ wallet: WalletObject,
388
+ canSign?: boolean,
389
+ ): boolean;
390
+ export {};
369
391
 
370
- import * as LibMessage from './lib/message';
392
+ import * as LibMessage from "./lib/message";
371
393
  declare const _OcapMessage: typeof LibMessage;
372
394
  export = _OcapMessage;
373
- import { CreateTokenFactoryTx, TCreateAssetTx, TCreateFactoryTx, TCreateRollupTx, TCreateTokenTx } from '@ocap/types';
374
-
375
- //#region src/index.d.ts
376
-
395
+ import {
396
+ TCreateAssetTx,
397
+ TCreateFactoryTx,
398
+ TCreateRollupTx,
399
+ TCreateTokenTx,
400
+ CreateTokenFactoryTx,
401
+ } from "@ocap/types";
377
402
  /**
378
403
  * Create an itx address
379
404
  */
380
- declare function toItxAddress(itx: object, type: string, role?: number): string;
405
+ export declare function toItxAddress(
406
+ itx: object,
407
+ type: string,
408
+ role?: number,
409
+ ): string;
381
410
  /**
382
411
  * Create an asset address
383
412
  */
384
- declare function toAssetAddress(itx: Partial<TCreateAssetTx>): string;
413
+ export declare function toAssetAddress(itx: Partial<TCreateAssetTx>): string;
385
414
  /**
386
415
  * Create an asset factory address
387
416
  */
388
- declare function toFactoryAddress(itx: Partial<TCreateFactoryTx>): string;
417
+ export declare function toFactoryAddress(
418
+ itx: Partial<TCreateFactoryTx>,
419
+ ): string;
389
420
  /**
390
421
  * Create an token address
391
422
  */
392
- declare function toTokenAddress(itx: Partial<TCreateTokenTx>): string;
423
+ export declare function toTokenAddress(itx: Partial<TCreateTokenTx>): string;
393
424
  /**
394
425
  * Create a token factory address
395
426
  */
396
- declare function toTokenFactoryAddress(itx: Partial<CreateTokenFactoryTx>): string;
427
+ export declare function toTokenFactoryAddress(
428
+ itx: Partial<CreateTokenFactoryTx>,
429
+ ): string;
397
430
  /**
398
431
  * Create an rollup address
399
432
  */
400
- declare function toRollupAddress(itx: Partial<TCreateRollupTx>): string;
433
+ export declare function toRollupAddress(itx: Partial<TCreateRollupTx>): string;
401
434
  /**
402
435
  * Generate an stake address, eg: the did of the stake
403
436
  */
404
- declare function toStakeAddress(sender: string, receiver: string, nonce?: string): string;
437
+ export declare function toStakeAddress(
438
+ sender: string,
439
+ receiver: string,
440
+ nonce?: string,
441
+ ): string;
405
442
  /**
406
443
  * Generate an delegate address, eg: the did of the delegation
407
444
  */
408
- declare function toDelegateAddress(delegator: string, delegatee: string): string;
409
- //#endregion
410
- export {
411
- toAssetAddress,
412
- toDelegateAddress,
413
- toFactoryAddress,
414
- toItxAddress,
415
- toRollupAddress,
416
- toStakeAddress,
417
- toTokenAddress,
418
- toTokenFactoryAddress,
419
- };
420
- import { WalletObject } from '@ocap/wallet';
445
+ export declare function toDelegateAddress(
446
+ delegator: string,
447
+ delegatee: string,
448
+ ): string;
449
+ import { WalletObject } from "@ocap/wallet";
421
450
 
422
451
  type PartialDeep<T> = {
423
452
  [K in keyof T]?: T[K] extends object ? PartialDeep<T[K]> : T[K];
@@ -429,6 +458,8 @@ type PartialDeep<T> = {
429
458
 
430
459
  /*~ Write your module's methods and properties in this class */
431
460
  declare interface OcapSDK {
461
+ constructor(endpoint: string, autoInit: boolean = true);
462
+
432
463
  getQueries(): string[];
433
464
  getSubscriptions(): string[];
434
465
  getMutations(): string[];
@@ -477,485 +508,580 @@ declare interface OcapSDK {
477
508
 
478
509
  sendAccountMigrateTx(
479
510
  param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AccountMigrateTx>>,
480
- extra?: any
511
+ extra?: any,
481
512
  ): Promise<string>;
482
513
  sendAcquireAssetV2Tx(
483
514
  param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AcquireAssetV2Tx>>,
484
- extra?: any
515
+ extra?: any,
485
516
  ): Promise<string>;
486
517
  sendAcquireAssetV3Tx(
487
518
  param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AcquireAssetV3Tx>>,
488
- extra?: any
519
+ extra?: any,
520
+ ): Promise<string>;
521
+ sendBurnTokenTx(
522
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.BurnTokenTx>>,
523
+ extra?: any,
489
524
  ): Promise<string>;
490
- sendBurnTokenTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.BurnTokenTx>>, extra?: any): Promise<string>;
491
525
  sendClaimBlockRewardTx(
492
526
  param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimBlockRewardTx>>,
493
- extra?: any
527
+ extra?: any,
528
+ ): Promise<string>;
529
+ sendClaimStakeTx(
530
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimStakeTx>>,
531
+ extra?: any,
494
532
  ): Promise<string>;
495
- sendClaimStakeTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimStakeTx>>, extra?: any): Promise<string>;
496
533
  sendCloseRollupTx(
497
534
  param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CloseRollupTx>>,
498
- extra?: any
535
+ extra?: any,
499
536
  ): Promise<string>;
500
537
  sendConsumeAssetTx(
501
538
  param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ConsumeAssetTx>>,
502
- extra?: any
539
+ extra?: any,
503
540
  ): Promise<string>;
504
541
  sendCreateAssetTx(
505
542
  param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateAssetTx>>,
506
- extra?: any
543
+ extra?: any,
507
544
  ): Promise<string>;
508
545
  sendCreateFactoryTx(
509
546
  param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateFactoryTx>>,
510
- extra?: any
547
+ extra?: any,
511
548
  ): Promise<string>;
512
549
  sendCreateRollupBlockTx(
513
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateRollupBlockTx>>,
514
- extra?: any
550
+ param: GraphQLClient.TxParam<
551
+ PartialDeep<GraphQLClient.CreateRollupBlockTx>
552
+ >,
553
+ extra?: any,
515
554
  ): Promise<string>;
516
555
  sendCreateRollupTx(
517
556
  param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateRollupTx>>,
518
- extra?: any
557
+ extra?: any,
519
558
  ): Promise<string>;
520
559
  sendCreateTokenFactoryTx(
521
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateTokenFactoryTx>>,
522
- extra?: any
560
+ param: GraphQLClient.TxParam<
561
+ PartialDeep<GraphQLClient.CreateTokenFactoryTx>
562
+ >,
563
+ extra?: any,
523
564
  ): Promise<string>;
524
565
  sendCreateTokenTx(
525
566
  param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateTokenTx>>,
526
- extra?: any
567
+ extra?: any,
568
+ ): Promise<string>;
569
+ sendDelegateTx(
570
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DelegateTx>>,
571
+ extra?: any,
527
572
  ): Promise<string>;
528
- sendDelegateTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DelegateTx>>, extra?: any): Promise<string>;
529
573
  sendDepositTokenV2Tx(
530
574
  param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DepositTokenV2Tx>>,
531
- extra?: any
575
+ extra?: any,
576
+ ): Promise<string>;
577
+ sendExchangeTx(
578
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeTx>>,
579
+ extra?: any,
580
+ ): Promise<string>;
581
+ sendExchangeV2Tx(
582
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeV2Tx>>,
583
+ extra?: any,
584
+ ): Promise<string>;
585
+ sendJoinRollupTx(
586
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.JoinRollupTx>>,
587
+ extra?: any,
532
588
  ): Promise<string>;
533
- sendExchangeTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeTx>>, extra?: any): Promise<string>;
534
- sendExchangeV2Tx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeV2Tx>>, extra?: any): Promise<string>;
535
- sendJoinRollupTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.JoinRollupTx>>, extra?: any): Promise<string>;
536
589
  sendLeaveRollupTx(
537
590
  param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.LeaveRollupTx>>,
538
- extra?: any
591
+ extra?: any,
539
592
  ): Promise<string>;
540
593
  sendMigrateRollupTx(
541
594
  param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MigrateRollupTx>>,
542
- extra?: any
595
+ extra?: any,
596
+ ): Promise<string>;
597
+ sendMintAssetTx(
598
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MintAssetTx>>,
599
+ extra?: any,
600
+ ): Promise<string>;
601
+ sendMintTokenTx(
602
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MintTokenTx>>,
603
+ extra?: any,
543
604
  ): Promise<string>;
544
- sendMintAssetTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MintAssetTx>>, extra?: any): Promise<string>;
545
- sendMintTokenTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MintTokenTx>>, extra?: any): Promise<string>;
546
605
  sendPauseRollupTx(
547
606
  param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.PauseRollupTx>>,
548
- extra?: any
607
+ extra?: any,
549
608
  ): Promise<string>;
550
609
  sendResumeRollupTx(
551
610
  param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ResumeRollupTx>>,
552
- extra?: any
611
+ extra?: any,
553
612
  ): Promise<string>;
554
613
  sendReturnStakeTx(
555
614
  param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ReturnStakeTx>>,
556
- extra?: any
615
+ extra?: any,
557
616
  ): Promise<string>;
558
617
  sendRevokeDelegateTx(
559
618
  param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.RevokeDelegateTx>>,
560
- extra?: any
619
+ extra?: any,
561
620
  ): Promise<string>;
562
621
  sendRevokeStakeTx(
563
622
  param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.RevokeStakeTx>>,
564
- extra?: any
623
+ extra?: any,
624
+ ): Promise<string>;
625
+ sendSlashStakeTx(
626
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.SlashStakeTx>>,
627
+ extra?: any,
628
+ ): Promise<string>;
629
+ sendStakeTx(
630
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.StakeTx>>,
631
+ extra?: any,
632
+ ): Promise<string>;
633
+ sendTransferTx(
634
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferTx>>,
635
+ extra?: any,
636
+ ): Promise<string>;
637
+ sendTransferV2Tx(
638
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV2Tx>>,
639
+ extra?: any,
640
+ ): Promise<string>;
641
+ sendTransferV3Tx(
642
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV3Tx>>,
643
+ extra?: any,
565
644
  ): Promise<string>;
566
- sendSlashStakeTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.SlashStakeTx>>, extra?: any): Promise<string>;
567
- sendStakeTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.StakeTx>>, extra?: any): Promise<string>;
568
- sendTransferTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferTx>>, extra?: any): Promise<string>;
569
- sendTransferV2Tx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV2Tx>>, extra?: any): Promise<string>;
570
- sendTransferV3Tx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV3Tx>>, extra?: any): Promise<string>;
571
645
  sendUpdateAssetTx(
572
646
  param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateAssetTx>>,
573
- extra?: any
647
+ extra?: any,
574
648
  ): Promise<string>;
575
649
  sendUpdateRollupTx(
576
650
  param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateRollupTx>>,
577
- extra?: any
651
+ extra?: any,
578
652
  ): Promise<string>;
579
653
  sendUpdateTokenFactoryTx(
580
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateTokenFactoryTx>>,
581
- extra?: any
654
+ param: GraphQLClient.TxParam<
655
+ PartialDeep<GraphQLClient.UpdateTokenFactoryTx>
656
+ >,
657
+ extra?: any,
582
658
  ): Promise<string>;
583
659
  sendUpgradeNodeTx(
584
660
  param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpgradeNodeTx>>,
585
- extra?: any
661
+ extra?: any,
586
662
  ): Promise<string>;
587
663
  sendWithdrawTokenV2Tx(
588
664
  param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.WithdrawTokenV2Tx>>,
589
- extra?: any
665
+ extra?: any,
590
666
  ): Promise<string>;
591
667
  encodeAccountMigrateTx(
592
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AccountMigrateTx>>
668
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AccountMigrateTx>>,
593
669
  ): Promise<GraphQLClient.EncodeTxResult>;
594
670
  encodeAcquireAssetV2Tx(
595
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AcquireAssetV2Tx>>
671
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AcquireAssetV2Tx>>,
596
672
  ): Promise<GraphQLClient.EncodeTxResult>;
597
673
  encodeAcquireAssetV3Tx(
598
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AcquireAssetV3Tx>>
674
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AcquireAssetV3Tx>>,
599
675
  ): Promise<GraphQLClient.EncodeTxResult>;
600
676
  encodeBurnTokenTx(
601
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.BurnTokenTx>>
677
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.BurnTokenTx>>,
602
678
  ): Promise<GraphQLClient.EncodeTxResult>;
603
679
  encodeClaimBlockRewardTx(
604
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimBlockRewardTx>>
680
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimBlockRewardTx>>,
605
681
  ): Promise<GraphQLClient.EncodeTxResult>;
606
682
  encodeClaimStakeTx(
607
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimStakeTx>>
683
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimStakeTx>>,
608
684
  ): Promise<GraphQLClient.EncodeTxResult>;
609
685
  encodeCloseRollupTx(
610
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CloseRollupTx>>
686
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CloseRollupTx>>,
611
687
  ): Promise<GraphQLClient.EncodeTxResult>;
612
688
  encodeConsumeAssetTx(
613
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ConsumeAssetTx>>
689
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ConsumeAssetTx>>,
614
690
  ): Promise<GraphQLClient.EncodeTxResult>;
615
691
  encodeCreateAssetTx(
616
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateAssetTx>>
692
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateAssetTx>>,
617
693
  ): Promise<GraphQLClient.EncodeTxResult>;
618
694
  encodeCreateFactoryTx(
619
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateFactoryTx>>
695
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateFactoryTx>>,
620
696
  ): Promise<GraphQLClient.EncodeTxResult>;
621
697
  encodeCreateRollupBlockTx(
622
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateRollupBlockTx>>
698
+ param: GraphQLClient.TxParam<
699
+ PartialDeep<GraphQLClient.CreateRollupBlockTx>
700
+ >,
623
701
  ): Promise<GraphQLClient.EncodeTxResult>;
624
702
  encodeCreateRollupTx(
625
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateRollupTx>>
703
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateRollupTx>>,
626
704
  ): Promise<GraphQLClient.EncodeTxResult>;
627
705
  encodeCreateTokenFactoryTx(
628
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateTokenFactoryTx>>
706
+ param: GraphQLClient.TxParam<
707
+ PartialDeep<GraphQLClient.CreateTokenFactoryTx>
708
+ >,
629
709
  ): Promise<GraphQLClient.EncodeTxResult>;
630
710
  encodeCreateTokenTx(
631
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateTokenTx>>
711
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateTokenTx>>,
632
712
  ): Promise<GraphQLClient.EncodeTxResult>;
633
713
  encodeDelegateTx(
634
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DelegateTx>>
714
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DelegateTx>>,
635
715
  ): Promise<GraphQLClient.EncodeTxResult>;
636
716
  encodeDepositTokenV2Tx(
637
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DepositTokenV2Tx>>
717
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DepositTokenV2Tx>>,
638
718
  ): Promise<GraphQLClient.EncodeTxResult>;
639
719
  encodeExchangeTx(
640
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeTx>>
720
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeTx>>,
641
721
  ): Promise<GraphQLClient.EncodeTxResult>;
642
722
  encodeExchangeV2Tx(
643
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeV2Tx>>
723
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeV2Tx>>,
644
724
  ): Promise<GraphQLClient.EncodeTxResult>;
645
725
  encodeJoinRollupTx(
646
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.JoinRollupTx>>
726
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.JoinRollupTx>>,
647
727
  ): Promise<GraphQLClient.EncodeTxResult>;
648
728
  encodeLeaveRollupTx(
649
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.LeaveRollupTx>>
729
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.LeaveRollupTx>>,
650
730
  ): Promise<GraphQLClient.EncodeTxResult>;
651
731
  encodeMigrateRollupTx(
652
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MigrateRollupTx>>
732
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MigrateRollupTx>>,
653
733
  ): Promise<GraphQLClient.EncodeTxResult>;
654
734
  encodeMintAssetTx(
655
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MintAssetTx>>
735
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MintAssetTx>>,
656
736
  ): Promise<GraphQLClient.EncodeTxResult>;
657
737
  encodeMintTokenTx(
658
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MintTokenTx>>
738
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MintTokenTx>>,
659
739
  ): Promise<GraphQLClient.EncodeTxResult>;
660
740
  encodePauseRollupTx(
661
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.PauseRollupTx>>
741
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.PauseRollupTx>>,
662
742
  ): Promise<GraphQLClient.EncodeTxResult>;
663
743
  encodeResumeRollupTx(
664
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ResumeRollupTx>>
744
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ResumeRollupTx>>,
665
745
  ): Promise<GraphQLClient.EncodeTxResult>;
666
746
  encodeReturnStakeTx(
667
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ReturnStakeTx>>
747
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ReturnStakeTx>>,
668
748
  ): Promise<GraphQLClient.EncodeTxResult>;
669
749
  encodeRevokeDelegateTx(
670
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.RevokeDelegateTx>>
750
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.RevokeDelegateTx>>,
671
751
  ): Promise<GraphQLClient.EncodeTxResult>;
672
752
  encodeRevokeStakeTx(
673
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.RevokeStakeTx>>
753
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.RevokeStakeTx>>,
674
754
  ): Promise<GraphQLClient.EncodeTxResult>;
675
755
  encodeSlashStakeTx(
676
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.SlashStakeTx>>
756
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.SlashStakeTx>>,
677
757
  ): Promise<GraphQLClient.EncodeTxResult>;
678
758
  encodeStakeTx(
679
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.StakeTx>>
759
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.StakeTx>>,
680
760
  ): Promise<GraphQLClient.EncodeTxResult>;
681
761
  encodeTransferTx(
682
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferTx>>
762
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferTx>>,
683
763
  ): Promise<GraphQLClient.EncodeTxResult>;
684
764
  encodeTransferV2Tx(
685
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV2Tx>>
765
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV2Tx>>,
686
766
  ): Promise<GraphQLClient.EncodeTxResult>;
687
767
  encodeTransferV3Tx(
688
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV3Tx>>
768
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV3Tx>>,
689
769
  ): Promise<GraphQLClient.EncodeTxResult>;
690
770
  encodeUpdateAssetTx(
691
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateAssetTx>>
771
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateAssetTx>>,
692
772
  ): Promise<GraphQLClient.EncodeTxResult>;
693
773
  encodeUpdateRollupTx(
694
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateRollupTx>>
774
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateRollupTx>>,
695
775
  ): Promise<GraphQLClient.EncodeTxResult>;
696
776
  encodeUpdateTokenFactoryTx(
697
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateTokenFactoryTx>>
777
+ param: GraphQLClient.TxParam<
778
+ PartialDeep<GraphQLClient.UpdateTokenFactoryTx>
779
+ >,
698
780
  ): Promise<GraphQLClient.EncodeTxResult>;
699
781
  encodeUpgradeNodeTx(
700
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpgradeNodeTx>>
782
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpgradeNodeTx>>,
701
783
  ): Promise<GraphQLClient.EncodeTxResult>;
702
784
  encodeWithdrawTokenV2Tx(
703
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.WithdrawTokenV2Tx>>
785
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.WithdrawTokenV2Tx>>,
704
786
  ): Promise<GraphQLClient.EncodeTxResult>;
705
787
  signAccountMigrateTx(
706
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AccountMigrateTx>>
788
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AccountMigrateTx>>,
707
789
  ): Promise<GraphQLClient.Transaction>;
708
790
  signAcquireAssetV2Tx(
709
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AcquireAssetV2Tx>>
791
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AcquireAssetV2Tx>>,
710
792
  ): Promise<GraphQLClient.Transaction>;
711
793
  signAcquireAssetV3Tx(
712
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AcquireAssetV3Tx>>
794
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AcquireAssetV3Tx>>,
713
795
  ): Promise<GraphQLClient.Transaction>;
714
796
  signBurnTokenTx(
715
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.BurnTokenTx>>
797
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.BurnTokenTx>>,
716
798
  ): Promise<GraphQLClient.Transaction>;
717
799
  signClaimBlockRewardTx(
718
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimBlockRewardTx>>
800
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimBlockRewardTx>>,
719
801
  ): Promise<GraphQLClient.Transaction>;
720
802
  signClaimStakeTx(
721
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimStakeTx>>
803
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimStakeTx>>,
722
804
  ): Promise<GraphQLClient.Transaction>;
723
805
  signCloseRollupTx(
724
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CloseRollupTx>>
806
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CloseRollupTx>>,
725
807
  ): Promise<GraphQLClient.Transaction>;
726
808
  signConsumeAssetTx(
727
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ConsumeAssetTx>>
809
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ConsumeAssetTx>>,
728
810
  ): Promise<GraphQLClient.Transaction>;
729
811
  signCreateAssetTx(
730
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateAssetTx>>
812
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateAssetTx>>,
731
813
  ): Promise<GraphQLClient.Transaction>;
732
814
  signCreateFactoryTx(
733
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateFactoryTx>>
815
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateFactoryTx>>,
734
816
  ): Promise<GraphQLClient.Transaction>;
735
817
  signCreateRollupBlockTx(
736
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateRollupBlockTx>>
818
+ param: GraphQLClient.TxParam<
819
+ PartialDeep<GraphQLClient.CreateRollupBlockTx>
820
+ >,
737
821
  ): Promise<GraphQLClient.Transaction>;
738
822
  signCreateRollupTx(
739
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateRollupTx>>
823
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateRollupTx>>,
740
824
  ): Promise<GraphQLClient.Transaction>;
741
825
  signCreateTokenFactoryTx(
742
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateTokenFactoryTx>>
826
+ param: GraphQLClient.TxParam<
827
+ PartialDeep<GraphQLClient.CreateTokenFactoryTx>
828
+ >,
743
829
  ): Promise<GraphQLClient.Transaction>;
744
830
  signCreateTokenTx(
745
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateTokenTx>>
831
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateTokenTx>>,
746
832
  ): Promise<GraphQLClient.Transaction>;
747
833
  signDelegateTx(
748
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DelegateTx>>
834
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DelegateTx>>,
749
835
  ): Promise<GraphQLClient.Transaction>;
750
836
  signDepositTokenV2Tx(
751
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DepositTokenV2Tx>>
837
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DepositTokenV2Tx>>,
752
838
  ): Promise<GraphQLClient.Transaction>;
753
839
  signExchangeTx(
754
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeTx>>
840
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeTx>>,
755
841
  ): Promise<GraphQLClient.Transaction>;
756
842
  signExchangeV2Tx(
757
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeV2Tx>>
843
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeV2Tx>>,
758
844
  ): Promise<GraphQLClient.Transaction>;
759
845
  signJoinRollupTx(
760
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.JoinRollupTx>>
846
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.JoinRollupTx>>,
761
847
  ): Promise<GraphQLClient.Transaction>;
762
848
  signLeaveRollupTx(
763
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.LeaveRollupTx>>
849
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.LeaveRollupTx>>,
764
850
  ): Promise<GraphQLClient.Transaction>;
765
851
  signMigrateRollupTx(
766
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MigrateRollupTx>>
852
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MigrateRollupTx>>,
767
853
  ): Promise<GraphQLClient.Transaction>;
768
854
  signMintAssetTx(
769
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MintAssetTx>>
855
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MintAssetTx>>,
770
856
  ): Promise<GraphQLClient.Transaction>;
771
857
  signMintTokenTx(
772
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MintTokenTx>>
858
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MintTokenTx>>,
773
859
  ): Promise<GraphQLClient.Transaction>;
774
860
  signPauseRollupTx(
775
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.PauseRollupTx>>
861
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.PauseRollupTx>>,
776
862
  ): Promise<GraphQLClient.Transaction>;
777
863
  signResumeRollupTx(
778
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ResumeRollupTx>>
864
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ResumeRollupTx>>,
779
865
  ): Promise<GraphQLClient.Transaction>;
780
866
  signReturnStakeTx(
781
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ReturnStakeTx>>
867
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ReturnStakeTx>>,
782
868
  ): Promise<GraphQLClient.Transaction>;
783
869
  signRevokeDelegateTx(
784
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.RevokeDelegateTx>>
870
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.RevokeDelegateTx>>,
785
871
  ): Promise<GraphQLClient.Transaction>;
786
872
  signRevokeStakeTx(
787
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.RevokeStakeTx>>
873
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.RevokeStakeTx>>,
788
874
  ): Promise<GraphQLClient.Transaction>;
789
875
  signSlashStakeTx(
790
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.SlashStakeTx>>
876
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.SlashStakeTx>>,
877
+ ): Promise<GraphQLClient.Transaction>;
878
+ signStakeTx(
879
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.StakeTx>>,
791
880
  ): Promise<GraphQLClient.Transaction>;
792
- signStakeTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.StakeTx>>): Promise<GraphQLClient.Transaction>;
793
881
  signTransferTx(
794
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferTx>>
882
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferTx>>,
795
883
  ): Promise<GraphQLClient.Transaction>;
796
884
  signTransferV2Tx(
797
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV2Tx>>
885
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV2Tx>>,
798
886
  ): Promise<GraphQLClient.Transaction>;
799
887
  signTransferV3Tx(
800
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV3Tx>>
888
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV3Tx>>,
801
889
  ): Promise<GraphQLClient.Transaction>;
802
890
  signUpdateAssetTx(
803
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateAssetTx>>
891
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateAssetTx>>,
804
892
  ): Promise<GraphQLClient.Transaction>;
805
893
  signUpdateRollupTx(
806
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateRollupTx>>
894
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateRollupTx>>,
807
895
  ): Promise<GraphQLClient.Transaction>;
808
896
  signUpdateTokenFactoryTx(
809
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateTokenFactoryTx>>
897
+ param: GraphQLClient.TxParam<
898
+ PartialDeep<GraphQLClient.UpdateTokenFactoryTx>
899
+ >,
810
900
  ): Promise<GraphQLClient.Transaction>;
811
901
  signUpgradeNodeTx(
812
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpgradeNodeTx>>
902
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpgradeNodeTx>>,
813
903
  ): Promise<GraphQLClient.Transaction>;
814
904
  signWithdrawTokenV2Tx(
815
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.WithdrawTokenV2Tx>>
905
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.WithdrawTokenV2Tx>>,
816
906
  ): Promise<GraphQLClient.Transaction>;
817
907
  multiSignExchangeV2Tx(
818
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeV2Tx>>
908
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeV2Tx>>,
819
909
  ): Promise<GraphQLClient.Transaction>;
820
910
  multiSignTransferV3Tx(
821
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV3Tx>>
911
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV3Tx>>,
822
912
  ): Promise<GraphQLClient.Transaction>;
823
913
  multiSignAcquireAssetV3Tx(
824
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AcquireAssetV3Tx>>
914
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AcquireAssetV3Tx>>,
825
915
  ): Promise<GraphQLClient.Transaction>;
826
916
  multiSignStakeTx(
827
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.StakeTx>>
917
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.StakeTx>>,
828
918
  ): Promise<GraphQLClient.Transaction>;
829
919
  multiSignUpdateRollupTx(
830
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateRollupTx>>
920
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateRollupTx>>,
831
921
  ): Promise<GraphQLClient.Transaction>;
832
922
  multiSignJoinRollupTx(
833
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.JoinRollupTx>>
923
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.JoinRollupTx>>,
834
924
  ): Promise<GraphQLClient.Transaction>;
835
925
  multiSignLeaveRollupTx(
836
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.LeaveRollupTx>>
926
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.LeaveRollupTx>>,
837
927
  ): Promise<GraphQLClient.Transaction>;
838
928
  multiSignPauseRollupTx(
839
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.PauseRollupTx>>
929
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.PauseRollupTx>>,
840
930
  ): Promise<GraphQLClient.Transaction>;
841
931
  multiSignCloseRollupTx(
842
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CloseRollupTx>>
932
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CloseRollupTx>>,
843
933
  ): Promise<GraphQLClient.Transaction>;
844
934
  multiSignMigrateRollupTx(
845
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MigrateRollupTx>>
935
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MigrateRollupTx>>,
846
936
  ): Promise<GraphQLClient.Transaction>;
847
937
  multiSignResumeRollupTx(
848
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ResumeRollupTx>>
938
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ResumeRollupTx>>,
849
939
  ): Promise<GraphQLClient.Transaction>;
850
940
  multiSignDepositTokenV2Tx(
851
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DepositTokenV2Tx>>
941
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DepositTokenV2Tx>>,
852
942
  ): Promise<GraphQLClient.Transaction>;
853
943
  multiSignWithdrawTokenV2Tx(
854
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.WithdrawTokenV2Tx>>
944
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.WithdrawTokenV2Tx>>,
855
945
  ): Promise<GraphQLClient.Transaction>;
856
946
  multiSignCreateRollupBlockTx(
857
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateRollupBlockTx>>
947
+ param: GraphQLClient.TxParam<
948
+ PartialDeep<GraphQLClient.CreateRollupBlockTx>
949
+ >,
858
950
  ): Promise<GraphQLClient.Transaction>;
859
951
  multiSignClaimBlockRewardTx(
860
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimBlockRewardTx>>
952
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimBlockRewardTx>>,
861
953
  ): Promise<GraphQLClient.Transaction>;
862
954
  multiSignCreateAssetTx(
863
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateAssetTx>>
955
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateAssetTx>>,
864
956
  ): Promise<GraphQLClient.Transaction>;
865
957
  multiSignConsumeAssetTx(
866
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ConsumeAssetTx>>
958
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ConsumeAssetTx>>,
867
959
  ): Promise<GraphQLClient.Transaction>;
868
960
  multiSignMintTokenTx(
869
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MintTokenTx>>
961
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MintTokenTx>>,
870
962
  ): Promise<GraphQLClient.Transaction>;
871
963
  multiSignBurnTokenTx(
872
- param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.BurnTokenTx>>
964
+ param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.BurnTokenTx>>,
873
965
  ): Promise<GraphQLClient.Transaction>;
874
966
  getAccountState(
875
- params: PartialDeep<GraphQLClient.GetAccountStateParams>
967
+ params: PartialDeep<GraphQLClient.GetAccountStateParams>,
876
968
  ): Promise<GraphQLClient.ResponseGetAccountState>;
877
- getAssetState(params: PartialDeep<GraphQLClient.GetAssetStateParams>): Promise<GraphQLClient.ResponseGetAssetState>;
969
+ getAssetState(
970
+ params: PartialDeep<GraphQLClient.GetAssetStateParams>,
971
+ ): Promise<GraphQLClient.ResponseGetAssetState>;
878
972
  getFactoryState(
879
- params: PartialDeep<GraphQLClient.GetFactoryStateParams>
973
+ params: PartialDeep<GraphQLClient.GetFactoryStateParams>,
880
974
  ): Promise<GraphQLClient.ResponseGetFactoryState>;
881
975
  getDelegateState(
882
- params: PartialDeep<GraphQLClient.GetDelegateStateParams>
976
+ params: PartialDeep<GraphQLClient.GetDelegateStateParams>,
883
977
  ): Promise<GraphQLClient.ResponseGetDelegateState>;
884
- getTokenState(params: PartialDeep<GraphQLClient.GetTokenStateParams>): Promise<GraphQLClient.ResponseGetTokenState>;
978
+ getTokenState(
979
+ params: PartialDeep<GraphQLClient.GetTokenStateParams>,
980
+ ): Promise<GraphQLClient.ResponseGetTokenState>;
885
981
  getEvidenceState(
886
- params: PartialDeep<GraphQLClient.GetEvidenceStateParams>
982
+ params: PartialDeep<GraphQLClient.GetEvidenceStateParams>,
887
983
  ): Promise<GraphQLClient.ResponseGetEvidenceState>;
888
- getForgeState(params: PartialDeep<GraphQLClient.GetForgeStateParams>): Promise<GraphQLClient.ResponseGetForgeState>;
984
+ getForgeState(
985
+ params: PartialDeep<GraphQLClient.GetForgeStateParams>,
986
+ ): Promise<GraphQLClient.ResponseGetForgeState>;
889
987
  getTokenFactoryState(
890
- params: PartialDeep<GraphQLClient.GetTokenFactoryStateParams>
988
+ params: PartialDeep<GraphQLClient.GetTokenFactoryStateParams>,
891
989
  ): Promise<GraphQLClient.ResponseGetTokenFactoryState>;
892
- getTx(params: PartialDeep<GraphQLClient.GetTxParams>): Promise<GraphQLClient.ResponseGetTx>;
893
- getBlock(params: PartialDeep<GraphQLClient.GetBlockParams>): Promise<GraphQLClient.ResponseGetBlock>;
894
- getBlocks(params: PartialDeep<GraphQLClient.GetBlocksParams>): Promise<GraphQLClient.ResponseGetBlocks>;
990
+ getTx(
991
+ params: PartialDeep<GraphQLClient.GetTxParams>,
992
+ ): Promise<GraphQLClient.ResponseGetTx>;
993
+ getBlock(
994
+ params: PartialDeep<GraphQLClient.GetBlockParams>,
995
+ ): Promise<GraphQLClient.ResponseGetBlock>;
996
+ getBlocks(
997
+ params: PartialDeep<GraphQLClient.GetBlocksParams>,
998
+ ): Promise<GraphQLClient.ResponseGetBlocks>;
895
999
  getUnconfirmedTxs(
896
- params: PartialDeep<GraphQLClient.GetUnconfirmedTxsParams>
1000
+ params: PartialDeep<GraphQLClient.GetUnconfirmedTxsParams>,
897
1001
  ): Promise<GraphQLClient.ResponseGetUnconfirmedTxs>;
898
1002
  getChainInfo(): Promise<GraphQLClient.ResponseGetChainInfo>;
899
- getConfig(params: PartialDeep<GraphQLClient.GetConfigParams>): Promise<GraphQLClient.ResponseGetConfig>;
1003
+ getConfig(
1004
+ params: PartialDeep<GraphQLClient.GetConfigParams>,
1005
+ ): Promise<GraphQLClient.ResponseGetConfig>;
900
1006
  getNetInfo(): Promise<GraphQLClient.ResponseGetNetInfo>;
901
1007
  getNodeInfo(): Promise<GraphQLClient.ResponseGetNodeInfo>;
902
1008
  getValidatorsInfo(): Promise<GraphQLClient.ResponseGetValidatorsInfo>;
903
1009
  getForgeStats(): Promise<GraphQLClient.ResponseGetForgeStats>;
904
1010
  listAssetTransactions(
905
- params: PartialDeep<GraphQLClient.ListAssetTransactionsParams>
1011
+ params: PartialDeep<GraphQLClient.ListAssetTransactionsParams>,
906
1012
  ): Promise<GraphQLClient.ResponseListAssetTransactions>;
907
- listAssets(params: PartialDeep<GraphQLClient.ListAssetsParams>): Promise<GraphQLClient.ResponseListAssets>;
908
- listBlocks(params: PartialDeep<GraphQLClient.ListBlocksParams>): Promise<GraphQLClient.ResponseListBlocks>;
1013
+ listAssets(
1014
+ params: PartialDeep<GraphQLClient.ListAssetsParams>,
1015
+ ): Promise<GraphQLClient.ResponseListAssets>;
1016
+ listBlocks(
1017
+ params: PartialDeep<GraphQLClient.ListBlocksParams>,
1018
+ ): Promise<GraphQLClient.ResponseListBlocks>;
909
1019
  listTopAccounts(
910
- params: PartialDeep<GraphQLClient.ListTopAccountsParams>
1020
+ params: PartialDeep<GraphQLClient.ListTopAccountsParams>,
911
1021
  ): Promise<GraphQLClient.ResponseListTopAccounts>;
912
1022
  listTransactions(
913
- params: PartialDeep<GraphQLClient.ListTransactionsParams>
1023
+ params: PartialDeep<GraphQLClient.ListTransactionsParams>,
914
1024
  ): Promise<GraphQLClient.ResponseListTransactions>;
915
- listTokens(params: PartialDeep<GraphQLClient.ListTokensParams>): Promise<GraphQLClient.ResponseListTokens>;
916
- listFactories(params: PartialDeep<GraphQLClient.ListFactoriesParams>): Promise<GraphQLClient.ResponseListFactories>;
1025
+ listTokens(
1026
+ params: PartialDeep<GraphQLClient.ListTokensParams>,
1027
+ ): Promise<GraphQLClient.ResponseListTokens>;
1028
+ listFactories(
1029
+ params: PartialDeep<GraphQLClient.ListFactoriesParams>,
1030
+ ): Promise<GraphQLClient.ResponseListFactories>;
917
1031
  getAccountTokens(
918
- params: PartialDeep<GraphQLClient.GetAccountTokensParams>
1032
+ params: PartialDeep<GraphQLClient.GetAccountTokensParams>,
919
1033
  ): Promise<GraphQLClient.ResponseGetAccountTokens>;
920
- getStakeState(params: PartialDeep<GraphQLClient.GetStakeStateParams>): Promise<GraphQLClient.ResponseGetStakeState>;
921
- listStakes(params: PartialDeep<GraphQLClient.ListStakesParams>): Promise<GraphQLClient.ResponseListStakes>;
1034
+ getStakeState(
1035
+ params: PartialDeep<GraphQLClient.GetStakeStateParams>,
1036
+ ): Promise<GraphQLClient.ResponseGetStakeState>;
1037
+ listStakes(
1038
+ params: PartialDeep<GraphQLClient.ListStakesParams>,
1039
+ ): Promise<GraphQLClient.ResponseListStakes>;
922
1040
  getRollupState(
923
- params: PartialDeep<GraphQLClient.GetRollupStateParams>
1041
+ params: PartialDeep<GraphQLClient.GetRollupStateParams>,
924
1042
  ): Promise<GraphQLClient.ResponseGetRollupState>;
925
- listRollups(params: PartialDeep<GraphQLClient.ListRollupsParams>): Promise<GraphQLClient.ResponseListRollups>;
1043
+ listRollups(
1044
+ params: PartialDeep<GraphQLClient.ListRollupsParams>,
1045
+ ): Promise<GraphQLClient.ResponseListRollups>;
926
1046
  getRollupBlock(
927
- params: PartialDeep<GraphQLClient.GetRollupBlockParams>
1047
+ params: PartialDeep<GraphQLClient.GetRollupBlockParams>,
928
1048
  ): Promise<GraphQLClient.ResponseGetRollupBlock>;
929
1049
  listRollupBlocks(
930
- params: PartialDeep<GraphQLClient.ListRollupBlocksParams>
1050
+ params: PartialDeep<GraphQLClient.ListRollupBlocksParams>,
931
1051
  ): Promise<GraphQLClient.ResponseListRollupBlocks>;
932
1052
  listRollupValidators(
933
- params: PartialDeep<GraphQLClient.ListRollupValidatorsParams>
1053
+ params: PartialDeep<GraphQLClient.ListRollupValidatorsParams>,
934
1054
  ): Promise<GraphQLClient.ResponseListRollupValidators>;
935
1055
  listDelegations(
936
- params: PartialDeep<GraphQLClient.ListDelegationsParams>
1056
+ params: PartialDeep<GraphQLClient.ListDelegationsParams>,
937
1057
  ): Promise<GraphQLClient.ResponseListDelegations>;
938
- search(params: PartialDeep<GraphQLClient.SearchParams>): Promise<GraphQLClient.ResponseSearch>;
939
- estimateGas(params: PartialDeep<GraphQLClient.EstimateGasParams>): Promise<GraphQLClient.ResponseEstimateGas>;
1058
+ search(
1059
+ params: PartialDeep<GraphQLClient.SearchParams>,
1060
+ ): Promise<GraphQLClient.ResponseSearch>;
1061
+ estimateGas(
1062
+ params: PartialDeep<GraphQLClient.EstimateGasParams>,
1063
+ ): Promise<GraphQLClient.ResponseEstimateGas>;
940
1064
  listTokenFlows(
941
- params: PartialDeep<GraphQLClient.ListTokenFlowsParams>
1065
+ params: PartialDeep<GraphQLClient.ListTokenFlowsParams>,
942
1066
  ): Promise<GraphQLClient.ResponseListTokenFlows>;
943
1067
  verifyAccountRisk(
944
- params: PartialDeep<GraphQLClient.VerifyAccountRiskParams>
1068
+ params: PartialDeep<GraphQLClient.VerifyAccountRiskParams>,
945
1069
  ): Promise<GraphQLClient.ResponseVerifyAccountRisk>;
946
1070
  getTokenDistribution(
947
- params: PartialDeep<GraphQLClient.GetTokenDistributionParams>
1071
+ params: PartialDeep<GraphQLClient.GetTokenDistributionParams>,
948
1072
  ): Promise<GraphQLClient.ResponseGetTokenDistribution>;
949
1073
  listTokenFactories(
950
- params: PartialDeep<GraphQLClient.ListTokenFactoriesParams>
1074
+ params: PartialDeep<GraphQLClient.ListTokenFactoriesParams>,
951
1075
  ): Promise<GraphQLClient.ResponseListTokenFactories>;
952
- sendTx(params: PartialDeep<GraphQLClient.SendTxParams>): Promise<GraphQLClient.ResponseSendTx>;
1076
+ sendTx(
1077
+ params: PartialDeep<GraphQLClient.SendTxParams>,
1078
+ ): Promise<GraphQLClient.ResponseSendTx>;
953
1079
  }
954
1080
 
955
1081
  declare namespace GraphQLClient {
956
1082
  interface Subscription<T> {
957
- on(event: 'data', fn: (data: T) => any): this;
958
- on(event: 'error', fn: (err: Error) => void): this;
1083
+ on(event: "data", fn: (data: T) => any): this;
1084
+ on(event: "error", fn: (err: Error) => void): this;
959
1085
  }
960
1086
 
961
1087
  interface TxParam<T> {
@@ -3089,7 +3215,7 @@ declare namespace GraphQLClient {
3089
3215
  stakeFilter: GraphQLClient.StakeFilterInput;
3090
3216
  delegationFilter: GraphQLClient.DelegationFilterInput;
3091
3217
  tokenFactoryFilter: GraphQLClient.TokenFactoryFilterInput;
3092
- includeData: boolean;
3218
+ includeItxData: boolean;
3093
3219
  }
3094
3220
 
3095
3221
  interface ListTokensParams {