@fuel-ts/account 0.81.0 → 0.83.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 (57) hide show
  1. package/README.md +3 -3
  2. package/dist/account.d.ts +7 -6
  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 +890 -619
  12. package/dist/index.global.js.map +1 -1
  13. package/dist/index.js +853 -604
  14. package/dist/index.js.map +1 -1
  15. package/dist/index.mjs +696 -448
  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 +810 -359
  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 +7 -1
  26. package/dist/providers/message.d.ts.map +1 -1
  27. package/dist/providers/provider.d.ts +44 -27
  28. package/dist/providers/provider.d.ts.map +1 -1
  29. package/dist/providers/transaction-request/create-transaction-request.d.ts +1 -1
  30. package/dist/providers/transaction-request/create-transaction-request.d.ts.map +1 -1
  31. package/dist/providers/transaction-request/input.d.ts +2 -2
  32. package/dist/providers/transaction-request/input.d.ts.map +1 -1
  33. package/dist/providers/transaction-request/script-transaction-request.d.ts.map +1 -1
  34. package/dist/providers/transaction-request/transaction-request.d.ts +13 -33
  35. package/dist/providers/transaction-request/transaction-request.d.ts.map +1 -1
  36. package/dist/providers/transaction-request/utils.d.ts +3 -0
  37. package/dist/providers/transaction-request/utils.d.ts.map +1 -1
  38. package/dist/providers/transaction-response/transaction-response.d.ts.map +1 -1
  39. package/dist/providers/transaction-summary/assemble-transaction-summary.d.ts +2 -0
  40. package/dist/providers/transaction-summary/assemble-transaction-summary.d.ts.map +1 -1
  41. package/dist/providers/transaction-summary/calculate-transaction-fee.d.ts +3 -2
  42. package/dist/providers/transaction-summary/calculate-transaction-fee.d.ts.map +1 -1
  43. package/dist/providers/transaction-summary/get-transaction-summary.d.ts.map +1 -1
  44. package/dist/providers/utils/gas.d.ts +8 -2
  45. package/dist/providers/utils/gas.d.ts.map +1 -1
  46. package/dist/providers/utils/merge-quantities.d.ts +1 -1
  47. package/dist/providers/utils/merge-quantities.d.ts.map +1 -1
  48. package/dist/test-utils/launchNode.d.ts +1 -1
  49. package/dist/test-utils/launchNode.d.ts.map +1 -1
  50. package/dist/test-utils.global.js +1615 -1114
  51. package/dist/test-utils.global.js.map +1 -1
  52. package/dist/test-utils.js +841 -596
  53. package/dist/test-utils.js.map +1 -1
  54. package/dist/test-utils.mjs +696 -451
  55. package/dist/test-utils.mjs.map +1 -1
  56. package/dist/wallet/base-wallet-unlocked.d.ts.map +1 -1
  57. package/package.json +16 -16
@@ -31,7 +31,7 @@ export type Scalars = {
31
31
  Tai64Timestamp: string;
32
32
  TransactionId: string;
33
33
  TxPointer: any;
34
- U8: any;
34
+ U16: any;
35
35
  U32: any;
36
36
  U64: string;
37
37
  UtxoId: string;
@@ -67,6 +67,7 @@ export type GqlBlock = {
67
67
  __typename: 'Block';
68
68
  consensus: GqlConsensus;
69
69
  header: GqlHeader;
70
+ height: Scalars['U32'];
70
71
  id: Scalars['BlockId'];
71
72
  transactions: Array<GqlTransaction>;
72
73
  };
@@ -87,6 +88,7 @@ export type GqlBlockEdge = {
87
88
  /** The item at the end of the edge */
88
89
  node: GqlBlock;
89
90
  };
91
+ /** Breakpoint, defined as a tuple of contract ID and relative PC offset inside it */
90
92
  export type GqlBreakpoint = {
91
93
  contract: Scalars['ContractId'];
92
94
  pc: Scalars['U64'];
@@ -111,10 +113,9 @@ export type GqlCoin = {
111
113
  assetId: Scalars['AssetId'];
112
114
  /** TxPointer - the height of the block this coin was created in */
113
115
  blockCreated: Scalars['U32'];
114
- maturity: Scalars['U32'];
115
116
  owner: Scalars['Address'];
116
117
  /** TxPointer - the index of the transaction that created this coin */
117
- txCreatedIdx: Scalars['U64'];
118
+ txCreatedIdx: Scalars['U16'];
118
119
  utxoId: Scalars['UtxoId'];
119
120
  };
120
121
  export type GqlCoinConnection = {
@@ -152,14 +153,20 @@ export type GqlConsensus = GqlGenesis | GqlPoAConsensus;
152
153
  export type GqlConsensusParameters = {
153
154
  __typename: 'ConsensusParameters';
154
155
  baseAssetId: Scalars['AssetId'];
156
+ blockGasLimit: Scalars['U64'];
155
157
  chainId: Scalars['U64'];
156
158
  contractParams: GqlContractParameters;
157
159
  feeParams: GqlFeeParameters;
158
160
  gasCosts: GqlGasCosts;
159
161
  predicateParams: GqlPredicateParameters;
162
+ privilegedAddress: Scalars['Address'];
160
163
  scriptParams: GqlScriptParameters;
161
164
  txParams: GqlTxParameters;
165
+ version: GqlConsensusParametersVersion;
162
166
  };
167
+ export declare enum GqlConsensusParametersVersion {
168
+ V1 = "V1"
169
+ }
163
170
  export type GqlContract = {
164
171
  __typename: 'Contract';
165
172
  bytecode: Scalars['HexString'];
@@ -195,21 +202,47 @@ export type GqlContractBalanceFilterInput = {
195
202
  };
196
203
  export type GqlContractCreated = {
197
204
  __typename: 'ContractCreated';
198
- contract: GqlContract;
205
+ contract: Scalars['ContractId'];
199
206
  stateRoot: Scalars['Bytes32'];
200
207
  };
201
208
  export type GqlContractOutput = {
202
209
  __typename: 'ContractOutput';
203
210
  balanceRoot: Scalars['Bytes32'];
204
- inputIndex: Scalars['Int'];
211
+ inputIndex: Scalars['U16'];
205
212
  stateRoot: Scalars['Bytes32'];
206
213
  };
207
214
  export type GqlContractParameters = {
208
215
  __typename: 'ContractParameters';
209
216
  contractMaxSize: Scalars['U64'];
210
217
  maxStorageSlots: Scalars['U64'];
218
+ version: GqlContractParametersVersion;
211
219
  };
220
+ export declare enum GqlContractParametersVersion {
221
+ V1 = "V1"
222
+ }
212
223
  export type GqlDependentCost = GqlHeavyOperation | GqlLightOperation;
224
+ export type GqlDryRunFailureStatus = {
225
+ __typename: 'DryRunFailureStatus';
226
+ programState?: Maybe<GqlProgramState>;
227
+ reason: Scalars['String'];
228
+ receipts: Array<GqlReceipt>;
229
+ };
230
+ export type GqlDryRunSuccessStatus = {
231
+ __typename: 'DryRunSuccessStatus';
232
+ programState?: Maybe<GqlProgramState>;
233
+ receipts: Array<GqlReceipt>;
234
+ };
235
+ export type GqlDryRunTransactionExecutionStatus = {
236
+ __typename: 'DryRunTransactionExecutionStatus';
237
+ id: Scalars['TransactionId'];
238
+ receipts: Array<GqlReceipt>;
239
+ status: GqlDryRunTransactionStatus;
240
+ };
241
+ export type GqlDryRunTransactionStatus = GqlDryRunFailureStatus | GqlDryRunSuccessStatus;
242
+ export type GqlEstimateGasPrice = {
243
+ __typename: 'EstimateGasPrice';
244
+ gasPrice: Scalars['U64'];
245
+ };
213
246
  export type GqlExcludeInput = {
214
247
  /** Messages to exclude from the selection. */
215
248
  messages: Array<Scalars['Nonce']>;
@@ -229,7 +262,11 @@ export type GqlFeeParameters = {
229
262
  __typename: 'FeeParameters';
230
263
  gasPerByte: Scalars['U64'];
231
264
  gasPriceFactor: Scalars['U64'];
265
+ version: GqlFeeParametersVersion;
232
266
  };
267
+ export declare enum GqlFeeParametersVersion {
268
+ V1 = "V1"
269
+ }
233
270
  export type GqlGasCosts = {
234
271
  __typename: 'GasCosts';
235
272
  add: Scalars['U64'];
@@ -247,7 +284,7 @@ export type GqlGasCosts = {
247
284
  cfei: Scalars['U64'];
248
285
  cfsi: Scalars['U64'];
249
286
  contractRoot: GqlDependentCost;
250
- croo: Scalars['U64'];
287
+ croo: GqlDependentCost;
251
288
  csiz: GqlDependentCost;
252
289
  div: Scalars['U64'];
253
290
  divi: Scalars['U64'];
@@ -325,6 +362,7 @@ export type GqlGasCosts = {
325
362
  time: Scalars['U64'];
326
363
  tr: Scalars['U64'];
327
364
  tro: Scalars['U64'];
365
+ version: GqlGasCostsVersion;
328
366
  vmInitialization: GqlDependentCost;
329
367
  wdam: Scalars['U64'];
330
368
  wdcm: Scalars['U64'];
@@ -343,6 +381,9 @@ export type GqlGasCosts = {
343
381
  xor: Scalars['U64'];
344
382
  xori: Scalars['U64'];
345
383
  };
384
+ export declare enum GqlGasCostsVersion {
385
+ V1 = "V1"
386
+ }
346
387
  export type GqlGenesis = {
347
388
  __typename: 'Genesis';
348
389
  /**
@@ -361,18 +402,24 @@ export type GqlHeader = {
361
402
  __typename: 'Header';
362
403
  /** Hash of the application header. */
363
404
  applicationHash: Scalars['Bytes32'];
405
+ /** The version of the consensus parameters used to create this block. */
406
+ consensusParametersVersion: Scalars['U32'];
364
407
  /** The layer 1 height of messages and events to include since the last layer 1 block number. */
365
408
  daHeight: Scalars['U64'];
409
+ /** Merkle root of inbox events in this block. */
410
+ eventInboxRoot: Scalars['Bytes32'];
366
411
  /** Fuel block height. */
367
412
  height: Scalars['U32'];
368
413
  /** Hash of the header */
369
414
  id: Scalars['BlockId'];
415
+ /** Merkle root of message receipts in this block. */
416
+ messageOutboxRoot: Scalars['Bytes32'];
370
417
  /** Number of message receipts in this block. */
371
418
  messageReceiptCount: Scalars['U64'];
372
- /** Merkle root of message receipts in this block. */
373
- messageReceiptRoot: Scalars['Bytes32'];
374
419
  /** Merkle root of all previous block header hashes. */
375
420
  prevRoot: Scalars['Bytes32'];
421
+ /** The version of the state transition bytecode used to create this block. */
422
+ stateTransitionBytecodeVersion: Scalars['U32'];
376
423
  /** The block producer time. */
377
424
  time: Scalars['Tai64Timestamp'];
378
425
  /** Number of transactions in this block. */
@@ -390,7 +437,6 @@ export type GqlInputCoin = {
390
437
  __typename: 'InputCoin';
391
438
  amount: Scalars['U64'];
392
439
  assetId: Scalars['AssetId'];
393
- maturity: Scalars['U32'];
394
440
  owner: Scalars['Address'];
395
441
  predicate: Scalars['HexString'];
396
442
  predicateData: Scalars['HexString'];
@@ -402,7 +448,7 @@ export type GqlInputCoin = {
402
448
  export type GqlInputContract = {
403
449
  __typename: 'InputContract';
404
450
  balanceRoot: Scalars['Bytes32'];
405
- contract: GqlContract;
451
+ contractId: Scalars['ContractId'];
406
452
  stateRoot: Scalars['Bytes32'];
407
453
  txPointer: Scalars['TxPointer'];
408
454
  utxoId: Scalars['UtxoId'];
@@ -417,7 +463,12 @@ export type GqlInputMessage = {
417
463
  predicateGasUsed: Scalars['U64'];
418
464
  recipient: Scalars['Address'];
419
465
  sender: Scalars['Address'];
420
- witnessIndex: Scalars['Int'];
466
+ witnessIndex: Scalars['U16'];
467
+ };
468
+ export type GqlLatestGasPrice = {
469
+ __typename: 'LatestGasPrice';
470
+ blockHeight: Scalars['U32'];
471
+ gasPrice: Scalars['U64'];
421
472
  };
422
473
  export type GqlLightOperation = {
423
474
  __typename: 'LightOperation';
@@ -487,10 +538,16 @@ export type GqlMessageStatus = {
487
538
  };
488
539
  export type GqlMutation = {
489
540
  __typename: 'Mutation';
541
+ /**
542
+ * Resume execution of the VM instance after a breakpoint.
543
+ * Runs until the next breakpoint or until the transaction completes.
544
+ */
490
545
  continueTx: GqlRunResult;
491
- /** Execute a dry-run of the transaction using a fork of current state, no changes are committed. */
492
- dryRun: Array<GqlReceipt>;
546
+ /** Execute a dry-run of multiple transactions using a fork of current state, no changes are committed. */
547
+ dryRun: Array<GqlDryRunTransactionExecutionStatus>;
548
+ /** End debugger session. */
493
549
  endSession: Scalars['Boolean'];
550
+ /** Execute a single fuel-asm instruction. */
494
551
  execute: Scalars['Boolean'];
495
552
  /**
496
553
  * Sequentially produces `blocks_to_produce` blocks. The first block starts with
@@ -499,10 +556,23 @@ export type GqlMutation = {
499
556
  * them. The `start_timestamp` is the timestamp in seconds.
500
557
  */
501
558
  produceBlocks: Scalars['U32'];
559
+ /** Reset the VM instance to the initial state. */
502
560
  reset: Scalars['Boolean'];
561
+ /** Set a breakpoint for a VM instance. */
503
562
  setBreakpoint: Scalars['Boolean'];
563
+ /** Set single-stepping mode for the VM instance. */
504
564
  setSingleStepping: Scalars['Boolean'];
565
+ /**
566
+ * Initialize a new debugger session, returning its ID.
567
+ * A new VM instance is spawned for each session.
568
+ * The session is run in a separate database transaction,
569
+ * on top of the most recent node state.
570
+ */
505
571
  startSession: Scalars['ID'];
572
+ /**
573
+ * Run a single transaction in given session until it
574
+ * hits a breakpoint or completes.
575
+ */
506
576
  startTx: GqlRunResult;
507
577
  /**
508
578
  * Submits transaction to the `TxPool`.
@@ -515,7 +585,7 @@ export type GqlMutationContinueTxArgs = {
515
585
  id: Scalars['ID'];
516
586
  };
517
587
  export type GqlMutationDryRunArgs = {
518
- tx: Scalars['HexString'];
588
+ txs: Array<Scalars['HexString']>;
519
589
  utxoValidation?: InputMaybe<Scalars['Boolean']>;
520
590
  };
521
591
  export type GqlMutationEndSessionArgs = {
@@ -551,7 +621,6 @@ export type GqlNodeInfo = {
551
621
  __typename: 'NodeInfo';
552
622
  maxDepth: Scalars['U64'];
553
623
  maxTx: Scalars['U64'];
554
- minGasPrice: Scalars['U64'];
555
624
  nodeVersion: Scalars['String'];
556
625
  peers: Array<GqlPeerInfo>;
557
626
  utxoValidation: Scalars['Boolean'];
@@ -601,9 +670,9 @@ export type GqlPoAConsensus = {
601
670
  };
602
671
  export type GqlPolicies = {
603
672
  __typename: 'Policies';
604
- gasPrice?: Maybe<Scalars['U64']>;
605
673
  maturity?: Maybe<Scalars['U32']>;
606
674
  maxFee?: Maybe<Scalars['U64']>;
675
+ tip?: Maybe<Scalars['U64']>;
607
676
  witnessLimit?: Maybe<Scalars['U64']>;
608
677
  };
609
678
  export type GqlPredicateParameters = {
@@ -612,7 +681,11 @@ export type GqlPredicateParameters = {
612
681
  maxMessageDataLength: Scalars['U64'];
613
682
  maxPredicateDataLength: Scalars['U64'];
614
683
  maxPredicateLength: Scalars['U64'];
684
+ version: GqlPredicateParametersVersion;
615
685
  };
686
+ export declare enum GqlPredicateParametersVersion {
687
+ V1 = "V1"
688
+ }
616
689
  export type GqlProgramState = {
617
690
  __typename: 'ProgramState';
618
691
  data: Scalars['HexString'];
@@ -645,15 +718,20 @@ export type GqlQuery = {
645
718
  contract?: Maybe<GqlContract>;
646
719
  contractBalance: GqlContractBalance;
647
720
  contractBalances: GqlContractBalanceConnection;
721
+ estimateGasPrice: GqlEstimateGasPrice;
648
722
  /** Estimate the predicate gas for the provided transaction */
649
723
  estimatePredicates: GqlTransaction;
650
724
  /** Returns true when the GraphQL API is serving requests. */
651
725
  health: Scalars['Boolean'];
726
+ latestGasPrice: GqlLatestGasPrice;
727
+ /** Read read a range of memory bytes. */
652
728
  memory: Scalars['String'];
729
+ message?: Maybe<GqlMessage>;
653
730
  messageProof?: Maybe<GqlMessageProof>;
654
731
  messageStatus: GqlMessageStatus;
655
732
  messages: GqlMessageConnection;
656
733
  nodeInfo: GqlNodeInfo;
734
+ /** Read register value by index. */
657
735
  register: Scalars['U64'];
658
736
  transaction?: Maybe<GqlTransaction>;
659
737
  transactions: GqlTransactionConnection;
@@ -709,6 +787,9 @@ export type GqlQueryContractBalancesArgs = {
709
787
  first?: InputMaybe<Scalars['Int']>;
710
788
  last?: InputMaybe<Scalars['Int']>;
711
789
  };
790
+ export type GqlQueryEstimateGasPriceArgs = {
791
+ blockHorizon?: InputMaybe<Scalars['U32']>;
792
+ };
712
793
  export type GqlQueryEstimatePredicatesArgs = {
713
794
  tx: Scalars['HexString'];
714
795
  };
@@ -717,6 +798,9 @@ export type GqlQueryMemoryArgs = {
717
798
  size: Scalars['U32'];
718
799
  start: Scalars['U32'];
719
800
  };
801
+ export type GqlQueryMessageArgs = {
802
+ nonce: Scalars['Nonce'];
803
+ };
720
804
  export type GqlQueryMessageProofArgs = {
721
805
  commitBlockHeight?: InputMaybe<Scalars['U32']>;
722
806
  commitBlockId?: InputMaybe<Scalars['BlockId']>;
@@ -757,12 +841,13 @@ export type GqlReceipt = {
757
841
  __typename: 'Receipt';
758
842
  amount?: Maybe<Scalars['U64']>;
759
843
  assetId?: Maybe<Scalars['AssetId']>;
760
- contract?: Maybe<GqlContract>;
844
+ /** Set in the case of a Panic receipt to indicate a missing contract input id */
761
845
  contractId?: Maybe<Scalars['ContractId']>;
762
846
  data?: Maybe<Scalars['HexString']>;
763
847
  digest?: Maybe<Scalars['Bytes32']>;
764
848
  gas?: Maybe<Scalars['U64']>;
765
849
  gasUsed?: Maybe<Scalars['U64']>;
850
+ id?: Maybe<Scalars['ContractId']>;
766
851
  is?: Maybe<Scalars['U64']>;
767
852
  len?: Maybe<Scalars['U64']>;
768
853
  nonce?: Maybe<Scalars['Nonce']>;
@@ -780,7 +865,7 @@ export type GqlReceipt = {
780
865
  result?: Maybe<Scalars['U64']>;
781
866
  sender?: Maybe<Scalars['Address']>;
782
867
  subId?: Maybe<Scalars['Bytes32']>;
783
- to?: Maybe<GqlContract>;
868
+ to?: Maybe<Scalars['ContractId']>;
784
869
  toAddress?: Maybe<Scalars['Address']>;
785
870
  val?: Maybe<Scalars['U64']>;
786
871
  };
@@ -820,7 +905,11 @@ export type GqlScriptParameters = {
820
905
  __typename: 'ScriptParameters';
821
906
  maxScriptDataLength: Scalars['U64'];
822
907
  maxScriptLength: Scalars['U64'];
908
+ version: GqlScriptParametersVersion;
823
909
  };
910
+ export declare enum GqlScriptParametersVersion {
911
+ V1 = "V1"
912
+ }
824
913
  export type GqlSpendQueryElementInput = {
825
914
  /** Target amount for the query. */
826
915
  amount: Scalars['U64'];
@@ -873,13 +962,11 @@ export type GqlSuccessStatus = {
873
962
  };
874
963
  export type GqlTransaction = {
875
964
  __typename: 'Transaction';
876
- bytecodeLength?: Maybe<Scalars['U64']>;
877
- bytecodeWitnessIndex?: Maybe<Scalars['Int']>;
878
- gasPrice?: Maybe<Scalars['U64']>;
965
+ bytecodeWitnessIndex?: Maybe<Scalars['U16']>;
879
966
  id: Scalars['TransactionId'];
880
967
  inputAssetIds?: Maybe<Array<Scalars['AssetId']>>;
881
968
  inputContract?: Maybe<GqlInputContract>;
882
- inputContracts?: Maybe<Array<GqlContract>>;
969
+ inputContracts?: Maybe<Array<Scalars['ContractId']>>;
883
970
  inputs?: Maybe<Array<GqlInput>>;
884
971
  isCreate: Scalars['Boolean'];
885
972
  isMint: Scalars['Boolean'];
@@ -887,12 +974,12 @@ export type GqlTransaction = {
887
974
  maturity?: Maybe<Scalars['U32']>;
888
975
  mintAmount?: Maybe<Scalars['U64']>;
889
976
  mintAssetId?: Maybe<Scalars['AssetId']>;
977
+ mintGasPrice?: Maybe<Scalars['U64']>;
890
978
  outputContract?: Maybe<GqlContractOutput>;
891
979
  outputs: Array<GqlOutput>;
892
980
  policies?: Maybe<GqlPolicies>;
893
981
  /** Return the transaction bytes using canonical encoding */
894
982
  rawPayload: Scalars['HexString'];
895
- receipts?: Maybe<Array<GqlReceipt>>;
896
983
  receiptsRoot?: Maybe<Scalars['Bytes32']>;
897
984
  salt?: Maybe<Scalars['Salt']>;
898
985
  script?: Maybe<Scalars['HexString']>;
@@ -924,11 +1011,15 @@ export type GqlTransactionStatus = GqlFailureStatus | GqlSqueezedOutStatus | Gql
924
1011
  export type GqlTxParameters = {
925
1012
  __typename: 'TxParameters';
926
1013
  maxGasPerTx: Scalars['U64'];
927
- maxInputs: Scalars['U8'];
928
- maxOutputs: Scalars['U8'];
1014
+ maxInputs: Scalars['U16'];
1015
+ maxOutputs: Scalars['U16'];
929
1016
  maxSize: Scalars['U64'];
930
1017
  maxWitnesses: Scalars['U32'];
1018
+ version: GqlTxParametersVersion;
931
1019
  };
1020
+ export declare enum GqlTxParametersVersion {
1021
+ V1 = "V1"
1022
+ }
932
1023
  export type GqlVariableOutput = {
933
1024
  __typename: 'VariableOutput';
934
1025
  amount: Scalars['U64'];
@@ -944,6 +1035,37 @@ type GqlTransactionStatusFragment_FailureStatus_Fragment = {
944
1035
  __typename: 'Block';
945
1036
  id: string;
946
1037
  };
1038
+ receipts: Array<{
1039
+ __typename: 'Receipt';
1040
+ id?: string | null;
1041
+ pc?: string | null;
1042
+ is?: string | null;
1043
+ to?: string | null;
1044
+ toAddress?: string | null;
1045
+ amount?: string | null;
1046
+ assetId?: string | null;
1047
+ gas?: string | null;
1048
+ param1?: string | null;
1049
+ param2?: string | null;
1050
+ val?: string | null;
1051
+ ptr?: string | null;
1052
+ digest?: string | null;
1053
+ reason?: string | null;
1054
+ ra?: string | null;
1055
+ rb?: string | null;
1056
+ rc?: string | null;
1057
+ rd?: string | null;
1058
+ len?: string | null;
1059
+ receiptType: GqlReceiptType;
1060
+ result?: string | null;
1061
+ gasUsed?: string | null;
1062
+ data?: string | null;
1063
+ sender?: string | null;
1064
+ recipient?: string | null;
1065
+ nonce?: string | null;
1066
+ contractId?: string | null;
1067
+ subId?: string | null;
1068
+ }>;
947
1069
  };
948
1070
  type GqlTransactionStatusFragment_SqueezedOutStatus_Fragment = {
949
1071
  __typename: 'SqueezedOutStatus';
@@ -963,22 +1085,12 @@ type GqlTransactionStatusFragment_SuccessStatus_Fragment = {
963
1085
  __typename: 'Block';
964
1086
  id: string;
965
1087
  };
966
- programState?: {
967
- __typename: 'ProgramState';
968
- returnType: GqlReturnType;
969
- data: string;
970
- } | 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<{
1088
+ receipts: Array<{
979
1089
  __typename: 'Receipt';
1090
+ id?: string | null;
980
1091
  pc?: string | null;
981
1092
  is?: string | null;
1093
+ to?: string | null;
982
1094
  toAddress?: string | null;
983
1095
  amount?: string | null;
984
1096
  assetId?: string | null;
@@ -1003,15 +1115,36 @@ export type GqlTransactionFragmentFragment = {
1003
1115
  nonce?: string | null;
1004
1116
  contractId?: string | null;
1005
1117
  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;
1118
+ }>;
1119
+ programState?: {
1120
+ __typename: 'ProgramState';
1121
+ returnType: GqlReturnType;
1122
+ data: string;
1123
+ } | null;
1124
+ };
1125
+ export type GqlTransactionStatusFragmentFragment = GqlTransactionStatusFragment_FailureStatus_Fragment | GqlTransactionStatusFragment_SqueezedOutStatus_Fragment | GqlTransactionStatusFragment_SubmittedStatus_Fragment | GqlTransactionStatusFragment_SuccessStatus_Fragment;
1126
+ type GqlTransactionStatusSubscriptionFragment_FailureStatus_Fragment = {
1127
+ __typename: 'FailureStatus';
1128
+ type: 'FailureStatus';
1129
+ };
1130
+ type GqlTransactionStatusSubscriptionFragment_SqueezedOutStatus_Fragment = {
1131
+ __typename: 'SqueezedOutStatus';
1132
+ reason: string;
1133
+ type: 'SqueezedOutStatus';
1134
+ };
1135
+ type GqlTransactionStatusSubscriptionFragment_SubmittedStatus_Fragment = {
1136
+ __typename: 'SubmittedStatus';
1137
+ type: 'SubmittedStatus';
1138
+ };
1139
+ type GqlTransactionStatusSubscriptionFragment_SuccessStatus_Fragment = {
1140
+ __typename: 'SuccessStatus';
1141
+ type: 'SuccessStatus';
1142
+ };
1143
+ export type GqlTransactionStatusSubscriptionFragmentFragment = GqlTransactionStatusSubscriptionFragment_FailureStatus_Fragment | GqlTransactionStatusSubscriptionFragment_SqueezedOutStatus_Fragment | GqlTransactionStatusSubscriptionFragment_SubmittedStatus_Fragment | GqlTransactionStatusSubscriptionFragment_SuccessStatus_Fragment;
1144
+ export type GqlTransactionFragmentFragment = {
1145
+ __typename: 'Transaction';
1146
+ id: string;
1147
+ rawPayload: string;
1015
1148
  status?: {
1016
1149
  __typename: 'FailureStatus';
1017
1150
  time: string;
@@ -1021,6 +1154,37 @@ export type GqlTransactionFragmentFragment = {
1021
1154
  __typename: 'Block';
1022
1155
  id: string;
1023
1156
  };
1157
+ receipts: Array<{
1158
+ __typename: 'Receipt';
1159
+ id?: string | null;
1160
+ pc?: string | null;
1161
+ is?: string | null;
1162
+ to?: string | null;
1163
+ toAddress?: string | null;
1164
+ amount?: string | null;
1165
+ assetId?: string | null;
1166
+ gas?: string | null;
1167
+ param1?: string | null;
1168
+ param2?: string | null;
1169
+ val?: string | null;
1170
+ ptr?: string | null;
1171
+ digest?: string | null;
1172
+ reason?: string | null;
1173
+ ra?: string | null;
1174
+ rb?: string | null;
1175
+ rc?: string | null;
1176
+ rd?: string | null;
1177
+ len?: string | null;
1178
+ receiptType: GqlReceiptType;
1179
+ result?: string | null;
1180
+ gasUsed?: string | null;
1181
+ data?: string | null;
1182
+ sender?: string | null;
1183
+ recipient?: string | null;
1184
+ nonce?: string | null;
1185
+ contractId?: string | null;
1186
+ subId?: string | null;
1187
+ }>;
1024
1188
  } | {
1025
1189
  __typename: 'SqueezedOutStatus';
1026
1190
  reason: string;
@@ -1037,6 +1201,37 @@ export type GqlTransactionFragmentFragment = {
1037
1201
  __typename: 'Block';
1038
1202
  id: string;
1039
1203
  };
1204
+ receipts: Array<{
1205
+ __typename: 'Receipt';
1206
+ id?: string | null;
1207
+ pc?: string | null;
1208
+ is?: string | null;
1209
+ to?: string | null;
1210
+ toAddress?: string | null;
1211
+ amount?: string | null;
1212
+ assetId?: string | null;
1213
+ gas?: string | null;
1214
+ param1?: string | null;
1215
+ param2?: string | null;
1216
+ val?: string | null;
1217
+ ptr?: string | null;
1218
+ digest?: string | null;
1219
+ reason?: string | null;
1220
+ ra?: string | null;
1221
+ rb?: string | null;
1222
+ rc?: string | null;
1223
+ rd?: string | null;
1224
+ len?: string | null;
1225
+ receiptType: GqlReceiptType;
1226
+ result?: string | null;
1227
+ gasUsed?: string | null;
1228
+ data?: string | null;
1229
+ sender?: string | null;
1230
+ recipient?: string | null;
1231
+ nonce?: string | null;
1232
+ contractId?: string | null;
1233
+ subId?: string | null;
1234
+ }>;
1040
1235
  programState?: {
1041
1236
  __typename: 'ProgramState';
1042
1237
  returnType: GqlReturnType;
@@ -1068,10 +1263,29 @@ export type GqlTransactionEstimatePredicatesFragmentFragment = {
1068
1263
  predicateGasUsed: string;
1069
1264
  }> | null;
1070
1265
  };
1266
+ export type GqlDryRunFailureStatusFragmentFragment = {
1267
+ __typename: 'DryRunFailureStatus';
1268
+ reason: string;
1269
+ programState?: {
1270
+ __typename: 'ProgramState';
1271
+ returnType: GqlReturnType;
1272
+ data: string;
1273
+ } | null;
1274
+ };
1275
+ export type GqlDryRunSuccessStatusFragmentFragment = {
1276
+ __typename: 'DryRunSuccessStatus';
1277
+ programState?: {
1278
+ __typename: 'ProgramState';
1279
+ returnType: GqlReturnType;
1280
+ data: string;
1281
+ } | null;
1282
+ };
1071
1283
  export type GqlReceiptFragmentFragment = {
1072
1284
  __typename: 'Receipt';
1285
+ id?: string | null;
1073
1286
  pc?: string | null;
1074
1287
  is?: string | null;
1288
+ to?: string | null;
1075
1289
  toAddress?: string | null;
1076
1290
  amount?: string | null;
1077
1291
  assetId?: string | null;
@@ -1096,21 +1310,82 @@ export type GqlReceiptFragmentFragment = {
1096
1310
  nonce?: string | null;
1097
1311
  contractId?: string | null;
1098
1312
  subId?: string | null;
1099
- contract?: {
1100
- __typename: 'Contract';
1101
- id: string;
1313
+ };
1314
+ type GqlDryRunTransactionStatusFragment_DryRunFailureStatus_Fragment = {
1315
+ __typename: 'DryRunFailureStatus';
1316
+ reason: string;
1317
+ programState?: {
1318
+ __typename: 'ProgramState';
1319
+ returnType: GqlReturnType;
1320
+ data: string;
1102
1321
  } | null;
1103
- to?: {
1104
- __typename: 'Contract';
1105
- id: string;
1322
+ };
1323
+ type GqlDryRunTransactionStatusFragment_DryRunSuccessStatus_Fragment = {
1324
+ __typename: 'DryRunSuccessStatus';
1325
+ programState?: {
1326
+ __typename: 'ProgramState';
1327
+ returnType: GqlReturnType;
1328
+ data: string;
1106
1329
  } | null;
1107
1330
  };
1331
+ export type GqlDryRunTransactionStatusFragmentFragment = GqlDryRunTransactionStatusFragment_DryRunFailureStatus_Fragment | GqlDryRunTransactionStatusFragment_DryRunSuccessStatus_Fragment;
1332
+ export type GqlDryRunTransactionExecutionStatusFragmentFragment = {
1333
+ __typename: 'DryRunTransactionExecutionStatus';
1334
+ id: string;
1335
+ status: {
1336
+ __typename: 'DryRunFailureStatus';
1337
+ reason: string;
1338
+ programState?: {
1339
+ __typename: 'ProgramState';
1340
+ returnType: GqlReturnType;
1341
+ data: string;
1342
+ } | null;
1343
+ } | {
1344
+ __typename: 'DryRunSuccessStatus';
1345
+ programState?: {
1346
+ __typename: 'ProgramState';
1347
+ returnType: GqlReturnType;
1348
+ data: string;
1349
+ } | null;
1350
+ };
1351
+ receipts: Array<{
1352
+ __typename: 'Receipt';
1353
+ id?: string | null;
1354
+ pc?: string | null;
1355
+ is?: string | null;
1356
+ to?: string | null;
1357
+ toAddress?: string | null;
1358
+ amount?: string | null;
1359
+ assetId?: string | null;
1360
+ gas?: string | null;
1361
+ param1?: string | null;
1362
+ param2?: string | null;
1363
+ val?: string | null;
1364
+ ptr?: string | null;
1365
+ digest?: string | null;
1366
+ reason?: string | null;
1367
+ ra?: string | null;
1368
+ rb?: string | null;
1369
+ rc?: string | null;
1370
+ rd?: string | null;
1371
+ len?: string | null;
1372
+ receiptType: GqlReceiptType;
1373
+ result?: string | null;
1374
+ gasUsed?: string | null;
1375
+ data?: string | null;
1376
+ sender?: string | null;
1377
+ recipient?: string | null;
1378
+ nonce?: string | null;
1379
+ contractId?: string | null;
1380
+ subId?: string | null;
1381
+ }>;
1382
+ };
1108
1383
  export type GqlBlockFragmentFragment = {
1109
1384
  __typename: 'Block';
1110
1385
  id: string;
1386
+ height: any;
1111
1387
  header: {
1112
1388
  __typename: 'Header';
1113
- height: any;
1114
1389
  time: string;
1115
1390
  };
1116
1391
  transactions: Array<{
@@ -1124,9 +1399,8 @@ export type GqlCoinFragmentFragment = {
1124
1399
  owner: string;
1125
1400
  amount: string;
1126
1401
  assetId: string;
1127
- maturity: any;
1128
1402
  blockCreated: any;
1129
- txCreatedIdx: string;
1403
+ txCreatedIdx: any;
1130
1404
  };
1131
1405
  export type GqlMessageCoinFragmentFragment = {
1132
1406
  __typename: 'MessageCoin';
@@ -1167,27 +1441,33 @@ export type GqlMessageProofFragmentFragment = {
1167
1441
  __typename: 'Header';
1168
1442
  id: string;
1169
1443
  daHeight: string;
1444
+ consensusParametersVersion: any;
1445
+ stateTransitionBytecodeVersion: any;
1170
1446
  transactionsCount: string;
1447
+ messageReceiptCount: string;
1171
1448
  transactionsRoot: string;
1449
+ messageOutboxRoot: string;
1450
+ eventInboxRoot: string;
1172
1451
  height: any;
1173
1452
  prevRoot: string;
1174
1453
  time: string;
1175
1454
  applicationHash: string;
1176
- messageReceiptRoot: string;
1177
- messageReceiptCount: string;
1178
1455
  };
1179
1456
  commitBlockHeader: {
1180
1457
  __typename: 'Header';
1181
1458
  id: string;
1182
1459
  daHeight: string;
1460
+ consensusParametersVersion: any;
1461
+ stateTransitionBytecodeVersion: any;
1183
1462
  transactionsCount: string;
1463
+ messageReceiptCount: string;
1184
1464
  transactionsRoot: string;
1465
+ messageOutboxRoot: string;
1466
+ eventInboxRoot: string;
1185
1467
  height: any;
1186
1468
  prevRoot: string;
1187
1469
  time: string;
1188
1470
  applicationHash: string;
1189
- messageReceiptRoot: string;
1190
- messageReceiptCount: string;
1191
1471
  };
1192
1472
  };
1193
1473
  export type GqlBalanceFragmentFragment = {
@@ -1198,6 +1478,7 @@ export type GqlBalanceFragmentFragment = {
1198
1478
  };
1199
1479
  export type GqlTxParametersFragmentFragment = {
1200
1480
  __typename: 'TxParameters';
1481
+ version: GqlTxParametersVersion;
1201
1482
  maxInputs: any;
1202
1483
  maxOutputs: any;
1203
1484
  maxWitnesses: any;
@@ -1206,6 +1487,7 @@ export type GqlTxParametersFragmentFragment = {
1206
1487
  };
1207
1488
  export type GqlPredicateParametersFragmentFragment = {
1208
1489
  __typename: 'PredicateParameters';
1490
+ version: GqlPredicateParametersVersion;
1209
1491
  maxPredicateLength: string;
1210
1492
  maxPredicateDataLength: string;
1211
1493
  maxGasPerPredicate: string;
@@ -1213,16 +1495,19 @@ export type GqlPredicateParametersFragmentFragment = {
1213
1495
  };
1214
1496
  export type GqlScriptParametersFragmentFragment = {
1215
1497
  __typename: 'ScriptParameters';
1498
+ version: GqlScriptParametersVersion;
1216
1499
  maxScriptLength: string;
1217
1500
  maxScriptDataLength: string;
1218
1501
  };
1219
1502
  export type GqlContractParametersFragmentFragment = {
1220
1503
  __typename: 'ContractParameters';
1504
+ version: GqlContractParametersVersion;
1221
1505
  contractMaxSize: string;
1222
1506
  maxStorageSlots: string;
1223
1507
  };
1224
1508
  export type GqlFeeParametersFragmentFragment = {
1225
1509
  __typename: 'FeeParameters';
1510
+ version: GqlFeeParametersVersion;
1226
1511
  gasPriceFactor: string;
1227
1512
  gasPerByte: string;
1228
1513
  };
@@ -1239,6 +1524,7 @@ type GqlDependentCostFragment_LightOperation_Fragment = {
1239
1524
  export type GqlDependentCostFragmentFragment = GqlDependentCostFragment_HeavyOperation_Fragment | GqlDependentCostFragment_LightOperation_Fragment;
1240
1525
  export type GqlGasCostsFragmentFragment = {
1241
1526
  __typename: 'GasCosts';
1527
+ version: GqlGasCostsVersion;
1242
1528
  add: string;
1243
1529
  addi: string;
1244
1530
  aloc: string;
@@ -1251,7 +1537,6 @@ export type GqlGasCostsFragmentFragment = {
1251
1537
  cb: string;
1252
1538
  cfei: string;
1253
1539
  cfsi: string;
1254
- croo: string;
1255
1540
  div: string;
1256
1541
  divi: string;
1257
1542
  ecr1: string;
@@ -1347,6 +1632,15 @@ export type GqlGasCostsFragmentFragment = {
1347
1632
  base: string;
1348
1633
  unitsPerGas: string;
1349
1634
  };
1635
+ croo: {
1636
+ __typename: 'HeavyOperation';
1637
+ base: string;
1638
+ gasPerUnit: string;
1639
+ } | {
1640
+ __typename: 'LightOperation';
1641
+ base: string;
1642
+ unitsPerGas: string;
1643
+ };
1350
1644
  csiz: {
1351
1645
  __typename: 'HeavyOperation';
1352
1646
  base: string;
@@ -1512,10 +1806,12 @@ export type GqlGasCostsFragmentFragment = {
1512
1806
  };
1513
1807
  export type GqlConsensusParametersFragmentFragment = {
1514
1808
  __typename: 'ConsensusParameters';
1809
+ version: GqlConsensusParametersVersion;
1515
1810
  baseAssetId: string;
1516
1811
  chainId: string;
1517
1812
  txParams: {
1518
1813
  __typename: 'TxParameters';
1814
+ version: GqlTxParametersVersion;
1519
1815
  maxInputs: any;
1520
1816
  maxOutputs: any;
1521
1817
  maxWitnesses: any;
@@ -1524,6 +1820,7 @@ export type GqlConsensusParametersFragmentFragment = {
1524
1820
  };
1525
1821
  predicateParams: {
1526
1822
  __typename: 'PredicateParameters';
1823
+ version: GqlPredicateParametersVersion;
1527
1824
  maxPredicateLength: string;
1528
1825
  maxPredicateDataLength: string;
1529
1826
  maxGasPerPredicate: string;
@@ -1531,21 +1828,25 @@ export type GqlConsensusParametersFragmentFragment = {
1531
1828
  };
1532
1829
  scriptParams: {
1533
1830
  __typename: 'ScriptParameters';
1831
+ version: GqlScriptParametersVersion;
1534
1832
  maxScriptLength: string;
1535
1833
  maxScriptDataLength: string;
1536
1834
  };
1537
1835
  contractParams: {
1538
1836
  __typename: 'ContractParameters';
1837
+ version: GqlContractParametersVersion;
1539
1838
  contractMaxSize: string;
1540
1839
  maxStorageSlots: string;
1541
1840
  };
1542
1841
  feeParams: {
1543
1842
  __typename: 'FeeParameters';
1843
+ version: GqlFeeParametersVersion;
1544
1844
  gasPriceFactor: string;
1545
1845
  gasPerByte: string;
1546
1846
  };
1547
1847
  gasCosts: {
1548
1848
  __typename: 'GasCosts';
1849
+ version: GqlGasCostsVersion;
1549
1850
  add: string;
1550
1851
  addi: string;
1551
1852
  aloc: string;
@@ -1558,7 +1859,6 @@ export type GqlConsensusParametersFragmentFragment = {
1558
1859
  cb: string;
1559
1860
  cfei: string;
1560
1861
  cfsi: string;
1561
- croo: string;
1562
1862
  div: string;
1563
1863
  divi: string;
1564
1864
  ecr1: string;
@@ -1654,6 +1954,15 @@ export type GqlConsensusParametersFragmentFragment = {
1654
1954
  base: string;
1655
1955
  unitsPerGas: string;
1656
1956
  };
1957
+ croo: {
1958
+ __typename: 'HeavyOperation';
1959
+ base: string;
1960
+ gasPerUnit: string;
1961
+ } | {
1962
+ __typename: 'LightOperation';
1963
+ base: string;
1964
+ unitsPerGas: string;
1965
+ };
1657
1966
  csiz: {
1658
1967
  __typename: 'HeavyOperation';
1659
1968
  base: string;
@@ -1825,9 +2134,9 @@ export type GqlChainInfoFragmentFragment = {
1825
2134
  latestBlock: {
1826
2135
  __typename: 'Block';
1827
2136
  id: string;
2137
+ height: any;
1828
2138
  header: {
1829
2139
  __typename: 'Header';
1830
- height: any;
1831
2140
  time: string;
1832
2141
  };
1833
2142
  transactions: Array<{
@@ -1837,10 +2146,12 @@ export type GqlChainInfoFragmentFragment = {
1837
2146
  };
1838
2147
  consensusParameters: {
1839
2148
  __typename: 'ConsensusParameters';
2149
+ version: GqlConsensusParametersVersion;
1840
2150
  baseAssetId: string;
1841
2151
  chainId: string;
1842
2152
  txParams: {
1843
2153
  __typename: 'TxParameters';
2154
+ version: GqlTxParametersVersion;
1844
2155
  maxInputs: any;
1845
2156
  maxOutputs: any;
1846
2157
  maxWitnesses: any;
@@ -1849,6 +2160,7 @@ export type GqlChainInfoFragmentFragment = {
1849
2160
  };
1850
2161
  predicateParams: {
1851
2162
  __typename: 'PredicateParameters';
2163
+ version: GqlPredicateParametersVersion;
1852
2164
  maxPredicateLength: string;
1853
2165
  maxPredicateDataLength: string;
1854
2166
  maxGasPerPredicate: string;
@@ -1856,21 +2168,25 @@ export type GqlChainInfoFragmentFragment = {
1856
2168
  };
1857
2169
  scriptParams: {
1858
2170
  __typename: 'ScriptParameters';
2171
+ version: GqlScriptParametersVersion;
1859
2172
  maxScriptLength: string;
1860
2173
  maxScriptDataLength: string;
1861
2174
  };
1862
2175
  contractParams: {
1863
2176
  __typename: 'ContractParameters';
2177
+ version: GqlContractParametersVersion;
1864
2178
  contractMaxSize: string;
1865
2179
  maxStorageSlots: string;
1866
2180
  };
1867
2181
  feeParams: {
1868
2182
  __typename: 'FeeParameters';
2183
+ version: GqlFeeParametersVersion;
1869
2184
  gasPriceFactor: string;
1870
2185
  gasPerByte: string;
1871
2186
  };
1872
2187
  gasCosts: {
1873
2188
  __typename: 'GasCosts';
2189
+ version: GqlGasCostsVersion;
1874
2190
  add: string;
1875
2191
  addi: string;
1876
2192
  aloc: string;
@@ -1883,7 +2199,6 @@ export type GqlChainInfoFragmentFragment = {
1883
2199
  cb: string;
1884
2200
  cfei: string;
1885
2201
  cfsi: string;
1886
- croo: string;
1887
2202
  div: string;
1888
2203
  divi: string;
1889
2204
  ecr1: string;
@@ -1979,6 +2294,15 @@ export type GqlChainInfoFragmentFragment = {
1979
2294
  base: string;
1980
2295
  unitsPerGas: string;
1981
2296
  };
2297
+ croo: {
2298
+ __typename: 'HeavyOperation';
2299
+ base: string;
2300
+ gasPerUnit: string;
2301
+ } | {
2302
+ __typename: 'LightOperation';
2303
+ base: string;
2304
+ unitsPerGas: string;
2305
+ };
1982
2306
  csiz: {
1983
2307
  __typename: 'HeavyOperation';
1984
2308
  base: string;
@@ -2171,19 +2495,9 @@ export type GqlNodeInfoFragmentFragment = {
2171
2495
  __typename: 'NodeInfo';
2172
2496
  utxoValidation: boolean;
2173
2497
  vmBacktrace: boolean;
2174
- minGasPrice: string;
2175
2498
  maxTx: string;
2176
2499
  maxDepth: string;
2177
2500
  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
- }>;
2187
2501
  };
2188
2502
  export type GqlGetNodeInfoQueryVariables = Exact<{
2189
2503
  [key: string]: never;
@@ -2194,19 +2508,9 @@ export type GqlGetNodeInfoQuery = {
2194
2508
  __typename: 'NodeInfo';
2195
2509
  utxoValidation: boolean;
2196
2510
  vmBacktrace: boolean;
2197
- minGasPrice: string;
2198
2511
  maxTx: string;
2199
2512
  maxDepth: string;
2200
2513
  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
2514
  };
2211
2515
  };
2212
2516
  export type GqlGetChainQueryVariables = Exact<{
@@ -2221,9 +2525,9 @@ export type GqlGetChainQuery = {
2221
2525
  latestBlock: {
2222
2526
  __typename: 'Block';
2223
2527
  id: string;
2528
+ height: any;
2224
2529
  header: {
2225
2530
  __typename: 'Header';
2226
- height: any;
2227
2531
  time: string;
2228
2532
  };
2229
2533
  transactions: Array<{
@@ -2233,10 +2537,12 @@ export type GqlGetChainQuery = {
2233
2537
  };
2234
2538
  consensusParameters: {
2235
2539
  __typename: 'ConsensusParameters';
2540
+ version: GqlConsensusParametersVersion;
2236
2541
  baseAssetId: string;
2237
2542
  chainId: string;
2238
2543
  txParams: {
2239
2544
  __typename: 'TxParameters';
2545
+ version: GqlTxParametersVersion;
2240
2546
  maxInputs: any;
2241
2547
  maxOutputs: any;
2242
2548
  maxWitnesses: any;
@@ -2245,6 +2551,7 @@ export type GqlGetChainQuery = {
2245
2551
  };
2246
2552
  predicateParams: {
2247
2553
  __typename: 'PredicateParameters';
2554
+ version: GqlPredicateParametersVersion;
2248
2555
  maxPredicateLength: string;
2249
2556
  maxPredicateDataLength: string;
2250
2557
  maxGasPerPredicate: string;
@@ -2252,21 +2559,25 @@ export type GqlGetChainQuery = {
2252
2559
  };
2253
2560
  scriptParams: {
2254
2561
  __typename: 'ScriptParameters';
2562
+ version: GqlScriptParametersVersion;
2255
2563
  maxScriptLength: string;
2256
2564
  maxScriptDataLength: string;
2257
2565
  };
2258
2566
  contractParams: {
2259
2567
  __typename: 'ContractParameters';
2568
+ version: GqlContractParametersVersion;
2260
2569
  contractMaxSize: string;
2261
2570
  maxStorageSlots: string;
2262
2571
  };
2263
2572
  feeParams: {
2264
2573
  __typename: 'FeeParameters';
2574
+ version: GqlFeeParametersVersion;
2265
2575
  gasPriceFactor: string;
2266
2576
  gasPerByte: string;
2267
2577
  };
2268
2578
  gasCosts: {
2269
2579
  __typename: 'GasCosts';
2580
+ version: GqlGasCostsVersion;
2270
2581
  add: string;
2271
2582
  addi: string;
2272
2583
  aloc: string;
@@ -2279,7 +2590,6 @@ export type GqlGetChainQuery = {
2279
2590
  cb: string;
2280
2591
  cfei: string;
2281
2592
  cfsi: string;
2282
- croo: string;
2283
2593
  div: string;
2284
2594
  divi: string;
2285
2595
  ecr1: string;
@@ -2375,6 +2685,15 @@ export type GqlGetChainQuery = {
2375
2685
  base: string;
2376
2686
  unitsPerGas: string;
2377
2687
  };
2688
+ croo: {
2689
+ __typename: 'HeavyOperation';
2690
+ base: string;
2691
+ gasPerUnit: string;
2692
+ } | {
2693
+ __typename: 'LightOperation';
2694
+ base: string;
2695
+ unitsPerGas: string;
2696
+ };
2378
2697
  csiz: {
2379
2698
  __typename: 'HeavyOperation';
2380
2699
  base: string;
@@ -2550,44 +2869,6 @@ export type GqlGetTransactionQuery = {
2550
2869
  __typename: 'Transaction';
2551
2870
  id: string;
2552
2871
  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
2872
  status?: {
2592
2873
  __typename: 'FailureStatus';
2593
2874
  time: string;
@@ -2597,6 +2878,37 @@ export type GqlGetTransactionQuery = {
2597
2878
  __typename: 'Block';
2598
2879
  id: string;
2599
2880
  };
2881
+ receipts: Array<{
2882
+ __typename: 'Receipt';
2883
+ id?: string | null;
2884
+ pc?: string | null;
2885
+ is?: string | null;
2886
+ to?: string | null;
2887
+ toAddress?: string | null;
2888
+ amount?: string | null;
2889
+ assetId?: string | null;
2890
+ gas?: string | null;
2891
+ param1?: string | null;
2892
+ param2?: string | null;
2893
+ val?: string | null;
2894
+ ptr?: string | null;
2895
+ digest?: string | null;
2896
+ reason?: string | null;
2897
+ ra?: string | null;
2898
+ rb?: string | null;
2899
+ rc?: string | null;
2900
+ rd?: string | null;
2901
+ len?: string | null;
2902
+ receiptType: GqlReceiptType;
2903
+ result?: string | null;
2904
+ gasUsed?: string | null;
2905
+ data?: string | null;
2906
+ sender?: string | null;
2907
+ recipient?: string | null;
2908
+ nonce?: string | null;
2909
+ contractId?: string | null;
2910
+ subId?: string | null;
2911
+ }>;
2600
2912
  } | {
2601
2913
  __typename: 'SqueezedOutStatus';
2602
2914
  reason: string;
@@ -2613,6 +2925,37 @@ export type GqlGetTransactionQuery = {
2613
2925
  __typename: 'Block';
2614
2926
  id: string;
2615
2927
  };
2928
+ receipts: Array<{
2929
+ __typename: 'Receipt';
2930
+ id?: string | null;
2931
+ pc?: string | null;
2932
+ is?: string | null;
2933
+ to?: string | null;
2934
+ toAddress?: string | null;
2935
+ amount?: string | null;
2936
+ assetId?: string | null;
2937
+ gas?: string | null;
2938
+ param1?: string | null;
2939
+ param2?: string | null;
2940
+ val?: string | null;
2941
+ ptr?: string | null;
2942
+ digest?: string | null;
2943
+ reason?: string | null;
2944
+ ra?: string | null;
2945
+ rb?: string | null;
2946
+ rc?: string | null;
2947
+ rd?: string | null;
2948
+ len?: string | null;
2949
+ receiptType: GqlReceiptType;
2950
+ result?: string | null;
2951
+ gasUsed?: string | null;
2952
+ data?: string | null;
2953
+ sender?: string | null;
2954
+ recipient?: string | null;
2955
+ nonce?: string | null;
2956
+ contractId?: string | null;
2957
+ subId?: string | null;
2958
+ }>;
2616
2959
  programState?: {
2617
2960
  __typename: 'ProgramState';
2618
2961
  returnType: GqlReturnType;
@@ -2630,44 +2973,6 @@ export type GqlGetTransactionWithReceiptsQuery = {
2630
2973
  __typename: 'Transaction';
2631
2974
  id: string;
2632
2975
  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
2976
  status?: {
2672
2977
  __typename: 'FailureStatus';
2673
2978
  time: string;
@@ -2677,6 +2982,37 @@ export type GqlGetTransactionWithReceiptsQuery = {
2677
2982
  __typename: 'Block';
2678
2983
  id: string;
2679
2984
  };
2985
+ receipts: Array<{
2986
+ __typename: 'Receipt';
2987
+ id?: string | null;
2988
+ pc?: string | null;
2989
+ is?: string | null;
2990
+ to?: string | null;
2991
+ toAddress?: string | null;
2992
+ amount?: string | null;
2993
+ assetId?: string | null;
2994
+ gas?: string | null;
2995
+ param1?: string | null;
2996
+ param2?: string | null;
2997
+ val?: string | null;
2998
+ ptr?: string | null;
2999
+ digest?: string | null;
3000
+ reason?: string | null;
3001
+ ra?: string | null;
3002
+ rb?: string | null;
3003
+ rc?: string | null;
3004
+ rd?: string | null;
3005
+ len?: string | null;
3006
+ receiptType: GqlReceiptType;
3007
+ result?: string | null;
3008
+ gasUsed?: string | null;
3009
+ data?: string | null;
3010
+ sender?: string | null;
3011
+ recipient?: string | null;
3012
+ nonce?: string | null;
3013
+ contractId?: string | null;
3014
+ subId?: string | null;
3015
+ }>;
2680
3016
  } | {
2681
3017
  __typename: 'SqueezedOutStatus';
2682
3018
  reason: string;
@@ -2693,6 +3029,37 @@ export type GqlGetTransactionWithReceiptsQuery = {
2693
3029
  __typename: 'Block';
2694
3030
  id: string;
2695
3031
  };
3032
+ receipts: Array<{
3033
+ __typename: 'Receipt';
3034
+ id?: string | null;
3035
+ pc?: string | null;
3036
+ is?: string | null;
3037
+ to?: string | null;
3038
+ toAddress?: string | null;
3039
+ amount?: string | null;
3040
+ assetId?: string | null;
3041
+ gas?: string | null;
3042
+ param1?: string | null;
3043
+ param2?: string | null;
3044
+ val?: string | null;
3045
+ ptr?: string | null;
3046
+ digest?: string | null;
3047
+ reason?: string | null;
3048
+ ra?: string | null;
3049
+ rb?: string | null;
3050
+ rc?: string | null;
3051
+ rd?: string | null;
3052
+ len?: string | null;
3053
+ receiptType: GqlReceiptType;
3054
+ result?: string | null;
3055
+ gasUsed?: string | null;
3056
+ data?: string | null;
3057
+ sender?: string | null;
3058
+ recipient?: string | null;
3059
+ nonce?: string | null;
3060
+ contractId?: string | null;
3061
+ subId?: string | null;
3062
+ }>;
2696
3063
  programState?: {
2697
3064
  __typename: 'ProgramState';
2698
3065
  returnType: GqlReturnType;
@@ -2717,44 +3084,6 @@ export type GqlGetTransactionsQuery = {
2717
3084
  __typename: 'Transaction';
2718
3085
  id: string;
2719
3086
  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
3087
  status?: {
2759
3088
  __typename: 'FailureStatus';
2760
3089
  time: string;
@@ -2764,6 +3093,37 @@ export type GqlGetTransactionsQuery = {
2764
3093
  __typename: 'Block';
2765
3094
  id: string;
2766
3095
  };
3096
+ receipts: Array<{
3097
+ __typename: 'Receipt';
3098
+ id?: string | null;
3099
+ pc?: string | null;
3100
+ is?: string | null;
3101
+ to?: string | null;
3102
+ toAddress?: string | null;
3103
+ amount?: string | null;
3104
+ assetId?: string | null;
3105
+ gas?: string | null;
3106
+ param1?: string | null;
3107
+ param2?: string | null;
3108
+ val?: string | null;
3109
+ ptr?: string | null;
3110
+ digest?: string | null;
3111
+ reason?: string | null;
3112
+ ra?: string | null;
3113
+ rb?: string | null;
3114
+ rc?: string | null;
3115
+ rd?: string | null;
3116
+ len?: string | null;
3117
+ receiptType: GqlReceiptType;
3118
+ result?: string | null;
3119
+ gasUsed?: string | null;
3120
+ data?: string | null;
3121
+ sender?: string | null;
3122
+ recipient?: string | null;
3123
+ nonce?: string | null;
3124
+ contractId?: string | null;
3125
+ subId?: string | null;
3126
+ }>;
2767
3127
  } | {
2768
3128
  __typename: 'SqueezedOutStatus';
2769
3129
  reason: string;
@@ -2780,6 +3140,37 @@ export type GqlGetTransactionsQuery = {
2780
3140
  __typename: 'Block';
2781
3141
  id: string;
2782
3142
  };
3143
+ receipts: Array<{
3144
+ __typename: 'Receipt';
3145
+ id?: string | null;
3146
+ pc?: string | null;
3147
+ is?: string | null;
3148
+ to?: string | null;
3149
+ toAddress?: string | null;
3150
+ amount?: string | null;
3151
+ assetId?: string | null;
3152
+ gas?: string | null;
3153
+ param1?: string | null;
3154
+ param2?: string | null;
3155
+ val?: string | null;
3156
+ ptr?: string | null;
3157
+ digest?: string | null;
3158
+ reason?: string | null;
3159
+ ra?: string | null;
3160
+ rb?: string | null;
3161
+ rc?: string | null;
3162
+ rd?: string | null;
3163
+ len?: string | null;
3164
+ receiptType: GqlReceiptType;
3165
+ result?: string | null;
3166
+ gasUsed?: string | null;
3167
+ data?: string | null;
3168
+ sender?: string | null;
3169
+ recipient?: string | null;
3170
+ nonce?: string | null;
3171
+ contractId?: string | null;
3172
+ subId?: string | null;
3173
+ }>;
2783
3174
  programState?: {
2784
3175
  __typename: 'ProgramState';
2785
3176
  returnType: GqlReturnType;
@@ -2814,44 +3205,6 @@ export type GqlGetTransactionsByOwnerQuery = {
2814
3205
  __typename: 'Transaction';
2815
3206
  id: string;
2816
3207
  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
3208
  status?: {
2856
3209
  __typename: 'FailureStatus';
2857
3210
  time: string;
@@ -2861,6 +3214,37 @@ export type GqlGetTransactionsByOwnerQuery = {
2861
3214
  __typename: 'Block';
2862
3215
  id: string;
2863
3216
  };
3217
+ receipts: Array<{
3218
+ __typename: 'Receipt';
3219
+ id?: string | null;
3220
+ pc?: string | null;
3221
+ is?: string | null;
3222
+ to?: string | null;
3223
+ toAddress?: string | null;
3224
+ amount?: string | null;
3225
+ assetId?: string | null;
3226
+ gas?: string | null;
3227
+ param1?: string | null;
3228
+ param2?: string | null;
3229
+ val?: string | null;
3230
+ ptr?: string | null;
3231
+ digest?: string | null;
3232
+ reason?: string | null;
3233
+ ra?: string | null;
3234
+ rb?: string | null;
3235
+ rc?: string | null;
3236
+ rd?: string | null;
3237
+ len?: string | null;
3238
+ receiptType: GqlReceiptType;
3239
+ result?: string | null;
3240
+ gasUsed?: string | null;
3241
+ data?: string | null;
3242
+ sender?: string | null;
3243
+ recipient?: string | null;
3244
+ nonce?: string | null;
3245
+ contractId?: string | null;
3246
+ subId?: string | null;
3247
+ }>;
2864
3248
  } | {
2865
3249
  __typename: 'SqueezedOutStatus';
2866
3250
  reason: string;
@@ -2877,6 +3261,37 @@ export type GqlGetTransactionsByOwnerQuery = {
2877
3261
  __typename: 'Block';
2878
3262
  id: string;
2879
3263
  };
3264
+ receipts: Array<{
3265
+ __typename: 'Receipt';
3266
+ id?: string | null;
3267
+ pc?: string | null;
3268
+ is?: string | null;
3269
+ to?: string | null;
3270
+ toAddress?: string | null;
3271
+ amount?: string | null;
3272
+ assetId?: string | null;
3273
+ gas?: string | null;
3274
+ param1?: string | null;
3275
+ param2?: string | null;
3276
+ val?: string | null;
3277
+ ptr?: string | null;
3278
+ digest?: string | null;
3279
+ reason?: string | null;
3280
+ ra?: string | null;
3281
+ rb?: string | null;
3282
+ rc?: string | null;
3283
+ rd?: string | null;
3284
+ len?: string | null;
3285
+ receiptType: GqlReceiptType;
3286
+ result?: string | null;
3287
+ gasUsed?: string | null;
3288
+ data?: string | null;
3289
+ sender?: string | null;
3290
+ recipient?: string | null;
3291
+ nonce?: string | null;
3292
+ contractId?: string | null;
3293
+ subId?: string | null;
3294
+ }>;
2880
3295
  programState?: {
2881
3296
  __typename: 'ProgramState';
2882
3297
  returnType: GqlReturnType;
@@ -2914,9 +3329,9 @@ export type GqlGetBlockQuery = {
2914
3329
  block?: {
2915
3330
  __typename: 'Block';
2916
3331
  id: string;
3332
+ height: any;
2917
3333
  header: {
2918
3334
  __typename: 'Header';
2919
- height: any;
2920
3335
  time: string;
2921
3336
  };
2922
3337
  transactions: Array<{
@@ -2934,48 +3349,11 @@ export type GqlGetBlockWithTransactionsQuery = {
2934
3349
  block?: {
2935
3350
  __typename: 'Block';
2936
3351
  id: string;
3352
+ height: any;
2937
3353
  transactions: Array<{
2938
3354
  __typename: 'Transaction';
2939
3355
  id: string;
2940
3356
  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
3357
  status?: {
2980
3358
  __typename: 'FailureStatus';
2981
3359
  time: string;
@@ -2985,6 +3363,37 @@ export type GqlGetBlockWithTransactionsQuery = {
2985
3363
  __typename: 'Block';
2986
3364
  id: string;
2987
3365
  };
3366
+ receipts: Array<{
3367
+ __typename: 'Receipt';
3368
+ id?: string | null;
3369
+ pc?: string | null;
3370
+ is?: string | null;
3371
+ to?: string | null;
3372
+ toAddress?: string | null;
3373
+ amount?: string | null;
3374
+ assetId?: string | null;
3375
+ gas?: string | null;
3376
+ param1?: string | null;
3377
+ param2?: string | null;
3378
+ val?: string | null;
3379
+ ptr?: string | null;
3380
+ digest?: string | null;
3381
+ reason?: string | null;
3382
+ ra?: string | null;
3383
+ rb?: string | null;
3384
+ rc?: string | null;
3385
+ rd?: string | null;
3386
+ len?: string | null;
3387
+ receiptType: GqlReceiptType;
3388
+ result?: string | null;
3389
+ gasUsed?: string | null;
3390
+ data?: string | null;
3391
+ sender?: string | null;
3392
+ recipient?: string | null;
3393
+ nonce?: string | null;
3394
+ contractId?: string | null;
3395
+ subId?: string | null;
3396
+ }>;
2988
3397
  } | {
2989
3398
  __typename: 'SqueezedOutStatus';
2990
3399
  reason: string;
@@ -3001,6 +3410,37 @@ export type GqlGetBlockWithTransactionsQuery = {
3001
3410
  __typename: 'Block';
3002
3411
  id: string;
3003
3412
  };
3413
+ receipts: Array<{
3414
+ __typename: 'Receipt';
3415
+ id?: string | null;
3416
+ pc?: string | null;
3417
+ is?: string | null;
3418
+ to?: string | null;
3419
+ toAddress?: string | null;
3420
+ amount?: string | null;
3421
+ assetId?: string | null;
3422
+ gas?: string | null;
3423
+ param1?: string | null;
3424
+ param2?: string | null;
3425
+ val?: string | null;
3426
+ ptr?: string | null;
3427
+ digest?: string | null;
3428
+ reason?: string | null;
3429
+ ra?: string | null;
3430
+ rb?: string | null;
3431
+ rc?: string | null;
3432
+ rd?: string | null;
3433
+ len?: string | null;
3434
+ receiptType: GqlReceiptType;
3435
+ result?: string | null;
3436
+ gasUsed?: string | null;
3437
+ data?: string | null;
3438
+ sender?: string | null;
3439
+ recipient?: string | null;
3440
+ nonce?: string | null;
3441
+ contractId?: string | null;
3442
+ subId?: string | null;
3443
+ }>;
3004
3444
  programState?: {
3005
3445
  __typename: 'ProgramState';
3006
3446
  returnType: GqlReturnType;
@@ -3010,7 +3450,6 @@ export type GqlGetBlockWithTransactionsQuery = {
3010
3450
  }>;
3011
3451
  header: {
3012
3452
  __typename: 'Header';
3013
- height: any;
3014
3453
  time: string;
3015
3454
  };
3016
3455
  } | null;
@@ -3030,9 +3469,9 @@ export type GqlGetBlocksQuery = {
3030
3469
  node: {
3031
3470
  __typename: 'Block';
3032
3471
  id: string;
3472
+ height: any;
3033
3473
  header: {
3034
3474
  __typename: 'Header';
3035
- height: any;
3036
3475
  time: string;
3037
3476
  };
3038
3477
  transactions: Array<{
@@ -3054,9 +3493,8 @@ export type GqlGetCoinQuery = {
3054
3493
  owner: string;
3055
3494
  amount: string;
3056
3495
  assetId: string;
3057
- maturity: any;
3058
3496
  blockCreated: any;
3059
- txCreatedIdx: string;
3497
+ txCreatedIdx: any;
3060
3498
  } | null;
3061
3499
  };
3062
3500
  export type GqlGetCoinsQueryVariables = Exact<{
@@ -3078,9 +3516,8 @@ export type GqlGetCoinsQuery = {
3078
3516
  owner: string;
3079
3517
  amount: string;
3080
3518
  assetId: string;
3081
- maturity: any;
3082
3519
  blockCreated: any;
3083
- txCreatedIdx: string;
3520
+ txCreatedIdx: any;
3084
3521
  };
3085
3522
  }>;
3086
3523
  };
@@ -3098,9 +3535,8 @@ export type GqlGetCoinsToSpendQuery = {
3098
3535
  owner: string;
3099
3536
  amount: string;
3100
3537
  assetId: string;
3101
- maturity: any;
3102
3538
  blockCreated: any;
3103
- txCreatedIdx: string;
3539
+ txCreatedIdx: any;
3104
3540
  } | {
3105
3541
  __typename: 'MessageCoin';
3106
3542
  sender: string;
@@ -3148,6 +3584,26 @@ export type GqlGetBalanceQuery = {
3148
3584
  assetId: string;
3149
3585
  };
3150
3586
  };
3587
+ export type GqlGetLatestGasPriceQueryVariables = Exact<{
3588
+ [key: string]: never;
3589
+ }>;
3590
+ export type GqlGetLatestGasPriceQuery = {
3591
+ __typename: 'Query';
3592
+ latestGasPrice: {
3593
+ __typename: 'LatestGasPrice';
3594
+ gasPrice: string;
3595
+ };
3596
+ };
3597
+ export type GqlEstimateGasPriceQueryVariables = Exact<{
3598
+ blockHorizon: Scalars['U32'];
3599
+ }>;
3600
+ export type GqlEstimateGasPriceQuery = {
3601
+ __typename: 'Query';
3602
+ estimateGasPrice: {
3603
+ __typename: 'EstimateGasPrice';
3604
+ gasPrice: string;
3605
+ };
3606
+ };
3151
3607
  export type GqlGetBalancesQueryVariables = Exact<{
3152
3608
  filter: GqlBalanceFilterInput;
3153
3609
  after?: InputMaybe<Scalars['String']>;
@@ -3224,27 +3680,33 @@ export type GqlGetMessageProofQuery = {
3224
3680
  __typename: 'Header';
3225
3681
  id: string;
3226
3682
  daHeight: string;
3683
+ consensusParametersVersion: any;
3684
+ stateTransitionBytecodeVersion: any;
3227
3685
  transactionsCount: string;
3686
+ messageReceiptCount: string;
3228
3687
  transactionsRoot: string;
3688
+ messageOutboxRoot: string;
3689
+ eventInboxRoot: string;
3229
3690
  height: any;
3230
3691
  prevRoot: string;
3231
3692
  time: string;
3232
3693
  applicationHash: string;
3233
- messageReceiptRoot: string;
3234
- messageReceiptCount: string;
3235
3694
  };
3236
3695
  commitBlockHeader: {
3237
3696
  __typename: 'Header';
3238
3697
  id: string;
3239
3698
  daHeight: string;
3699
+ consensusParametersVersion: any;
3700
+ stateTransitionBytecodeVersion: any;
3240
3701
  transactionsCount: string;
3702
+ messageReceiptCount: string;
3241
3703
  transactionsRoot: string;
3704
+ messageOutboxRoot: string;
3705
+ eventInboxRoot: string;
3242
3706
  height: any;
3243
3707
  prevRoot: string;
3244
3708
  time: string;
3245
3709
  applicationHash: string;
3246
- messageReceiptRoot: string;
3247
- messageReceiptCount: string;
3248
3710
  };
3249
3711
  } | null;
3250
3712
  };
@@ -3259,47 +3721,61 @@ export type GqlGetMessageStatusQuery = {
3259
3721
  };
3260
3722
  };
3261
3723
  export type GqlDryRunMutationVariables = Exact<{
3262
- encodedTransaction: Scalars['HexString'];
3724
+ encodedTransactions: Array<Scalars['HexString']> | Scalars['HexString'];
3263
3725
  utxoValidation?: InputMaybe<Scalars['Boolean']>;
3264
3726
  }>;
3265
3727
  export type GqlDryRunMutation = {
3266
3728
  __typename: 'Mutation';
3267
3729
  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;
3730
+ __typename: 'DryRunTransactionExecutionStatus';
3731
+ id: string;
3732
+ status: {
3733
+ __typename: 'DryRunFailureStatus';
3734
+ reason: string;
3735
+ programState?: {
3736
+ __typename: 'ProgramState';
3737
+ returnType: GqlReturnType;
3738
+ data: string;
3739
+ } | null;
3740
+ } | {
3741
+ __typename: 'DryRunSuccessStatus';
3742
+ programState?: {
3743
+ __typename: 'ProgramState';
3744
+ returnType: GqlReturnType;
3745
+ data: string;
3746
+ } | null;
3747
+ };
3748
+ receipts: Array<{
3749
+ __typename: 'Receipt';
3750
+ id?: string | null;
3751
+ pc?: string | null;
3752
+ is?: string | null;
3753
+ to?: string | null;
3754
+ toAddress?: string | null;
3755
+ amount?: string | null;
3756
+ assetId?: string | null;
3757
+ gas?: string | null;
3758
+ param1?: string | null;
3759
+ param2?: string | null;
3760
+ val?: string | null;
3761
+ ptr?: string | null;
3762
+ digest?: string | null;
3763
+ reason?: string | null;
3764
+ ra?: string | null;
3765
+ rb?: string | null;
3766
+ rc?: string | null;
3767
+ rd?: string | null;
3768
+ len?: string | null;
3769
+ receiptType: GqlReceiptType;
3770
+ result?: string | null;
3771
+ gasUsed?: string | null;
3772
+ data?: string | null;
3773
+ sender?: string | null;
3774
+ recipient?: string | null;
3775
+ nonce?: string | null;
3776
+ contractId?: string | null;
3777
+ subId?: string | null;
3778
+ }>;
3303
3779
  }>;
3304
3780
  };
3305
3781
  export type GqlSubmitMutationVariables = Exact<{
@@ -3327,34 +3803,17 @@ export type GqlSubmitAndAwaitSubscription = {
3327
3803
  __typename: 'Subscription';
3328
3804
  submitAndAwait: {
3329
3805
  __typename: 'FailureStatus';
3330
- time: string;
3331
- reason: string;
3332
3806
  type: 'FailureStatus';
3333
- block: {
3334
- __typename: 'Block';
3335
- id: string;
3336
- };
3337
3807
  } | {
3338
3808
  __typename: 'SqueezedOutStatus';
3339
3809
  reason: string;
3340
3810
  type: 'SqueezedOutStatus';
3341
3811
  } | {
3342
3812
  __typename: 'SubmittedStatus';
3343
- time: string;
3344
3813
  type: 'SubmittedStatus';
3345
3814
  } | {
3346
3815
  __typename: 'SuccessStatus';
3347
- time: string;
3348
3816
  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
3817
  };
3359
3818
  };
3360
3819
  export type GqlStatusChangeSubscriptionVariables = Exact<{
@@ -3364,41 +3823,29 @@ export type GqlStatusChangeSubscription = {
3364
3823
  __typename: 'Subscription';
3365
3824
  statusChange: {
3366
3825
  __typename: 'FailureStatus';
3367
- time: string;
3368
- reason: string;
3369
3826
  type: 'FailureStatus';
3370
- block: {
3371
- __typename: 'Block';
3372
- id: string;
3373
- };
3374
3827
  } | {
3375
3828
  __typename: 'SqueezedOutStatus';
3376
3829
  reason: string;
3377
3830
  type: 'SqueezedOutStatus';
3378
3831
  } | {
3379
3832
  __typename: 'SubmittedStatus';
3380
- time: string;
3381
3833
  type: 'SubmittedStatus';
3382
3834
  } | {
3383
3835
  __typename: 'SuccessStatus';
3384
- time: string;
3385
3836
  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
3837
  };
3396
3838
  };
3839
+ export declare const TransactionStatusSubscriptionFragmentFragmentDoc: DocumentNode;
3397
3840
  export declare const ReceiptFragmentFragmentDoc: DocumentNode;
3398
3841
  export declare const TransactionStatusFragmentFragmentDoc: DocumentNode;
3399
3842
  export declare const TransactionFragmentFragmentDoc: DocumentNode;
3400
3843
  export declare const InputEstimatePredicatesFragmentFragmentDoc: DocumentNode;
3401
3844
  export declare const TransactionEstimatePredicatesFragmentFragmentDoc: DocumentNode;
3845
+ export declare const DryRunFailureStatusFragmentFragmentDoc: DocumentNode;
3846
+ export declare const DryRunSuccessStatusFragmentFragmentDoc: DocumentNode;
3847
+ export declare const DryRunTransactionStatusFragmentFragmentDoc: DocumentNode;
3848
+ export declare const DryRunTransactionExecutionStatusFragmentFragmentDoc: DocumentNode;
3402
3849
  export declare const CoinFragmentFragmentDoc: DocumentNode;
3403
3850
  export declare const MessageCoinFragmentFragmentDoc: DocumentNode;
3404
3851
  export declare const MessageFragmentFragmentDoc: DocumentNode;
@@ -3434,6 +3881,8 @@ export declare const GetCoinsToSpendDocument: DocumentNode;
3434
3881
  export declare const GetContractDocument: DocumentNode;
3435
3882
  export declare const GetContractBalanceDocument: DocumentNode;
3436
3883
  export declare const GetBalanceDocument: DocumentNode;
3884
+ export declare const GetLatestGasPriceDocument: DocumentNode;
3885
+ export declare const EstimateGasPriceDocument: DocumentNode;
3437
3886
  export declare const GetBalancesDocument: DocumentNode;
3438
3887
  export declare const GetMessagesDocument: DocumentNode;
3439
3888
  export declare const GetMessageProofDocument: DocumentNode;
@@ -3462,6 +3911,8 @@ export declare function getSdk<C, E>(requester: Requester<C, E>): {
3462
3911
  getContract(variables: GqlGetContractQueryVariables, options?: C): Promise<GqlGetContractQuery>;
3463
3912
  getContractBalance(variables: GqlGetContractBalanceQueryVariables, options?: C): Promise<GqlGetContractBalanceQuery>;
3464
3913
  getBalance(variables: GqlGetBalanceQueryVariables, options?: C): Promise<GqlGetBalanceQuery>;
3914
+ getLatestGasPrice(variables?: GqlGetLatestGasPriceQueryVariables, options?: C): Promise<GqlGetLatestGasPriceQuery>;
3915
+ estimateGasPrice(variables: GqlEstimateGasPriceQueryVariables, options?: C): Promise<GqlEstimateGasPriceQuery>;
3465
3916
  getBalances(variables: GqlGetBalancesQueryVariables, options?: C): Promise<GqlGetBalancesQuery>;
3466
3917
  getMessages(variables: GqlGetMessagesQueryVariables, options?: C): Promise<GqlGetMessagesQuery>;
3467
3918
  getMessageProof(variables: GqlGetMessageProofQueryVariables, options?: C): Promise<GqlGetMessageProofQuery>;