@fuel-ts/account 0.82.0 → 0.84.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.

Files changed (76) hide show
  1. package/README.md +18 -15
  2. package/dist/account.d.ts +8 -7
  3. package/dist/account.d.ts.map +1 -1
  4. package/dist/configs.d.ts.map +1 -1
  5. package/dist/configs.global.js +1 -1
  6. package/dist/configs.global.js.map +1 -1
  7. package/dist/configs.js +1 -1
  8. package/dist/configs.js.map +1 -1
  9. package/dist/configs.mjs +1 -1
  10. package/dist/configs.mjs.map +1 -1
  11. package/dist/index.global.js +2445 -2185
  12. package/dist/index.global.js.map +1 -1
  13. package/dist/index.js +1074 -667
  14. package/dist/index.js.map +1 -1
  15. package/dist/index.mjs +909 -505
  16. package/dist/index.mjs.map +1 -1
  17. package/dist/predicate/predicate.d.ts +12 -24
  18. package/dist/predicate/predicate.d.ts.map +1 -1
  19. package/dist/providers/__generated__/operations.d.ts +950 -376
  20. package/dist/providers/__generated__/operations.d.ts.map +1 -1
  21. package/dist/providers/coin-quantity.d.ts +3 -3
  22. package/dist/providers/coin-quantity.d.ts.map +1 -1
  23. package/dist/providers/coin.d.ts +4 -2
  24. package/dist/providers/coin.d.ts.map +1 -1
  25. package/dist/providers/message.d.ts +9 -3
  26. package/dist/providers/message.d.ts.map +1 -1
  27. package/dist/providers/provider.d.ts +72 -54
  28. package/dist/providers/provider.d.ts.map +1 -1
  29. package/dist/providers/resource.d.ts +0 -1
  30. package/dist/providers/resource.d.ts.map +1 -1
  31. package/dist/providers/transaction-request/create-transaction-request.d.ts +1 -1
  32. package/dist/providers/transaction-request/create-transaction-request.d.ts.map +1 -1
  33. package/dist/providers/transaction-request/helpers.d.ts +8 -0
  34. package/dist/providers/transaction-request/helpers.d.ts.map +1 -0
  35. package/dist/providers/transaction-request/input.d.ts +2 -2
  36. package/dist/providers/transaction-request/input.d.ts.map +1 -1
  37. package/dist/providers/transaction-request/script-transaction-request.d.ts +2 -3
  38. package/dist/providers/transaction-request/script-transaction-request.d.ts.map +1 -1
  39. package/dist/providers/transaction-request/transaction-request.d.ts +17 -38
  40. package/dist/providers/transaction-request/transaction-request.d.ts.map +1 -1
  41. package/dist/providers/transaction-request/utils.d.ts +4 -0
  42. package/dist/providers/transaction-request/utils.d.ts.map +1 -1
  43. package/dist/providers/transaction-response/transaction-response.d.ts.map +1 -1
  44. package/dist/providers/transaction-summary/assemble-transaction-summary.d.ts +4 -2
  45. package/dist/providers/transaction-summary/assemble-transaction-summary.d.ts.map +1 -1
  46. package/dist/providers/transaction-summary/calculate-tx-fee-for-summary.d.ts +20 -0
  47. package/dist/providers/transaction-summary/calculate-tx-fee-for-summary.d.ts.map +1 -0
  48. package/dist/providers/transaction-summary/get-transaction-summary.d.ts.map +1 -1
  49. package/dist/providers/transaction-summary/index.d.ts +1 -1
  50. package/dist/providers/transaction-summary/index.d.ts.map +1 -1
  51. package/dist/providers/transaction-summary/operations.d.ts +4 -0
  52. package/dist/providers/transaction-summary/operations.d.ts.map +1 -1
  53. package/dist/providers/transaction-summary/status.d.ts +5 -1
  54. package/dist/providers/transaction-summary/status.d.ts.map +1 -1
  55. package/dist/providers/transaction-summary/types.d.ts +6 -1
  56. package/dist/providers/transaction-summary/types.d.ts.map +1 -1
  57. package/dist/providers/utils/gas.d.ts +14 -7
  58. package/dist/providers/utils/gas.d.ts.map +1 -1
  59. package/dist/providers/utils/merge-quantities.d.ts +1 -1
  60. package/dist/providers/utils/merge-quantities.d.ts.map +1 -1
  61. package/dist/test-utils/launchNode.d.ts +1 -1
  62. package/dist/test-utils/launchNode.d.ts.map +1 -1
  63. package/dist/test-utils/resources.d.ts +4 -0
  64. package/dist/test-utils/resources.d.ts.map +1 -0
  65. package/dist/test-utils/transactionRequest.d.ts +5 -0
  66. package/dist/test-utils/transactionRequest.d.ts.map +1 -0
  67. package/dist/test-utils.global.js +3171 -2680
  68. package/dist/test-utils.global.js.map +1 -1
  69. package/dist/test-utils.js +1046 -655
  70. package/dist/test-utils.js.map +1 -1
  71. package/dist/test-utils.mjs +896 -505
  72. package/dist/test-utils.mjs.map +1 -1
  73. package/dist/wallet/base-wallet-unlocked.d.ts.map +1 -1
  74. package/package.json +18 -18
  75. package/dist/providers/transaction-summary/calculate-transaction-fee.d.ts +0 -21
  76. package/dist/providers/transaction-summary/calculate-transaction-fee.d.ts.map +0 -1
@@ -26,13 +26,14 @@ export type Scalars = {
26
26
  ContractId: string;
27
27
  HexString: string;
28
28
  Nonce: string;
29
+ RelayedTransactionId: string;
29
30
  Salt: string;
30
- Signature: any;
31
+ Signature: string;
31
32
  Tai64Timestamp: string;
32
33
  TransactionId: string;
33
- TxPointer: any;
34
- U8: any;
35
- U32: any;
34
+ TxPointer: string;
35
+ U16: string;
36
+ U32: string;
36
37
  U64: string;
37
38
  UtxoId: string;
38
39
  };
@@ -67,6 +68,7 @@ export type GqlBlock = {
67
68
  __typename: 'Block';
68
69
  consensus: GqlConsensus;
69
70
  header: GqlHeader;
71
+ height: Scalars['U32'];
70
72
  id: Scalars['BlockId'];
71
73
  transactions: Array<GqlTransaction>;
72
74
  };
@@ -87,6 +89,7 @@ export type GqlBlockEdge = {
87
89
  /** The item at the end of the edge */
88
90
  node: GqlBlock;
89
91
  };
92
+ /** Breakpoint, defined as a tuple of contract ID and relative PC offset inside it */
90
93
  export type GqlBreakpoint = {
91
94
  contract: Scalars['ContractId'];
92
95
  pc: Scalars['U64'];
@@ -111,10 +114,9 @@ export type GqlCoin = {
111
114
  assetId: Scalars['AssetId'];
112
115
  /** TxPointer - the height of the block this coin was created in */
113
116
  blockCreated: Scalars['U32'];
114
- maturity: Scalars['U32'];
115
117
  owner: Scalars['Address'];
116
118
  /** TxPointer - the index of the transaction that created this coin */
117
- txCreatedIdx: Scalars['U64'];
119
+ txCreatedIdx: Scalars['U16'];
118
120
  utxoId: Scalars['UtxoId'];
119
121
  };
120
122
  export type GqlCoinConnection = {
@@ -152,14 +154,25 @@ export type GqlConsensus = GqlGenesis | GqlPoAConsensus;
152
154
  export type GqlConsensusParameters = {
153
155
  __typename: 'ConsensusParameters';
154
156
  baseAssetId: Scalars['AssetId'];
157
+ blockGasLimit: Scalars['U64'];
155
158
  chainId: Scalars['U64'];
156
159
  contractParams: GqlContractParameters;
157
160
  feeParams: GqlFeeParameters;
158
161
  gasCosts: GqlGasCosts;
159
162
  predicateParams: GqlPredicateParameters;
163
+ privilegedAddress: Scalars['Address'];
160
164
  scriptParams: GqlScriptParameters;
161
165
  txParams: GqlTxParameters;
166
+ version: GqlConsensusParametersVersion;
167
+ };
168
+ export type GqlConsensusParametersPurpose = {
169
+ __typename: 'ConsensusParametersPurpose';
170
+ checksum: Scalars['Bytes32'];
171
+ witnessIndex: Scalars['U16'];
162
172
  };
173
+ export declare enum GqlConsensusParametersVersion {
174
+ V1 = "V1"
175
+ }
163
176
  export type GqlContract = {
164
177
  __typename: 'Contract';
165
178
  bytecode: Scalars['HexString'];
@@ -195,21 +208,51 @@ export type GqlContractBalanceFilterInput = {
195
208
  };
196
209
  export type GqlContractCreated = {
197
210
  __typename: 'ContractCreated';
198
- contract: GqlContract;
211
+ contract: Scalars['ContractId'];
199
212
  stateRoot: Scalars['Bytes32'];
200
213
  };
201
214
  export type GqlContractOutput = {
202
215
  __typename: 'ContractOutput';
203
216
  balanceRoot: Scalars['Bytes32'];
204
- inputIndex: Scalars['Int'];
217
+ inputIndex: Scalars['U16'];
205
218
  stateRoot: Scalars['Bytes32'];
206
219
  };
207
220
  export type GqlContractParameters = {
208
221
  __typename: 'ContractParameters';
209
222
  contractMaxSize: Scalars['U64'];
210
223
  maxStorageSlots: Scalars['U64'];
224
+ version: GqlContractParametersVersion;
211
225
  };
226
+ export declare enum GqlContractParametersVersion {
227
+ V1 = "V1"
228
+ }
212
229
  export type GqlDependentCost = GqlHeavyOperation | GqlLightOperation;
230
+ export type GqlDryRunFailureStatus = {
231
+ __typename: 'DryRunFailureStatus';
232
+ programState?: Maybe<GqlProgramState>;
233
+ reason: Scalars['String'];
234
+ receipts: Array<GqlReceipt>;
235
+ totalFee: Scalars['U64'];
236
+ totalGas: Scalars['U64'];
237
+ };
238
+ export type GqlDryRunSuccessStatus = {
239
+ __typename: 'DryRunSuccessStatus';
240
+ programState?: Maybe<GqlProgramState>;
241
+ receipts: Array<GqlReceipt>;
242
+ totalFee: Scalars['U64'];
243
+ totalGas: Scalars['U64'];
244
+ };
245
+ export type GqlDryRunTransactionExecutionStatus = {
246
+ __typename: 'DryRunTransactionExecutionStatus';
247
+ id: Scalars['TransactionId'];
248
+ receipts: Array<GqlReceipt>;
249
+ status: GqlDryRunTransactionStatus;
250
+ };
251
+ export type GqlDryRunTransactionStatus = GqlDryRunFailureStatus | GqlDryRunSuccessStatus;
252
+ export type GqlEstimateGasPrice = {
253
+ __typename: 'EstimateGasPrice';
254
+ gasPrice: Scalars['U64'];
255
+ };
213
256
  export type GqlExcludeInput = {
214
257
  /** Messages to exclude from the selection. */
215
258
  messages: Array<Scalars['Nonce']>;
@@ -223,13 +266,19 @@ export type GqlFailureStatus = {
223
266
  reason: Scalars['String'];
224
267
  receipts: Array<GqlReceipt>;
225
268
  time: Scalars['Tai64Timestamp'];
269
+ totalFee: Scalars['U64'];
270
+ totalGas: Scalars['U64'];
226
271
  transactionId: Scalars['TransactionId'];
227
272
  };
228
273
  export type GqlFeeParameters = {
229
274
  __typename: 'FeeParameters';
230
275
  gasPerByte: Scalars['U64'];
231
276
  gasPriceFactor: Scalars['U64'];
277
+ version: GqlFeeParametersVersion;
232
278
  };
279
+ export declare enum GqlFeeParametersVersion {
280
+ V1 = "V1"
281
+ }
233
282
  export type GqlGasCosts = {
234
283
  __typename: 'GasCosts';
235
284
  add: Scalars['U64'];
@@ -247,7 +296,7 @@ export type GqlGasCosts = {
247
296
  cfei: Scalars['U64'];
248
297
  cfsi: Scalars['U64'];
249
298
  contractRoot: GqlDependentCost;
250
- croo: Scalars['U64'];
299
+ croo: GqlDependentCost;
251
300
  csiz: GqlDependentCost;
252
301
  div: Scalars['U64'];
253
302
  divi: Scalars['U64'];
@@ -325,6 +374,7 @@ export type GqlGasCosts = {
325
374
  time: Scalars['U64'];
326
375
  tr: Scalars['U64'];
327
376
  tro: Scalars['U64'];
377
+ version: GqlGasCostsVersion;
328
378
  vmInitialization: GqlDependentCost;
329
379
  wdam: Scalars['U64'];
330
380
  wdcm: Scalars['U64'];
@@ -343,6 +393,9 @@ export type GqlGasCosts = {
343
393
  xor: Scalars['U64'];
344
394
  xori: Scalars['U64'];
345
395
  };
396
+ export declare enum GqlGasCostsVersion {
397
+ V1 = "V1"
398
+ }
346
399
  export type GqlGenesis = {
347
400
  __typename: 'Genesis';
348
401
  /**
@@ -356,27 +409,35 @@ export type GqlGenesis = {
356
409
  contractsRoot: Scalars['Bytes32'];
357
410
  /** The Binary Merkle Tree root of all genesis messages. */
358
411
  messagesRoot: Scalars['Bytes32'];
412
+ /** The Binary Merkle Tree root of all processed transaction ids. */
413
+ transactionsRoot: Scalars['Bytes32'];
359
414
  };
360
415
  export type GqlHeader = {
361
416
  __typename: 'Header';
362
417
  /** Hash of the application header. */
363
418
  applicationHash: Scalars['Bytes32'];
419
+ /** The version of the consensus parameters used to create this block. */
420
+ consensusParametersVersion: Scalars['U32'];
364
421
  /** The layer 1 height of messages and events to include since the last layer 1 block number. */
365
422
  daHeight: Scalars['U64'];
423
+ /** Merkle root of inbox events in this block. */
424
+ eventInboxRoot: Scalars['Bytes32'];
366
425
  /** Fuel block height. */
367
426
  height: Scalars['U32'];
368
427
  /** Hash of the header */
369
428
  id: Scalars['BlockId'];
370
- /** Number of message receipts in this block. */
371
- messageReceiptCount: Scalars['U64'];
372
429
  /** Merkle root of message receipts in this block. */
373
- messageReceiptRoot: Scalars['Bytes32'];
430
+ messageOutboxRoot: Scalars['Bytes32'];
431
+ /** Number of message receipts in this block. */
432
+ messageReceiptCount: Scalars['U32'];
374
433
  /** Merkle root of all previous block header hashes. */
375
434
  prevRoot: Scalars['Bytes32'];
435
+ /** The version of the state transition bytecode used to create this block. */
436
+ stateTransitionBytecodeVersion: Scalars['U32'];
376
437
  /** The block producer time. */
377
438
  time: Scalars['Tai64Timestamp'];
378
439
  /** Number of transactions in this block. */
379
- transactionsCount: Scalars['U64'];
440
+ transactionsCount: Scalars['U16'];
380
441
  /** Merkle root of transactions. */
381
442
  transactionsRoot: Scalars['Bytes32'];
382
443
  };
@@ -390,7 +451,6 @@ export type GqlInputCoin = {
390
451
  __typename: 'InputCoin';
391
452
  amount: Scalars['U64'];
392
453
  assetId: Scalars['AssetId'];
393
- maturity: Scalars['U32'];
394
454
  owner: Scalars['Address'];
395
455
  predicate: Scalars['HexString'];
396
456
  predicateData: Scalars['HexString'];
@@ -402,7 +462,7 @@ export type GqlInputCoin = {
402
462
  export type GqlInputContract = {
403
463
  __typename: 'InputContract';
404
464
  balanceRoot: Scalars['Bytes32'];
405
- contract: GqlContract;
465
+ contractId: Scalars['ContractId'];
406
466
  stateRoot: Scalars['Bytes32'];
407
467
  txPointer: Scalars['TxPointer'];
408
468
  utxoId: Scalars['UtxoId'];
@@ -417,7 +477,12 @@ export type GqlInputMessage = {
417
477
  predicateGasUsed: Scalars['U64'];
418
478
  recipient: Scalars['Address'];
419
479
  sender: Scalars['Address'];
420
- witnessIndex: Scalars['Int'];
480
+ witnessIndex: Scalars['U16'];
481
+ };
482
+ export type GqlLatestGasPrice = {
483
+ __typename: 'LatestGasPrice';
484
+ blockHeight: Scalars['U32'];
485
+ gasPrice: Scalars['U64'];
421
486
  };
422
487
  export type GqlLightOperation = {
423
488
  __typename: 'LightOperation';
@@ -487,10 +552,16 @@ export type GqlMessageStatus = {
487
552
  };
488
553
  export type GqlMutation = {
489
554
  __typename: 'Mutation';
555
+ /**
556
+ * Resume execution of the VM instance after a breakpoint.
557
+ * Runs until the next breakpoint or until the transaction completes.
558
+ */
490
559
  continueTx: GqlRunResult;
491
- /** Execute a dry-run of the transaction using a fork of current state, no changes are committed. */
492
- dryRun: Array<GqlReceipt>;
560
+ /** Execute a dry-run of multiple transactions using a fork of current state, no changes are committed. */
561
+ dryRun: Array<GqlDryRunTransactionExecutionStatus>;
562
+ /** End debugger session. */
493
563
  endSession: Scalars['Boolean'];
564
+ /** Execute a single fuel-asm instruction. */
494
565
  execute: Scalars['Boolean'];
495
566
  /**
496
567
  * Sequentially produces `blocks_to_produce` blocks. The first block starts with
@@ -499,10 +570,23 @@ export type GqlMutation = {
499
570
  * them. The `start_timestamp` is the timestamp in seconds.
500
571
  */
501
572
  produceBlocks: Scalars['U32'];
573
+ /** Reset the VM instance to the initial state. */
502
574
  reset: Scalars['Boolean'];
575
+ /** Set a breakpoint for a VM instance. */
503
576
  setBreakpoint: Scalars['Boolean'];
577
+ /** Set single-stepping mode for the VM instance. */
504
578
  setSingleStepping: Scalars['Boolean'];
579
+ /**
580
+ * Initialize a new debugger session, returning its ID.
581
+ * A new VM instance is spawned for each session.
582
+ * The session is run in a separate database transaction,
583
+ * on top of the most recent node state.
584
+ */
505
585
  startSession: Scalars['ID'];
586
+ /**
587
+ * Run a single transaction in given session until it
588
+ * hits a breakpoint or completes.
589
+ */
506
590
  startTx: GqlRunResult;
507
591
  /**
508
592
  * Submits transaction to the `TxPool`.
@@ -515,7 +599,7 @@ export type GqlMutationContinueTxArgs = {
515
599
  id: Scalars['ID'];
516
600
  };
517
601
  export type GqlMutationDryRunArgs = {
518
- tx: Scalars['HexString'];
602
+ txs: Array<Scalars['HexString']>;
519
603
  utxoValidation?: InputMaybe<Scalars['Boolean']>;
520
604
  };
521
605
  export type GqlMutationEndSessionArgs = {
@@ -551,7 +635,6 @@ export type GqlNodeInfo = {
551
635
  __typename: 'NodeInfo';
552
636
  maxDepth: Scalars['U64'];
553
637
  maxTx: Scalars['U64'];
554
- minGasPrice: Scalars['U64'];
555
638
  nodeVersion: Scalars['String'];
556
639
  peers: Array<GqlPeerInfo>;
557
640
  utxoValidation: Scalars['Boolean'];
@@ -601,9 +684,9 @@ export type GqlPoAConsensus = {
601
684
  };
602
685
  export type GqlPolicies = {
603
686
  __typename: 'Policies';
604
- gasPrice?: Maybe<Scalars['U64']>;
605
687
  maturity?: Maybe<Scalars['U32']>;
606
688
  maxFee?: Maybe<Scalars['U64']>;
689
+ tip?: Maybe<Scalars['U64']>;
607
690
  witnessLimit?: Maybe<Scalars['U64']>;
608
691
  };
609
692
  export type GqlPredicateParameters = {
@@ -612,7 +695,11 @@ export type GqlPredicateParameters = {
612
695
  maxMessageDataLength: Scalars['U64'];
613
696
  maxPredicateDataLength: Scalars['U64'];
614
697
  maxPredicateLength: Scalars['U64'];
698
+ version: GqlPredicateParametersVersion;
615
699
  };
700
+ export declare enum GqlPredicateParametersVersion {
701
+ V1 = "V1"
702
+ }
616
703
  export type GqlProgramState = {
617
704
  __typename: 'ProgramState';
618
705
  data: Scalars['HexString'];
@@ -645,16 +732,22 @@ export type GqlQuery = {
645
732
  contract?: Maybe<GqlContract>;
646
733
  contractBalance: GqlContractBalance;
647
734
  contractBalances: GqlContractBalanceConnection;
735
+ estimateGasPrice: GqlEstimateGasPrice;
648
736
  /** Estimate the predicate gas for the provided transaction */
649
737
  estimatePredicates: GqlTransaction;
650
738
  /** Returns true when the GraphQL API is serving requests. */
651
739
  health: Scalars['Boolean'];
740
+ latestGasPrice: GqlLatestGasPrice;
741
+ /** Read read a range of memory bytes. */
652
742
  memory: Scalars['String'];
743
+ message?: Maybe<GqlMessage>;
653
744
  messageProof?: Maybe<GqlMessageProof>;
654
745
  messageStatus: GqlMessageStatus;
655
746
  messages: GqlMessageConnection;
656
747
  nodeInfo: GqlNodeInfo;
748
+ /** Read register value by index. */
657
749
  register: Scalars['U64'];
750
+ relayedTransactionStatus?: Maybe<GqlRelayedTransactionStatus>;
658
751
  transaction?: Maybe<GqlTransaction>;
659
752
  transactions: GqlTransactionConnection;
660
753
  transactionsByOwner: GqlTransactionConnection;
@@ -709,6 +802,9 @@ export type GqlQueryContractBalancesArgs = {
709
802
  first?: InputMaybe<Scalars['Int']>;
710
803
  last?: InputMaybe<Scalars['Int']>;
711
804
  };
805
+ export type GqlQueryEstimateGasPriceArgs = {
806
+ blockHorizon?: InputMaybe<Scalars['U32']>;
807
+ };
712
808
  export type GqlQueryEstimatePredicatesArgs = {
713
809
  tx: Scalars['HexString'];
714
810
  };
@@ -717,6 +813,9 @@ export type GqlQueryMemoryArgs = {
717
813
  size: Scalars['U32'];
718
814
  start: Scalars['U32'];
719
815
  };
816
+ export type GqlQueryMessageArgs = {
817
+ nonce: Scalars['Nonce'];
818
+ };
720
819
  export type GqlQueryMessageProofArgs = {
721
820
  commitBlockHeight?: InputMaybe<Scalars['U32']>;
722
821
  commitBlockId?: InputMaybe<Scalars['BlockId']>;
@@ -737,6 +836,9 @@ export type GqlQueryRegisterArgs = {
737
836
  id: Scalars['ID'];
738
837
  register: Scalars['U32'];
739
838
  };
839
+ export type GqlQueryRelayedTransactionStatusArgs = {
840
+ id: Scalars['RelayedTransactionId'];
841
+ };
740
842
  export type GqlQueryTransactionArgs = {
741
843
  id: Scalars['TransactionId'];
742
844
  };
@@ -757,12 +859,13 @@ export type GqlReceipt = {
757
859
  __typename: 'Receipt';
758
860
  amount?: Maybe<Scalars['U64']>;
759
861
  assetId?: Maybe<Scalars['AssetId']>;
760
- contract?: Maybe<GqlContract>;
862
+ /** Set in the case of a Panic receipt to indicate a missing contract input id */
761
863
  contractId?: Maybe<Scalars['ContractId']>;
762
864
  data?: Maybe<Scalars['HexString']>;
763
865
  digest?: Maybe<Scalars['Bytes32']>;
764
866
  gas?: Maybe<Scalars['U64']>;
765
867
  gasUsed?: Maybe<Scalars['U64']>;
868
+ id?: Maybe<Scalars['ContractId']>;
766
869
  is?: Maybe<Scalars['U64']>;
767
870
  len?: Maybe<Scalars['U64']>;
768
871
  nonce?: Maybe<Scalars['Nonce']>;
@@ -780,7 +883,7 @@ export type GqlReceipt = {
780
883
  result?: Maybe<Scalars['U64']>;
781
884
  sender?: Maybe<Scalars['Address']>;
782
885
  subId?: Maybe<Scalars['Bytes32']>;
783
- to?: Maybe<GqlContract>;
886
+ to?: Maybe<Scalars['ContractId']>;
784
887
  toAddress?: Maybe<Scalars['Address']>;
785
888
  val?: Maybe<Scalars['U64']>;
786
889
  };
@@ -799,6 +902,12 @@ export declare enum GqlReceiptType {
799
902
  Transfer = "TRANSFER",
800
903
  TransferOut = "TRANSFER_OUT"
801
904
  }
905
+ export type GqlRelayedTransactionFailed = {
906
+ __typename: 'RelayedTransactionFailed';
907
+ blockHeight: Scalars['U32'];
908
+ failure: Scalars['String'];
909
+ };
910
+ export type GqlRelayedTransactionStatus = GqlRelayedTransactionFailed;
802
911
  export declare enum GqlReturnType {
803
912
  Return = "RETURN",
804
913
  ReturnData = "RETURN_DATA",
@@ -820,7 +929,11 @@ export type GqlScriptParameters = {
820
929
  __typename: 'ScriptParameters';
821
930
  maxScriptDataLength: Scalars['U64'];
822
931
  maxScriptLength: Scalars['U64'];
932
+ version: GqlScriptParametersVersion;
823
933
  };
934
+ export declare enum GqlScriptParametersVersion {
935
+ V1 = "V1"
936
+ }
824
937
  export type GqlSpendQueryElementInput = {
825
938
  /** Target amount for the query. */
826
939
  amount: Scalars['U64'];
@@ -833,6 +946,10 @@ export type GqlSqueezedOutStatus = {
833
946
  __typename: 'SqueezedOutStatus';
834
947
  reason: Scalars['String'];
835
948
  };
949
+ export type GqlStateTransitionPurpose = {
950
+ __typename: 'StateTransitionPurpose';
951
+ root: Scalars['Bytes32'];
952
+ };
836
953
  export type GqlSubmittedStatus = {
837
954
  __typename: 'SubmittedStatus';
838
955
  time: Scalars['Tai64Timestamp'];
@@ -869,30 +986,34 @@ export type GqlSuccessStatus = {
869
986
  programState?: Maybe<GqlProgramState>;
870
987
  receipts: Array<GqlReceipt>;
871
988
  time: Scalars['Tai64Timestamp'];
989
+ totalFee: Scalars['U64'];
990
+ totalGas: Scalars['U64'];
872
991
  transactionId: Scalars['TransactionId'];
873
992
  };
874
993
  export type GqlTransaction = {
875
994
  __typename: 'Transaction';
876
- bytecodeLength?: Maybe<Scalars['U64']>;
877
- bytecodeWitnessIndex?: Maybe<Scalars['Int']>;
878
- gasPrice?: Maybe<Scalars['U64']>;
995
+ bytecodeRoot?: Maybe<Scalars['Bytes32']>;
996
+ bytecodeWitnessIndex?: Maybe<Scalars['U16']>;
879
997
  id: Scalars['TransactionId'];
880
998
  inputAssetIds?: Maybe<Array<Scalars['AssetId']>>;
881
999
  inputContract?: Maybe<GqlInputContract>;
882
- inputContracts?: Maybe<Array<GqlContract>>;
1000
+ inputContracts?: Maybe<Array<Scalars['ContractId']>>;
883
1001
  inputs?: Maybe<Array<GqlInput>>;
884
1002
  isCreate: Scalars['Boolean'];
885
1003
  isMint: Scalars['Boolean'];
886
1004
  isScript: Scalars['Boolean'];
1005
+ isUpgrade: Scalars['Boolean'];
1006
+ isUpload: Scalars['Boolean'];
887
1007
  maturity?: Maybe<Scalars['U32']>;
888
1008
  mintAmount?: Maybe<Scalars['U64']>;
889
1009
  mintAssetId?: Maybe<Scalars['AssetId']>;
1010
+ mintGasPrice?: Maybe<Scalars['U64']>;
890
1011
  outputContract?: Maybe<GqlContractOutput>;
891
1012
  outputs: Array<GqlOutput>;
892
1013
  policies?: Maybe<GqlPolicies>;
1014
+ proofSet?: Maybe<Array<Scalars['Bytes32']>>;
893
1015
  /** Return the transaction bytes using canonical encoding */
894
1016
  rawPayload: Scalars['HexString'];
895
- receipts?: Maybe<Array<GqlReceipt>>;
896
1017
  receiptsRoot?: Maybe<Scalars['Bytes32']>;
897
1018
  salt?: Maybe<Scalars['Salt']>;
898
1019
  script?: Maybe<Scalars['HexString']>;
@@ -900,7 +1021,10 @@ export type GqlTransaction = {
900
1021
  scriptGasLimit?: Maybe<Scalars['U64']>;
901
1022
  status?: Maybe<GqlTransactionStatus>;
902
1023
  storageSlots?: Maybe<Array<Scalars['HexString']>>;
1024
+ subsectionIndex?: Maybe<Scalars['U16']>;
1025
+ subsectionsNumber?: Maybe<Scalars['U16']>;
903
1026
  txPointer?: Maybe<Scalars['TxPointer']>;
1027
+ upgradePurpose?: Maybe<GqlUpgradePurpose>;
904
1028
  witnesses?: Maybe<Array<Scalars['HexString']>>;
905
1029
  };
906
1030
  export type GqlTransactionConnection = {
@@ -923,12 +1047,18 @@ export type GqlTransactionEdge = {
923
1047
  export type GqlTransactionStatus = GqlFailureStatus | GqlSqueezedOutStatus | GqlSubmittedStatus | GqlSuccessStatus;
924
1048
  export type GqlTxParameters = {
925
1049
  __typename: 'TxParameters';
1050
+ maxBytecodeSubsections: Scalars['U16'];
926
1051
  maxGasPerTx: Scalars['U64'];
927
- maxInputs: Scalars['U8'];
928
- maxOutputs: Scalars['U8'];
1052
+ maxInputs: Scalars['U16'];
1053
+ maxOutputs: Scalars['U16'];
929
1054
  maxSize: Scalars['U64'];
930
1055
  maxWitnesses: Scalars['U32'];
1056
+ version: GqlTxParametersVersion;
931
1057
  };
1058
+ export declare enum GqlTxParametersVersion {
1059
+ V1 = "V1"
1060
+ }
1061
+ export type GqlUpgradePurpose = GqlConsensusParametersPurpose | GqlStateTransitionPurpose;
932
1062
  export type GqlVariableOutput = {
933
1063
  __typename: 'VariableOutput';
934
1064
  amount: Scalars['U64'];
@@ -937,6 +1067,8 @@ export type GqlVariableOutput = {
937
1067
  };
938
1068
  type GqlTransactionStatusFragment_FailureStatus_Fragment = {
939
1069
  __typename: 'FailureStatus';
1070
+ totalGas: string;
1071
+ totalFee: string;
940
1072
  time: string;
941
1073
  reason: string;
942
1074
  type: 'FailureStatus';
@@ -944,6 +1076,37 @@ type GqlTransactionStatusFragment_FailureStatus_Fragment = {
944
1076
  __typename: 'Block';
945
1077
  id: string;
946
1078
  };
1079
+ receipts: Array<{
1080
+ __typename: 'Receipt';
1081
+ id?: string | null;
1082
+ pc?: string | null;
1083
+ is?: string | null;
1084
+ to?: string | null;
1085
+ toAddress?: string | null;
1086
+ amount?: string | null;
1087
+ assetId?: string | null;
1088
+ gas?: string | null;
1089
+ param1?: string | null;
1090
+ param2?: string | null;
1091
+ val?: string | null;
1092
+ ptr?: string | null;
1093
+ digest?: string | null;
1094
+ reason?: string | null;
1095
+ ra?: string | null;
1096
+ rb?: string | null;
1097
+ rc?: string | null;
1098
+ rd?: string | null;
1099
+ len?: string | null;
1100
+ receiptType: GqlReceiptType;
1101
+ result?: string | null;
1102
+ gasUsed?: string | null;
1103
+ data?: string | null;
1104
+ sender?: string | null;
1105
+ recipient?: string | null;
1106
+ nonce?: string | null;
1107
+ contractId?: string | null;
1108
+ subId?: string | null;
1109
+ }>;
947
1110
  };
948
1111
  type GqlTransactionStatusFragment_SqueezedOutStatus_Fragment = {
949
1112
  __typename: 'SqueezedOutStatus';
@@ -958,6 +1121,8 @@ type GqlTransactionStatusFragment_SubmittedStatus_Fragment = {
958
1121
  type GqlTransactionStatusFragment_SuccessStatus_Fragment = {
959
1122
  __typename: 'SuccessStatus';
960
1123
  time: string;
1124
+ totalGas: string;
1125
+ totalFee: string;
961
1126
  type: 'SuccessStatus';
962
1127
  block: {
963
1128
  __typename: 'Block';
@@ -968,17 +1133,12 @@ type GqlTransactionStatusFragment_SuccessStatus_Fragment = {
968
1133
  returnType: GqlReturnType;
969
1134
  data: string;
970
1135
  } | null;
971
- };
972
- export type GqlTransactionStatusFragmentFragment = GqlTransactionStatusFragment_FailureStatus_Fragment | GqlTransactionStatusFragment_SqueezedOutStatus_Fragment | GqlTransactionStatusFragment_SubmittedStatus_Fragment | GqlTransactionStatusFragment_SuccessStatus_Fragment;
973
- export type GqlTransactionFragmentFragment = {
974
- __typename: 'Transaction';
975
- id: string;
976
- rawPayload: string;
977
- gasPrice?: string | null;
978
- receipts?: Array<{
1136
+ receipts: Array<{
979
1137
  __typename: 'Receipt';
1138
+ id?: string | null;
980
1139
  pc?: string | null;
981
1140
  is?: string | null;
1141
+ to?: string | null;
982
1142
  toAddress?: string | null;
983
1143
  amount?: string | null;
984
1144
  assetId?: string | null;
@@ -1003,17 +1163,35 @@ export type GqlTransactionFragmentFragment = {
1003
1163
  nonce?: string | null;
1004
1164
  contractId?: string | null;
1005
1165
  subId?: string | null;
1006
- contract?: {
1007
- __typename: 'Contract';
1008
- id: string;
1009
- } | null;
1010
- to?: {
1011
- __typename: 'Contract';
1012
- id: string;
1013
- } | null;
1014
- }> | null;
1166
+ }>;
1167
+ };
1168
+ export type GqlTransactionStatusFragmentFragment = GqlTransactionStatusFragment_FailureStatus_Fragment | GqlTransactionStatusFragment_SqueezedOutStatus_Fragment | GqlTransactionStatusFragment_SubmittedStatus_Fragment | GqlTransactionStatusFragment_SuccessStatus_Fragment;
1169
+ type GqlTransactionStatusSubscriptionFragment_FailureStatus_Fragment = {
1170
+ __typename: 'FailureStatus';
1171
+ type: 'FailureStatus';
1172
+ };
1173
+ type GqlTransactionStatusSubscriptionFragment_SqueezedOutStatus_Fragment = {
1174
+ __typename: 'SqueezedOutStatus';
1175
+ reason: string;
1176
+ type: 'SqueezedOutStatus';
1177
+ };
1178
+ type GqlTransactionStatusSubscriptionFragment_SubmittedStatus_Fragment = {
1179
+ __typename: 'SubmittedStatus';
1180
+ type: 'SubmittedStatus';
1181
+ };
1182
+ type GqlTransactionStatusSubscriptionFragment_SuccessStatus_Fragment = {
1183
+ __typename: 'SuccessStatus';
1184
+ type: 'SuccessStatus';
1185
+ };
1186
+ export type GqlTransactionStatusSubscriptionFragmentFragment = GqlTransactionStatusSubscriptionFragment_FailureStatus_Fragment | GqlTransactionStatusSubscriptionFragment_SqueezedOutStatus_Fragment | GqlTransactionStatusSubscriptionFragment_SubmittedStatus_Fragment | GqlTransactionStatusSubscriptionFragment_SuccessStatus_Fragment;
1187
+ export type GqlTransactionFragmentFragment = {
1188
+ __typename: 'Transaction';
1189
+ id: string;
1190
+ rawPayload: string;
1015
1191
  status?: {
1016
1192
  __typename: 'FailureStatus';
1193
+ totalGas: string;
1194
+ totalFee: string;
1017
1195
  time: string;
1018
1196
  reason: string;
1019
1197
  type: 'FailureStatus';
@@ -1021,6 +1199,37 @@ export type GqlTransactionFragmentFragment = {
1021
1199
  __typename: 'Block';
1022
1200
  id: string;
1023
1201
  };
1202
+ receipts: Array<{
1203
+ __typename: 'Receipt';
1204
+ id?: string | null;
1205
+ pc?: string | null;
1206
+ is?: string | null;
1207
+ to?: string | null;
1208
+ toAddress?: string | null;
1209
+ amount?: string | null;
1210
+ assetId?: string | null;
1211
+ gas?: string | null;
1212
+ param1?: string | null;
1213
+ param2?: string | null;
1214
+ val?: string | null;
1215
+ ptr?: string | null;
1216
+ digest?: string | null;
1217
+ reason?: string | null;
1218
+ ra?: string | null;
1219
+ rb?: string | null;
1220
+ rc?: string | null;
1221
+ rd?: string | null;
1222
+ len?: string | null;
1223
+ receiptType: GqlReceiptType;
1224
+ result?: string | null;
1225
+ gasUsed?: string | null;
1226
+ data?: string | null;
1227
+ sender?: string | null;
1228
+ recipient?: string | null;
1229
+ nonce?: string | null;
1230
+ contractId?: string | null;
1231
+ subId?: string | null;
1232
+ }>;
1024
1233
  } | {
1025
1234
  __typename: 'SqueezedOutStatus';
1026
1235
  reason: string;
@@ -1032,6 +1241,8 @@ export type GqlTransactionFragmentFragment = {
1032
1241
  } | {
1033
1242
  __typename: 'SuccessStatus';
1034
1243
  time: string;
1244
+ totalGas: string;
1245
+ totalFee: string;
1035
1246
  type: 'SuccessStatus';
1036
1247
  block: {
1037
1248
  __typename: 'Block';
@@ -1042,6 +1253,37 @@ export type GqlTransactionFragmentFragment = {
1042
1253
  returnType: GqlReturnType;
1043
1254
  data: string;
1044
1255
  } | null;
1256
+ receipts: Array<{
1257
+ __typename: 'Receipt';
1258
+ id?: string | null;
1259
+ pc?: string | null;
1260
+ is?: string | null;
1261
+ to?: string | null;
1262
+ toAddress?: string | null;
1263
+ amount?: string | null;
1264
+ assetId?: string | null;
1265
+ gas?: string | null;
1266
+ param1?: string | null;
1267
+ param2?: string | null;
1268
+ val?: string | null;
1269
+ ptr?: string | null;
1270
+ digest?: string | null;
1271
+ reason?: string | null;
1272
+ ra?: string | null;
1273
+ rb?: string | null;
1274
+ rc?: string | null;
1275
+ rd?: string | null;
1276
+ len?: string | null;
1277
+ receiptType: GqlReceiptType;
1278
+ result?: string | null;
1279
+ gasUsed?: string | null;
1280
+ data?: string | null;
1281
+ sender?: string | null;
1282
+ recipient?: string | null;
1283
+ nonce?: string | null;
1284
+ contractId?: string | null;
1285
+ subId?: string | null;
1286
+ }>;
1045
1287
  } | null;
1046
1288
  };
1047
1289
  type GqlInputEstimatePredicatesFragment_InputCoin_Fragment = {
@@ -1068,10 +1310,33 @@ export type GqlTransactionEstimatePredicatesFragmentFragment = {
1068
1310
  predicateGasUsed: string;
1069
1311
  }> | null;
1070
1312
  };
1313
+ export type GqlDryRunFailureStatusFragmentFragment = {
1314
+ __typename: 'DryRunFailureStatus';
1315
+ totalGas: string;
1316
+ totalFee: string;
1317
+ reason: string;
1318
+ programState?: {
1319
+ __typename: 'ProgramState';
1320
+ returnType: GqlReturnType;
1321
+ data: string;
1322
+ } | null;
1323
+ };
1324
+ export type GqlDryRunSuccessStatusFragmentFragment = {
1325
+ __typename: 'DryRunSuccessStatus';
1326
+ totalGas: string;
1327
+ totalFee: string;
1328
+ programState?: {
1329
+ __typename: 'ProgramState';
1330
+ returnType: GqlReturnType;
1331
+ data: string;
1332
+ } | null;
1333
+ };
1071
1334
  export type GqlReceiptFragmentFragment = {
1072
1335
  __typename: 'Receipt';
1336
+ id?: string | null;
1073
1337
  pc?: string | null;
1074
1338
  is?: string | null;
1339
+ to?: string | null;
1075
1340
  toAddress?: string | null;
1076
1341
  amount?: string | null;
1077
1342
  assetId?: string | null;
@@ -1096,21 +1361,90 @@ export type GqlReceiptFragmentFragment = {
1096
1361
  nonce?: string | null;
1097
1362
  contractId?: string | null;
1098
1363
  subId?: string | null;
1099
- contract?: {
1100
- __typename: 'Contract';
1101
- id: string;
1364
+ };
1365
+ type GqlDryRunTransactionStatusFragment_DryRunFailureStatus_Fragment = {
1366
+ __typename: 'DryRunFailureStatus';
1367
+ totalGas: string;
1368
+ totalFee: string;
1369
+ reason: string;
1370
+ programState?: {
1371
+ __typename: 'ProgramState';
1372
+ returnType: GqlReturnType;
1373
+ data: string;
1102
1374
  } | null;
1103
- to?: {
1104
- __typename: 'Contract';
1105
- id: string;
1375
+ };
1376
+ type GqlDryRunTransactionStatusFragment_DryRunSuccessStatus_Fragment = {
1377
+ __typename: 'DryRunSuccessStatus';
1378
+ totalGas: string;
1379
+ totalFee: string;
1380
+ programState?: {
1381
+ __typename: 'ProgramState';
1382
+ returnType: GqlReturnType;
1383
+ data: string;
1106
1384
  } | null;
1107
1385
  };
1386
+ export type GqlDryRunTransactionStatusFragmentFragment = GqlDryRunTransactionStatusFragment_DryRunFailureStatus_Fragment | GqlDryRunTransactionStatusFragment_DryRunSuccessStatus_Fragment;
1387
+ export type GqlDryRunTransactionExecutionStatusFragmentFragment = {
1388
+ __typename: 'DryRunTransactionExecutionStatus';
1389
+ id: string;
1390
+ status: {
1391
+ __typename: 'DryRunFailureStatus';
1392
+ totalGas: string;
1393
+ totalFee: string;
1394
+ reason: string;
1395
+ programState?: {
1396
+ __typename: 'ProgramState';
1397
+ returnType: GqlReturnType;
1398
+ data: string;
1399
+ } | null;
1400
+ } | {
1401
+ __typename: 'DryRunSuccessStatus';
1402
+ totalGas: string;
1403
+ totalFee: string;
1404
+ programState?: {
1405
+ __typename: 'ProgramState';
1406
+ returnType: GqlReturnType;
1407
+ data: string;
1408
+ } | null;
1409
+ };
1410
+ receipts: Array<{
1411
+ __typename: 'Receipt';
1412
+ id?: string | null;
1413
+ pc?: string | null;
1414
+ is?: string | null;
1415
+ to?: string | null;
1416
+ toAddress?: string | null;
1417
+ amount?: string | null;
1418
+ assetId?: string | null;
1419
+ gas?: string | null;
1420
+ param1?: string | null;
1421
+ param2?: string | null;
1422
+ val?: string | null;
1423
+ ptr?: string | null;
1424
+ digest?: string | null;
1425
+ reason?: string | null;
1426
+ ra?: string | null;
1427
+ rb?: string | null;
1428
+ rc?: string | null;
1429
+ rd?: string | null;
1430
+ len?: string | null;
1431
+ receiptType: GqlReceiptType;
1432
+ result?: string | null;
1433
+ gasUsed?: string | null;
1434
+ data?: string | null;
1435
+ sender?: string | null;
1436
+ recipient?: string | null;
1437
+ nonce?: string | null;
1438
+ contractId?: string | null;
1439
+ subId?: string | null;
1440
+ }>;
1441
+ };
1108
1442
  export type GqlBlockFragmentFragment = {
1109
1443
  __typename: 'Block';
1110
1444
  id: string;
1445
+ height: string;
1111
1446
  header: {
1112
1447
  __typename: 'Header';
1113
- height: any;
1114
1448
  time: string;
1115
1449
  };
1116
1450
  transactions: Array<{
@@ -1124,8 +1458,7 @@ export type GqlCoinFragmentFragment = {
1124
1458
  owner: string;
1125
1459
  amount: string;
1126
1460
  assetId: string;
1127
- maturity: any;
1128
- blockCreated: any;
1461
+ blockCreated: string;
1129
1462
  txCreatedIdx: string;
1130
1463
  };
1131
1464
  export type GqlMessageCoinFragmentFragment = {
@@ -1167,27 +1500,33 @@ export type GqlMessageProofFragmentFragment = {
1167
1500
  __typename: 'Header';
1168
1501
  id: string;
1169
1502
  daHeight: string;
1503
+ consensusParametersVersion: string;
1504
+ stateTransitionBytecodeVersion: string;
1170
1505
  transactionsCount: string;
1506
+ messageReceiptCount: string;
1171
1507
  transactionsRoot: string;
1172
- height: any;
1508
+ messageOutboxRoot: string;
1509
+ eventInboxRoot: string;
1510
+ height: string;
1173
1511
  prevRoot: string;
1174
1512
  time: string;
1175
1513
  applicationHash: string;
1176
- messageReceiptRoot: string;
1177
- messageReceiptCount: string;
1178
1514
  };
1179
1515
  commitBlockHeader: {
1180
1516
  __typename: 'Header';
1181
1517
  id: string;
1182
1518
  daHeight: string;
1519
+ consensusParametersVersion: string;
1520
+ stateTransitionBytecodeVersion: string;
1183
1521
  transactionsCount: string;
1522
+ messageReceiptCount: string;
1184
1523
  transactionsRoot: string;
1185
- height: any;
1524
+ messageOutboxRoot: string;
1525
+ eventInboxRoot: string;
1526
+ height: string;
1186
1527
  prevRoot: string;
1187
1528
  time: string;
1188
1529
  applicationHash: string;
1189
- messageReceiptRoot: string;
1190
- messageReceiptCount: string;
1191
1530
  };
1192
1531
  };
1193
1532
  export type GqlBalanceFragmentFragment = {
@@ -1198,14 +1537,17 @@ export type GqlBalanceFragmentFragment = {
1198
1537
  };
1199
1538
  export type GqlTxParametersFragmentFragment = {
1200
1539
  __typename: 'TxParameters';
1201
- maxInputs: any;
1202
- maxOutputs: any;
1203
- maxWitnesses: any;
1540
+ version: GqlTxParametersVersion;
1541
+ maxInputs: string;
1542
+ maxOutputs: string;
1543
+ maxWitnesses: string;
1204
1544
  maxGasPerTx: string;
1205
1545
  maxSize: string;
1546
+ maxBytecodeSubsections: string;
1206
1547
  };
1207
1548
  export type GqlPredicateParametersFragmentFragment = {
1208
1549
  __typename: 'PredicateParameters';
1550
+ version: GqlPredicateParametersVersion;
1209
1551
  maxPredicateLength: string;
1210
1552
  maxPredicateDataLength: string;
1211
1553
  maxGasPerPredicate: string;
@@ -1213,16 +1555,19 @@ export type GqlPredicateParametersFragmentFragment = {
1213
1555
  };
1214
1556
  export type GqlScriptParametersFragmentFragment = {
1215
1557
  __typename: 'ScriptParameters';
1558
+ version: GqlScriptParametersVersion;
1216
1559
  maxScriptLength: string;
1217
1560
  maxScriptDataLength: string;
1218
1561
  };
1219
1562
  export type GqlContractParametersFragmentFragment = {
1220
1563
  __typename: 'ContractParameters';
1564
+ version: GqlContractParametersVersion;
1221
1565
  contractMaxSize: string;
1222
1566
  maxStorageSlots: string;
1223
1567
  };
1224
1568
  export type GqlFeeParametersFragmentFragment = {
1225
1569
  __typename: 'FeeParameters';
1570
+ version: GqlFeeParametersVersion;
1226
1571
  gasPriceFactor: string;
1227
1572
  gasPerByte: string;
1228
1573
  };
@@ -1239,6 +1584,7 @@ type GqlDependentCostFragment_LightOperation_Fragment = {
1239
1584
  export type GqlDependentCostFragmentFragment = GqlDependentCostFragment_HeavyOperation_Fragment | GqlDependentCostFragment_LightOperation_Fragment;
1240
1585
  export type GqlGasCostsFragmentFragment = {
1241
1586
  __typename: 'GasCosts';
1587
+ version: GqlGasCostsVersion;
1242
1588
  add: string;
1243
1589
  addi: string;
1244
1590
  aloc: string;
@@ -1251,7 +1597,6 @@ export type GqlGasCostsFragmentFragment = {
1251
1597
  cb: string;
1252
1598
  cfei: string;
1253
1599
  cfsi: string;
1254
- croo: string;
1255
1600
  div: string;
1256
1601
  divi: string;
1257
1602
  ecr1: string;
@@ -1347,6 +1692,15 @@ export type GqlGasCostsFragmentFragment = {
1347
1692
  base: string;
1348
1693
  unitsPerGas: string;
1349
1694
  };
1695
+ croo: {
1696
+ __typename: 'HeavyOperation';
1697
+ base: string;
1698
+ gasPerUnit: string;
1699
+ } | {
1700
+ __typename: 'LightOperation';
1701
+ base: string;
1702
+ unitsPerGas: string;
1703
+ };
1350
1704
  csiz: {
1351
1705
  __typename: 'HeavyOperation';
1352
1706
  base: string;
@@ -1512,18 +1866,22 @@ export type GqlGasCostsFragmentFragment = {
1512
1866
  };
1513
1867
  export type GqlConsensusParametersFragmentFragment = {
1514
1868
  __typename: 'ConsensusParameters';
1869
+ version: GqlConsensusParametersVersion;
1515
1870
  baseAssetId: string;
1516
1871
  chainId: string;
1517
1872
  txParams: {
1518
1873
  __typename: 'TxParameters';
1519
- maxInputs: any;
1520
- maxOutputs: any;
1521
- maxWitnesses: any;
1874
+ version: GqlTxParametersVersion;
1875
+ maxInputs: string;
1876
+ maxOutputs: string;
1877
+ maxWitnesses: string;
1522
1878
  maxGasPerTx: string;
1523
1879
  maxSize: string;
1880
+ maxBytecodeSubsections: string;
1524
1881
  };
1525
1882
  predicateParams: {
1526
1883
  __typename: 'PredicateParameters';
1884
+ version: GqlPredicateParametersVersion;
1527
1885
  maxPredicateLength: string;
1528
1886
  maxPredicateDataLength: string;
1529
1887
  maxGasPerPredicate: string;
@@ -1531,21 +1889,25 @@ export type GqlConsensusParametersFragmentFragment = {
1531
1889
  };
1532
1890
  scriptParams: {
1533
1891
  __typename: 'ScriptParameters';
1892
+ version: GqlScriptParametersVersion;
1534
1893
  maxScriptLength: string;
1535
1894
  maxScriptDataLength: string;
1536
1895
  };
1537
1896
  contractParams: {
1538
1897
  __typename: 'ContractParameters';
1898
+ version: GqlContractParametersVersion;
1539
1899
  contractMaxSize: string;
1540
1900
  maxStorageSlots: string;
1541
1901
  };
1542
1902
  feeParams: {
1543
1903
  __typename: 'FeeParameters';
1904
+ version: GqlFeeParametersVersion;
1544
1905
  gasPriceFactor: string;
1545
1906
  gasPerByte: string;
1546
1907
  };
1547
1908
  gasCosts: {
1548
1909
  __typename: 'GasCosts';
1910
+ version: GqlGasCostsVersion;
1549
1911
  add: string;
1550
1912
  addi: string;
1551
1913
  aloc: string;
@@ -1558,7 +1920,6 @@ export type GqlConsensusParametersFragmentFragment = {
1558
1920
  cb: string;
1559
1921
  cfei: string;
1560
1922
  cfsi: string;
1561
- croo: string;
1562
1923
  div: string;
1563
1924
  divi: string;
1564
1925
  ecr1: string;
@@ -1654,6 +2015,15 @@ export type GqlConsensusParametersFragmentFragment = {
1654
2015
  base: string;
1655
2016
  unitsPerGas: string;
1656
2017
  };
2018
+ croo: {
2019
+ __typename: 'HeavyOperation';
2020
+ base: string;
2021
+ gasPerUnit: string;
2022
+ } | {
2023
+ __typename: 'LightOperation';
2024
+ base: string;
2025
+ unitsPerGas: string;
2026
+ };
1657
2027
  csiz: {
1658
2028
  __typename: 'HeavyOperation';
1659
2029
  base: string;
@@ -1825,9 +2195,9 @@ export type GqlChainInfoFragmentFragment = {
1825
2195
  latestBlock: {
1826
2196
  __typename: 'Block';
1827
2197
  id: string;
2198
+ height: string;
1828
2199
  header: {
1829
2200
  __typename: 'Header';
1830
- height: any;
1831
2201
  time: string;
1832
2202
  };
1833
2203
  transactions: Array<{
@@ -1837,18 +2207,22 @@ export type GqlChainInfoFragmentFragment = {
1837
2207
  };
1838
2208
  consensusParameters: {
1839
2209
  __typename: 'ConsensusParameters';
2210
+ version: GqlConsensusParametersVersion;
1840
2211
  baseAssetId: string;
1841
2212
  chainId: string;
1842
2213
  txParams: {
1843
2214
  __typename: 'TxParameters';
1844
- maxInputs: any;
1845
- maxOutputs: any;
1846
- maxWitnesses: any;
2215
+ version: GqlTxParametersVersion;
2216
+ maxInputs: string;
2217
+ maxOutputs: string;
2218
+ maxWitnesses: string;
1847
2219
  maxGasPerTx: string;
1848
2220
  maxSize: string;
2221
+ maxBytecodeSubsections: string;
1849
2222
  };
1850
2223
  predicateParams: {
1851
2224
  __typename: 'PredicateParameters';
2225
+ version: GqlPredicateParametersVersion;
1852
2226
  maxPredicateLength: string;
1853
2227
  maxPredicateDataLength: string;
1854
2228
  maxGasPerPredicate: string;
@@ -1856,21 +2230,25 @@ export type GqlChainInfoFragmentFragment = {
1856
2230
  };
1857
2231
  scriptParams: {
1858
2232
  __typename: 'ScriptParameters';
2233
+ version: GqlScriptParametersVersion;
1859
2234
  maxScriptLength: string;
1860
2235
  maxScriptDataLength: string;
1861
2236
  };
1862
2237
  contractParams: {
1863
2238
  __typename: 'ContractParameters';
2239
+ version: GqlContractParametersVersion;
1864
2240
  contractMaxSize: string;
1865
2241
  maxStorageSlots: string;
1866
2242
  };
1867
2243
  feeParams: {
1868
2244
  __typename: 'FeeParameters';
2245
+ version: GqlFeeParametersVersion;
1869
2246
  gasPriceFactor: string;
1870
2247
  gasPerByte: string;
1871
2248
  };
1872
2249
  gasCosts: {
1873
2250
  __typename: 'GasCosts';
2251
+ version: GqlGasCostsVersion;
1874
2252
  add: string;
1875
2253
  addi: string;
1876
2254
  aloc: string;
@@ -1883,7 +2261,6 @@ export type GqlChainInfoFragmentFragment = {
1883
2261
  cb: string;
1884
2262
  cfei: string;
1885
2263
  cfsi: string;
1886
- croo: string;
1887
2264
  div: string;
1888
2265
  divi: string;
1889
2266
  ecr1: string;
@@ -1979,6 +2356,15 @@ export type GqlChainInfoFragmentFragment = {
1979
2356
  base: string;
1980
2357
  unitsPerGas: string;
1981
2358
  };
2359
+ croo: {
2360
+ __typename: 'HeavyOperation';
2361
+ base: string;
2362
+ gasPerUnit: string;
2363
+ } | {
2364
+ __typename: 'LightOperation';
2365
+ base: string;
2366
+ unitsPerGas: string;
2367
+ };
1982
2368
  csiz: {
1983
2369
  __typename: 'HeavyOperation';
1984
2370
  base: string;
@@ -2171,19 +2557,14 @@ export type GqlNodeInfoFragmentFragment = {
2171
2557
  __typename: 'NodeInfo';
2172
2558
  utxoValidation: boolean;
2173
2559
  vmBacktrace: boolean;
2174
- minGasPrice: string;
2175
2560
  maxTx: string;
2176
2561
  maxDepth: string;
2177
2562
  nodeVersion: string;
2178
- peers: Array<{
2179
- __typename: 'PeerInfo';
2180
- id: string;
2181
- addresses: Array<string>;
2182
- clientVersion?: string | null;
2183
- blockHeight?: any | null;
2184
- lastHeartbeatMs: string;
2185
- appScore: number;
2186
- }>;
2563
+ };
2564
+ export type GqlRelayedTransactionStatusFragmentFragment = {
2565
+ __typename: 'RelayedTransactionFailed';
2566
+ blockHeight: string;
2567
+ failure: string;
2187
2568
  };
2188
2569
  export type GqlGetNodeInfoQueryVariables = Exact<{
2189
2570
  [key: string]: never;
@@ -2194,19 +2575,9 @@ export type GqlGetNodeInfoQuery = {
2194
2575
  __typename: 'NodeInfo';
2195
2576
  utxoValidation: boolean;
2196
2577
  vmBacktrace: boolean;
2197
- minGasPrice: string;
2198
2578
  maxTx: string;
2199
2579
  maxDepth: string;
2200
2580
  nodeVersion: string;
2201
- peers: Array<{
2202
- __typename: 'PeerInfo';
2203
- id: string;
2204
- addresses: Array<string>;
2205
- clientVersion?: string | null;
2206
- blockHeight?: any | null;
2207
- lastHeartbeatMs: string;
2208
- appScore: number;
2209
- }>;
2210
2581
  };
2211
2582
  };
2212
2583
  export type GqlGetChainQueryVariables = Exact<{
@@ -2221,9 +2592,9 @@ export type GqlGetChainQuery = {
2221
2592
  latestBlock: {
2222
2593
  __typename: 'Block';
2223
2594
  id: string;
2595
+ height: string;
2224
2596
  header: {
2225
2597
  __typename: 'Header';
2226
- height: any;
2227
2598
  time: string;
2228
2599
  };
2229
2600
  transactions: Array<{
@@ -2233,18 +2604,22 @@ export type GqlGetChainQuery = {
2233
2604
  };
2234
2605
  consensusParameters: {
2235
2606
  __typename: 'ConsensusParameters';
2607
+ version: GqlConsensusParametersVersion;
2236
2608
  baseAssetId: string;
2237
2609
  chainId: string;
2238
2610
  txParams: {
2239
2611
  __typename: 'TxParameters';
2240
- maxInputs: any;
2241
- maxOutputs: any;
2242
- maxWitnesses: any;
2612
+ version: GqlTxParametersVersion;
2613
+ maxInputs: string;
2614
+ maxOutputs: string;
2615
+ maxWitnesses: string;
2243
2616
  maxGasPerTx: string;
2244
2617
  maxSize: string;
2618
+ maxBytecodeSubsections: string;
2245
2619
  };
2246
2620
  predicateParams: {
2247
2621
  __typename: 'PredicateParameters';
2622
+ version: GqlPredicateParametersVersion;
2248
2623
  maxPredicateLength: string;
2249
2624
  maxPredicateDataLength: string;
2250
2625
  maxGasPerPredicate: string;
@@ -2252,21 +2627,25 @@ export type GqlGetChainQuery = {
2252
2627
  };
2253
2628
  scriptParams: {
2254
2629
  __typename: 'ScriptParameters';
2630
+ version: GqlScriptParametersVersion;
2255
2631
  maxScriptLength: string;
2256
2632
  maxScriptDataLength: string;
2257
2633
  };
2258
2634
  contractParams: {
2259
2635
  __typename: 'ContractParameters';
2636
+ version: GqlContractParametersVersion;
2260
2637
  contractMaxSize: string;
2261
2638
  maxStorageSlots: string;
2262
2639
  };
2263
2640
  feeParams: {
2264
2641
  __typename: 'FeeParameters';
2642
+ version: GqlFeeParametersVersion;
2265
2643
  gasPriceFactor: string;
2266
2644
  gasPerByte: string;
2267
2645
  };
2268
2646
  gasCosts: {
2269
2647
  __typename: 'GasCosts';
2648
+ version: GqlGasCostsVersion;
2270
2649
  add: string;
2271
2650
  addi: string;
2272
2651
  aloc: string;
@@ -2279,7 +2658,6 @@ export type GqlGetChainQuery = {
2279
2658
  cb: string;
2280
2659
  cfei: string;
2281
2660
  cfsi: string;
2282
- croo: string;
2283
2661
  div: string;
2284
2662
  divi: string;
2285
2663
  ecr1: string;
@@ -2375,6 +2753,15 @@ export type GqlGetChainQuery = {
2375
2753
  base: string;
2376
2754
  unitsPerGas: string;
2377
2755
  };
2756
+ croo: {
2757
+ __typename: 'HeavyOperation';
2758
+ base: string;
2759
+ gasPerUnit: string;
2760
+ } | {
2761
+ __typename: 'LightOperation';
2762
+ base: string;
2763
+ unitsPerGas: string;
2764
+ };
2378
2765
  csiz: {
2379
2766
  __typename: 'HeavyOperation';
2380
2767
  base: string;
@@ -2550,46 +2937,10 @@ export type GqlGetTransactionQuery = {
2550
2937
  __typename: 'Transaction';
2551
2938
  id: string;
2552
2939
  rawPayload: string;
2553
- gasPrice?: string | null;
2554
- receipts?: Array<{
2555
- __typename: 'Receipt';
2556
- pc?: string | null;
2557
- is?: string | null;
2558
- toAddress?: string | null;
2559
- amount?: string | null;
2560
- assetId?: string | null;
2561
- gas?: string | null;
2562
- param1?: string | null;
2563
- param2?: string | null;
2564
- val?: string | null;
2565
- ptr?: string | null;
2566
- digest?: string | null;
2567
- reason?: string | null;
2568
- ra?: string | null;
2569
- rb?: string | null;
2570
- rc?: string | null;
2571
- rd?: string | null;
2572
- len?: string | null;
2573
- receiptType: GqlReceiptType;
2574
- result?: string | null;
2575
- gasUsed?: string | null;
2576
- data?: string | null;
2577
- sender?: string | null;
2578
- recipient?: string | null;
2579
- nonce?: string | null;
2580
- contractId?: string | null;
2581
- subId?: string | null;
2582
- contract?: {
2583
- __typename: 'Contract';
2584
- id: string;
2585
- } | null;
2586
- to?: {
2587
- __typename: 'Contract';
2588
- id: string;
2589
- } | null;
2590
- }> | null;
2591
2940
  status?: {
2592
2941
  __typename: 'FailureStatus';
2942
+ totalGas: string;
2943
+ totalFee: string;
2593
2944
  time: string;
2594
2945
  reason: string;
2595
2946
  type: 'FailureStatus';
@@ -2597,6 +2948,37 @@ export type GqlGetTransactionQuery = {
2597
2948
  __typename: 'Block';
2598
2949
  id: string;
2599
2950
  };
2951
+ receipts: Array<{
2952
+ __typename: 'Receipt';
2953
+ id?: string | null;
2954
+ pc?: string | null;
2955
+ is?: string | null;
2956
+ to?: string | null;
2957
+ toAddress?: string | null;
2958
+ amount?: string | null;
2959
+ assetId?: string | null;
2960
+ gas?: string | null;
2961
+ param1?: string | null;
2962
+ param2?: string | null;
2963
+ val?: string | null;
2964
+ ptr?: string | null;
2965
+ digest?: string | null;
2966
+ reason?: string | null;
2967
+ ra?: string | null;
2968
+ rb?: string | null;
2969
+ rc?: string | null;
2970
+ rd?: string | null;
2971
+ len?: string | null;
2972
+ receiptType: GqlReceiptType;
2973
+ result?: string | null;
2974
+ gasUsed?: string | null;
2975
+ data?: string | null;
2976
+ sender?: string | null;
2977
+ recipient?: string | null;
2978
+ nonce?: string | null;
2979
+ contractId?: string | null;
2980
+ subId?: string | null;
2981
+ }>;
2600
2982
  } | {
2601
2983
  __typename: 'SqueezedOutStatus';
2602
2984
  reason: string;
@@ -2608,6 +2990,8 @@ export type GqlGetTransactionQuery = {
2608
2990
  } | {
2609
2991
  __typename: 'SuccessStatus';
2610
2992
  time: string;
2993
+ totalGas: string;
2994
+ totalFee: string;
2611
2995
  type: 'SuccessStatus';
2612
2996
  block: {
2613
2997
  __typename: 'Block';
@@ -2618,6 +3002,37 @@ export type GqlGetTransactionQuery = {
2618
3002
  returnType: GqlReturnType;
2619
3003
  data: string;
2620
3004
  } | null;
3005
+ receipts: Array<{
3006
+ __typename: 'Receipt';
3007
+ id?: string | null;
3008
+ pc?: string | null;
3009
+ is?: string | null;
3010
+ to?: string | null;
3011
+ toAddress?: string | null;
3012
+ amount?: string | null;
3013
+ assetId?: string | null;
3014
+ gas?: string | null;
3015
+ param1?: string | null;
3016
+ param2?: string | null;
3017
+ val?: string | null;
3018
+ ptr?: string | null;
3019
+ digest?: string | null;
3020
+ reason?: string | null;
3021
+ ra?: string | null;
3022
+ rb?: string | null;
3023
+ rc?: string | null;
3024
+ rd?: string | null;
3025
+ len?: string | null;
3026
+ receiptType: GqlReceiptType;
3027
+ result?: string | null;
3028
+ gasUsed?: string | null;
3029
+ data?: string | null;
3030
+ sender?: string | null;
3031
+ recipient?: string | null;
3032
+ nonce?: string | null;
3033
+ contractId?: string | null;
3034
+ subId?: string | null;
3035
+ }>;
2621
3036
  } | null;
2622
3037
  } | null;
2623
3038
  };
@@ -2630,46 +3045,10 @@ export type GqlGetTransactionWithReceiptsQuery = {
2630
3045
  __typename: 'Transaction';
2631
3046
  id: string;
2632
3047
  rawPayload: string;
2633
- gasPrice?: string | null;
2634
- receipts?: Array<{
2635
- __typename: 'Receipt';
2636
- pc?: string | null;
2637
- is?: string | null;
2638
- toAddress?: string | null;
2639
- amount?: string | null;
2640
- assetId?: string | null;
2641
- gas?: string | null;
2642
- param1?: string | null;
2643
- param2?: string | null;
2644
- val?: string | null;
2645
- ptr?: string | null;
2646
- digest?: string | null;
2647
- reason?: string | null;
2648
- ra?: string | null;
2649
- rb?: string | null;
2650
- rc?: string | null;
2651
- rd?: string | null;
2652
- len?: string | null;
2653
- receiptType: GqlReceiptType;
2654
- result?: string | null;
2655
- gasUsed?: string | null;
2656
- data?: string | null;
2657
- sender?: string | null;
2658
- recipient?: string | null;
2659
- nonce?: string | null;
2660
- contractId?: string | null;
2661
- subId?: string | null;
2662
- contract?: {
2663
- __typename: 'Contract';
2664
- id: string;
2665
- } | null;
2666
- to?: {
2667
- __typename: 'Contract';
2668
- id: string;
2669
- } | null;
2670
- }> | null;
2671
3048
  status?: {
2672
3049
  __typename: 'FailureStatus';
3050
+ totalGas: string;
3051
+ totalFee: string;
2673
3052
  time: string;
2674
3053
  reason: string;
2675
3054
  type: 'FailureStatus';
@@ -2677,6 +3056,37 @@ export type GqlGetTransactionWithReceiptsQuery = {
2677
3056
  __typename: 'Block';
2678
3057
  id: string;
2679
3058
  };
3059
+ receipts: Array<{
3060
+ __typename: 'Receipt';
3061
+ id?: string | null;
3062
+ pc?: string | null;
3063
+ is?: string | null;
3064
+ to?: string | null;
3065
+ toAddress?: string | null;
3066
+ amount?: string | null;
3067
+ assetId?: string | null;
3068
+ gas?: string | null;
3069
+ param1?: string | null;
3070
+ param2?: string | null;
3071
+ val?: string | null;
3072
+ ptr?: string | null;
3073
+ digest?: string | null;
3074
+ reason?: string | null;
3075
+ ra?: string | null;
3076
+ rb?: string | null;
3077
+ rc?: string | null;
3078
+ rd?: string | null;
3079
+ len?: string | null;
3080
+ receiptType: GqlReceiptType;
3081
+ result?: string | null;
3082
+ gasUsed?: string | null;
3083
+ data?: string | null;
3084
+ sender?: string | null;
3085
+ recipient?: string | null;
3086
+ nonce?: string | null;
3087
+ contractId?: string | null;
3088
+ subId?: string | null;
3089
+ }>;
2680
3090
  } | {
2681
3091
  __typename: 'SqueezedOutStatus';
2682
3092
  reason: string;
@@ -2688,6 +3098,8 @@ export type GqlGetTransactionWithReceiptsQuery = {
2688
3098
  } | {
2689
3099
  __typename: 'SuccessStatus';
2690
3100
  time: string;
3101
+ totalGas: string;
3102
+ totalFee: string;
2691
3103
  type: 'SuccessStatus';
2692
3104
  block: {
2693
3105
  __typename: 'Block';
@@ -2698,6 +3110,37 @@ export type GqlGetTransactionWithReceiptsQuery = {
2698
3110
  returnType: GqlReturnType;
2699
3111
  data: string;
2700
3112
  } | null;
3113
+ receipts: Array<{
3114
+ __typename: 'Receipt';
3115
+ id?: string | null;
3116
+ pc?: string | null;
3117
+ is?: string | null;
3118
+ to?: string | null;
3119
+ toAddress?: string | null;
3120
+ amount?: string | null;
3121
+ assetId?: string | null;
3122
+ gas?: string | null;
3123
+ param1?: string | null;
3124
+ param2?: string | null;
3125
+ val?: string | null;
3126
+ ptr?: string | null;
3127
+ digest?: string | null;
3128
+ reason?: string | null;
3129
+ ra?: string | null;
3130
+ rb?: string | null;
3131
+ rc?: string | null;
3132
+ rd?: string | null;
3133
+ len?: string | null;
3134
+ receiptType: GqlReceiptType;
3135
+ result?: string | null;
3136
+ gasUsed?: string | null;
3137
+ data?: string | null;
3138
+ sender?: string | null;
3139
+ recipient?: string | null;
3140
+ nonce?: string | null;
3141
+ contractId?: string | null;
3142
+ subId?: string | null;
3143
+ }>;
2701
3144
  } | null;
2702
3145
  } | null;
2703
3146
  };
@@ -2717,46 +3160,10 @@ export type GqlGetTransactionsQuery = {
2717
3160
  __typename: 'Transaction';
2718
3161
  id: string;
2719
3162
  rawPayload: string;
2720
- gasPrice?: string | null;
2721
- receipts?: Array<{
2722
- __typename: 'Receipt';
2723
- pc?: string | null;
2724
- is?: string | null;
2725
- toAddress?: string | null;
2726
- amount?: string | null;
2727
- assetId?: string | null;
2728
- gas?: string | null;
2729
- param1?: string | null;
2730
- param2?: string | null;
2731
- val?: string | null;
2732
- ptr?: string | null;
2733
- digest?: string | null;
2734
- reason?: string | null;
2735
- ra?: string | null;
2736
- rb?: string | null;
2737
- rc?: string | null;
2738
- rd?: string | null;
2739
- len?: string | null;
2740
- receiptType: GqlReceiptType;
2741
- result?: string | null;
2742
- gasUsed?: string | null;
2743
- data?: string | null;
2744
- sender?: string | null;
2745
- recipient?: string | null;
2746
- nonce?: string | null;
2747
- contractId?: string | null;
2748
- subId?: string | null;
2749
- contract?: {
2750
- __typename: 'Contract';
2751
- id: string;
2752
- } | null;
2753
- to?: {
2754
- __typename: 'Contract';
2755
- id: string;
2756
- } | null;
2757
- }> | null;
2758
3163
  status?: {
2759
3164
  __typename: 'FailureStatus';
3165
+ totalGas: string;
3166
+ totalFee: string;
2760
3167
  time: string;
2761
3168
  reason: string;
2762
3169
  type: 'FailureStatus';
@@ -2764,6 +3171,37 @@ export type GqlGetTransactionsQuery = {
2764
3171
  __typename: 'Block';
2765
3172
  id: string;
2766
3173
  };
3174
+ receipts: Array<{
3175
+ __typename: 'Receipt';
3176
+ id?: string | null;
3177
+ pc?: string | null;
3178
+ is?: string | null;
3179
+ to?: string | null;
3180
+ toAddress?: string | null;
3181
+ amount?: string | null;
3182
+ assetId?: string | null;
3183
+ gas?: string | null;
3184
+ param1?: string | null;
3185
+ param2?: string | null;
3186
+ val?: string | null;
3187
+ ptr?: string | null;
3188
+ digest?: string | null;
3189
+ reason?: string | null;
3190
+ ra?: string | null;
3191
+ rb?: string | null;
3192
+ rc?: string | null;
3193
+ rd?: string | null;
3194
+ len?: string | null;
3195
+ receiptType: GqlReceiptType;
3196
+ result?: string | null;
3197
+ gasUsed?: string | null;
3198
+ data?: string | null;
3199
+ sender?: string | null;
3200
+ recipient?: string | null;
3201
+ nonce?: string | null;
3202
+ contractId?: string | null;
3203
+ subId?: string | null;
3204
+ }>;
2767
3205
  } | {
2768
3206
  __typename: 'SqueezedOutStatus';
2769
3207
  reason: string;
@@ -2775,6 +3213,8 @@ export type GqlGetTransactionsQuery = {
2775
3213
  } | {
2776
3214
  __typename: 'SuccessStatus';
2777
3215
  time: string;
3216
+ totalGas: string;
3217
+ totalFee: string;
2778
3218
  type: 'SuccessStatus';
2779
3219
  block: {
2780
3220
  __typename: 'Block';
@@ -2785,6 +3225,37 @@ export type GqlGetTransactionsQuery = {
2785
3225
  returnType: GqlReturnType;
2786
3226
  data: string;
2787
3227
  } | null;
3228
+ receipts: Array<{
3229
+ __typename: 'Receipt';
3230
+ id?: string | null;
3231
+ pc?: string | null;
3232
+ is?: string | null;
3233
+ to?: string | null;
3234
+ toAddress?: string | null;
3235
+ amount?: string | null;
3236
+ assetId?: string | null;
3237
+ gas?: string | null;
3238
+ param1?: string | null;
3239
+ param2?: string | null;
3240
+ val?: string | null;
3241
+ ptr?: string | null;
3242
+ digest?: string | null;
3243
+ reason?: string | null;
3244
+ ra?: string | null;
3245
+ rb?: string | null;
3246
+ rc?: string | null;
3247
+ rd?: string | null;
3248
+ len?: string | null;
3249
+ receiptType: GqlReceiptType;
3250
+ result?: string | null;
3251
+ gasUsed?: string | null;
3252
+ data?: string | null;
3253
+ sender?: string | null;
3254
+ recipient?: string | null;
3255
+ nonce?: string | null;
3256
+ contractId?: string | null;
3257
+ subId?: string | null;
3258
+ }>;
2788
3259
  } | null;
2789
3260
  };
2790
3261
  }>;
@@ -2814,46 +3285,10 @@ export type GqlGetTransactionsByOwnerQuery = {
2814
3285
  __typename: 'Transaction';
2815
3286
  id: string;
2816
3287
  rawPayload: string;
2817
- gasPrice?: string | null;
2818
- receipts?: Array<{
2819
- __typename: 'Receipt';
2820
- pc?: string | null;
2821
- is?: string | null;
2822
- toAddress?: string | null;
2823
- amount?: string | null;
2824
- assetId?: string | null;
2825
- gas?: string | null;
2826
- param1?: string | null;
2827
- param2?: string | null;
2828
- val?: string | null;
2829
- ptr?: string | null;
2830
- digest?: string | null;
2831
- reason?: string | null;
2832
- ra?: string | null;
2833
- rb?: string | null;
2834
- rc?: string | null;
2835
- rd?: string | null;
2836
- len?: string | null;
2837
- receiptType: GqlReceiptType;
2838
- result?: string | null;
2839
- gasUsed?: string | null;
2840
- data?: string | null;
2841
- sender?: string | null;
2842
- recipient?: string | null;
2843
- nonce?: string | null;
2844
- contractId?: string | null;
2845
- subId?: string | null;
2846
- contract?: {
2847
- __typename: 'Contract';
2848
- id: string;
2849
- } | null;
2850
- to?: {
2851
- __typename: 'Contract';
2852
- id: string;
2853
- } | null;
2854
- }> | null;
2855
3288
  status?: {
2856
3289
  __typename: 'FailureStatus';
3290
+ totalGas: string;
3291
+ totalFee: string;
2857
3292
  time: string;
2858
3293
  reason: string;
2859
3294
  type: 'FailureStatus';
@@ -2861,6 +3296,37 @@ export type GqlGetTransactionsByOwnerQuery = {
2861
3296
  __typename: 'Block';
2862
3297
  id: string;
2863
3298
  };
3299
+ receipts: Array<{
3300
+ __typename: 'Receipt';
3301
+ id?: string | null;
3302
+ pc?: string | null;
3303
+ is?: string | null;
3304
+ to?: string | null;
3305
+ toAddress?: string | null;
3306
+ amount?: string | null;
3307
+ assetId?: string | null;
3308
+ gas?: string | null;
3309
+ param1?: string | null;
3310
+ param2?: string | null;
3311
+ val?: string | null;
3312
+ ptr?: string | null;
3313
+ digest?: string | null;
3314
+ reason?: string | null;
3315
+ ra?: string | null;
3316
+ rb?: string | null;
3317
+ rc?: string | null;
3318
+ rd?: string | null;
3319
+ len?: string | null;
3320
+ receiptType: GqlReceiptType;
3321
+ result?: string | null;
3322
+ gasUsed?: string | null;
3323
+ data?: string | null;
3324
+ sender?: string | null;
3325
+ recipient?: string | null;
3326
+ nonce?: string | null;
3327
+ contractId?: string | null;
3328
+ subId?: string | null;
3329
+ }>;
2864
3330
  } | {
2865
3331
  __typename: 'SqueezedOutStatus';
2866
3332
  reason: string;
@@ -2872,6 +3338,8 @@ export type GqlGetTransactionsByOwnerQuery = {
2872
3338
  } | {
2873
3339
  __typename: 'SuccessStatus';
2874
3340
  time: string;
3341
+ totalGas: string;
3342
+ totalFee: string;
2875
3343
  type: 'SuccessStatus';
2876
3344
  block: {
2877
3345
  __typename: 'Block';
@@ -2882,6 +3350,37 @@ export type GqlGetTransactionsByOwnerQuery = {
2882
3350
  returnType: GqlReturnType;
2883
3351
  data: string;
2884
3352
  } | null;
3353
+ receipts: Array<{
3354
+ __typename: 'Receipt';
3355
+ id?: string | null;
3356
+ pc?: string | null;
3357
+ is?: string | null;
3358
+ to?: string | null;
3359
+ toAddress?: string | null;
3360
+ amount?: string | null;
3361
+ assetId?: string | null;
3362
+ gas?: string | null;
3363
+ param1?: string | null;
3364
+ param2?: string | null;
3365
+ val?: string | null;
3366
+ ptr?: string | null;
3367
+ digest?: string | null;
3368
+ reason?: string | null;
3369
+ ra?: string | null;
3370
+ rb?: string | null;
3371
+ rc?: string | null;
3372
+ rd?: string | null;
3373
+ len?: string | null;
3374
+ receiptType: GqlReceiptType;
3375
+ result?: string | null;
3376
+ gasUsed?: string | null;
3377
+ data?: string | null;
3378
+ sender?: string | null;
3379
+ recipient?: string | null;
3380
+ nonce?: string | null;
3381
+ contractId?: string | null;
3382
+ subId?: string | null;
3383
+ }>;
2885
3384
  } | null;
2886
3385
  };
2887
3386
  }>;
@@ -2914,9 +3413,9 @@ export type GqlGetBlockQuery = {
2914
3413
  block?: {
2915
3414
  __typename: 'Block';
2916
3415
  id: string;
3416
+ height: string;
2917
3417
  header: {
2918
3418
  __typename: 'Header';
2919
- height: any;
2920
3419
  time: string;
2921
3420
  };
2922
3421
  transactions: Array<{
@@ -2934,50 +3433,15 @@ export type GqlGetBlockWithTransactionsQuery = {
2934
3433
  block?: {
2935
3434
  __typename: 'Block';
2936
3435
  id: string;
3436
+ height: string;
2937
3437
  transactions: Array<{
2938
3438
  __typename: 'Transaction';
2939
3439
  id: string;
2940
3440
  rawPayload: string;
2941
- gasPrice?: string | null;
2942
- receipts?: Array<{
2943
- __typename: 'Receipt';
2944
- pc?: string | null;
2945
- is?: string | null;
2946
- toAddress?: string | null;
2947
- amount?: string | null;
2948
- assetId?: string | null;
2949
- gas?: string | null;
2950
- param1?: string | null;
2951
- param2?: string | null;
2952
- val?: string | null;
2953
- ptr?: string | null;
2954
- digest?: string | null;
2955
- reason?: string | null;
2956
- ra?: string | null;
2957
- rb?: string | null;
2958
- rc?: string | null;
2959
- rd?: string | null;
2960
- len?: string | null;
2961
- receiptType: GqlReceiptType;
2962
- result?: string | null;
2963
- gasUsed?: string | null;
2964
- data?: string | null;
2965
- sender?: string | null;
2966
- recipient?: string | null;
2967
- nonce?: string | null;
2968
- contractId?: string | null;
2969
- subId?: string | null;
2970
- contract?: {
2971
- __typename: 'Contract';
2972
- id: string;
2973
- } | null;
2974
- to?: {
2975
- __typename: 'Contract';
2976
- id: string;
2977
- } | null;
2978
- }> | null;
2979
3441
  status?: {
2980
3442
  __typename: 'FailureStatus';
3443
+ totalGas: string;
3444
+ totalFee: string;
2981
3445
  time: string;
2982
3446
  reason: string;
2983
3447
  type: 'FailureStatus';
@@ -2985,6 +3449,37 @@ export type GqlGetBlockWithTransactionsQuery = {
2985
3449
  __typename: 'Block';
2986
3450
  id: string;
2987
3451
  };
3452
+ receipts: Array<{
3453
+ __typename: 'Receipt';
3454
+ id?: string | null;
3455
+ pc?: string | null;
3456
+ is?: string | null;
3457
+ to?: string | null;
3458
+ toAddress?: string | null;
3459
+ amount?: string | null;
3460
+ assetId?: string | null;
3461
+ gas?: string | null;
3462
+ param1?: string | null;
3463
+ param2?: string | null;
3464
+ val?: string | null;
3465
+ ptr?: string | null;
3466
+ digest?: string | null;
3467
+ reason?: string | null;
3468
+ ra?: string | null;
3469
+ rb?: string | null;
3470
+ rc?: string | null;
3471
+ rd?: string | null;
3472
+ len?: string | null;
3473
+ receiptType: GqlReceiptType;
3474
+ result?: string | null;
3475
+ gasUsed?: string | null;
3476
+ data?: string | null;
3477
+ sender?: string | null;
3478
+ recipient?: string | null;
3479
+ nonce?: string | null;
3480
+ contractId?: string | null;
3481
+ subId?: string | null;
3482
+ }>;
2988
3483
  } | {
2989
3484
  __typename: 'SqueezedOutStatus';
2990
3485
  reason: string;
@@ -2996,6 +3491,8 @@ export type GqlGetBlockWithTransactionsQuery = {
2996
3491
  } | {
2997
3492
  __typename: 'SuccessStatus';
2998
3493
  time: string;
3494
+ totalGas: string;
3495
+ totalFee: string;
2999
3496
  type: 'SuccessStatus';
3000
3497
  block: {
3001
3498
  __typename: 'Block';
@@ -3006,11 +3503,41 @@ export type GqlGetBlockWithTransactionsQuery = {
3006
3503
  returnType: GqlReturnType;
3007
3504
  data: string;
3008
3505
  } | null;
3506
+ receipts: Array<{
3507
+ __typename: 'Receipt';
3508
+ id?: string | null;
3509
+ pc?: string | null;
3510
+ is?: string | null;
3511
+ to?: string | null;
3512
+ toAddress?: string | null;
3513
+ amount?: string | null;
3514
+ assetId?: string | null;
3515
+ gas?: string | null;
3516
+ param1?: string | null;
3517
+ param2?: string | null;
3518
+ val?: string | null;
3519
+ ptr?: string | null;
3520
+ digest?: string | null;
3521
+ reason?: string | null;
3522
+ ra?: string | null;
3523
+ rb?: string | null;
3524
+ rc?: string | null;
3525
+ rd?: string | null;
3526
+ len?: string | null;
3527
+ receiptType: GqlReceiptType;
3528
+ result?: string | null;
3529
+ gasUsed?: string | null;
3530
+ data?: string | null;
3531
+ sender?: string | null;
3532
+ recipient?: string | null;
3533
+ nonce?: string | null;
3534
+ contractId?: string | null;
3535
+ subId?: string | null;
3536
+ }>;
3009
3537
  } | null;
3010
3538
  }>;
3011
3539
  header: {
3012
3540
  __typename: 'Header';
3013
- height: any;
3014
3541
  time: string;
3015
3542
  };
3016
3543
  } | null;
@@ -3030,9 +3557,9 @@ export type GqlGetBlocksQuery = {
3030
3557
  node: {
3031
3558
  __typename: 'Block';
3032
3559
  id: string;
3560
+ height: string;
3033
3561
  header: {
3034
3562
  __typename: 'Header';
3035
- height: any;
3036
3563
  time: string;
3037
3564
  };
3038
3565
  transactions: Array<{
@@ -3054,8 +3581,7 @@ export type GqlGetCoinQuery = {
3054
3581
  owner: string;
3055
3582
  amount: string;
3056
3583
  assetId: string;
3057
- maturity: any;
3058
- blockCreated: any;
3584
+ blockCreated: string;
3059
3585
  txCreatedIdx: string;
3060
3586
  } | null;
3061
3587
  };
@@ -3078,8 +3604,7 @@ export type GqlGetCoinsQuery = {
3078
3604
  owner: string;
3079
3605
  amount: string;
3080
3606
  assetId: string;
3081
- maturity: any;
3082
- blockCreated: any;
3607
+ blockCreated: string;
3083
3608
  txCreatedIdx: string;
3084
3609
  };
3085
3610
  }>;
@@ -3098,8 +3623,7 @@ export type GqlGetCoinsToSpendQuery = {
3098
3623
  owner: string;
3099
3624
  amount: string;
3100
3625
  assetId: string;
3101
- maturity: any;
3102
- blockCreated: any;
3626
+ blockCreated: string;
3103
3627
  txCreatedIdx: string;
3104
3628
  } | {
3105
3629
  __typename: 'MessageCoin';
@@ -3148,6 +3672,26 @@ export type GqlGetBalanceQuery = {
3148
3672
  assetId: string;
3149
3673
  };
3150
3674
  };
3675
+ export type GqlGetLatestGasPriceQueryVariables = Exact<{
3676
+ [key: string]: never;
3677
+ }>;
3678
+ export type GqlGetLatestGasPriceQuery = {
3679
+ __typename: 'Query';
3680
+ latestGasPrice: {
3681
+ __typename: 'LatestGasPrice';
3682
+ gasPrice: string;
3683
+ };
3684
+ };
3685
+ export type GqlEstimateGasPriceQueryVariables = Exact<{
3686
+ blockHorizon: Scalars['U32'];
3687
+ }>;
3688
+ export type GqlEstimateGasPriceQuery = {
3689
+ __typename: 'Query';
3690
+ estimateGasPrice: {
3691
+ __typename: 'EstimateGasPrice';
3692
+ gasPrice: string;
3693
+ };
3694
+ };
3151
3695
  export type GqlGetBalancesQueryVariables = Exact<{
3152
3696
  filter: GqlBalanceFilterInput;
3153
3697
  after?: InputMaybe<Scalars['String']>;
@@ -3224,27 +3768,33 @@ export type GqlGetMessageProofQuery = {
3224
3768
  __typename: 'Header';
3225
3769
  id: string;
3226
3770
  daHeight: string;
3771
+ consensusParametersVersion: string;
3772
+ stateTransitionBytecodeVersion: string;
3227
3773
  transactionsCount: string;
3774
+ messageReceiptCount: string;
3228
3775
  transactionsRoot: string;
3229
- height: any;
3776
+ messageOutboxRoot: string;
3777
+ eventInboxRoot: string;
3778
+ height: string;
3230
3779
  prevRoot: string;
3231
3780
  time: string;
3232
3781
  applicationHash: string;
3233
- messageReceiptRoot: string;
3234
- messageReceiptCount: string;
3235
3782
  };
3236
3783
  commitBlockHeader: {
3237
3784
  __typename: 'Header';
3238
3785
  id: string;
3239
3786
  daHeight: string;
3787
+ consensusParametersVersion: string;
3788
+ stateTransitionBytecodeVersion: string;
3240
3789
  transactionsCount: string;
3790
+ messageReceiptCount: string;
3241
3791
  transactionsRoot: string;
3242
- height: any;
3792
+ messageOutboxRoot: string;
3793
+ eventInboxRoot: string;
3794
+ height: string;
3243
3795
  prevRoot: string;
3244
3796
  time: string;
3245
3797
  applicationHash: string;
3246
- messageReceiptRoot: string;
3247
- messageReceiptCount: string;
3248
3798
  };
3249
3799
  } | null;
3250
3800
  };
@@ -3258,48 +3808,77 @@ export type GqlGetMessageStatusQuery = {
3258
3808
  state: GqlMessageState;
3259
3809
  };
3260
3810
  };
3811
+ export type GqlGetRelayedTransactionStatusQueryVariables = Exact<{
3812
+ relayedTransactionId: Scalars['RelayedTransactionId'];
3813
+ }>;
3814
+ export type GqlGetRelayedTransactionStatusQuery = {
3815
+ __typename: 'Query';
3816
+ relayedTransactionStatus?: {
3817
+ __typename: 'RelayedTransactionFailed';
3818
+ blockHeight: string;
3819
+ failure: string;
3820
+ } | null;
3821
+ };
3261
3822
  export type GqlDryRunMutationVariables = Exact<{
3262
- encodedTransaction: Scalars['HexString'];
3823
+ encodedTransactions: Array<Scalars['HexString']> | Scalars['HexString'];
3263
3824
  utxoValidation?: InputMaybe<Scalars['Boolean']>;
3264
3825
  }>;
3265
3826
  export type GqlDryRunMutation = {
3266
3827
  __typename: 'Mutation';
3267
3828
  dryRun: Array<{
3268
- __typename: 'Receipt';
3269
- pc?: string | null;
3270
- is?: string | null;
3271
- toAddress?: string | null;
3272
- amount?: string | null;
3273
- assetId?: string | null;
3274
- gas?: string | null;
3275
- param1?: string | null;
3276
- param2?: string | null;
3277
- val?: string | null;
3278
- ptr?: string | null;
3279
- digest?: string | null;
3280
- reason?: string | null;
3281
- ra?: string | null;
3282
- rb?: string | null;
3283
- rc?: string | null;
3284
- rd?: string | null;
3285
- len?: string | null;
3286
- receiptType: GqlReceiptType;
3287
- result?: string | null;
3288
- gasUsed?: string | null;
3289
- data?: string | null;
3290
- sender?: string | null;
3291
- recipient?: string | null;
3292
- nonce?: string | null;
3293
- contractId?: string | null;
3294
- subId?: string | null;
3295
- contract?: {
3296
- __typename: 'Contract';
3297
- id: string;
3298
- } | null;
3299
- to?: {
3300
- __typename: 'Contract';
3301
- id: string;
3302
- } | null;
3829
+ __typename: 'DryRunTransactionExecutionStatus';
3830
+ id: string;
3831
+ status: {
3832
+ __typename: 'DryRunFailureStatus';
3833
+ totalGas: string;
3834
+ totalFee: string;
3835
+ reason: string;
3836
+ programState?: {
3837
+ __typename: 'ProgramState';
3838
+ returnType: GqlReturnType;
3839
+ data: string;
3840
+ } | null;
3841
+ } | {
3842
+ __typename: 'DryRunSuccessStatus';
3843
+ totalGas: string;
3844
+ totalFee: string;
3845
+ programState?: {
3846
+ __typename: 'ProgramState';
3847
+ returnType: GqlReturnType;
3848
+ data: string;
3849
+ } | null;
3850
+ };
3851
+ receipts: Array<{
3852
+ __typename: 'Receipt';
3853
+ id?: string | null;
3854
+ pc?: string | null;
3855
+ is?: string | null;
3856
+ to?: string | null;
3857
+ toAddress?: string | null;
3858
+ amount?: string | null;
3859
+ assetId?: string | null;
3860
+ gas?: string | null;
3861
+ param1?: string | null;
3862
+ param2?: string | null;
3863
+ val?: string | null;
3864
+ ptr?: string | null;
3865
+ digest?: string | null;
3866
+ reason?: string | null;
3867
+ ra?: string | null;
3868
+ rb?: string | null;
3869
+ rc?: string | null;
3870
+ rd?: string | null;
3871
+ len?: string | null;
3872
+ receiptType: GqlReceiptType;
3873
+ result?: string | null;
3874
+ gasUsed?: string | null;
3875
+ data?: string | null;
3876
+ sender?: string | null;
3877
+ recipient?: string | null;
3878
+ nonce?: string | null;
3879
+ contractId?: string | null;
3880
+ subId?: string | null;
3881
+ }>;
3303
3882
  }>;
3304
3883
  };
3305
3884
  export type GqlSubmitMutationVariables = Exact<{
@@ -3318,7 +3897,22 @@ export type GqlProduceBlocksMutationVariables = Exact<{
3318
3897
  }>;
3319
3898
  export type GqlProduceBlocksMutation = {
3320
3899
  __typename: 'Mutation';
3321
- produceBlocks: any;
3900
+ produceBlocks: string;
3901
+ };
3902
+ export type GqlGetMessageByNonceQueryVariables = Exact<{
3903
+ nonce: Scalars['Nonce'];
3904
+ }>;
3905
+ export type GqlGetMessageByNonceQuery = {
3906
+ __typename: 'Query';
3907
+ message?: {
3908
+ __typename: 'Message';
3909
+ amount: string;
3910
+ sender: string;
3911
+ recipient: string;
3912
+ data: string;
3913
+ nonce: string;
3914
+ daHeight: string;
3915
+ } | null;
3322
3916
  };
3323
3917
  export type GqlSubmitAndAwaitSubscriptionVariables = Exact<{
3324
3918
  encodedTransaction: Scalars['HexString'];
@@ -3327,34 +3921,17 @@ export type GqlSubmitAndAwaitSubscription = {
3327
3921
  __typename: 'Subscription';
3328
3922
  submitAndAwait: {
3329
3923
  __typename: 'FailureStatus';
3330
- time: string;
3331
- reason: string;
3332
3924
  type: 'FailureStatus';
3333
- block: {
3334
- __typename: 'Block';
3335
- id: string;
3336
- };
3337
3925
  } | {
3338
3926
  __typename: 'SqueezedOutStatus';
3339
3927
  reason: string;
3340
3928
  type: 'SqueezedOutStatus';
3341
3929
  } | {
3342
3930
  __typename: 'SubmittedStatus';
3343
- time: string;
3344
3931
  type: 'SubmittedStatus';
3345
3932
  } | {
3346
3933
  __typename: 'SuccessStatus';
3347
- time: string;
3348
3934
  type: 'SuccessStatus';
3349
- block: {
3350
- __typename: 'Block';
3351
- id: string;
3352
- };
3353
- programState?: {
3354
- __typename: 'ProgramState';
3355
- returnType: GqlReturnType;
3356
- data: string;
3357
- } | null;
3358
3935
  };
3359
3936
  };
3360
3937
  export type GqlStatusChangeSubscriptionVariables = Exact<{
@@ -3364,41 +3941,29 @@ export type GqlStatusChangeSubscription = {
3364
3941
  __typename: 'Subscription';
3365
3942
  statusChange: {
3366
3943
  __typename: 'FailureStatus';
3367
- time: string;
3368
- reason: string;
3369
3944
  type: 'FailureStatus';
3370
- block: {
3371
- __typename: 'Block';
3372
- id: string;
3373
- };
3374
3945
  } | {
3375
3946
  __typename: 'SqueezedOutStatus';
3376
3947
  reason: string;
3377
3948
  type: 'SqueezedOutStatus';
3378
3949
  } | {
3379
3950
  __typename: 'SubmittedStatus';
3380
- time: string;
3381
3951
  type: 'SubmittedStatus';
3382
3952
  } | {
3383
3953
  __typename: 'SuccessStatus';
3384
- time: string;
3385
3954
  type: 'SuccessStatus';
3386
- block: {
3387
- __typename: 'Block';
3388
- id: string;
3389
- };
3390
- programState?: {
3391
- __typename: 'ProgramState';
3392
- returnType: GqlReturnType;
3393
- data: string;
3394
- } | null;
3395
3955
  };
3396
3956
  };
3957
+ export declare const TransactionStatusSubscriptionFragmentFragmentDoc: DocumentNode;
3397
3958
  export declare const ReceiptFragmentFragmentDoc: DocumentNode;
3398
3959
  export declare const TransactionStatusFragmentFragmentDoc: DocumentNode;
3399
3960
  export declare const TransactionFragmentFragmentDoc: DocumentNode;
3400
3961
  export declare const InputEstimatePredicatesFragmentFragmentDoc: DocumentNode;
3401
3962
  export declare const TransactionEstimatePredicatesFragmentFragmentDoc: DocumentNode;
3963
+ export declare const DryRunFailureStatusFragmentFragmentDoc: DocumentNode;
3964
+ export declare const DryRunSuccessStatusFragmentFragmentDoc: DocumentNode;
3965
+ export declare const DryRunTransactionStatusFragmentFragmentDoc: DocumentNode;
3966
+ export declare const DryRunTransactionExecutionStatusFragmentFragmentDoc: DocumentNode;
3402
3967
  export declare const CoinFragmentFragmentDoc: DocumentNode;
3403
3968
  export declare const MessageCoinFragmentFragmentDoc: DocumentNode;
3404
3969
  export declare const MessageFragmentFragmentDoc: DocumentNode;
@@ -3417,6 +3982,7 @@ export declare const ChainInfoFragmentFragmentDoc: DocumentNode;
3417
3982
  export declare const ContractBalanceFragmentFragmentDoc: DocumentNode;
3418
3983
  export declare const PageInfoFragmentFragmentDoc: DocumentNode;
3419
3984
  export declare const NodeInfoFragmentFragmentDoc: DocumentNode;
3985
+ export declare const RelayedTransactionStatusFragmentFragmentDoc: DocumentNode;
3420
3986
  export declare const GetVersionDocument: DocumentNode;
3421
3987
  export declare const GetNodeInfoDocument: DocumentNode;
3422
3988
  export declare const GetChainDocument: DocumentNode;
@@ -3434,13 +4000,17 @@ export declare const GetCoinsToSpendDocument: DocumentNode;
3434
4000
  export declare const GetContractDocument: DocumentNode;
3435
4001
  export declare const GetContractBalanceDocument: DocumentNode;
3436
4002
  export declare const GetBalanceDocument: DocumentNode;
4003
+ export declare const GetLatestGasPriceDocument: DocumentNode;
4004
+ export declare const EstimateGasPriceDocument: DocumentNode;
3437
4005
  export declare const GetBalancesDocument: DocumentNode;
3438
4006
  export declare const GetMessagesDocument: DocumentNode;
3439
4007
  export declare const GetMessageProofDocument: DocumentNode;
3440
4008
  export declare const GetMessageStatusDocument: DocumentNode;
4009
+ export declare const GetRelayedTransactionStatusDocument: DocumentNode;
3441
4010
  export declare const DryRunDocument: DocumentNode;
3442
4011
  export declare const SubmitDocument: DocumentNode;
3443
4012
  export declare const ProduceBlocksDocument: DocumentNode;
4013
+ export declare const GetMessageByNonceDocument: DocumentNode;
3444
4014
  export declare const SubmitAndAwaitDocument: DocumentNode;
3445
4015
  export declare const StatusChangeDocument: DocumentNode;
3446
4016
  export type Requester<C = {}, E = unknown> = <R, V>(doc: DocumentNode, vars?: V, options?: C) => Promise<R> | AsyncIterable<R>;
@@ -3462,13 +4032,17 @@ export declare function getSdk<C, E>(requester: Requester<C, E>): {
3462
4032
  getContract(variables: GqlGetContractQueryVariables, options?: C): Promise<GqlGetContractQuery>;
3463
4033
  getContractBalance(variables: GqlGetContractBalanceQueryVariables, options?: C): Promise<GqlGetContractBalanceQuery>;
3464
4034
  getBalance(variables: GqlGetBalanceQueryVariables, options?: C): Promise<GqlGetBalanceQuery>;
4035
+ getLatestGasPrice(variables?: GqlGetLatestGasPriceQueryVariables, options?: C): Promise<GqlGetLatestGasPriceQuery>;
4036
+ estimateGasPrice(variables: GqlEstimateGasPriceQueryVariables, options?: C): Promise<GqlEstimateGasPriceQuery>;
3465
4037
  getBalances(variables: GqlGetBalancesQueryVariables, options?: C): Promise<GqlGetBalancesQuery>;
3466
4038
  getMessages(variables: GqlGetMessagesQueryVariables, options?: C): Promise<GqlGetMessagesQuery>;
3467
4039
  getMessageProof(variables: GqlGetMessageProofQueryVariables, options?: C): Promise<GqlGetMessageProofQuery>;
3468
4040
  getMessageStatus(variables: GqlGetMessageStatusQueryVariables, options?: C): Promise<GqlGetMessageStatusQuery>;
4041
+ getRelayedTransactionStatus(variables: GqlGetRelayedTransactionStatusQueryVariables, options?: C): Promise<GqlGetRelayedTransactionStatusQuery>;
3469
4042
  dryRun(variables: GqlDryRunMutationVariables, options?: C): Promise<GqlDryRunMutation>;
3470
4043
  submit(variables: GqlSubmitMutationVariables, options?: C): Promise<GqlSubmitMutation>;
3471
4044
  produceBlocks(variables: GqlProduceBlocksMutationVariables, options?: C): Promise<GqlProduceBlocksMutation>;
4045
+ getMessageByNonce(variables: GqlGetMessageByNonceQueryVariables, options?: C): Promise<GqlGetMessageByNonceQuery>;
3472
4046
  submitAndAwait(variables: GqlSubmitAndAwaitSubscriptionVariables, options?: C): AsyncIterable<GqlSubmitAndAwaitSubscription>;
3473
4047
  statusChange(variables: GqlStatusChangeSubscriptionVariables, options?: C): AsyncIterable<GqlStatusChangeSubscription>;
3474
4048
  };