@fuel-ts/account 0.90.0 → 0.92.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of @fuel-ts/account might be problematic. Click here for more details.

@@ -12,35 +12,109 @@ export type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
12
12
  export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
13
13
  [SubKey in K]: Maybe<T[SubKey]>;
14
14
  };
15
+ export type MakeEmpty<T extends {
16
+ [key: string]: unknown;
17
+ }, K extends keyof T> = {
18
+ [_ in K]?: never;
19
+ };
20
+ export type Incremental<T> = T | {
21
+ [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never;
22
+ };
15
23
  /** All built-in and custom scalars, mapped to their actual values */
16
24
  export type Scalars = {
17
- ID: string;
18
- String: string;
19
- Boolean: boolean;
20
- Int: number;
21
- Float: number;
22
- Address: string;
23
- AssetId: string;
24
- BlockId: string;
25
- Bytes32: string;
26
- ContractId: string;
27
- HexString: string;
28
- Nonce: string;
29
- RelayedTransactionId: string;
30
- Salt: string;
31
- Signature: string;
32
- Tai64Timestamp: string;
33
- TransactionId: string;
34
- TxPointer: string;
35
- U16: string;
36
- U32: string;
37
- U64: string;
38
- UtxoId: string;
25
+ ID: {
26
+ input: string;
27
+ output: string;
28
+ };
29
+ String: {
30
+ input: string;
31
+ output: string;
32
+ };
33
+ Boolean: {
34
+ input: boolean;
35
+ output: boolean;
36
+ };
37
+ Int: {
38
+ input: number;
39
+ output: number;
40
+ };
41
+ Float: {
42
+ input: number;
43
+ output: number;
44
+ };
45
+ Address: {
46
+ input: string;
47
+ output: string;
48
+ };
49
+ AssetId: {
50
+ input: string;
51
+ output: string;
52
+ };
53
+ BlockId: {
54
+ input: string;
55
+ output: string;
56
+ };
57
+ Bytes32: {
58
+ input: string;
59
+ output: string;
60
+ };
61
+ ContractId: {
62
+ input: string;
63
+ output: string;
64
+ };
65
+ HexString: {
66
+ input: string;
67
+ output: string;
68
+ };
69
+ Nonce: {
70
+ input: string;
71
+ output: string;
72
+ };
73
+ RelayedTransactionId: {
74
+ input: string;
75
+ output: string;
76
+ };
77
+ Salt: {
78
+ input: string;
79
+ output: string;
80
+ };
81
+ Signature: {
82
+ input: string;
83
+ output: string;
84
+ };
85
+ Tai64Timestamp: {
86
+ input: string;
87
+ output: string;
88
+ };
89
+ TransactionId: {
90
+ input: string;
91
+ output: string;
92
+ };
93
+ TxPointer: {
94
+ input: string;
95
+ output: string;
96
+ };
97
+ U16: {
98
+ input: string;
99
+ output: string;
100
+ };
101
+ U32: {
102
+ input: string;
103
+ output: string;
104
+ };
105
+ U64: {
106
+ input: string;
107
+ output: string;
108
+ };
109
+ UtxoId: {
110
+ input: string;
111
+ output: string;
112
+ };
39
113
  };
40
114
  export type GqlBalance = {
41
- amount: Scalars['U64'];
42
- assetId: Scalars['AssetId'];
43
- owner: Scalars['Address'];
115
+ amount: Scalars['U64']['output'];
116
+ assetId: Scalars['AssetId']['output'];
117
+ owner: Scalars['Address']['output'];
44
118
  };
45
119
  export type GqlBalanceConnection = {
46
120
  /** A list of edges. */
@@ -53,19 +127,20 @@ export type GqlBalanceConnection = {
53
127
  /** An edge in a connection. */
54
128
  export type GqlBalanceEdge = {
55
129
  /** A cursor for use in pagination */
56
- cursor: Scalars['String'];
130
+ cursor: Scalars['String']['output'];
57
131
  /** The item at the end of the edge */
58
132
  node: GqlBalance;
59
133
  };
60
134
  export type GqlBalanceFilterInput = {
61
135
  /** Filter coins based on the `owner` field */
62
- owner: Scalars['Address'];
136
+ owner: Scalars['Address']['input'];
63
137
  };
64
138
  export type GqlBlock = {
65
139
  consensus: GqlConsensus;
66
140
  header: GqlHeader;
67
- height: Scalars['U32'];
68
- id: Scalars['BlockId'];
141
+ height: Scalars['U32']['output'];
142
+ id: Scalars['BlockId']['output'];
143
+ transactionIds: Array<Scalars['TransactionId']['output']>;
69
144
  transactions: Array<GqlTransaction>;
70
145
  version: GqlBlockVersion;
71
146
  };
@@ -80,7 +155,7 @@ export type GqlBlockConnection = {
80
155
  /** An edge in a connection. */
81
156
  export type GqlBlockEdge = {
82
157
  /** A cursor for use in pagination */
83
- cursor: Scalars['String'];
158
+ cursor: Scalars['String']['output'];
84
159
  /** The item at the end of the edge */
85
160
  node: GqlBlock;
86
161
  };
@@ -89,30 +164,30 @@ export declare enum GqlBlockVersion {
89
164
  }
90
165
  /** Breakpoint, defined as a tuple of contract ID and relative PC offset inside it */
91
166
  export type GqlBreakpoint = {
92
- contract: Scalars['ContractId'];
93
- pc: Scalars['U64'];
167
+ contract: Scalars['ContractId']['input'];
168
+ pc: Scalars['U64']['input'];
94
169
  };
95
170
  export type GqlChainInfo = {
96
171
  consensusParameters: GqlConsensusParameters;
97
- daHeight: Scalars['U64'];
172
+ daHeight: Scalars['U64']['output'];
98
173
  gasCosts: GqlGasCosts;
99
174
  latestBlock: GqlBlock;
100
- name: Scalars['String'];
175
+ name: Scalars['String']['output'];
101
176
  };
102
177
  export type GqlChangeOutput = {
103
- amount: Scalars['U64'];
104
- assetId: Scalars['AssetId'];
105
- to: Scalars['Address'];
178
+ amount: Scalars['U64']['output'];
179
+ assetId: Scalars['AssetId']['output'];
180
+ to: Scalars['Address']['output'];
106
181
  };
107
182
  export type GqlCoin = {
108
- amount: Scalars['U64'];
109
- assetId: Scalars['AssetId'];
183
+ amount: Scalars['U64']['output'];
184
+ assetId: Scalars['AssetId']['output'];
110
185
  /** TxPointer - the height of the block this coin was created in */
111
- blockCreated: Scalars['U32'];
112
- owner: Scalars['Address'];
186
+ blockCreated: Scalars['U32']['output'];
187
+ owner: Scalars['Address']['output'];
113
188
  /** TxPointer - the index of the transaction that created this coin */
114
- txCreatedIdx: Scalars['U16'];
115
- utxoId: Scalars['UtxoId'];
189
+ txCreatedIdx: Scalars['U16']['output'];
190
+ utxoId: Scalars['UtxoId']['output'];
116
191
  };
117
192
  export type GqlCoinConnection = {
118
193
  /** A list of edges. */
@@ -125,53 +200,53 @@ export type GqlCoinConnection = {
125
200
  /** An edge in a connection. */
126
201
  export type GqlCoinEdge = {
127
202
  /** A cursor for use in pagination */
128
- cursor: Scalars['String'];
203
+ cursor: Scalars['String']['output'];
129
204
  /** The item at the end of the edge */
130
205
  node: GqlCoin;
131
206
  };
132
207
  export type GqlCoinFilterInput = {
133
208
  /** Returns coins only with `asset_id`. */
134
- assetId?: InputMaybe<Scalars['AssetId']>;
209
+ assetId?: InputMaybe<Scalars['AssetId']['input']>;
135
210
  /** Returns coins owned by the `owner`. */
136
- owner: Scalars['Address'];
211
+ owner: Scalars['Address']['input'];
137
212
  };
138
213
  export type GqlCoinOutput = {
139
- amount: Scalars['U64'];
140
- assetId: Scalars['AssetId'];
141
- to: Scalars['Address'];
214
+ amount: Scalars['U64']['output'];
215
+ assetId: Scalars['AssetId']['output'];
216
+ to: Scalars['Address']['output'];
142
217
  };
143
218
  /** The schema analog of the [`coins::CoinType`]. */
144
219
  export type GqlCoinType = GqlCoin | GqlMessageCoin;
145
220
  export type GqlConsensus = GqlGenesis | GqlPoAConsensus;
146
221
  export type GqlConsensusParameters = {
147
- baseAssetId: Scalars['AssetId'];
148
- blockGasLimit: Scalars['U64'];
149
- chainId: Scalars['U64'];
222
+ baseAssetId: Scalars['AssetId']['output'];
223
+ blockGasLimit: Scalars['U64']['output'];
224
+ chainId: Scalars['U64']['output'];
150
225
  contractParams: GqlContractParameters;
151
226
  feeParams: GqlFeeParameters;
152
227
  gasCosts: GqlGasCosts;
153
228
  predicateParams: GqlPredicateParameters;
154
- privilegedAddress: Scalars['Address'];
229
+ privilegedAddress: Scalars['Address']['output'];
155
230
  scriptParams: GqlScriptParameters;
156
231
  txParams: GqlTxParameters;
157
232
  version: GqlConsensusParametersVersion;
158
233
  };
159
234
  export type GqlConsensusParametersPurpose = {
160
- checksum: Scalars['Bytes32'];
161
- witnessIndex: Scalars['U16'];
235
+ checksum: Scalars['Bytes32']['output'];
236
+ witnessIndex: Scalars['U16']['output'];
162
237
  };
163
238
  export declare enum GqlConsensusParametersVersion {
164
239
  V1 = "V1"
165
240
  }
166
241
  export type GqlContract = {
167
- bytecode: Scalars['HexString'];
168
- id: Scalars['ContractId'];
169
- salt: Scalars['Salt'];
242
+ bytecode: Scalars['HexString']['output'];
243
+ id: Scalars['ContractId']['output'];
244
+ salt: Scalars['Salt']['output'];
170
245
  };
171
246
  export type GqlContractBalance = {
172
- amount: Scalars['U64'];
173
- assetId: Scalars['AssetId'];
174
- contract: Scalars['ContractId'];
247
+ amount: Scalars['U64']['output'];
248
+ assetId: Scalars['AssetId']['output'];
249
+ contract: Scalars['ContractId']['output'];
175
250
  };
176
251
  export type GqlContractBalanceConnection = {
177
252
  /** A list of edges. */
@@ -184,26 +259,26 @@ export type GqlContractBalanceConnection = {
184
259
  /** An edge in a connection. */
185
260
  export type GqlContractBalanceEdge = {
186
261
  /** A cursor for use in pagination */
187
- cursor: Scalars['String'];
262
+ cursor: Scalars['String']['output'];
188
263
  /** The item at the end of the edge */
189
264
  node: GqlContractBalance;
190
265
  };
191
266
  export type GqlContractBalanceFilterInput = {
192
267
  /** Filter assets based on the `contractId` field */
193
- contract: Scalars['ContractId'];
268
+ contract: Scalars['ContractId']['input'];
194
269
  };
195
270
  export type GqlContractCreated = {
196
- contract: Scalars['ContractId'];
197
- stateRoot: Scalars['Bytes32'];
271
+ contract: Scalars['ContractId']['output'];
272
+ stateRoot: Scalars['Bytes32']['output'];
198
273
  };
199
274
  export type GqlContractOutput = {
200
- balanceRoot: Scalars['Bytes32'];
201
- inputIndex: Scalars['U16'];
202
- stateRoot: Scalars['Bytes32'];
275
+ balanceRoot: Scalars['Bytes32']['output'];
276
+ inputIndex: Scalars['U16']['output'];
277
+ stateRoot: Scalars['Bytes32']['output'];
203
278
  };
204
279
  export type GqlContractParameters = {
205
- contractMaxSize: Scalars['U64'];
206
- maxStorageSlots: Scalars['U64'];
280
+ contractMaxSize: Scalars['U64']['output'];
281
+ maxStorageSlots: Scalars['U64']['output'];
207
282
  version: GqlContractParametersVersion;
208
283
  };
209
284
  export declare enum GqlContractParametersVersion {
@@ -212,163 +287,166 @@ export declare enum GqlContractParametersVersion {
212
287
  export type GqlDependentCost = GqlHeavyOperation | GqlLightOperation;
213
288
  export type GqlDryRunFailureStatus = {
214
289
  programState?: Maybe<GqlProgramState>;
215
- reason: Scalars['String'];
290
+ reason: Scalars['String']['output'];
216
291
  receipts: Array<GqlReceipt>;
217
- totalFee: Scalars['U64'];
218
- totalGas: Scalars['U64'];
292
+ totalFee: Scalars['U64']['output'];
293
+ totalGas: Scalars['U64']['output'];
219
294
  };
220
295
  export type GqlDryRunSuccessStatus = {
221
296
  programState?: Maybe<GqlProgramState>;
222
297
  receipts: Array<GqlReceipt>;
223
- totalFee: Scalars['U64'];
224
- totalGas: Scalars['U64'];
298
+ totalFee: Scalars['U64']['output'];
299
+ totalGas: Scalars['U64']['output'];
225
300
  };
226
301
  export type GqlDryRunTransactionExecutionStatus = {
227
- id: Scalars['TransactionId'];
302
+ id: Scalars['TransactionId']['output'];
228
303
  receipts: Array<GqlReceipt>;
229
304
  status: GqlDryRunTransactionStatus;
230
305
  };
231
306
  export type GqlDryRunTransactionStatus = GqlDryRunFailureStatus | GqlDryRunSuccessStatus;
232
307
  export type GqlEstimateGasPrice = {
233
- gasPrice: Scalars['U64'];
308
+ gasPrice: Scalars['U64']['output'];
234
309
  };
235
310
  export type GqlExcludeInput = {
236
311
  /** Messages to exclude from the selection. */
237
- messages: Array<Scalars['Nonce']>;
312
+ messages: Array<Scalars['Nonce']['input']>;
238
313
  /** Utxos to exclude from the selection. */
239
- utxos: Array<Scalars['UtxoId']>;
314
+ utxos: Array<Scalars['UtxoId']['input']>;
240
315
  };
241
316
  export type GqlFailureStatus = {
242
317
  block: GqlBlock;
318
+ blockHeight: Scalars['U32']['output'];
243
319
  programState?: Maybe<GqlProgramState>;
244
- reason: Scalars['String'];
320
+ reason: Scalars['String']['output'];
245
321
  receipts: Array<GqlReceipt>;
246
- time: Scalars['Tai64Timestamp'];
247
- totalFee: Scalars['U64'];
248
- totalGas: Scalars['U64'];
249
- transactionId: Scalars['TransactionId'];
322
+ time: Scalars['Tai64Timestamp']['output'];
323
+ totalFee: Scalars['U64']['output'];
324
+ totalGas: Scalars['U64']['output'];
325
+ transactionId: Scalars['TransactionId']['output'];
250
326
  };
251
327
  export type GqlFeeParameters = {
252
- gasPerByte: Scalars['U64'];
253
- gasPriceFactor: Scalars['U64'];
328
+ gasPerByte: Scalars['U64']['output'];
329
+ gasPriceFactor: Scalars['U64']['output'];
254
330
  version: GqlFeeParametersVersion;
255
331
  };
256
332
  export declare enum GqlFeeParametersVersion {
257
333
  V1 = "V1"
258
334
  }
259
335
  export type GqlGasCosts = {
260
- add: Scalars['U64'];
261
- addi: Scalars['U64'];
262
- aloc: Scalars['U64'];
336
+ add: Scalars['U64']['output'];
337
+ addi: Scalars['U64']['output'];
338
+ aloc: Scalars['U64']['output'];
263
339
  alocDependentCost: GqlDependentCost;
264
- and: Scalars['U64'];
265
- andi: Scalars['U64'];
266
- bal: Scalars['U64'];
267
- bhei: Scalars['U64'];
268
- bhsh: Scalars['U64'];
269
- burn: Scalars['U64'];
340
+ and: Scalars['U64']['output'];
341
+ andi: Scalars['U64']['output'];
342
+ bal: Scalars['U64']['output'];
343
+ bhei: Scalars['U64']['output'];
344
+ bhsh: Scalars['U64']['output'];
345
+ burn: Scalars['U64']['output'];
270
346
  call: GqlDependentCost;
271
- cb: Scalars['U64'];
347
+ cb: Scalars['U64']['output'];
272
348
  ccp: GqlDependentCost;
273
- cfei: Scalars['U64'];
274
- cfsi: Scalars['U64'];
349
+ cfe: GqlDependentCost;
350
+ cfei: Scalars['U64']['output'];
351
+ cfeiDependentCost: GqlDependentCost;
352
+ cfsi: Scalars['U64']['output'];
275
353
  contractRoot: GqlDependentCost;
276
354
  croo: GqlDependentCost;
277
355
  csiz: GqlDependentCost;
278
- div: Scalars['U64'];
279
- divi: Scalars['U64'];
280
- eck1: Scalars['U64'];
281
- ecr1: Scalars['U64'];
282
- ed19: Scalars['U64'];
283
- eq: Scalars['U64'];
284
- exp: Scalars['U64'];
285
- expi: Scalars['U64'];
286
- flag: Scalars['U64'];
287
- gm: Scalars['U64'];
288
- gt: Scalars['U64'];
289
- gtf: Scalars['U64'];
290
- ji: Scalars['U64'];
291
- jmp: Scalars['U64'];
292
- jmpb: Scalars['U64'];
293
- jmpf: Scalars['U64'];
294
- jne: Scalars['U64'];
295
- jneb: Scalars['U64'];
296
- jnef: Scalars['U64'];
297
- jnei: Scalars['U64'];
298
- jnzb: Scalars['U64'];
299
- jnzf: Scalars['U64'];
300
- jnzi: Scalars['U64'];
356
+ div: Scalars['U64']['output'];
357
+ divi: Scalars['U64']['output'];
358
+ eck1: Scalars['U64']['output'];
359
+ ecr1: Scalars['U64']['output'];
360
+ ed19: Scalars['U64']['output'];
361
+ eq: Scalars['U64']['output'];
362
+ exp: Scalars['U64']['output'];
363
+ expi: Scalars['U64']['output'];
364
+ flag: Scalars['U64']['output'];
365
+ gm: Scalars['U64']['output'];
366
+ gt: Scalars['U64']['output'];
367
+ gtf: Scalars['U64']['output'];
368
+ ji: Scalars['U64']['output'];
369
+ jmp: Scalars['U64']['output'];
370
+ jmpb: Scalars['U64']['output'];
371
+ jmpf: Scalars['U64']['output'];
372
+ jne: Scalars['U64']['output'];
373
+ jneb: Scalars['U64']['output'];
374
+ jnef: Scalars['U64']['output'];
375
+ jnei: Scalars['U64']['output'];
376
+ jnzb: Scalars['U64']['output'];
377
+ jnzf: Scalars['U64']['output'];
378
+ jnzi: Scalars['U64']['output'];
301
379
  k256: GqlDependentCost;
302
- lb: Scalars['U64'];
380
+ lb: Scalars['U64']['output'];
303
381
  ldc: GqlDependentCost;
304
- log: Scalars['U64'];
382
+ log: Scalars['U64']['output'];
305
383
  logd: GqlDependentCost;
306
- lt: Scalars['U64'];
307
- lw: Scalars['U64'];
384
+ lt: Scalars['U64']['output'];
385
+ lw: Scalars['U64']['output'];
308
386
  mcl: GqlDependentCost;
309
387
  mcli: GqlDependentCost;
310
388
  mcp: GqlDependentCost;
311
389
  mcpi: GqlDependentCost;
312
390
  meq: GqlDependentCost;
313
- mint: Scalars['U64'];
314
- mldv: Scalars['U64'];
315
- mlog: Scalars['U64'];
316
- modOp: Scalars['U64'];
317
- modi: Scalars['U64'];
318
- moveOp: Scalars['U64'];
319
- movi: Scalars['U64'];
320
- mroo: Scalars['U64'];
321
- mul: Scalars['U64'];
322
- muli: Scalars['U64'];
323
- newStoragePerByte: Scalars['U64'];
324
- noop: Scalars['U64'];
325
- not: Scalars['U64'];
326
- or: Scalars['U64'];
327
- ori: Scalars['U64'];
328
- poph: Scalars['U64'];
329
- popl: Scalars['U64'];
330
- pshh: Scalars['U64'];
331
- pshl: Scalars['U64'];
332
- ret: Scalars['U64'];
391
+ mint: Scalars['U64']['output'];
392
+ mldv: Scalars['U64']['output'];
393
+ mlog: Scalars['U64']['output'];
394
+ modOp: Scalars['U64']['output'];
395
+ modi: Scalars['U64']['output'];
396
+ moveOp: Scalars['U64']['output'];
397
+ movi: Scalars['U64']['output'];
398
+ mroo: Scalars['U64']['output'];
399
+ mul: Scalars['U64']['output'];
400
+ muli: Scalars['U64']['output'];
401
+ newStoragePerByte: Scalars['U64']['output'];
402
+ noop: Scalars['U64']['output'];
403
+ not: Scalars['U64']['output'];
404
+ or: Scalars['U64']['output'];
405
+ ori: Scalars['U64']['output'];
406
+ poph: Scalars['U64']['output'];
407
+ popl: Scalars['U64']['output'];
408
+ pshh: Scalars['U64']['output'];
409
+ pshl: Scalars['U64']['output'];
410
+ ret: Scalars['U64']['output'];
333
411
  retd: GqlDependentCost;
334
- rvrt: Scalars['U64'];
412
+ rvrt: Scalars['U64']['output'];
335
413
  s256: GqlDependentCost;
336
- sb: Scalars['U64'];
414
+ sb: Scalars['U64']['output'];
337
415
  scwq: GqlDependentCost;
338
- sll: Scalars['U64'];
339
- slli: Scalars['U64'];
416
+ sll: Scalars['U64']['output'];
417
+ slli: Scalars['U64']['output'];
340
418
  smo: GqlDependentCost;
341
- srl: Scalars['U64'];
342
- srli: Scalars['U64'];
343
- srw: Scalars['U64'];
419
+ srl: Scalars['U64']['output'];
420
+ srli: Scalars['U64']['output'];
421
+ srw: Scalars['U64']['output'];
344
422
  srwq: GqlDependentCost;
345
423
  stateRoot: GqlDependentCost;
346
- sub: Scalars['U64'];
347
- subi: Scalars['U64'];
348
- sw: Scalars['U64'];
349
- sww: Scalars['U64'];
424
+ sub: Scalars['U64']['output'];
425
+ subi: Scalars['U64']['output'];
426
+ sw: Scalars['U64']['output'];
427
+ sww: Scalars['U64']['output'];
350
428
  swwq: GqlDependentCost;
351
- time: Scalars['U64'];
352
- tr: Scalars['U64'];
353
- tro: Scalars['U64'];
429
+ time: Scalars['U64']['output'];
430
+ tr: Scalars['U64']['output'];
431
+ tro: Scalars['U64']['output'];
354
432
  version: GqlGasCostsVersion;
355
433
  vmInitialization: GqlDependentCost;
356
- wdam: Scalars['U64'];
357
- wdcm: Scalars['U64'];
358
- wddv: Scalars['U64'];
359
- wdmd: Scalars['U64'];
360
- wdml: Scalars['U64'];
361
- wdmm: Scalars['U64'];
362
- wdop: Scalars['U64'];
363
- wqam: Scalars['U64'];
364
- wqcm: Scalars['U64'];
365
- wqdv: Scalars['U64'];
366
- wqmd: Scalars['U64'];
367
- wqml: Scalars['U64'];
368
- wqmm: Scalars['U64'];
369
- wqop: Scalars['U64'];
370
- xor: Scalars['U64'];
371
- xori: Scalars['U64'];
434
+ wdam: Scalars['U64']['output'];
435
+ wdcm: Scalars['U64']['output'];
436
+ wddv: Scalars['U64']['output'];
437
+ wdmd: Scalars['U64']['output'];
438
+ wdml: Scalars['U64']['output'];
439
+ wdmm: Scalars['U64']['output'];
440
+ wdop: Scalars['U64']['output'];
441
+ wqam: Scalars['U64']['output'];
442
+ wqcm: Scalars['U64']['output'];
443
+ wqdv: Scalars['U64']['output'];
444
+ wqmd: Scalars['U64']['output'];
445
+ wqml: Scalars['U64']['output'];
446
+ wqmm: Scalars['U64']['output'];
447
+ wqop: Scalars['U64']['output'];
448
+ xor: Scalars['U64']['output'];
449
+ xori: Scalars['U64']['output'];
372
450
  };
373
451
  export declare enum GqlGasCostsVersion {
374
452
  V1 = "V1"
@@ -378,43 +456,43 @@ export type GqlGenesis = {
378
456
  * The chain configs define what consensus type to use, what settlement layer to use,
379
457
  * rules of block validity, etc.
380
458
  */
381
- chainConfigHash: Scalars['Bytes32'];
459
+ chainConfigHash: Scalars['Bytes32']['output'];
382
460
  /** The Binary Merkle Tree root of all genesis coins. */
383
- coinsRoot: Scalars['Bytes32'];
461
+ coinsRoot: Scalars['Bytes32']['output'];
384
462
  /** The Binary Merkle Tree root of state, balances, contracts code hash of each contract. */
385
- contractsRoot: Scalars['Bytes32'];
463
+ contractsRoot: Scalars['Bytes32']['output'];
386
464
  /** The Binary Merkle Tree root of all genesis messages. */
387
- messagesRoot: Scalars['Bytes32'];
465
+ messagesRoot: Scalars['Bytes32']['output'];
388
466
  /** The Binary Merkle Tree root of all processed transaction ids. */
389
- transactionsRoot: Scalars['Bytes32'];
467
+ transactionsRoot: Scalars['Bytes32']['output'];
390
468
  };
391
469
  export type GqlHeader = {
392
470
  /** Hash of the application header. */
393
- applicationHash: Scalars['Bytes32'];
471
+ applicationHash: Scalars['Bytes32']['output'];
394
472
  /** The version of the consensus parameters used to create this block. */
395
- consensusParametersVersion: Scalars['U32'];
473
+ consensusParametersVersion: Scalars['U32']['output'];
396
474
  /** The layer 1 height of messages and events to include since the last layer 1 block number. */
397
- daHeight: Scalars['U64'];
475
+ daHeight: Scalars['U64']['output'];
398
476
  /** Merkle root of inbox events in this block. */
399
- eventInboxRoot: Scalars['Bytes32'];
477
+ eventInboxRoot: Scalars['Bytes32']['output'];
400
478
  /** Fuel block height. */
401
- height: Scalars['U32'];
479
+ height: Scalars['U32']['output'];
402
480
  /** Hash of the header */
403
- id: Scalars['BlockId'];
481
+ id: Scalars['BlockId']['output'];
404
482
  /** Merkle root of message receipts in this block. */
405
- messageOutboxRoot: Scalars['Bytes32'];
483
+ messageOutboxRoot: Scalars['Bytes32']['output'];
406
484
  /** Number of message receipts in this block. */
407
- messageReceiptCount: Scalars['U32'];
485
+ messageReceiptCount: Scalars['U32']['output'];
408
486
  /** Merkle root of all previous block header hashes. */
409
- prevRoot: Scalars['Bytes32'];
487
+ prevRoot: Scalars['Bytes32']['output'];
410
488
  /** The version of the state transition bytecode used to create this block. */
411
- stateTransitionBytecodeVersion: Scalars['U32'];
489
+ stateTransitionBytecodeVersion: Scalars['U32']['output'];
412
490
  /** The block producer time. */
413
- time: Scalars['Tai64Timestamp'];
491
+ time: Scalars['Tai64Timestamp']['output'];
414
492
  /** Number of transactions in this block. */
415
- transactionsCount: Scalars['U16'];
493
+ transactionsCount: Scalars['U16']['output'];
416
494
  /** Merkle root of transactions. */
417
- transactionsRoot: Scalars['Bytes32'];
495
+ transactionsRoot: Scalars['Bytes32']['output'];
418
496
  /** Version of the header */
419
497
  version: GqlHeaderVersion;
420
498
  };
@@ -422,66 +500,66 @@ export declare enum GqlHeaderVersion {
422
500
  V1 = "V1"
423
501
  }
424
502
  export type GqlHeavyOperation = {
425
- base: Scalars['U64'];
426
- gasPerUnit: Scalars['U64'];
503
+ base: Scalars['U64']['output'];
504
+ gasPerUnit: Scalars['U64']['output'];
427
505
  };
428
506
  export type GqlInput = GqlInputCoin | GqlInputContract | GqlInputMessage;
429
507
  export type GqlInputCoin = {
430
- amount: Scalars['U64'];
431
- assetId: Scalars['AssetId'];
432
- owner: Scalars['Address'];
433
- predicate: Scalars['HexString'];
434
- predicateData: Scalars['HexString'];
435
- predicateGasUsed: Scalars['U64'];
436
- txPointer: Scalars['TxPointer'];
437
- utxoId: Scalars['UtxoId'];
438
- witnessIndex: Scalars['Int'];
508
+ amount: Scalars['U64']['output'];
509
+ assetId: Scalars['AssetId']['output'];
510
+ owner: Scalars['Address']['output'];
511
+ predicate: Scalars['HexString']['output'];
512
+ predicateData: Scalars['HexString']['output'];
513
+ predicateGasUsed: Scalars['U64']['output'];
514
+ txPointer: Scalars['TxPointer']['output'];
515
+ utxoId: Scalars['UtxoId']['output'];
516
+ witnessIndex: Scalars['Int']['output'];
439
517
  };
440
518
  export type GqlInputContract = {
441
- balanceRoot: Scalars['Bytes32'];
442
- contractId: Scalars['ContractId'];
443
- stateRoot: Scalars['Bytes32'];
444
- txPointer: Scalars['TxPointer'];
445
- utxoId: Scalars['UtxoId'];
519
+ balanceRoot: Scalars['Bytes32']['output'];
520
+ contractId: Scalars['ContractId']['output'];
521
+ stateRoot: Scalars['Bytes32']['output'];
522
+ txPointer: Scalars['TxPointer']['output'];
523
+ utxoId: Scalars['UtxoId']['output'];
446
524
  };
447
525
  export type GqlInputMessage = {
448
- amount: Scalars['U64'];
449
- data: Scalars['HexString'];
450
- nonce: Scalars['Nonce'];
451
- predicate: Scalars['HexString'];
452
- predicateData: Scalars['HexString'];
453
- predicateGasUsed: Scalars['U64'];
454
- recipient: Scalars['Address'];
455
- sender: Scalars['Address'];
456
- witnessIndex: Scalars['U16'];
526
+ amount: Scalars['U64']['output'];
527
+ data: Scalars['HexString']['output'];
528
+ nonce: Scalars['Nonce']['output'];
529
+ predicate: Scalars['HexString']['output'];
530
+ predicateData: Scalars['HexString']['output'];
531
+ predicateGasUsed: Scalars['U64']['output'];
532
+ recipient: Scalars['Address']['output'];
533
+ sender: Scalars['Address']['output'];
534
+ witnessIndex: Scalars['U16']['output'];
457
535
  };
458
536
  export type GqlLatestGasPrice = {
459
- blockHeight: Scalars['U32'];
460
- gasPrice: Scalars['U64'];
537
+ blockHeight: Scalars['U32']['output'];
538
+ gasPrice: Scalars['U64']['output'];
461
539
  };
462
540
  export type GqlLightOperation = {
463
- base: Scalars['U64'];
464
- unitsPerGas: Scalars['U64'];
541
+ base: Scalars['U64']['output'];
542
+ unitsPerGas: Scalars['U64']['output'];
465
543
  };
466
544
  export type GqlMerkleProof = {
467
- proofIndex: Scalars['U64'];
468
- proofSet: Array<Scalars['Bytes32']>;
545
+ proofIndex: Scalars['U64']['output'];
546
+ proofSet: Array<Scalars['Bytes32']['output']>;
469
547
  };
470
548
  export type GqlMessage = {
471
- amount: Scalars['U64'];
472
- daHeight: Scalars['U64'];
473
- data: Scalars['HexString'];
474
- nonce: Scalars['Nonce'];
475
- recipient: Scalars['Address'];
476
- sender: Scalars['Address'];
549
+ amount: Scalars['U64']['output'];
550
+ daHeight: Scalars['U64']['output'];
551
+ data: Scalars['HexString']['output'];
552
+ nonce: Scalars['Nonce']['output'];
553
+ recipient: Scalars['Address']['output'];
554
+ sender: Scalars['Address']['output'];
477
555
  };
478
556
  export type GqlMessageCoin = {
479
- amount: Scalars['U64'];
480
- assetId: Scalars['AssetId'];
481
- daHeight: Scalars['U64'];
482
- nonce: Scalars['Nonce'];
483
- recipient: Scalars['Address'];
484
- sender: Scalars['Address'];
557
+ amount: Scalars['U64']['output'];
558
+ assetId: Scalars['AssetId']['output'];
559
+ daHeight: Scalars['U64']['output'];
560
+ nonce: Scalars['Nonce']['output'];
561
+ recipient: Scalars['Address']['output'];
562
+ sender: Scalars['Address']['output'];
485
563
  };
486
564
  export type GqlMessageConnection = {
487
565
  /** A list of edges. */
@@ -494,20 +572,20 @@ export type GqlMessageConnection = {
494
572
  /** An edge in a connection. */
495
573
  export type GqlMessageEdge = {
496
574
  /** A cursor for use in pagination */
497
- cursor: Scalars['String'];
575
+ cursor: Scalars['String']['output'];
498
576
  /** The item at the end of the edge */
499
577
  node: GqlMessage;
500
578
  };
501
579
  export type GqlMessageProof = {
502
- amount: Scalars['U64'];
580
+ amount: Scalars['U64']['output'];
503
581
  blockProof: GqlMerkleProof;
504
582
  commitBlockHeader: GqlHeader;
505
- data: Scalars['HexString'];
583
+ data: Scalars['HexString']['output'];
506
584
  messageBlockHeader: GqlHeader;
507
585
  messageProof: GqlMerkleProof;
508
- nonce: Scalars['Nonce'];
509
- recipient: Scalars['Address'];
510
- sender: Scalars['Address'];
586
+ nonce: Scalars['Nonce']['output'];
587
+ recipient: Scalars['Address']['output'];
588
+ sender: Scalars['Address']['output'];
511
589
  };
512
590
  export declare enum GqlMessageState {
513
591
  NotFound = "NOT_FOUND",
@@ -526,29 +604,29 @@ export type GqlMutation = {
526
604
  /** Execute a dry-run of multiple transactions using a fork of current state, no changes are committed. */
527
605
  dryRun: Array<GqlDryRunTransactionExecutionStatus>;
528
606
  /** End debugger session. */
529
- endSession: Scalars['Boolean'];
607
+ endSession: Scalars['Boolean']['output'];
530
608
  /** Execute a single fuel-asm instruction. */
531
- execute: Scalars['Boolean'];
609
+ execute: Scalars['Boolean']['output'];
532
610
  /**
533
611
  * Sequentially produces `blocks_to_produce` blocks. The first block starts with
534
612
  * `start_timestamp`. If the block production in the [`crate::service::Config`] is
535
613
  * `Trigger::Interval { block_time }`, produces blocks with `block_time ` intervals between
536
614
  * them. The `start_timestamp` is the timestamp in seconds.
537
615
  */
538
- produceBlocks: Scalars['U32'];
616
+ produceBlocks: Scalars['U32']['output'];
539
617
  /** Reset the VM instance to the initial state. */
540
- reset: Scalars['Boolean'];
618
+ reset: Scalars['Boolean']['output'];
541
619
  /** Set a breakpoint for a VM instance. */
542
- setBreakpoint: Scalars['Boolean'];
620
+ setBreakpoint: Scalars['Boolean']['output'];
543
621
  /** Set single-stepping mode for the VM instance. */
544
- setSingleStepping: Scalars['Boolean'];
622
+ setSingleStepping: Scalars['Boolean']['output'];
545
623
  /**
546
624
  * Initialize a new debugger session, returning its ID.
547
625
  * A new VM instance is spawned for each session.
548
626
  * The session is run in a separate database transaction,
549
627
  * on top of the most recent node state.
550
628
  */
551
- startSession: Scalars['ID'];
629
+ startSession: Scalars['ID']['output'];
552
630
  /**
553
631
  * Run a single transaction in given session until it
554
632
  * hits a breakpoint or completes.
@@ -562,49 +640,49 @@ export type GqlMutation = {
562
640
  submit: GqlTransaction;
563
641
  };
564
642
  export type GqlMutationContinueTxArgs = {
565
- id: Scalars['ID'];
643
+ id: Scalars['ID']['input'];
566
644
  };
567
645
  export type GqlMutationDryRunArgs = {
568
- gasPrice?: InputMaybe<Scalars['U64']>;
569
- txs: Array<Scalars['HexString']>;
570
- utxoValidation?: InputMaybe<Scalars['Boolean']>;
646
+ gasPrice?: InputMaybe<Scalars['U64']['input']>;
647
+ txs: Array<Scalars['HexString']['input']>;
648
+ utxoValidation?: InputMaybe<Scalars['Boolean']['input']>;
571
649
  };
572
650
  export type GqlMutationEndSessionArgs = {
573
- id: Scalars['ID'];
651
+ id: Scalars['ID']['input'];
574
652
  };
575
653
  export type GqlMutationExecuteArgs = {
576
- id: Scalars['ID'];
577
- op: Scalars['String'];
654
+ id: Scalars['ID']['input'];
655
+ op: Scalars['String']['input'];
578
656
  };
579
657
  export type GqlMutationProduceBlocksArgs = {
580
- blocksToProduce: Scalars['U32'];
581
- startTimestamp?: InputMaybe<Scalars['Tai64Timestamp']>;
658
+ blocksToProduce: Scalars['U32']['input'];
659
+ startTimestamp?: InputMaybe<Scalars['Tai64Timestamp']['input']>;
582
660
  };
583
661
  export type GqlMutationResetArgs = {
584
- id: Scalars['ID'];
662
+ id: Scalars['ID']['input'];
585
663
  };
586
664
  export type GqlMutationSetBreakpointArgs = {
587
665
  breakpoint: GqlBreakpoint;
588
- id: Scalars['ID'];
666
+ id: Scalars['ID']['input'];
589
667
  };
590
668
  export type GqlMutationSetSingleSteppingArgs = {
591
- enable: Scalars['Boolean'];
592
- id: Scalars['ID'];
669
+ enable: Scalars['Boolean']['input'];
670
+ id: Scalars['ID']['input'];
593
671
  };
594
672
  export type GqlMutationStartTxArgs = {
595
- id: Scalars['ID'];
596
- txJson: Scalars['String'];
673
+ id: Scalars['ID']['input'];
674
+ txJson: Scalars['String']['input'];
597
675
  };
598
676
  export type GqlMutationSubmitArgs = {
599
- tx: Scalars['HexString'];
677
+ tx: Scalars['HexString']['input'];
600
678
  };
601
679
  export type GqlNodeInfo = {
602
- maxDepth: Scalars['U64'];
603
- maxTx: Scalars['U64'];
604
- nodeVersion: Scalars['String'];
680
+ maxDepth: Scalars['U64']['output'];
681
+ maxTx: Scalars['U64']['output'];
682
+ nodeVersion: Scalars['String']['output'];
605
683
  peers: Array<GqlPeerInfo>;
606
- utxoValidation: Scalars['Boolean'];
607
- vmBacktrace: Scalars['Boolean'];
684
+ utxoValidation: Scalars['Boolean']['output'];
685
+ vmBacktrace: Scalars['Boolean']['output'];
608
686
  };
609
687
  export type GqlOutput = GqlChangeOutput | GqlCoinOutput | GqlContractCreated | GqlContractOutput | GqlVariableOutput;
610
688
  /**
@@ -612,56 +690,56 @@ export type GqlOutput = GqlChangeOutput | GqlCoinOutput | GqlContractCreated | G
612
690
  * type cannot act as both input and output type in async-graphql
613
691
  */
614
692
  export type GqlOutputBreakpoint = {
615
- contract: Scalars['ContractId'];
616
- pc: Scalars['U64'];
693
+ contract: Scalars['ContractId']['output'];
694
+ pc: Scalars['U64']['output'];
617
695
  };
618
696
  /** Information about pagination in a connection */
619
697
  export type GqlPageInfo = {
620
698
  /** When paginating forwards, the cursor to continue. */
621
- endCursor?: Maybe<Scalars['String']>;
699
+ endCursor?: Maybe<Scalars['String']['output']>;
622
700
  /** When paginating forwards, are there more items? */
623
- hasNextPage: Scalars['Boolean'];
701
+ hasNextPage: Scalars['Boolean']['output'];
624
702
  /** When paginating backwards, are there more items? */
625
- hasPreviousPage: Scalars['Boolean'];
703
+ hasPreviousPage: Scalars['Boolean']['output'];
626
704
  /** When paginating backwards, the cursor to continue. */
627
- startCursor?: Maybe<Scalars['String']>;
705
+ startCursor?: Maybe<Scalars['String']['output']>;
628
706
  };
629
707
  export type GqlPeerInfo = {
630
708
  /** The advertised multi-addrs that can be used to connect to this peer */
631
- addresses: Array<Scalars['String']>;
709
+ addresses: Array<Scalars['String']['output']>;
632
710
  /** The internal fuel p2p reputation of this peer */
633
- appScore: Scalars['Float'];
711
+ appScore: Scalars['Float']['output'];
634
712
  /** The last reported height of the peer */
635
- blockHeight?: Maybe<Scalars['U32']>;
713
+ blockHeight?: Maybe<Scalars['U32']['output']>;
636
714
  /** The self-reported version of the client the peer is using */
637
- clientVersion?: Maybe<Scalars['String']>;
715
+ clientVersion?: Maybe<Scalars['String']['output']>;
638
716
  /** The libp2p peer id */
639
- id: Scalars['String'];
717
+ id: Scalars['String']['output'];
640
718
  /** The last heartbeat from this peer in unix epoch time ms */
641
- lastHeartbeatMs: Scalars['U64'];
719
+ lastHeartbeatMs: Scalars['U64']['output'];
642
720
  };
643
721
  export type GqlPoAConsensus = {
644
722
  /** Gets the signature of the block produced by `PoA` consensus. */
645
- signature: Scalars['Signature'];
723
+ signature: Scalars['Signature']['output'];
646
724
  };
647
725
  export type GqlPolicies = {
648
- maturity?: Maybe<Scalars['U32']>;
649
- maxFee?: Maybe<Scalars['U64']>;
650
- tip?: Maybe<Scalars['U64']>;
651
- witnessLimit?: Maybe<Scalars['U64']>;
726
+ maturity?: Maybe<Scalars['U32']['output']>;
727
+ maxFee?: Maybe<Scalars['U64']['output']>;
728
+ tip?: Maybe<Scalars['U64']['output']>;
729
+ witnessLimit?: Maybe<Scalars['U64']['output']>;
652
730
  };
653
731
  export type GqlPredicateParameters = {
654
- maxGasPerPredicate: Scalars['U64'];
655
- maxMessageDataLength: Scalars['U64'];
656
- maxPredicateDataLength: Scalars['U64'];
657
- maxPredicateLength: Scalars['U64'];
732
+ maxGasPerPredicate: Scalars['U64']['output'];
733
+ maxMessageDataLength: Scalars['U64']['output'];
734
+ maxPredicateDataLength: Scalars['U64']['output'];
735
+ maxPredicateLength: Scalars['U64']['output'];
658
736
  version: GqlPredicateParametersVersion;
659
737
  };
660
738
  export declare enum GqlPredicateParametersVersion {
661
739
  V1 = "V1"
662
740
  }
663
741
  export type GqlProgramState = {
664
- data: Scalars['HexString'];
742
+ data: Scalars['HexString']['output'];
665
743
  returnType: GqlReturnType;
666
744
  };
667
745
  export type GqlQuery = {
@@ -694,155 +772,155 @@ export type GqlQuery = {
694
772
  /** Estimate the predicate gas for the provided transaction */
695
773
  estimatePredicates: GqlTransaction;
696
774
  /** Returns true when the GraphQL API is serving requests. */
697
- health: Scalars['Boolean'];
775
+ health: Scalars['Boolean']['output'];
698
776
  latestGasPrice: GqlLatestGasPrice;
699
777
  /** Read read a range of memory bytes. */
700
- memory: Scalars['String'];
778
+ memory: Scalars['String']['output'];
701
779
  message?: Maybe<GqlMessage>;
702
780
  messageProof?: Maybe<GqlMessageProof>;
703
781
  messageStatus: GqlMessageStatus;
704
782
  messages: GqlMessageConnection;
705
783
  nodeInfo: GqlNodeInfo;
706
784
  /** Read register value by index. */
707
- register: Scalars['U64'];
785
+ register: Scalars['U64']['output'];
708
786
  relayedTransactionStatus?: Maybe<GqlRelayedTransactionStatus>;
709
787
  transaction?: Maybe<GqlTransaction>;
710
788
  transactions: GqlTransactionConnection;
711
789
  transactionsByOwner: GqlTransactionConnection;
712
790
  };
713
791
  export type GqlQueryBalanceArgs = {
714
- assetId: Scalars['AssetId'];
715
- owner: Scalars['Address'];
792
+ assetId: Scalars['AssetId']['input'];
793
+ owner: Scalars['Address']['input'];
716
794
  };
717
795
  export type GqlQueryBalancesArgs = {
718
- after?: InputMaybe<Scalars['String']>;
719
- before?: InputMaybe<Scalars['String']>;
796
+ after?: InputMaybe<Scalars['String']['input']>;
797
+ before?: InputMaybe<Scalars['String']['input']>;
720
798
  filter: GqlBalanceFilterInput;
721
- first?: InputMaybe<Scalars['Int']>;
722
- last?: InputMaybe<Scalars['Int']>;
799
+ first?: InputMaybe<Scalars['Int']['input']>;
800
+ last?: InputMaybe<Scalars['Int']['input']>;
723
801
  };
724
802
  export type GqlQueryBlockArgs = {
725
- height?: InputMaybe<Scalars['U32']>;
726
- id?: InputMaybe<Scalars['BlockId']>;
803
+ height?: InputMaybe<Scalars['U32']['input']>;
804
+ id?: InputMaybe<Scalars['BlockId']['input']>;
727
805
  };
728
806
  export type GqlQueryBlocksArgs = {
729
- after?: InputMaybe<Scalars['String']>;
730
- before?: InputMaybe<Scalars['String']>;
731
- first?: InputMaybe<Scalars['Int']>;
732
- last?: InputMaybe<Scalars['Int']>;
807
+ after?: InputMaybe<Scalars['String']['input']>;
808
+ before?: InputMaybe<Scalars['String']['input']>;
809
+ first?: InputMaybe<Scalars['Int']['input']>;
810
+ last?: InputMaybe<Scalars['Int']['input']>;
733
811
  };
734
812
  export type GqlQueryCoinArgs = {
735
- utxoId: Scalars['UtxoId'];
813
+ utxoId: Scalars['UtxoId']['input'];
736
814
  };
737
815
  export type GqlQueryCoinsArgs = {
738
- after?: InputMaybe<Scalars['String']>;
739
- before?: InputMaybe<Scalars['String']>;
816
+ after?: InputMaybe<Scalars['String']['input']>;
817
+ before?: InputMaybe<Scalars['String']['input']>;
740
818
  filter: GqlCoinFilterInput;
741
- first?: InputMaybe<Scalars['Int']>;
742
- last?: InputMaybe<Scalars['Int']>;
819
+ first?: InputMaybe<Scalars['Int']['input']>;
820
+ last?: InputMaybe<Scalars['Int']['input']>;
743
821
  };
744
822
  export type GqlQueryCoinsToSpendArgs = {
745
823
  excludedIds?: InputMaybe<GqlExcludeInput>;
746
- owner: Scalars['Address'];
824
+ owner: Scalars['Address']['input'];
747
825
  queryPerAsset: Array<GqlSpendQueryElementInput>;
748
826
  };
749
827
  export type GqlQueryContractArgs = {
750
- id: Scalars['ContractId'];
828
+ id: Scalars['ContractId']['input'];
751
829
  };
752
830
  export type GqlQueryContractBalanceArgs = {
753
- asset: Scalars['AssetId'];
754
- contract: Scalars['ContractId'];
831
+ asset: Scalars['AssetId']['input'];
832
+ contract: Scalars['ContractId']['input'];
755
833
  };
756
834
  export type GqlQueryContractBalancesArgs = {
757
- after?: InputMaybe<Scalars['String']>;
758
- before?: InputMaybe<Scalars['String']>;
835
+ after?: InputMaybe<Scalars['String']['input']>;
836
+ before?: InputMaybe<Scalars['String']['input']>;
759
837
  filter: GqlContractBalanceFilterInput;
760
- first?: InputMaybe<Scalars['Int']>;
761
- last?: InputMaybe<Scalars['Int']>;
838
+ first?: InputMaybe<Scalars['Int']['input']>;
839
+ last?: InputMaybe<Scalars['Int']['input']>;
762
840
  };
763
841
  export type GqlQueryEstimateGasPriceArgs = {
764
- blockHorizon?: InputMaybe<Scalars['U32']>;
842
+ blockHorizon?: InputMaybe<Scalars['U32']['input']>;
765
843
  };
766
844
  export type GqlQueryEstimatePredicatesArgs = {
767
- tx: Scalars['HexString'];
845
+ tx: Scalars['HexString']['input'];
768
846
  };
769
847
  export type GqlQueryMemoryArgs = {
770
- id: Scalars['ID'];
771
- size: Scalars['U32'];
772
- start: Scalars['U32'];
848
+ id: Scalars['ID']['input'];
849
+ size: Scalars['U32']['input'];
850
+ start: Scalars['U32']['input'];
773
851
  };
774
852
  export type GqlQueryMessageArgs = {
775
- nonce: Scalars['Nonce'];
853
+ nonce: Scalars['Nonce']['input'];
776
854
  };
777
855
  export type GqlQueryMessageProofArgs = {
778
- commitBlockHeight?: InputMaybe<Scalars['U32']>;
779
- commitBlockId?: InputMaybe<Scalars['BlockId']>;
780
- nonce: Scalars['Nonce'];
781
- transactionId: Scalars['TransactionId'];
856
+ commitBlockHeight?: InputMaybe<Scalars['U32']['input']>;
857
+ commitBlockId?: InputMaybe<Scalars['BlockId']['input']>;
858
+ nonce: Scalars['Nonce']['input'];
859
+ transactionId: Scalars['TransactionId']['input'];
782
860
  };
783
861
  export type GqlQueryMessageStatusArgs = {
784
- nonce: Scalars['Nonce'];
862
+ nonce: Scalars['Nonce']['input'];
785
863
  };
786
864
  export type GqlQueryMessagesArgs = {
787
- after?: InputMaybe<Scalars['String']>;
788
- before?: InputMaybe<Scalars['String']>;
789
- first?: InputMaybe<Scalars['Int']>;
790
- last?: InputMaybe<Scalars['Int']>;
791
- owner?: InputMaybe<Scalars['Address']>;
865
+ after?: InputMaybe<Scalars['String']['input']>;
866
+ before?: InputMaybe<Scalars['String']['input']>;
867
+ first?: InputMaybe<Scalars['Int']['input']>;
868
+ last?: InputMaybe<Scalars['Int']['input']>;
869
+ owner?: InputMaybe<Scalars['Address']['input']>;
792
870
  };
793
871
  export type GqlQueryRegisterArgs = {
794
- id: Scalars['ID'];
795
- register: Scalars['U32'];
872
+ id: Scalars['ID']['input'];
873
+ register: Scalars['U32']['input'];
796
874
  };
797
875
  export type GqlQueryRelayedTransactionStatusArgs = {
798
- id: Scalars['RelayedTransactionId'];
876
+ id: Scalars['RelayedTransactionId']['input'];
799
877
  };
800
878
  export type GqlQueryTransactionArgs = {
801
- id: Scalars['TransactionId'];
879
+ id: Scalars['TransactionId']['input'];
802
880
  };
803
881
  export type GqlQueryTransactionsArgs = {
804
- after?: InputMaybe<Scalars['String']>;
805
- before?: InputMaybe<Scalars['String']>;
806
- first?: InputMaybe<Scalars['Int']>;
807
- last?: InputMaybe<Scalars['Int']>;
882
+ after?: InputMaybe<Scalars['String']['input']>;
883
+ before?: InputMaybe<Scalars['String']['input']>;
884
+ first?: InputMaybe<Scalars['Int']['input']>;
885
+ last?: InputMaybe<Scalars['Int']['input']>;
808
886
  };
809
887
  export type GqlQueryTransactionsByOwnerArgs = {
810
- after?: InputMaybe<Scalars['String']>;
811
- before?: InputMaybe<Scalars['String']>;
812
- first?: InputMaybe<Scalars['Int']>;
813
- last?: InputMaybe<Scalars['Int']>;
814
- owner: Scalars['Address'];
888
+ after?: InputMaybe<Scalars['String']['input']>;
889
+ before?: InputMaybe<Scalars['String']['input']>;
890
+ first?: InputMaybe<Scalars['Int']['input']>;
891
+ last?: InputMaybe<Scalars['Int']['input']>;
892
+ owner: Scalars['Address']['input'];
815
893
  };
816
894
  export type GqlReceipt = {
817
- amount?: Maybe<Scalars['U64']>;
818
- assetId?: Maybe<Scalars['AssetId']>;
895
+ amount?: Maybe<Scalars['U64']['output']>;
896
+ assetId?: Maybe<Scalars['AssetId']['output']>;
819
897
  /** Set in the case of a Panic receipt to indicate a missing contract input id */
820
- contractId?: Maybe<Scalars['ContractId']>;
821
- data?: Maybe<Scalars['HexString']>;
822
- digest?: Maybe<Scalars['Bytes32']>;
823
- gas?: Maybe<Scalars['U64']>;
824
- gasUsed?: Maybe<Scalars['U64']>;
825
- id?: Maybe<Scalars['ContractId']>;
826
- is?: Maybe<Scalars['U64']>;
827
- len?: Maybe<Scalars['U64']>;
828
- nonce?: Maybe<Scalars['Nonce']>;
829
- param1?: Maybe<Scalars['U64']>;
830
- param2?: Maybe<Scalars['U64']>;
831
- pc?: Maybe<Scalars['U64']>;
832
- ptr?: Maybe<Scalars['U64']>;
833
- ra?: Maybe<Scalars['U64']>;
834
- rb?: Maybe<Scalars['U64']>;
835
- rc?: Maybe<Scalars['U64']>;
836
- rd?: Maybe<Scalars['U64']>;
837
- reason?: Maybe<Scalars['U64']>;
898
+ contractId?: Maybe<Scalars['ContractId']['output']>;
899
+ data?: Maybe<Scalars['HexString']['output']>;
900
+ digest?: Maybe<Scalars['Bytes32']['output']>;
901
+ gas?: Maybe<Scalars['U64']['output']>;
902
+ gasUsed?: Maybe<Scalars['U64']['output']>;
903
+ id?: Maybe<Scalars['ContractId']['output']>;
904
+ is?: Maybe<Scalars['U64']['output']>;
905
+ len?: Maybe<Scalars['U64']['output']>;
906
+ nonce?: Maybe<Scalars['Nonce']['output']>;
907
+ param1?: Maybe<Scalars['U64']['output']>;
908
+ param2?: Maybe<Scalars['U64']['output']>;
909
+ pc?: Maybe<Scalars['U64']['output']>;
910
+ ptr?: Maybe<Scalars['U64']['output']>;
911
+ ra?: Maybe<Scalars['U64']['output']>;
912
+ rb?: Maybe<Scalars['U64']['output']>;
913
+ rc?: Maybe<Scalars['U64']['output']>;
914
+ rd?: Maybe<Scalars['U64']['output']>;
915
+ reason?: Maybe<Scalars['U64']['output']>;
838
916
  receiptType: GqlReceiptType;
839
- recipient?: Maybe<Scalars['Address']>;
840
- result?: Maybe<Scalars['U64']>;
841
- sender?: Maybe<Scalars['Address']>;
842
- subId?: Maybe<Scalars['Bytes32']>;
843
- to?: Maybe<Scalars['ContractId']>;
844
- toAddress?: Maybe<Scalars['Address']>;
845
- val?: Maybe<Scalars['U64']>;
917
+ recipient?: Maybe<Scalars['Address']['output']>;
918
+ result?: Maybe<Scalars['U64']['output']>;
919
+ sender?: Maybe<Scalars['Address']['output']>;
920
+ subId?: Maybe<Scalars['Bytes32']['output']>;
921
+ to?: Maybe<Scalars['ContractId']['output']>;
922
+ toAddress?: Maybe<Scalars['Address']['output']>;
923
+ val?: Maybe<Scalars['U64']['output']>;
846
924
  };
847
925
  export declare enum GqlReceiptType {
848
926
  Burn = "BURN",
@@ -860,8 +938,8 @@ export declare enum GqlReceiptType {
860
938
  TransferOut = "TRANSFER_OUT"
861
939
  }
862
940
  export type GqlRelayedTransactionFailed = {
863
- blockHeight: Scalars['U32'];
864
- failure: Scalars['String'];
941
+ blockHeight: Scalars['U32']['output'];
942
+ failure: Scalars['String']['output'];
865
943
  };
866
944
  export type GqlRelayedTransactionStatus = GqlRelayedTransactionFailed;
867
945
  export declare enum GqlReturnType {
@@ -871,7 +949,7 @@ export declare enum GqlReturnType {
871
949
  }
872
950
  export type GqlRunResult = {
873
951
  breakpoint?: Maybe<GqlOutputBreakpoint>;
874
- jsonReceipts: Array<Scalars['String']>;
952
+ jsonReceipts: Array<Scalars['String']['output']>;
875
953
  state: GqlRunState;
876
954
  };
877
955
  export declare enum GqlRunState {
@@ -881,8 +959,8 @@ export declare enum GqlRunState {
881
959
  Completed = "COMPLETED"
882
960
  }
883
961
  export type GqlScriptParameters = {
884
- maxScriptDataLength: Scalars['U64'];
885
- maxScriptLength: Scalars['U64'];
962
+ maxScriptDataLength: Scalars['U64']['output'];
963
+ maxScriptLength: Scalars['U64']['output'];
886
964
  version: GqlScriptParametersVersion;
887
965
  };
888
966
  export declare enum GqlScriptParametersVersion {
@@ -890,20 +968,20 @@ export declare enum GqlScriptParametersVersion {
890
968
  }
891
969
  export type GqlSpendQueryElementInput = {
892
970
  /** Target amount for the query. */
893
- amount: Scalars['U64'];
971
+ amount: Scalars['U64']['input'];
894
972
  /** Identifier of the asset to spend. */
895
- assetId: Scalars['AssetId'];
973
+ assetId: Scalars['AssetId']['input'];
896
974
  /** The maximum number of currencies for selection. */
897
- max?: InputMaybe<Scalars['U32']>;
975
+ max?: InputMaybe<Scalars['U32']['input']>;
898
976
  };
899
977
  export type GqlSqueezedOutStatus = {
900
- reason: Scalars['String'];
978
+ reason: Scalars['String']['output'];
901
979
  };
902
980
  export type GqlStateTransitionPurpose = {
903
- root: Scalars['Bytes32'];
981
+ root: Scalars['Bytes32']['output'];
904
982
  };
905
983
  export type GqlSubmittedStatus = {
906
- time: Scalars['Tai64Timestamp'];
984
+ time: Scalars['Tai64Timestamp']['output'];
907
985
  };
908
986
  export type GqlSubscription = {
909
987
  /**
@@ -925,55 +1003,56 @@ export type GqlSubscription = {
925
1003
  submitAndAwait: GqlTransactionStatus;
926
1004
  };
927
1005
  export type GqlSubscriptionStatusChangeArgs = {
928
- id: Scalars['TransactionId'];
1006
+ id: Scalars['TransactionId']['input'];
929
1007
  };
930
1008
  export type GqlSubscriptionSubmitAndAwaitArgs = {
931
- tx: Scalars['HexString'];
1009
+ tx: Scalars['HexString']['input'];
932
1010
  };
933
1011
  export type GqlSuccessStatus = {
934
1012
  block: GqlBlock;
1013
+ blockHeight: Scalars['U32']['output'];
935
1014
  programState?: Maybe<GqlProgramState>;
936
1015
  receipts: Array<GqlReceipt>;
937
- time: Scalars['Tai64Timestamp'];
938
- totalFee: Scalars['U64'];
939
- totalGas: Scalars['U64'];
940
- transactionId: Scalars['TransactionId'];
1016
+ time: Scalars['Tai64Timestamp']['output'];
1017
+ totalFee: Scalars['U64']['output'];
1018
+ totalGas: Scalars['U64']['output'];
1019
+ transactionId: Scalars['TransactionId']['output'];
941
1020
  };
942
1021
  export type GqlTransaction = {
943
- bytecodeRoot?: Maybe<Scalars['Bytes32']>;
944
- bytecodeWitnessIndex?: Maybe<Scalars['U16']>;
945
- id: Scalars['TransactionId'];
946
- inputAssetIds?: Maybe<Array<Scalars['AssetId']>>;
1022
+ bytecodeRoot?: Maybe<Scalars['Bytes32']['output']>;
1023
+ bytecodeWitnessIndex?: Maybe<Scalars['U16']['output']>;
1024
+ id: Scalars['TransactionId']['output'];
1025
+ inputAssetIds?: Maybe<Array<Scalars['AssetId']['output']>>;
947
1026
  inputContract?: Maybe<GqlInputContract>;
948
- inputContracts?: Maybe<Array<Scalars['ContractId']>>;
1027
+ inputContracts?: Maybe<Array<Scalars['ContractId']['output']>>;
949
1028
  inputs?: Maybe<Array<GqlInput>>;
950
- isCreate: Scalars['Boolean'];
951
- isMint: Scalars['Boolean'];
952
- isScript: Scalars['Boolean'];
953
- isUpgrade: Scalars['Boolean'];
954
- isUpload: Scalars['Boolean'];
955
- maturity?: Maybe<Scalars['U32']>;
956
- mintAmount?: Maybe<Scalars['U64']>;
957
- mintAssetId?: Maybe<Scalars['AssetId']>;
958
- mintGasPrice?: Maybe<Scalars['U64']>;
1029
+ isCreate: Scalars['Boolean']['output'];
1030
+ isMint: Scalars['Boolean']['output'];
1031
+ isScript: Scalars['Boolean']['output'];
1032
+ isUpgrade: Scalars['Boolean']['output'];
1033
+ isUpload: Scalars['Boolean']['output'];
1034
+ maturity?: Maybe<Scalars['U32']['output']>;
1035
+ mintAmount?: Maybe<Scalars['U64']['output']>;
1036
+ mintAssetId?: Maybe<Scalars['AssetId']['output']>;
1037
+ mintGasPrice?: Maybe<Scalars['U64']['output']>;
959
1038
  outputContract?: Maybe<GqlContractOutput>;
960
1039
  outputs: Array<GqlOutput>;
961
1040
  policies?: Maybe<GqlPolicies>;
962
- proofSet?: Maybe<Array<Scalars['Bytes32']>>;
1041
+ proofSet?: Maybe<Array<Scalars['Bytes32']['output']>>;
963
1042
  /** Return the transaction bytes using canonical encoding */
964
- rawPayload: Scalars['HexString'];
965
- receiptsRoot?: Maybe<Scalars['Bytes32']>;
966
- salt?: Maybe<Scalars['Salt']>;
967
- script?: Maybe<Scalars['HexString']>;
968
- scriptData?: Maybe<Scalars['HexString']>;
969
- scriptGasLimit?: Maybe<Scalars['U64']>;
1043
+ rawPayload: Scalars['HexString']['output'];
1044
+ receiptsRoot?: Maybe<Scalars['Bytes32']['output']>;
1045
+ salt?: Maybe<Scalars['Salt']['output']>;
1046
+ script?: Maybe<Scalars['HexString']['output']>;
1047
+ scriptData?: Maybe<Scalars['HexString']['output']>;
1048
+ scriptGasLimit?: Maybe<Scalars['U64']['output']>;
970
1049
  status?: Maybe<GqlTransactionStatus>;
971
- storageSlots?: Maybe<Array<Scalars['HexString']>>;
972
- subsectionIndex?: Maybe<Scalars['U16']>;
973
- subsectionsNumber?: Maybe<Scalars['U16']>;
974
- txPointer?: Maybe<Scalars['TxPointer']>;
1050
+ storageSlots?: Maybe<Array<Scalars['HexString']['output']>>;
1051
+ subsectionIndex?: Maybe<Scalars['U16']['output']>;
1052
+ subsectionsNumber?: Maybe<Scalars['U16']['output']>;
1053
+ txPointer?: Maybe<Scalars['TxPointer']['output']>;
975
1054
  upgradePurpose?: Maybe<GqlUpgradePurpose>;
976
- witnesses?: Maybe<Array<Scalars['HexString']>>;
1055
+ witnesses?: Maybe<Array<Scalars['HexString']['output']>>;
977
1056
  };
978
1057
  export type GqlTransactionConnection = {
979
1058
  /** A list of edges. */
@@ -986,18 +1065,18 @@ export type GqlTransactionConnection = {
986
1065
  /** An edge in a connection. */
987
1066
  export type GqlTransactionEdge = {
988
1067
  /** A cursor for use in pagination */
989
- cursor: Scalars['String'];
1068
+ cursor: Scalars['String']['output'];
990
1069
  /** The item at the end of the edge */
991
1070
  node: GqlTransaction;
992
1071
  };
993
1072
  export type GqlTransactionStatus = GqlFailureStatus | GqlSqueezedOutStatus | GqlSubmittedStatus | GqlSuccessStatus;
994
1073
  export type GqlTxParameters = {
995
- maxBytecodeSubsections: Scalars['U16'];
996
- maxGasPerTx: Scalars['U64'];
997
- maxInputs: Scalars['U16'];
998
- maxOutputs: Scalars['U16'];
999
- maxSize: Scalars['U64'];
1000
- maxWitnesses: Scalars['U32'];
1074
+ maxBytecodeSubsections: Scalars['U16']['output'];
1075
+ maxGasPerTx: Scalars['U64']['output'];
1076
+ maxInputs: Scalars['U16']['output'];
1077
+ maxOutputs: Scalars['U16']['output'];
1078
+ maxSize: Scalars['U64']['output'];
1079
+ maxWitnesses: Scalars['U32']['output'];
1001
1080
  version: GqlTxParametersVersion;
1002
1081
  };
1003
1082
  export declare enum GqlTxParametersVersion {
@@ -1005,9 +1084,9 @@ export declare enum GqlTxParametersVersion {
1005
1084
  }
1006
1085
  export type GqlUpgradePurpose = GqlConsensusParametersPurpose | GqlStateTransitionPurpose;
1007
1086
  export type GqlVariableOutput = {
1008
- amount: Scalars['U64'];
1009
- assetId: Scalars['AssetId'];
1010
- to: Scalars['Address'];
1087
+ amount: Scalars['U64']['output'];
1088
+ assetId: Scalars['AssetId']['output'];
1089
+ to: Scalars['Address']['output'];
1011
1090
  };
1012
1091
  export type GqlSubmittedStatusFragment = {
1013
1092
  time: string;
@@ -1100,7 +1179,7 @@ export type GqlSqueezedOutStatusFragment = {
1100
1179
  reason: string;
1101
1180
  type: 'SqueezedOutStatus';
1102
1181
  };
1103
- type GqlTransactionStatusFragment_FailureStatus_ = {
1182
+ type GqlTransactionStatusFragment_FailureStatus = {
1104
1183
  totalGas: string;
1105
1184
  totalFee: string;
1106
1185
  time: string;
@@ -1140,15 +1219,15 @@ type GqlTransactionStatusFragment_FailureStatus_ = {
1140
1219
  subId?: string | null;
1141
1220
  }>;
1142
1221
  };
1143
- type GqlTransactionStatusFragment_SqueezedOutStatus_ = {
1222
+ type GqlTransactionStatusFragment_SqueezedOutStatus = {
1144
1223
  reason: string;
1145
1224
  type: 'SqueezedOutStatus';
1146
1225
  };
1147
- type GqlTransactionStatusFragment_SubmittedStatus_ = {
1226
+ type GqlTransactionStatusFragment_SubmittedStatus = {
1148
1227
  time: string;
1149
1228
  type: 'SubmittedStatus';
1150
1229
  };
1151
- type GqlTransactionStatusFragment_SuccessStatus_ = {
1230
+ type GqlTransactionStatusFragment_SuccessStatus = {
1152
1231
  time: string;
1153
1232
  totalGas: string;
1154
1233
  totalFee: string;
@@ -1191,21 +1270,21 @@ type GqlTransactionStatusFragment_SuccessStatus_ = {
1191
1270
  subId?: string | null;
1192
1271
  }>;
1193
1272
  };
1194
- export type GqlTransactionStatusFragment = GqlTransactionStatusFragment_FailureStatus_ | GqlTransactionStatusFragment_SqueezedOutStatus_ | GqlTransactionStatusFragment_SubmittedStatus_ | GqlTransactionStatusFragment_SuccessStatus_;
1195
- type GqlTransactionStatusSubscriptionFragment_FailureStatus_ = {
1273
+ export type GqlTransactionStatusFragment = GqlTransactionStatusFragment_FailureStatus | GqlTransactionStatusFragment_SqueezedOutStatus | GqlTransactionStatusFragment_SubmittedStatus | GqlTransactionStatusFragment_SuccessStatus;
1274
+ type GqlTransactionStatusSubscriptionFragment_FailureStatus = {
1196
1275
  type: 'FailureStatus';
1197
1276
  };
1198
- type GqlTransactionStatusSubscriptionFragment_SqueezedOutStatus_ = {
1277
+ type GqlTransactionStatusSubscriptionFragment_SqueezedOutStatus = {
1199
1278
  reason: string;
1200
1279
  type: 'SqueezedOutStatus';
1201
1280
  };
1202
- type GqlTransactionStatusSubscriptionFragment_SubmittedStatus_ = {
1281
+ type GqlTransactionStatusSubscriptionFragment_SubmittedStatus = {
1203
1282
  type: 'SubmittedStatus';
1204
1283
  };
1205
- type GqlTransactionStatusSubscriptionFragment_SuccessStatus_ = {
1284
+ type GqlTransactionStatusSubscriptionFragment_SuccessStatus = {
1206
1285
  type: 'SuccessStatus';
1207
1286
  };
1208
- export type GqlTransactionStatusSubscriptionFragment = GqlTransactionStatusSubscriptionFragment_FailureStatus_ | GqlTransactionStatusSubscriptionFragment_SqueezedOutStatus_ | GqlTransactionStatusSubscriptionFragment_SubmittedStatus_ | GqlTransactionStatusSubscriptionFragment_SuccessStatus_;
1287
+ export type GqlTransactionStatusSubscriptionFragment = GqlTransactionStatusSubscriptionFragment_FailureStatus | GqlTransactionStatusSubscriptionFragment_SqueezedOutStatus | GqlTransactionStatusSubscriptionFragment_SubmittedStatus | GqlTransactionStatusSubscriptionFragment_SuccessStatus;
1209
1288
  export type GqlTransactionFragment = {
1210
1289
  id: string;
1211
1290
  rawPayload: string;
@@ -1298,14 +1377,14 @@ export type GqlTransactionFragment = {
1298
1377
  }>;
1299
1378
  } | null;
1300
1379
  };
1301
- type GqlInputEstimatePredicatesFragment_InputCoin_ = {
1380
+ type GqlInputEstimatePredicatesFragment_InputCoin = {
1302
1381
  predicateGasUsed: string;
1303
1382
  };
1304
- type GqlInputEstimatePredicatesFragment_InputContract_ = {};
1305
- type GqlInputEstimatePredicatesFragment_InputMessage_ = {
1383
+ type GqlInputEstimatePredicatesFragment_InputContract = {};
1384
+ type GqlInputEstimatePredicatesFragment_InputMessage = {
1306
1385
  predicateGasUsed: string;
1307
1386
  };
1308
- export type GqlInputEstimatePredicatesFragment = GqlInputEstimatePredicatesFragment_InputCoin_ | GqlInputEstimatePredicatesFragment_InputContract_ | GqlInputEstimatePredicatesFragment_InputMessage_;
1387
+ export type GqlInputEstimatePredicatesFragment = GqlInputEstimatePredicatesFragment_InputCoin | GqlInputEstimatePredicatesFragment_InputContract | GqlInputEstimatePredicatesFragment_InputMessage;
1309
1388
  export type GqlTransactionEstimatePredicatesFragment = {
1310
1389
  inputs?: Array<{
1311
1390
  predicateGasUsed: string;
@@ -1362,7 +1441,7 @@ export type GqlReceiptFragment = {
1362
1441
  contractId?: string | null;
1363
1442
  subId?: string | null;
1364
1443
  };
1365
- type GqlDryRunTransactionStatusFragment_DryRunFailureStatus_ = {
1444
+ type GqlDryRunTransactionStatusFragment_DryRunFailureStatus = {
1366
1445
  totalGas: string;
1367
1446
  totalFee: string;
1368
1447
  reason: string;
@@ -1372,7 +1451,7 @@ type GqlDryRunTransactionStatusFragment_DryRunFailureStatus_ = {
1372
1451
  data: string;
1373
1452
  } | null;
1374
1453
  };
1375
- type GqlDryRunTransactionStatusFragment_DryRunSuccessStatus_ = {
1454
+ type GqlDryRunTransactionStatusFragment_DryRunSuccessStatus = {
1376
1455
  totalGas: string;
1377
1456
  totalFee: string;
1378
1457
  type: 'DryRunSuccessStatus';
@@ -1381,7 +1460,7 @@ type GqlDryRunTransactionStatusFragment_DryRunSuccessStatus_ = {
1381
1460
  data: string;
1382
1461
  } | null;
1383
1462
  };
1384
- export type GqlDryRunTransactionStatusFragment = GqlDryRunTransactionStatusFragment_DryRunFailureStatus_ | GqlDryRunTransactionStatusFragment_DryRunSuccessStatus_;
1463
+ export type GqlDryRunTransactionStatusFragment = GqlDryRunTransactionStatusFragment_DryRunFailureStatus | GqlDryRunTransactionStatusFragment_DryRunSuccessStatus;
1385
1464
  export type GqlDryRunTransactionExecutionStatusFragment = {
1386
1465
  id: string;
1387
1466
  status: {
@@ -1552,17 +1631,17 @@ export type GqlFeeParametersFragment = {
1552
1631
  gasPriceFactor: string;
1553
1632
  gasPerByte: string;
1554
1633
  };
1555
- type GqlDependentCostFragment_HeavyOperation_ = {
1634
+ type GqlDependentCostFragment_HeavyOperation = {
1556
1635
  base: string;
1557
1636
  gasPerUnit: string;
1558
1637
  type: 'HeavyOperation';
1559
1638
  };
1560
- type GqlDependentCostFragment_LightOperation_ = {
1639
+ type GqlDependentCostFragment_LightOperation = {
1561
1640
  base: string;
1562
1641
  unitsPerGas: string;
1563
1642
  type: 'LightOperation';
1564
1643
  };
1565
- export type GqlDependentCostFragment = GqlDependentCostFragment_HeavyOperation_ | GqlDependentCostFragment_LightOperation_;
1644
+ export type GqlDependentCostFragment = GqlDependentCostFragment_HeavyOperation | GqlDependentCostFragment_LightOperation;
1566
1645
  export type GqlGasCostsFragment = {
1567
1646
  version: GqlGasCostsVersion;
1568
1647
  add: string;
@@ -1663,6 +1742,24 @@ export type GqlGasCostsFragment = {
1663
1742
  unitsPerGas: string;
1664
1743
  type: 'LightOperation';
1665
1744
  };
1745
+ cfe: {
1746
+ base: string;
1747
+ gasPerUnit: string;
1748
+ type: 'HeavyOperation';
1749
+ } | {
1750
+ base: string;
1751
+ unitsPerGas: string;
1752
+ type: 'LightOperation';
1753
+ };
1754
+ cfeiDependentCost: {
1755
+ base: string;
1756
+ gasPerUnit: string;
1757
+ type: 'HeavyOperation';
1758
+ } | {
1759
+ base: string;
1760
+ unitsPerGas: string;
1761
+ type: 'LightOperation';
1762
+ };
1666
1763
  call: {
1667
1764
  base: string;
1668
1765
  gasPerUnit: string;
@@ -1988,6 +2085,24 @@ export type GqlConsensusParametersFragment = {
1988
2085
  unitsPerGas: string;
1989
2086
  type: 'LightOperation';
1990
2087
  };
2088
+ cfe: {
2089
+ base: string;
2090
+ gasPerUnit: string;
2091
+ type: 'HeavyOperation';
2092
+ } | {
2093
+ base: string;
2094
+ unitsPerGas: string;
2095
+ type: 'LightOperation';
2096
+ };
2097
+ cfeiDependentCost: {
2098
+ base: string;
2099
+ gasPerUnit: string;
2100
+ type: 'HeavyOperation';
2101
+ } | {
2102
+ base: string;
2103
+ unitsPerGas: string;
2104
+ type: 'LightOperation';
2105
+ };
1991
2106
  call: {
1992
2107
  base: string;
1993
2108
  gasPerUnit: string;
@@ -2327,6 +2442,24 @@ export type GqlChainInfoFragment = {
2327
2442
  unitsPerGas: string;
2328
2443
  type: 'LightOperation';
2329
2444
  };
2445
+ cfe: {
2446
+ base: string;
2447
+ gasPerUnit: string;
2448
+ type: 'HeavyOperation';
2449
+ } | {
2450
+ base: string;
2451
+ unitsPerGas: string;
2452
+ type: 'LightOperation';
2453
+ };
2454
+ cfeiDependentCost: {
2455
+ base: string;
2456
+ gasPerUnit: string;
2457
+ type: 'HeavyOperation';
2458
+ } | {
2459
+ base: string;
2460
+ unitsPerGas: string;
2461
+ type: 'LightOperation';
2462
+ };
2330
2463
  call: {
2331
2464
  base: string;
2332
2465
  gasPerUnit: string;
@@ -2713,6 +2846,24 @@ export type GqlGetChainQuery = {
2713
2846
  unitsPerGas: string;
2714
2847
  type: 'LightOperation';
2715
2848
  };
2849
+ cfe: {
2850
+ base: string;
2851
+ gasPerUnit: string;
2852
+ type: 'HeavyOperation';
2853
+ } | {
2854
+ base: string;
2855
+ unitsPerGas: string;
2856
+ type: 'LightOperation';
2857
+ };
2858
+ cfeiDependentCost: {
2859
+ base: string;
2860
+ gasPerUnit: string;
2861
+ type: 'HeavyOperation';
2862
+ } | {
2863
+ base: string;
2864
+ unitsPerGas: string;
2865
+ type: 'LightOperation';
2866
+ };
2716
2867
  call: {
2717
2868
  base: string;
2718
2869
  gasPerUnit: string;
@@ -2907,7 +3058,7 @@ export type GqlGetChainQuery = {
2907
3058
  };
2908
3059
  };
2909
3060
  export type GqlGetTransactionQueryVariables = Exact<{
2910
- transactionId: Scalars['TransactionId'];
3061
+ transactionId: Scalars['TransactionId']['input'];
2911
3062
  }>;
2912
3063
  export type GqlGetTransactionQuery = {
2913
3064
  transaction?: {
@@ -3004,7 +3155,7 @@ export type GqlGetTransactionQuery = {
3004
3155
  } | null;
3005
3156
  };
3006
3157
  export type GqlGetTransactionWithReceiptsQueryVariables = Exact<{
3007
- transactionId: Scalars['TransactionId'];
3158
+ transactionId: Scalars['TransactionId']['input'];
3008
3159
  }>;
3009
3160
  export type GqlGetTransactionWithReceiptsQuery = {
3010
3161
  transaction?: {
@@ -3101,10 +3252,10 @@ export type GqlGetTransactionWithReceiptsQuery = {
3101
3252
  } | null;
3102
3253
  };
3103
3254
  export type GqlGetTransactionsQueryVariables = Exact<{
3104
- after?: InputMaybe<Scalars['String']>;
3105
- before?: InputMaybe<Scalars['String']>;
3106
- first?: InputMaybe<Scalars['Int']>;
3107
- last?: InputMaybe<Scalars['Int']>;
3255
+ after?: InputMaybe<Scalars['String']['input']>;
3256
+ before?: InputMaybe<Scalars['String']['input']>;
3257
+ first?: InputMaybe<Scalars['Int']['input']>;
3258
+ last?: InputMaybe<Scalars['Int']['input']>;
3108
3259
  }>;
3109
3260
  export type GqlGetTransactionsQuery = {
3110
3261
  transactions: {
@@ -3211,11 +3362,11 @@ export type GqlGetTransactionsQuery = {
3211
3362
  };
3212
3363
  };
3213
3364
  export type GqlGetTransactionsByOwnerQueryVariables = Exact<{
3214
- owner: Scalars['Address'];
3215
- after?: InputMaybe<Scalars['String']>;
3216
- before?: InputMaybe<Scalars['String']>;
3217
- first?: InputMaybe<Scalars['Int']>;
3218
- last?: InputMaybe<Scalars['Int']>;
3365
+ owner: Scalars['Address']['input'];
3366
+ after?: InputMaybe<Scalars['String']['input']>;
3367
+ before?: InputMaybe<Scalars['String']['input']>;
3368
+ first?: InputMaybe<Scalars['Int']['input']>;
3369
+ last?: InputMaybe<Scalars['Int']['input']>;
3219
3370
  }>;
3220
3371
  export type GqlGetTransactionsByOwnerQuery = {
3221
3372
  transactionsByOwner: {
@@ -3322,7 +3473,7 @@ export type GqlGetTransactionsByOwnerQuery = {
3322
3473
  };
3323
3474
  };
3324
3475
  export type GqlEstimatePredicatesQueryVariables = Exact<{
3325
- encodedTransaction: Scalars['HexString'];
3476
+ encodedTransaction: Scalars['HexString']['input'];
3326
3477
  }>;
3327
3478
  export type GqlEstimatePredicatesQuery = {
3328
3479
  estimatePredicates: {
@@ -3334,8 +3485,8 @@ export type GqlEstimatePredicatesQuery = {
3334
3485
  };
3335
3486
  };
3336
3487
  export type GqlGetBlockQueryVariables = Exact<{
3337
- blockId?: InputMaybe<Scalars['BlockId']>;
3338
- height?: InputMaybe<Scalars['U32']>;
3488
+ blockId?: InputMaybe<Scalars['BlockId']['input']>;
3489
+ height?: InputMaybe<Scalars['U32']['input']>;
3339
3490
  }>;
3340
3491
  export type GqlGetBlockQuery = {
3341
3492
  block?: {
@@ -3350,8 +3501,8 @@ export type GqlGetBlockQuery = {
3350
3501
  } | null;
3351
3502
  };
3352
3503
  export type GqlGetBlockWithTransactionsQueryVariables = Exact<{
3353
- blockId?: InputMaybe<Scalars['BlockId']>;
3354
- blockHeight?: InputMaybe<Scalars['U32']>;
3504
+ blockId?: InputMaybe<Scalars['BlockId']['input']>;
3505
+ blockHeight?: InputMaybe<Scalars['U32']['input']>;
3355
3506
  }>;
3356
3507
  export type GqlGetBlockWithTransactionsQuery = {
3357
3508
  block?: {
@@ -3455,13 +3606,19 @@ export type GqlGetBlockWithTransactionsQuery = {
3455
3606
  } | null;
3456
3607
  };
3457
3608
  export type GqlGetBlocksQueryVariables = Exact<{
3458
- after?: InputMaybe<Scalars['String']>;
3459
- before?: InputMaybe<Scalars['String']>;
3460
- first?: InputMaybe<Scalars['Int']>;
3461
- last?: InputMaybe<Scalars['Int']>;
3609
+ after?: InputMaybe<Scalars['String']['input']>;
3610
+ before?: InputMaybe<Scalars['String']['input']>;
3611
+ first?: InputMaybe<Scalars['Int']['input']>;
3612
+ last?: InputMaybe<Scalars['Int']['input']>;
3462
3613
  }>;
3463
3614
  export type GqlGetBlocksQuery = {
3464
3615
  blocks: {
3616
+ pageInfo: {
3617
+ hasPreviousPage: boolean;
3618
+ hasNextPage: boolean;
3619
+ startCursor?: string | null;
3620
+ endCursor?: string | null;
3621
+ };
3465
3622
  edges: Array<{
3466
3623
  node: {
3467
3624
  id: string;
@@ -3477,7 +3634,7 @@ export type GqlGetBlocksQuery = {
3477
3634
  };
3478
3635
  };
3479
3636
  export type GqlGetCoinQueryVariables = Exact<{
3480
- coinId: Scalars['UtxoId'];
3637
+ coinId: Scalars['UtxoId']['input'];
3481
3638
  }>;
3482
3639
  export type GqlGetCoinQuery = {
3483
3640
  coin?: {
@@ -3492,13 +3649,19 @@ export type GqlGetCoinQuery = {
3492
3649
  };
3493
3650
  export type GqlGetCoinsQueryVariables = Exact<{
3494
3651
  filter: GqlCoinFilterInput;
3495
- after?: InputMaybe<Scalars['String']>;
3496
- before?: InputMaybe<Scalars['String']>;
3497
- first?: InputMaybe<Scalars['Int']>;
3498
- last?: InputMaybe<Scalars['Int']>;
3652
+ after?: InputMaybe<Scalars['String']['input']>;
3653
+ before?: InputMaybe<Scalars['String']['input']>;
3654
+ first?: InputMaybe<Scalars['Int']['input']>;
3655
+ last?: InputMaybe<Scalars['Int']['input']>;
3499
3656
  }>;
3500
3657
  export type GqlGetCoinsQuery = {
3501
3658
  coins: {
3659
+ pageInfo: {
3660
+ hasPreviousPage: boolean;
3661
+ hasNextPage: boolean;
3662
+ startCursor?: string | null;
3663
+ endCursor?: string | null;
3664
+ };
3502
3665
  edges: Array<{
3503
3666
  node: {
3504
3667
  utxoId: string;
@@ -3513,7 +3676,7 @@ export type GqlGetCoinsQuery = {
3513
3676
  };
3514
3677
  };
3515
3678
  export type GqlGetCoinsToSpendQueryVariables = Exact<{
3516
- owner: Scalars['Address'];
3679
+ owner: Scalars['Address']['input'];
3517
3680
  queryPerAsset: Array<GqlSpendQueryElementInput> | GqlSpendQueryElementInput;
3518
3681
  excludedIds?: InputMaybe<GqlExcludeInput>;
3519
3682
  }>;
@@ -3537,7 +3700,7 @@ export type GqlGetCoinsToSpendQuery = {
3537
3700
  }>>;
3538
3701
  };
3539
3702
  export type GqlGetContractQueryVariables = Exact<{
3540
- contractId: Scalars['ContractId'];
3703
+ contractId: Scalars['ContractId']['input'];
3541
3704
  }>;
3542
3705
  export type GqlGetContractQuery = {
3543
3706
  contract?: {
@@ -3546,8 +3709,8 @@ export type GqlGetContractQuery = {
3546
3709
  } | null;
3547
3710
  };
3548
3711
  export type GqlGetContractBalanceQueryVariables = Exact<{
3549
- contract: Scalars['ContractId'];
3550
- asset: Scalars['AssetId'];
3712
+ contract: Scalars['ContractId']['input'];
3713
+ asset: Scalars['AssetId']['input'];
3551
3714
  }>;
3552
3715
  export type GqlGetContractBalanceQuery = {
3553
3716
  contractBalance: {
@@ -3557,8 +3720,8 @@ export type GqlGetContractBalanceQuery = {
3557
3720
  };
3558
3721
  };
3559
3722
  export type GqlGetBalanceQueryVariables = Exact<{
3560
- owner: Scalars['Address'];
3561
- assetId: Scalars['AssetId'];
3723
+ owner: Scalars['Address']['input'];
3724
+ assetId: Scalars['AssetId']['input'];
3562
3725
  }>;
3563
3726
  export type GqlGetBalanceQuery = {
3564
3727
  balance: {
@@ -3576,7 +3739,7 @@ export type GqlGetLatestGasPriceQuery = {
3576
3739
  };
3577
3740
  };
3578
3741
  export type GqlEstimateGasPriceQueryVariables = Exact<{
3579
- blockHorizon: Scalars['U32'];
3742
+ blockHorizon: Scalars['U32']['input'];
3580
3743
  }>;
3581
3744
  export type GqlEstimateGasPriceQuery = {
3582
3745
  estimateGasPrice: {
@@ -3585,13 +3748,19 @@ export type GqlEstimateGasPriceQuery = {
3585
3748
  };
3586
3749
  export type GqlGetBalancesQueryVariables = Exact<{
3587
3750
  filter: GqlBalanceFilterInput;
3588
- after?: InputMaybe<Scalars['String']>;
3589
- before?: InputMaybe<Scalars['String']>;
3590
- first?: InputMaybe<Scalars['Int']>;
3591
- last?: InputMaybe<Scalars['Int']>;
3751
+ after?: InputMaybe<Scalars['String']['input']>;
3752
+ before?: InputMaybe<Scalars['String']['input']>;
3753
+ first?: InputMaybe<Scalars['Int']['input']>;
3754
+ last?: InputMaybe<Scalars['Int']['input']>;
3592
3755
  }>;
3593
3756
  export type GqlGetBalancesQuery = {
3594
3757
  balances: {
3758
+ pageInfo: {
3759
+ hasPreviousPage: boolean;
3760
+ hasNextPage: boolean;
3761
+ startCursor?: string | null;
3762
+ endCursor?: string | null;
3763
+ };
3595
3764
  edges: Array<{
3596
3765
  node: {
3597
3766
  owner: string;
@@ -3602,14 +3771,20 @@ export type GqlGetBalancesQuery = {
3602
3771
  };
3603
3772
  };
3604
3773
  export type GqlGetMessagesQueryVariables = Exact<{
3605
- owner: Scalars['Address'];
3606
- after?: InputMaybe<Scalars['String']>;
3607
- before?: InputMaybe<Scalars['String']>;
3608
- first?: InputMaybe<Scalars['Int']>;
3609
- last?: InputMaybe<Scalars['Int']>;
3774
+ owner: Scalars['Address']['input'];
3775
+ after?: InputMaybe<Scalars['String']['input']>;
3776
+ before?: InputMaybe<Scalars['String']['input']>;
3777
+ first?: InputMaybe<Scalars['Int']['input']>;
3778
+ last?: InputMaybe<Scalars['Int']['input']>;
3610
3779
  }>;
3611
3780
  export type GqlGetMessagesQuery = {
3612
3781
  messages: {
3782
+ pageInfo: {
3783
+ hasPreviousPage: boolean;
3784
+ hasNextPage: boolean;
3785
+ startCursor?: string | null;
3786
+ endCursor?: string | null;
3787
+ };
3613
3788
  edges: Array<{
3614
3789
  node: {
3615
3790
  amount: string;
@@ -3623,10 +3798,10 @@ export type GqlGetMessagesQuery = {
3623
3798
  };
3624
3799
  };
3625
3800
  export type GqlGetMessageProofQueryVariables = Exact<{
3626
- transactionId: Scalars['TransactionId'];
3627
- nonce: Scalars['Nonce'];
3628
- commitBlockId?: InputMaybe<Scalars['BlockId']>;
3629
- commitBlockHeight?: InputMaybe<Scalars['U32']>;
3801
+ transactionId: Scalars['TransactionId']['input'];
3802
+ nonce: Scalars['Nonce']['input'];
3803
+ commitBlockId?: InputMaybe<Scalars['BlockId']['input']>;
3804
+ commitBlockHeight?: InputMaybe<Scalars['U32']['input']>;
3630
3805
  }>;
3631
3806
  export type GqlGetMessageProofQuery = {
3632
3807
  messageProof?: {
@@ -3678,7 +3853,7 @@ export type GqlGetMessageProofQuery = {
3678
3853
  } | null;
3679
3854
  };
3680
3855
  export type GqlGetMessageStatusQueryVariables = Exact<{
3681
- nonce: Scalars['Nonce'];
3856
+ nonce: Scalars['Nonce']['input'];
3682
3857
  }>;
3683
3858
  export type GqlGetMessageStatusQuery = {
3684
3859
  messageStatus: {
@@ -3686,7 +3861,7 @@ export type GqlGetMessageStatusQuery = {
3686
3861
  };
3687
3862
  };
3688
3863
  export type GqlGetRelayedTransactionStatusQueryVariables = Exact<{
3689
- relayedTransactionId: Scalars['RelayedTransactionId'];
3864
+ relayedTransactionId: Scalars['RelayedTransactionId']['input'];
3690
3865
  }>;
3691
3866
  export type GqlGetRelayedTransactionStatusQuery = {
3692
3867
  relayedTransactionStatus?: {
@@ -3695,9 +3870,9 @@ export type GqlGetRelayedTransactionStatusQuery = {
3695
3870
  } | null;
3696
3871
  };
3697
3872
  export type GqlDryRunMutationVariables = Exact<{
3698
- encodedTransactions: Array<Scalars['HexString']> | Scalars['HexString'];
3699
- utxoValidation?: InputMaybe<Scalars['Boolean']>;
3700
- gasPrice?: InputMaybe<Scalars['U64']>;
3873
+ encodedTransactions: Array<Scalars['HexString']['input']> | Scalars['HexString']['input'];
3874
+ utxoValidation?: InputMaybe<Scalars['Boolean']['input']>;
3875
+ gasPrice?: InputMaybe<Scalars['U64']['input']>;
3701
3876
  }>;
3702
3877
  export type GqlDryRunMutation = {
3703
3878
  dryRun: Array<{
@@ -3753,7 +3928,7 @@ export type GqlDryRunMutation = {
3753
3928
  }>;
3754
3929
  };
3755
3930
  export type GqlSubmitMutationVariables = Exact<{
3756
- encodedTransaction: Scalars['HexString'];
3931
+ encodedTransaction: Scalars['HexString']['input'];
3757
3932
  }>;
3758
3933
  export type GqlSubmitMutation = {
3759
3934
  submit: {
@@ -3761,14 +3936,14 @@ export type GqlSubmitMutation = {
3761
3936
  };
3762
3937
  };
3763
3938
  export type GqlProduceBlocksMutationVariables = Exact<{
3764
- startTimestamp?: InputMaybe<Scalars['Tai64Timestamp']>;
3765
- blocksToProduce: Scalars['U32'];
3939
+ startTimestamp?: InputMaybe<Scalars['Tai64Timestamp']['input']>;
3940
+ blocksToProduce: Scalars['U32']['input'];
3766
3941
  }>;
3767
3942
  export type GqlProduceBlocksMutation = {
3768
3943
  produceBlocks: string;
3769
3944
  };
3770
3945
  export type GqlGetMessageByNonceQueryVariables = Exact<{
3771
- nonce: Scalars['Nonce'];
3946
+ nonce: Scalars['Nonce']['input'];
3772
3947
  }>;
3773
3948
  export type GqlGetMessageByNonceQuery = {
3774
3949
  message?: {
@@ -3781,7 +3956,7 @@ export type GqlGetMessageByNonceQuery = {
3781
3956
  } | null;
3782
3957
  };
3783
3958
  export type GqlSubmitAndAwaitSubscriptionVariables = Exact<{
3784
- encodedTransaction: Scalars['HexString'];
3959
+ encodedTransaction: Scalars['HexString']['input'];
3785
3960
  }>;
3786
3961
  export type GqlSubmitAndAwaitSubscription = {
3787
3962
  submitAndAwait: {
@@ -3796,7 +3971,7 @@ export type GqlSubmitAndAwaitSubscription = {
3796
3971
  };
3797
3972
  };
3798
3973
  export type GqlStatusChangeSubscriptionVariables = Exact<{
3799
- transactionId: Scalars['TransactionId'];
3974
+ transactionId: Scalars['TransactionId']['input'];
3800
3975
  }>;
3801
3976
  export type GqlStatusChangeSubscription = {
3802
3977
  statusChange: {
@@ -3873,8 +4048,8 @@ export declare const ProduceBlocksDocument: DocumentNode;
3873
4048
  export declare const GetMessageByNonceDocument: DocumentNode;
3874
4049
  export declare const SubmitAndAwaitDocument: DocumentNode;
3875
4050
  export declare const StatusChangeDocument: DocumentNode;
3876
- export type Requester<C = {}, E = unknown> = <R, V>(doc: DocumentNode, vars?: V, options?: C) => Promise<R> | AsyncIterable<R>;
3877
- export declare function getSdk<C, E>(requester: Requester<C, E>): {
4051
+ export type Requester<C = {}> = <R, V>(doc: DocumentNode, vars?: V, options?: C) => Promise<R> | AsyncIterable<R>;
4052
+ export declare function getSdk<C>(requester: Requester<C>): {
3878
4053
  getVersion(variables?: GqlGetVersionQueryVariables, options?: C): Promise<GqlGetVersionQuery>;
3879
4054
  getNodeInfo(variables?: GqlGetNodeInfoQueryVariables, options?: C): Promise<GqlGetNodeInfoQuery>;
3880
4055
  getChain(variables?: GqlGetChainQueryVariables, options?: C): Promise<GqlGetChainQuery>;