@fuel-ts/account 0.0.0-rc-1976-20240424110729 → 0.0.0-rc-2021-20240424121206

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 (56) hide show
  1. package/README.md +1 -1
  2. package/dist/account.d.ts +5 -4
  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 +861 -611
  12. package/dist/index.global.js.map +1 -1
  13. package/dist/index.js +864 -608
  14. package/dist/index.js.map +1 -1
  15. package/dist/index.mjs +706 -451
  16. package/dist/index.mjs.map +1 -1
  17. package/dist/predicate/predicate.d.ts +10 -2
  18. package/dist/predicate/predicate.d.ts.map +1 -1
  19. package/dist/providers/__generated__/operations.d.ts +822 -328
  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 +37 -34
  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 +1 -1
  34. package/dist/providers/transaction-request/script-transaction-request.d.ts.map +1 -1
  35. package/dist/providers/transaction-request/transaction-request.d.ts +8 -32
  36. package/dist/providers/transaction-request/transaction-request.d.ts.map +1 -1
  37. package/dist/providers/transaction-request/utils.d.ts +3 -0
  38. package/dist/providers/transaction-request/utils.d.ts.map +1 -1
  39. package/dist/providers/transaction-response/transaction-response.d.ts.map +1 -1
  40. package/dist/providers/transaction-summary/assemble-transaction-summary.d.ts +2 -0
  41. package/dist/providers/transaction-summary/assemble-transaction-summary.d.ts.map +1 -1
  42. package/dist/providers/transaction-summary/calculate-transaction-fee.d.ts +3 -2
  43. package/dist/providers/transaction-summary/calculate-transaction-fee.d.ts.map +1 -1
  44. package/dist/providers/transaction-summary/get-transaction-summary.d.ts.map +1 -1
  45. package/dist/providers/utils/gas.d.ts +8 -2
  46. package/dist/providers/utils/gas.d.ts.map +1 -1
  47. package/dist/test-utils/launchNode.d.ts.map +1 -1
  48. package/dist/test-utils/seedTestWallet.d.ts.map +1 -1
  49. package/dist/test-utils.global.js +1578 -1114
  50. package/dist/test-utils.global.js.map +1 -1
  51. package/dist/test-utils.js +845 -609
  52. package/dist/test-utils.js.map +1 -1
  53. package/dist/test-utils.mjs +699 -463
  54. package/dist/test-utils.mjs.map +1 -1
  55. package/dist/wallet/base-wallet-unlocked.d.ts.map +1 -1
  56. package/package.json +16 -16
@@ -32,6 +32,7 @@ export type Scalars = {
32
32
  TransactionId: string;
33
33
  TxPointer: any;
34
34
  U8: any;
35
+ U16: any;
35
36
  U32: any;
36
37
  U64: string;
37
38
  UtxoId: string;
@@ -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,18 @@ 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;
162
167
  };
168
+ export type GqlConsensusParametersVersion = GqlVersion;
163
169
  export type GqlContract = {
164
170
  __typename: 'Contract';
165
171
  bytecode: Scalars['HexString'];
@@ -195,21 +201,45 @@ export type GqlContractBalanceFilterInput = {
195
201
  };
196
202
  export type GqlContractCreated = {
197
203
  __typename: 'ContractCreated';
198
- contract: GqlContract;
204
+ contract: Scalars['ContractId'];
199
205
  stateRoot: Scalars['Bytes32'];
200
206
  };
201
207
  export type GqlContractOutput = {
202
208
  __typename: 'ContractOutput';
203
209
  balanceRoot: Scalars['Bytes32'];
204
- inputIndex: Scalars['Int'];
210
+ inputIndex: Scalars['U16'];
205
211
  stateRoot: Scalars['Bytes32'];
206
212
  };
207
213
  export type GqlContractParameters = {
208
214
  __typename: 'ContractParameters';
209
215
  contractMaxSize: Scalars['U64'];
210
216
  maxStorageSlots: Scalars['U64'];
217
+ version: GqlContractParametersVersion;
211
218
  };
219
+ export type GqlContractParametersVersion = GqlVersion;
212
220
  export type GqlDependentCost = GqlHeavyOperation | GqlLightOperation;
221
+ export type GqlDryRunFailureStatus = {
222
+ __typename: 'DryRunFailureStatus';
223
+ programState?: Maybe<GqlProgramState>;
224
+ reason: Scalars['String'];
225
+ receipts: Array<GqlReceipt>;
226
+ };
227
+ export type GqlDryRunSuccessStatus = {
228
+ __typename: 'DryRunSuccessStatus';
229
+ programState?: Maybe<GqlProgramState>;
230
+ receipts: Array<GqlReceipt>;
231
+ };
232
+ export type GqlDryRunTransactionExecutionStatus = {
233
+ __typename: 'DryRunTransactionExecutionStatus';
234
+ id: Scalars['TransactionId'];
235
+ receipts: Array<GqlReceipt>;
236
+ status: GqlDryRunTransactionStatus;
237
+ };
238
+ export type GqlDryRunTransactionStatus = GqlDryRunFailureStatus | GqlDryRunSuccessStatus;
239
+ export type GqlEstimateGasPrice = {
240
+ __typename: 'EstimateGasPrice';
241
+ gasPrice: Scalars['U64'];
242
+ };
213
243
  export type GqlExcludeInput = {
214
244
  /** Messages to exclude from the selection. */
215
245
  messages: Array<Scalars['Nonce']>;
@@ -229,7 +259,9 @@ export type GqlFeeParameters = {
229
259
  __typename: 'FeeParameters';
230
260
  gasPerByte: Scalars['U64'];
231
261
  gasPriceFactor: Scalars['U64'];
262
+ version: GqlFeeParametersVersion;
232
263
  };
264
+ export type GqlFeeParametersVersion = GqlVersion;
233
265
  export type GqlGasCosts = {
234
266
  __typename: 'GasCosts';
235
267
  add: Scalars['U64'];
@@ -247,7 +279,7 @@ export type GqlGasCosts = {
247
279
  cfei: Scalars['U64'];
248
280
  cfsi: Scalars['U64'];
249
281
  contractRoot: GqlDependentCost;
250
- croo: Scalars['U64'];
282
+ croo: GqlDependentCost;
251
283
  csiz: GqlDependentCost;
252
284
  div: Scalars['U64'];
253
285
  divi: Scalars['U64'];
@@ -325,6 +357,7 @@ export type GqlGasCosts = {
325
357
  time: Scalars['U64'];
326
358
  tr: Scalars['U64'];
327
359
  tro: Scalars['U64'];
360
+ version: GqlGasCostsVersion;
328
361
  vmInitialization: GqlDependentCost;
329
362
  wdam: Scalars['U64'];
330
363
  wdcm: Scalars['U64'];
@@ -343,6 +376,7 @@ export type GqlGasCosts = {
343
376
  xor: Scalars['U64'];
344
377
  xori: Scalars['U64'];
345
378
  };
379
+ export type GqlGasCostsVersion = GqlVersion;
346
380
  export type GqlGenesis = {
347
381
  __typename: 'Genesis';
348
382
  /**
@@ -361,18 +395,24 @@ export type GqlHeader = {
361
395
  __typename: 'Header';
362
396
  /** Hash of the application header. */
363
397
  applicationHash: Scalars['Bytes32'];
398
+ /** The version of the consensus parameters used to create this block. */
399
+ consensusParametersVersion: Scalars['U32'];
364
400
  /** The layer 1 height of messages and events to include since the last layer 1 block number. */
365
401
  daHeight: Scalars['U64'];
402
+ /** Merkle root of inbox events in this block. */
403
+ eventInboxRoot: Scalars['Bytes32'];
366
404
  /** Fuel block height. */
367
405
  height: Scalars['U32'];
368
406
  /** Hash of the header */
369
407
  id: Scalars['BlockId'];
408
+ /** Merkle root of message receipts in this block. */
409
+ messageOutboxRoot: Scalars['Bytes32'];
370
410
  /** Number of message receipts in this block. */
371
411
  messageReceiptCount: Scalars['U64'];
372
- /** Merkle root of message receipts in this block. */
373
- messageReceiptRoot: Scalars['Bytes32'];
374
412
  /** Merkle root of all previous block header hashes. */
375
413
  prevRoot: Scalars['Bytes32'];
414
+ /** The version of the state transition bytecode used to create this block. */
415
+ stateTransitionBytecodeVersion: Scalars['U32'];
376
416
  /** The block producer time. */
377
417
  time: Scalars['Tai64Timestamp'];
378
418
  /** Number of transactions in this block. */
@@ -390,7 +430,6 @@ export type GqlInputCoin = {
390
430
  __typename: 'InputCoin';
391
431
  amount: Scalars['U64'];
392
432
  assetId: Scalars['AssetId'];
393
- maturity: Scalars['U32'];
394
433
  owner: Scalars['Address'];
395
434
  predicate: Scalars['HexString'];
396
435
  predicateData: Scalars['HexString'];
@@ -402,7 +441,7 @@ export type GqlInputCoin = {
402
441
  export type GqlInputContract = {
403
442
  __typename: 'InputContract';
404
443
  balanceRoot: Scalars['Bytes32'];
405
- contract: GqlContract;
444
+ contractId: Scalars['ContractId'];
406
445
  stateRoot: Scalars['Bytes32'];
407
446
  txPointer: Scalars['TxPointer'];
408
447
  utxoId: Scalars['UtxoId'];
@@ -417,7 +456,12 @@ export type GqlInputMessage = {
417
456
  predicateGasUsed: Scalars['U64'];
418
457
  recipient: Scalars['Address'];
419
458
  sender: Scalars['Address'];
420
- witnessIndex: Scalars['Int'];
459
+ witnessIndex: Scalars['U16'];
460
+ };
461
+ export type GqlLatestGasPrice = {
462
+ __typename: 'LatestGasPrice';
463
+ blockHeight: Scalars['U32'];
464
+ gasPrice: Scalars['U64'];
421
465
  };
422
466
  export type GqlLightOperation = {
423
467
  __typename: 'LightOperation';
@@ -487,10 +531,16 @@ export type GqlMessageStatus = {
487
531
  };
488
532
  export type GqlMutation = {
489
533
  __typename: 'Mutation';
534
+ /**
535
+ * Resume execution of the VM instance after a breakpoint.
536
+ * Runs until the next breakpoint or until the transaction completes.
537
+ */
490
538
  continueTx: GqlRunResult;
491
- /** Execute a dry-run of the transaction using a fork of current state, no changes are committed. */
492
- dryRun: Array<GqlReceipt>;
539
+ /** Execute a dry-run of multiple transactions using a fork of current state, no changes are committed. */
540
+ dryRun: Array<GqlDryRunTransactionExecutionStatus>;
541
+ /** End debugger session. */
493
542
  endSession: Scalars['Boolean'];
543
+ /** Execute a single fuel-asm instruction. */
494
544
  execute: Scalars['Boolean'];
495
545
  /**
496
546
  * Sequentially produces `blocks_to_produce` blocks. The first block starts with
@@ -499,10 +549,23 @@ export type GqlMutation = {
499
549
  * them. The `start_timestamp` is the timestamp in seconds.
500
550
  */
501
551
  produceBlocks: Scalars['U32'];
552
+ /** Reset the VM instance to the initial state. */
502
553
  reset: Scalars['Boolean'];
554
+ /** Set a breakpoint for a VM instance. */
503
555
  setBreakpoint: Scalars['Boolean'];
556
+ /** Set single-stepping mode for the VM instance. */
504
557
  setSingleStepping: Scalars['Boolean'];
558
+ /**
559
+ * Initialize a new debugger session, returning its ID.
560
+ * A new VM instance is spawned for each session.
561
+ * The session is run in a separate database transaction,
562
+ * on top of the most recent node state.
563
+ */
505
564
  startSession: Scalars['ID'];
565
+ /**
566
+ * Run a single transaction in given session until it
567
+ * hits a breakpoint or completes.
568
+ */
506
569
  startTx: GqlRunResult;
507
570
  /**
508
571
  * Submits transaction to the `TxPool`.
@@ -515,7 +578,7 @@ export type GqlMutationContinueTxArgs = {
515
578
  id: Scalars['ID'];
516
579
  };
517
580
  export type GqlMutationDryRunArgs = {
518
- tx: Scalars['HexString'];
581
+ txs: Array<Scalars['HexString']>;
519
582
  utxoValidation?: InputMaybe<Scalars['Boolean']>;
520
583
  };
521
584
  export type GqlMutationEndSessionArgs = {
@@ -551,7 +614,6 @@ export type GqlNodeInfo = {
551
614
  __typename: 'NodeInfo';
552
615
  maxDepth: Scalars['U64'];
553
616
  maxTx: Scalars['U64'];
554
- minGasPrice: Scalars['U64'];
555
617
  nodeVersion: Scalars['String'];
556
618
  peers: Array<GqlPeerInfo>;
557
619
  utxoValidation: Scalars['Boolean'];
@@ -601,9 +663,9 @@ export type GqlPoAConsensus = {
601
663
  };
602
664
  export type GqlPolicies = {
603
665
  __typename: 'Policies';
604
- gasPrice?: Maybe<Scalars['U64']>;
605
666
  maturity?: Maybe<Scalars['U32']>;
606
667
  maxFee?: Maybe<Scalars['U64']>;
668
+ tip?: Maybe<Scalars['U64']>;
607
669
  witnessLimit?: Maybe<Scalars['U64']>;
608
670
  };
609
671
  export type GqlPredicateParameters = {
@@ -612,7 +674,9 @@ export type GqlPredicateParameters = {
612
674
  maxMessageDataLength: Scalars['U64'];
613
675
  maxPredicateDataLength: Scalars['U64'];
614
676
  maxPredicateLength: Scalars['U64'];
677
+ version: GqlPredicateParametersVersion;
615
678
  };
679
+ export type GqlPredicateParametersVersion = GqlVersion;
616
680
  export type GqlProgramState = {
617
681
  __typename: 'ProgramState';
618
682
  data: Scalars['HexString'];
@@ -645,15 +709,20 @@ export type GqlQuery = {
645
709
  contract?: Maybe<GqlContract>;
646
710
  contractBalance: GqlContractBalance;
647
711
  contractBalances: GqlContractBalanceConnection;
712
+ estimateGasPrice: GqlEstimateGasPrice;
648
713
  /** Estimate the predicate gas for the provided transaction */
649
714
  estimatePredicates: GqlTransaction;
650
715
  /** Returns true when the GraphQL API is serving requests. */
651
716
  health: Scalars['Boolean'];
717
+ latestGasPrice: GqlLatestGasPrice;
718
+ /** Read read a range of memory bytes. */
652
719
  memory: Scalars['String'];
720
+ message?: Maybe<GqlMessage>;
653
721
  messageProof?: Maybe<GqlMessageProof>;
654
722
  messageStatus: GqlMessageStatus;
655
723
  messages: GqlMessageConnection;
656
724
  nodeInfo: GqlNodeInfo;
725
+ /** Read register value by index. */
657
726
  register: Scalars['U64'];
658
727
  transaction?: Maybe<GqlTransaction>;
659
728
  transactions: GqlTransactionConnection;
@@ -709,6 +778,9 @@ export type GqlQueryContractBalancesArgs = {
709
778
  first?: InputMaybe<Scalars['Int']>;
710
779
  last?: InputMaybe<Scalars['Int']>;
711
780
  };
781
+ export type GqlQueryEstimateGasPriceArgs = {
782
+ blockHorizon?: InputMaybe<Scalars['U32']>;
783
+ };
712
784
  export type GqlQueryEstimatePredicatesArgs = {
713
785
  tx: Scalars['HexString'];
714
786
  };
@@ -717,6 +789,9 @@ export type GqlQueryMemoryArgs = {
717
789
  size: Scalars['U32'];
718
790
  start: Scalars['U32'];
719
791
  };
792
+ export type GqlQueryMessageArgs = {
793
+ nonce: Scalars['Nonce'];
794
+ };
720
795
  export type GqlQueryMessageProofArgs = {
721
796
  commitBlockHeight?: InputMaybe<Scalars['U32']>;
722
797
  commitBlockId?: InputMaybe<Scalars['BlockId']>;
@@ -757,12 +832,13 @@ export type GqlReceipt = {
757
832
  __typename: 'Receipt';
758
833
  amount?: Maybe<Scalars['U64']>;
759
834
  assetId?: Maybe<Scalars['AssetId']>;
760
- contract?: Maybe<GqlContract>;
835
+ /** Set in the case of a Panic receipt to indicate a missing contract input id */
761
836
  contractId?: Maybe<Scalars['ContractId']>;
762
837
  data?: Maybe<Scalars['HexString']>;
763
838
  digest?: Maybe<Scalars['Bytes32']>;
764
839
  gas?: Maybe<Scalars['U64']>;
765
840
  gasUsed?: Maybe<Scalars['U64']>;
841
+ id?: Maybe<Scalars['ContractId']>;
766
842
  is?: Maybe<Scalars['U64']>;
767
843
  len?: Maybe<Scalars['U64']>;
768
844
  nonce?: Maybe<Scalars['Nonce']>;
@@ -780,7 +856,7 @@ export type GqlReceipt = {
780
856
  result?: Maybe<Scalars['U64']>;
781
857
  sender?: Maybe<Scalars['Address']>;
782
858
  subId?: Maybe<Scalars['Bytes32']>;
783
- to?: Maybe<GqlContract>;
859
+ to?: Maybe<Scalars['ContractId']>;
784
860
  toAddress?: Maybe<Scalars['Address']>;
785
861
  val?: Maybe<Scalars['U64']>;
786
862
  };
@@ -820,7 +896,9 @@ export type GqlScriptParameters = {
820
896
  __typename: 'ScriptParameters';
821
897
  maxScriptDataLength: Scalars['U64'];
822
898
  maxScriptLength: Scalars['U64'];
899
+ version: GqlScriptParametersVersion;
823
900
  };
901
+ export type GqlScriptParametersVersion = GqlVersion;
824
902
  export type GqlSpendQueryElementInput = {
825
903
  /** Target amount for the query. */
826
904
  amount: Scalars['U64'];
@@ -873,13 +951,11 @@ export type GqlSuccessStatus = {
873
951
  };
874
952
  export type GqlTransaction = {
875
953
  __typename: 'Transaction';
876
- bytecodeLength?: Maybe<Scalars['U64']>;
877
- bytecodeWitnessIndex?: Maybe<Scalars['Int']>;
878
- gasPrice?: Maybe<Scalars['U64']>;
954
+ bytecodeWitnessIndex?: Maybe<Scalars['U16']>;
879
955
  id: Scalars['TransactionId'];
880
956
  inputAssetIds?: Maybe<Array<Scalars['AssetId']>>;
881
957
  inputContract?: Maybe<GqlInputContract>;
882
- inputContracts?: Maybe<Array<GqlContract>>;
958
+ inputContracts?: Maybe<Array<Scalars['ContractId']>>;
883
959
  inputs?: Maybe<Array<GqlInput>>;
884
960
  isCreate: Scalars['Boolean'];
885
961
  isMint: Scalars['Boolean'];
@@ -887,12 +963,12 @@ export type GqlTransaction = {
887
963
  maturity?: Maybe<Scalars['U32']>;
888
964
  mintAmount?: Maybe<Scalars['U64']>;
889
965
  mintAssetId?: Maybe<Scalars['AssetId']>;
966
+ mintGasPrice?: Maybe<Scalars['U64']>;
890
967
  outputContract?: Maybe<GqlContractOutput>;
891
968
  outputs: Array<GqlOutput>;
892
969
  policies?: Maybe<GqlPolicies>;
893
970
  /** Return the transaction bytes using canonical encoding */
894
971
  rawPayload: Scalars['HexString'];
895
- receipts?: Maybe<Array<GqlReceipt>>;
896
972
  receiptsRoot?: Maybe<Scalars['Bytes32']>;
897
973
  salt?: Maybe<Scalars['Salt']>;
898
974
  script?: Maybe<Scalars['HexString']>;
@@ -924,17 +1000,23 @@ export type GqlTransactionStatus = GqlFailureStatus | GqlSqueezedOutStatus | Gql
924
1000
  export type GqlTxParameters = {
925
1001
  __typename: 'TxParameters';
926
1002
  maxGasPerTx: Scalars['U64'];
927
- maxInputs: Scalars['U8'];
928
- maxOutputs: Scalars['U8'];
1003
+ maxInputs: Scalars['U16'];
1004
+ maxOutputs: Scalars['U16'];
929
1005
  maxSize: Scalars['U64'];
930
1006
  maxWitnesses: Scalars['U32'];
1007
+ version: GqlTxParametersVersion;
931
1008
  };
1009
+ export type GqlTxParametersVersion = GqlVersion;
932
1010
  export type GqlVariableOutput = {
933
1011
  __typename: 'VariableOutput';
934
1012
  amount: Scalars['U64'];
935
1013
  assetId: Scalars['AssetId'];
936
1014
  to: Scalars['Address'];
937
1015
  };
1016
+ export type GqlVersion = {
1017
+ __typename: 'Version';
1018
+ value: Scalars['U8'];
1019
+ };
938
1020
  type GqlTransactionStatusFragment_FailureStatus_Fragment = {
939
1021
  __typename: 'FailureStatus';
940
1022
  time: string;
@@ -944,6 +1026,37 @@ type GqlTransactionStatusFragment_FailureStatus_Fragment = {
944
1026
  __typename: 'Block';
945
1027
  id: string;
946
1028
  };
1029
+ receipts: Array<{
1030
+ __typename: 'Receipt';
1031
+ id?: string | null;
1032
+ pc?: string | null;
1033
+ is?: string | null;
1034
+ to?: string | null;
1035
+ toAddress?: string | null;
1036
+ amount?: string | null;
1037
+ assetId?: string | null;
1038
+ gas?: string | null;
1039
+ param1?: string | null;
1040
+ param2?: string | null;
1041
+ val?: string | null;
1042
+ ptr?: string | null;
1043
+ digest?: string | null;
1044
+ reason?: string | null;
1045
+ ra?: string | null;
1046
+ rb?: string | null;
1047
+ rc?: string | null;
1048
+ rd?: string | null;
1049
+ len?: string | null;
1050
+ receiptType: GqlReceiptType;
1051
+ result?: string | null;
1052
+ gasUsed?: string | null;
1053
+ data?: string | null;
1054
+ sender?: string | null;
1055
+ recipient?: string | null;
1056
+ nonce?: string | null;
1057
+ contractId?: string | null;
1058
+ subId?: string | null;
1059
+ }>;
947
1060
  };
948
1061
  type GqlTransactionStatusFragment_SqueezedOutStatus_Fragment = {
949
1062
  __typename: 'SqueezedOutStatus';
@@ -963,22 +1076,12 @@ type GqlTransactionStatusFragment_SuccessStatus_Fragment = {
963
1076
  __typename: 'Block';
964
1077
  id: string;
965
1078
  };
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<{
1079
+ receipts: Array<{
979
1080
  __typename: 'Receipt';
1081
+ id?: string | null;
980
1082
  pc?: string | null;
981
1083
  is?: string | null;
1084
+ to?: string | null;
982
1085
  toAddress?: string | null;
983
1086
  amount?: string | null;
984
1087
  assetId?: string | null;
@@ -1003,15 +1106,53 @@ export type GqlTransactionFragmentFragment = {
1003
1106
  nonce?: string | null;
1004
1107
  contractId?: string | null;
1005
1108
  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;
1109
+ }>;
1110
+ programState?: {
1111
+ __typename: 'ProgramState';
1112
+ returnType: GqlReturnType;
1113
+ data: string;
1114
+ } | null;
1115
+ };
1116
+ export type GqlTransactionStatusFragmentFragment = GqlTransactionStatusFragment_FailureStatus_Fragment | GqlTransactionStatusFragment_SqueezedOutStatus_Fragment | GqlTransactionStatusFragment_SubmittedStatus_Fragment | GqlTransactionStatusFragment_SuccessStatus_Fragment;
1117
+ type GqlTransactionStatusSubscriptionFragment_FailureStatus_Fragment = {
1118
+ __typename: 'FailureStatus';
1119
+ time: string;
1120
+ reason: string;
1121
+ type: 'FailureStatus';
1122
+ block: {
1123
+ __typename: 'Block';
1124
+ id: string;
1125
+ };
1126
+ };
1127
+ type GqlTransactionStatusSubscriptionFragment_SqueezedOutStatus_Fragment = {
1128
+ __typename: 'SqueezedOutStatus';
1129
+ reason: string;
1130
+ type: 'SqueezedOutStatus';
1131
+ };
1132
+ type GqlTransactionStatusSubscriptionFragment_SubmittedStatus_Fragment = {
1133
+ __typename: 'SubmittedStatus';
1134
+ time: string;
1135
+ type: 'SubmittedStatus';
1136
+ };
1137
+ type GqlTransactionStatusSubscriptionFragment_SuccessStatus_Fragment = {
1138
+ __typename: 'SuccessStatus';
1139
+ time: string;
1140
+ type: 'SuccessStatus';
1141
+ block: {
1142
+ __typename: 'Block';
1143
+ id: string;
1144
+ };
1145
+ programState?: {
1146
+ __typename: 'ProgramState';
1147
+ returnType: GqlReturnType;
1148
+ data: string;
1149
+ } | null;
1150
+ };
1151
+ export type GqlTransactionStatusSubscriptionFragmentFragment = GqlTransactionStatusSubscriptionFragment_FailureStatus_Fragment | GqlTransactionStatusSubscriptionFragment_SqueezedOutStatus_Fragment | GqlTransactionStatusSubscriptionFragment_SubmittedStatus_Fragment | GqlTransactionStatusSubscriptionFragment_SuccessStatus_Fragment;
1152
+ export type GqlTransactionFragmentFragment = {
1153
+ __typename: 'Transaction';
1154
+ id: string;
1155
+ rawPayload: string;
1015
1156
  status?: {
1016
1157
  __typename: 'FailureStatus';
1017
1158
  time: string;
@@ -1021,6 +1162,37 @@ export type GqlTransactionFragmentFragment = {
1021
1162
  __typename: 'Block';
1022
1163
  id: string;
1023
1164
  };
1165
+ receipts: Array<{
1166
+ __typename: 'Receipt';
1167
+ id?: string | null;
1168
+ pc?: string | null;
1169
+ is?: string | null;
1170
+ to?: string | null;
1171
+ toAddress?: string | null;
1172
+ amount?: string | null;
1173
+ assetId?: string | null;
1174
+ gas?: string | null;
1175
+ param1?: string | null;
1176
+ param2?: string | null;
1177
+ val?: string | null;
1178
+ ptr?: string | null;
1179
+ digest?: string | null;
1180
+ reason?: string | null;
1181
+ ra?: string | null;
1182
+ rb?: string | null;
1183
+ rc?: string | null;
1184
+ rd?: string | null;
1185
+ len?: string | null;
1186
+ receiptType: GqlReceiptType;
1187
+ result?: string | null;
1188
+ gasUsed?: string | null;
1189
+ data?: string | null;
1190
+ sender?: string | null;
1191
+ recipient?: string | null;
1192
+ nonce?: string | null;
1193
+ contractId?: string | null;
1194
+ subId?: string | null;
1195
+ }>;
1024
1196
  } | {
1025
1197
  __typename: 'SqueezedOutStatus';
1026
1198
  reason: string;
@@ -1037,6 +1209,37 @@ export type GqlTransactionFragmentFragment = {
1037
1209
  __typename: 'Block';
1038
1210
  id: string;
1039
1211
  };
1212
+ receipts: Array<{
1213
+ __typename: 'Receipt';
1214
+ id?: string | null;
1215
+ pc?: string | null;
1216
+ is?: string | null;
1217
+ to?: string | null;
1218
+ toAddress?: string | null;
1219
+ amount?: string | null;
1220
+ assetId?: string | null;
1221
+ gas?: string | null;
1222
+ param1?: string | null;
1223
+ param2?: string | null;
1224
+ val?: string | null;
1225
+ ptr?: string | null;
1226
+ digest?: string | null;
1227
+ reason?: string | null;
1228
+ ra?: string | null;
1229
+ rb?: string | null;
1230
+ rc?: string | null;
1231
+ rd?: string | null;
1232
+ len?: string | null;
1233
+ receiptType: GqlReceiptType;
1234
+ result?: string | null;
1235
+ gasUsed?: string | null;
1236
+ data?: string | null;
1237
+ sender?: string | null;
1238
+ recipient?: string | null;
1239
+ nonce?: string | null;
1240
+ contractId?: string | null;
1241
+ subId?: string | null;
1242
+ }>;
1040
1243
  programState?: {
1041
1244
  __typename: 'ProgramState';
1042
1245
  returnType: GqlReturnType;
@@ -1068,10 +1271,29 @@ export type GqlTransactionEstimatePredicatesFragmentFragment = {
1068
1271
  predicateGasUsed: string;
1069
1272
  }> | null;
1070
1273
  };
1274
+ export type GqlDryRunFailureStatusFragmentFragment = {
1275
+ __typename: 'DryRunFailureStatus';
1276
+ reason: string;
1277
+ programState?: {
1278
+ __typename: 'ProgramState';
1279
+ returnType: GqlReturnType;
1280
+ data: string;
1281
+ } | null;
1282
+ };
1283
+ export type GqlDryRunSuccessStatusFragmentFragment = {
1284
+ __typename: 'DryRunSuccessStatus';
1285
+ programState?: {
1286
+ __typename: 'ProgramState';
1287
+ returnType: GqlReturnType;
1288
+ data: string;
1289
+ } | null;
1290
+ };
1071
1291
  export type GqlReceiptFragmentFragment = {
1072
1292
  __typename: 'Receipt';
1293
+ id?: string | null;
1073
1294
  pc?: string | null;
1074
1295
  is?: string | null;
1296
+ to?: string | null;
1075
1297
  toAddress?: string | null;
1076
1298
  amount?: string | null;
1077
1299
  assetId?: string | null;
@@ -1096,21 +1318,82 @@ export type GqlReceiptFragmentFragment = {
1096
1318
  nonce?: string | null;
1097
1319
  contractId?: string | null;
1098
1320
  subId?: string | null;
1099
- contract?: {
1100
- __typename: 'Contract';
1101
- id: string;
1321
+ };
1322
+ type GqlDryRunTransactionStatusFragment_DryRunFailureStatus_Fragment = {
1323
+ __typename: 'DryRunFailureStatus';
1324
+ reason: string;
1325
+ programState?: {
1326
+ __typename: 'ProgramState';
1327
+ returnType: GqlReturnType;
1328
+ data: string;
1102
1329
  } | null;
1103
- to?: {
1104
- __typename: 'Contract';
1105
- id: string;
1330
+ };
1331
+ type GqlDryRunTransactionStatusFragment_DryRunSuccessStatus_Fragment = {
1332
+ __typename: 'DryRunSuccessStatus';
1333
+ programState?: {
1334
+ __typename: 'ProgramState';
1335
+ returnType: GqlReturnType;
1336
+ data: string;
1106
1337
  } | null;
1107
1338
  };
1339
+ export type GqlDryRunTransactionStatusFragmentFragment = GqlDryRunTransactionStatusFragment_DryRunFailureStatus_Fragment | GqlDryRunTransactionStatusFragment_DryRunSuccessStatus_Fragment;
1340
+ export type GqlDryRunTransactionExecutionStatusFragmentFragment = {
1341
+ __typename: 'DryRunTransactionExecutionStatus';
1342
+ id: string;
1343
+ status: {
1344
+ __typename: 'DryRunFailureStatus';
1345
+ reason: string;
1346
+ programState?: {
1347
+ __typename: 'ProgramState';
1348
+ returnType: GqlReturnType;
1349
+ data: string;
1350
+ } | null;
1351
+ } | {
1352
+ __typename: 'DryRunSuccessStatus';
1353
+ programState?: {
1354
+ __typename: 'ProgramState';
1355
+ returnType: GqlReturnType;
1356
+ data: string;
1357
+ } | null;
1358
+ };
1359
+ receipts: Array<{
1360
+ __typename: 'Receipt';
1361
+ id?: string | null;
1362
+ pc?: string | null;
1363
+ is?: string | null;
1364
+ to?: string | null;
1365
+ toAddress?: string | null;
1366
+ amount?: string | null;
1367
+ assetId?: string | null;
1368
+ gas?: string | null;
1369
+ param1?: string | null;
1370
+ param2?: string | null;
1371
+ val?: string | null;
1372
+ ptr?: string | null;
1373
+ digest?: string | null;
1374
+ reason?: string | null;
1375
+ ra?: string | null;
1376
+ rb?: string | null;
1377
+ rc?: string | null;
1378
+ rd?: string | null;
1379
+ len?: string | null;
1380
+ receiptType: GqlReceiptType;
1381
+ result?: string | null;
1382
+ gasUsed?: string | null;
1383
+ data?: string | null;
1384
+ sender?: string | null;
1385
+ recipient?: string | null;
1386
+ nonce?: string | null;
1387
+ contractId?: string | null;
1388
+ subId?: string | null;
1389
+ }>;
1390
+ };
1108
1391
  export type GqlBlockFragmentFragment = {
1109
1392
  __typename: 'Block';
1110
1393
  id: string;
1394
+ height: any;
1111
1395
  header: {
1112
1396
  __typename: 'Header';
1113
- height: any;
1114
1397
  time: string;
1115
1398
  };
1116
1399
  transactions: Array<{
@@ -1124,9 +1407,8 @@ export type GqlCoinFragmentFragment = {
1124
1407
  owner: string;
1125
1408
  amount: string;
1126
1409
  assetId: string;
1127
- maturity: any;
1128
1410
  blockCreated: any;
1129
- txCreatedIdx: string;
1411
+ txCreatedIdx: any;
1130
1412
  };
1131
1413
  export type GqlMessageCoinFragmentFragment = {
1132
1414
  __typename: 'MessageCoin';
@@ -1167,27 +1449,33 @@ export type GqlMessageProofFragmentFragment = {
1167
1449
  __typename: 'Header';
1168
1450
  id: string;
1169
1451
  daHeight: string;
1452
+ consensusParametersVersion: any;
1453
+ stateTransitionBytecodeVersion: any;
1170
1454
  transactionsCount: string;
1455
+ messageReceiptCount: string;
1171
1456
  transactionsRoot: string;
1457
+ messageOutboxRoot: string;
1458
+ eventInboxRoot: string;
1172
1459
  height: any;
1173
1460
  prevRoot: string;
1174
1461
  time: string;
1175
1462
  applicationHash: string;
1176
- messageReceiptRoot: string;
1177
- messageReceiptCount: string;
1178
1463
  };
1179
1464
  commitBlockHeader: {
1180
1465
  __typename: 'Header';
1181
1466
  id: string;
1182
1467
  daHeight: string;
1468
+ consensusParametersVersion: any;
1469
+ stateTransitionBytecodeVersion: any;
1183
1470
  transactionsCount: string;
1471
+ messageReceiptCount: string;
1184
1472
  transactionsRoot: string;
1473
+ messageOutboxRoot: string;
1474
+ eventInboxRoot: string;
1185
1475
  height: any;
1186
1476
  prevRoot: string;
1187
1477
  time: string;
1188
1478
  applicationHash: string;
1189
- messageReceiptRoot: string;
1190
- messageReceiptCount: string;
1191
1479
  };
1192
1480
  };
1193
1481
  export type GqlBalanceFragmentFragment = {
@@ -1251,7 +1539,6 @@ export type GqlGasCostsFragmentFragment = {
1251
1539
  cb: string;
1252
1540
  cfei: string;
1253
1541
  cfsi: string;
1254
- croo: string;
1255
1542
  div: string;
1256
1543
  divi: string;
1257
1544
  ecr1: string;
@@ -1329,6 +1616,10 @@ export type GqlGasCostsFragmentFragment = {
1329
1616
  xor: string;
1330
1617
  xori: string;
1331
1618
  newStoragePerByte: string;
1619
+ version: {
1620
+ __typename: 'Version';
1621
+ value: any;
1622
+ };
1332
1623
  call: {
1333
1624
  __typename: 'HeavyOperation';
1334
1625
  base: string;
@@ -1347,7 +1638,7 @@ export type GqlGasCostsFragmentFragment = {
1347
1638
  base: string;
1348
1639
  unitsPerGas: string;
1349
1640
  };
1350
- csiz: {
1641
+ croo: {
1351
1642
  __typename: 'HeavyOperation';
1352
1643
  base: string;
1353
1644
  gasPerUnit: string;
@@ -1356,7 +1647,7 @@ export type GqlGasCostsFragmentFragment = {
1356
1647
  base: string;
1357
1648
  unitsPerGas: string;
1358
1649
  };
1359
- k256: {
1650
+ csiz: {
1360
1651
  __typename: 'HeavyOperation';
1361
1652
  base: string;
1362
1653
  gasPerUnit: string;
@@ -1365,7 +1656,7 @@ export type GqlGasCostsFragmentFragment = {
1365
1656
  base: string;
1366
1657
  unitsPerGas: string;
1367
1658
  };
1368
- ldc: {
1659
+ k256: {
1369
1660
  __typename: 'HeavyOperation';
1370
1661
  base: string;
1371
1662
  gasPerUnit: string;
@@ -1374,7 +1665,16 @@ export type GqlGasCostsFragmentFragment = {
1374
1665
  base: string;
1375
1666
  unitsPerGas: string;
1376
1667
  };
1377
- logd: {
1668
+ ldc: {
1669
+ __typename: 'HeavyOperation';
1670
+ base: string;
1671
+ gasPerUnit: string;
1672
+ } | {
1673
+ __typename: 'LightOperation';
1674
+ base: string;
1675
+ unitsPerGas: string;
1676
+ };
1677
+ logd: {
1378
1678
  __typename: 'HeavyOperation';
1379
1679
  base: string;
1380
1680
  gasPerUnit: string;
@@ -1514,6 +1814,10 @@ export type GqlConsensusParametersFragmentFragment = {
1514
1814
  __typename: 'ConsensusParameters';
1515
1815
  baseAssetId: string;
1516
1816
  chainId: string;
1817
+ version: {
1818
+ __typename: 'Version';
1819
+ value: any;
1820
+ };
1517
1821
  txParams: {
1518
1822
  __typename: 'TxParameters';
1519
1823
  maxInputs: any;
@@ -1558,7 +1862,6 @@ export type GqlConsensusParametersFragmentFragment = {
1558
1862
  cb: string;
1559
1863
  cfei: string;
1560
1864
  cfsi: string;
1561
- croo: string;
1562
1865
  div: string;
1563
1866
  divi: string;
1564
1867
  ecr1: string;
@@ -1636,6 +1939,10 @@ export type GqlConsensusParametersFragmentFragment = {
1636
1939
  xor: string;
1637
1940
  xori: string;
1638
1941
  newStoragePerByte: string;
1942
+ version: {
1943
+ __typename: 'Version';
1944
+ value: any;
1945
+ };
1639
1946
  call: {
1640
1947
  __typename: 'HeavyOperation';
1641
1948
  base: string;
@@ -1654,6 +1961,15 @@ export type GqlConsensusParametersFragmentFragment = {
1654
1961
  base: string;
1655
1962
  unitsPerGas: string;
1656
1963
  };
1964
+ croo: {
1965
+ __typename: 'HeavyOperation';
1966
+ base: string;
1967
+ gasPerUnit: string;
1968
+ } | {
1969
+ __typename: 'LightOperation';
1970
+ base: string;
1971
+ unitsPerGas: string;
1972
+ };
1657
1973
  csiz: {
1658
1974
  __typename: 'HeavyOperation';
1659
1975
  base: string;
@@ -1825,9 +2141,9 @@ export type GqlChainInfoFragmentFragment = {
1825
2141
  latestBlock: {
1826
2142
  __typename: 'Block';
1827
2143
  id: string;
2144
+ height: any;
1828
2145
  header: {
1829
2146
  __typename: 'Header';
1830
- height: any;
1831
2147
  time: string;
1832
2148
  };
1833
2149
  transactions: Array<{
@@ -1839,6 +2155,10 @@ export type GqlChainInfoFragmentFragment = {
1839
2155
  __typename: 'ConsensusParameters';
1840
2156
  baseAssetId: string;
1841
2157
  chainId: string;
2158
+ version: {
2159
+ __typename: 'Version';
2160
+ value: any;
2161
+ };
1842
2162
  txParams: {
1843
2163
  __typename: 'TxParameters';
1844
2164
  maxInputs: any;
@@ -1883,7 +2203,6 @@ export type GqlChainInfoFragmentFragment = {
1883
2203
  cb: string;
1884
2204
  cfei: string;
1885
2205
  cfsi: string;
1886
- croo: string;
1887
2206
  div: string;
1888
2207
  divi: string;
1889
2208
  ecr1: string;
@@ -1961,6 +2280,10 @@ export type GqlChainInfoFragmentFragment = {
1961
2280
  xor: string;
1962
2281
  xori: string;
1963
2282
  newStoragePerByte: string;
2283
+ version: {
2284
+ __typename: 'Version';
2285
+ value: any;
2286
+ };
1964
2287
  call: {
1965
2288
  __typename: 'HeavyOperation';
1966
2289
  base: string;
@@ -1979,6 +2302,15 @@ export type GqlChainInfoFragmentFragment = {
1979
2302
  base: string;
1980
2303
  unitsPerGas: string;
1981
2304
  };
2305
+ croo: {
2306
+ __typename: 'HeavyOperation';
2307
+ base: string;
2308
+ gasPerUnit: string;
2309
+ } | {
2310
+ __typename: 'LightOperation';
2311
+ base: string;
2312
+ unitsPerGas: string;
2313
+ };
1982
2314
  csiz: {
1983
2315
  __typename: 'HeavyOperation';
1984
2316
  base: string;
@@ -2171,19 +2503,9 @@ export type GqlNodeInfoFragmentFragment = {
2171
2503
  __typename: 'NodeInfo';
2172
2504
  utxoValidation: boolean;
2173
2505
  vmBacktrace: boolean;
2174
- minGasPrice: string;
2175
2506
  maxTx: string;
2176
2507
  maxDepth: string;
2177
2508
  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
2509
  };
2188
2510
  export type GqlGetNodeInfoQueryVariables = Exact<{
2189
2511
  [key: string]: never;
@@ -2194,19 +2516,9 @@ export type GqlGetNodeInfoQuery = {
2194
2516
  __typename: 'NodeInfo';
2195
2517
  utxoValidation: boolean;
2196
2518
  vmBacktrace: boolean;
2197
- minGasPrice: string;
2198
2519
  maxTx: string;
2199
2520
  maxDepth: string;
2200
2521
  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
2522
  };
2211
2523
  };
2212
2524
  export type GqlGetChainQueryVariables = Exact<{
@@ -2221,9 +2533,9 @@ export type GqlGetChainQuery = {
2221
2533
  latestBlock: {
2222
2534
  __typename: 'Block';
2223
2535
  id: string;
2536
+ height: any;
2224
2537
  header: {
2225
2538
  __typename: 'Header';
2226
- height: any;
2227
2539
  time: string;
2228
2540
  };
2229
2541
  transactions: Array<{
@@ -2235,6 +2547,10 @@ export type GqlGetChainQuery = {
2235
2547
  __typename: 'ConsensusParameters';
2236
2548
  baseAssetId: string;
2237
2549
  chainId: string;
2550
+ version: {
2551
+ __typename: 'Version';
2552
+ value: any;
2553
+ };
2238
2554
  txParams: {
2239
2555
  __typename: 'TxParameters';
2240
2556
  maxInputs: any;
@@ -2279,7 +2595,6 @@ export type GqlGetChainQuery = {
2279
2595
  cb: string;
2280
2596
  cfei: string;
2281
2597
  cfsi: string;
2282
- croo: string;
2283
2598
  div: string;
2284
2599
  divi: string;
2285
2600
  ecr1: string;
@@ -2357,6 +2672,10 @@ export type GqlGetChainQuery = {
2357
2672
  xor: string;
2358
2673
  xori: string;
2359
2674
  newStoragePerByte: string;
2675
+ version: {
2676
+ __typename: 'Version';
2677
+ value: any;
2678
+ };
2360
2679
  call: {
2361
2680
  __typename: 'HeavyOperation';
2362
2681
  base: string;
@@ -2375,6 +2694,15 @@ export type GqlGetChainQuery = {
2375
2694
  base: string;
2376
2695
  unitsPerGas: string;
2377
2696
  };
2697
+ croo: {
2698
+ __typename: 'HeavyOperation';
2699
+ base: string;
2700
+ gasPerUnit: string;
2701
+ } | {
2702
+ __typename: 'LightOperation';
2703
+ base: string;
2704
+ unitsPerGas: string;
2705
+ };
2378
2706
  csiz: {
2379
2707
  __typename: 'HeavyOperation';
2380
2708
  base: string;
@@ -2550,44 +2878,6 @@ export type GqlGetTransactionQuery = {
2550
2878
  __typename: 'Transaction';
2551
2879
  id: string;
2552
2880
  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
2881
  status?: {
2592
2882
  __typename: 'FailureStatus';
2593
2883
  time: string;
@@ -2597,6 +2887,37 @@ export type GqlGetTransactionQuery = {
2597
2887
  __typename: 'Block';
2598
2888
  id: string;
2599
2889
  };
2890
+ receipts: Array<{
2891
+ __typename: 'Receipt';
2892
+ id?: string | null;
2893
+ pc?: string | null;
2894
+ is?: string | null;
2895
+ to?: string | null;
2896
+ toAddress?: string | null;
2897
+ amount?: string | null;
2898
+ assetId?: string | null;
2899
+ gas?: string | null;
2900
+ param1?: string | null;
2901
+ param2?: string | null;
2902
+ val?: string | null;
2903
+ ptr?: string | null;
2904
+ digest?: string | null;
2905
+ reason?: string | null;
2906
+ ra?: string | null;
2907
+ rb?: string | null;
2908
+ rc?: string | null;
2909
+ rd?: string | null;
2910
+ len?: string | null;
2911
+ receiptType: GqlReceiptType;
2912
+ result?: string | null;
2913
+ gasUsed?: string | null;
2914
+ data?: string | null;
2915
+ sender?: string | null;
2916
+ recipient?: string | null;
2917
+ nonce?: string | null;
2918
+ contractId?: string | null;
2919
+ subId?: string | null;
2920
+ }>;
2600
2921
  } | {
2601
2922
  __typename: 'SqueezedOutStatus';
2602
2923
  reason: string;
@@ -2613,6 +2934,37 @@ export type GqlGetTransactionQuery = {
2613
2934
  __typename: 'Block';
2614
2935
  id: string;
2615
2936
  };
2937
+ receipts: Array<{
2938
+ __typename: 'Receipt';
2939
+ id?: string | null;
2940
+ pc?: string | null;
2941
+ is?: string | null;
2942
+ to?: string | null;
2943
+ toAddress?: string | null;
2944
+ amount?: string | null;
2945
+ assetId?: string | null;
2946
+ gas?: string | null;
2947
+ param1?: string | null;
2948
+ param2?: string | null;
2949
+ val?: string | null;
2950
+ ptr?: string | null;
2951
+ digest?: string | null;
2952
+ reason?: string | null;
2953
+ ra?: string | null;
2954
+ rb?: string | null;
2955
+ rc?: string | null;
2956
+ rd?: string | null;
2957
+ len?: string | null;
2958
+ receiptType: GqlReceiptType;
2959
+ result?: string | null;
2960
+ gasUsed?: string | null;
2961
+ data?: string | null;
2962
+ sender?: string | null;
2963
+ recipient?: string | null;
2964
+ nonce?: string | null;
2965
+ contractId?: string | null;
2966
+ subId?: string | null;
2967
+ }>;
2616
2968
  programState?: {
2617
2969
  __typename: 'ProgramState';
2618
2970
  returnType: GqlReturnType;
@@ -2630,44 +2982,6 @@ export type GqlGetTransactionWithReceiptsQuery = {
2630
2982
  __typename: 'Transaction';
2631
2983
  id: string;
2632
2984
  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
2985
  status?: {
2672
2986
  __typename: 'FailureStatus';
2673
2987
  time: string;
@@ -2677,6 +2991,37 @@ export type GqlGetTransactionWithReceiptsQuery = {
2677
2991
  __typename: 'Block';
2678
2992
  id: string;
2679
2993
  };
2994
+ receipts: Array<{
2995
+ __typename: 'Receipt';
2996
+ id?: string | null;
2997
+ pc?: string | null;
2998
+ is?: string | null;
2999
+ to?: string | null;
3000
+ toAddress?: string | null;
3001
+ amount?: string | null;
3002
+ assetId?: string | null;
3003
+ gas?: string | null;
3004
+ param1?: string | null;
3005
+ param2?: string | null;
3006
+ val?: string | null;
3007
+ ptr?: string | null;
3008
+ digest?: string | null;
3009
+ reason?: string | null;
3010
+ ra?: string | null;
3011
+ rb?: string | null;
3012
+ rc?: string | null;
3013
+ rd?: string | null;
3014
+ len?: string | null;
3015
+ receiptType: GqlReceiptType;
3016
+ result?: string | null;
3017
+ gasUsed?: string | null;
3018
+ data?: string | null;
3019
+ sender?: string | null;
3020
+ recipient?: string | null;
3021
+ nonce?: string | null;
3022
+ contractId?: string | null;
3023
+ subId?: string | null;
3024
+ }>;
2680
3025
  } | {
2681
3026
  __typename: 'SqueezedOutStatus';
2682
3027
  reason: string;
@@ -2693,6 +3038,37 @@ export type GqlGetTransactionWithReceiptsQuery = {
2693
3038
  __typename: 'Block';
2694
3039
  id: string;
2695
3040
  };
3041
+ receipts: Array<{
3042
+ __typename: 'Receipt';
3043
+ id?: string | null;
3044
+ pc?: string | null;
3045
+ is?: string | null;
3046
+ to?: string | null;
3047
+ toAddress?: string | null;
3048
+ amount?: string | null;
3049
+ assetId?: string | null;
3050
+ gas?: string | null;
3051
+ param1?: string | null;
3052
+ param2?: string | null;
3053
+ val?: string | null;
3054
+ ptr?: string | null;
3055
+ digest?: string | null;
3056
+ reason?: string | null;
3057
+ ra?: string | null;
3058
+ rb?: string | null;
3059
+ rc?: string | null;
3060
+ rd?: string | null;
3061
+ len?: string | null;
3062
+ receiptType: GqlReceiptType;
3063
+ result?: string | null;
3064
+ gasUsed?: string | null;
3065
+ data?: string | null;
3066
+ sender?: string | null;
3067
+ recipient?: string | null;
3068
+ nonce?: string | null;
3069
+ contractId?: string | null;
3070
+ subId?: string | null;
3071
+ }>;
2696
3072
  programState?: {
2697
3073
  __typename: 'ProgramState';
2698
3074
  returnType: GqlReturnType;
@@ -2717,44 +3093,6 @@ export type GqlGetTransactionsQuery = {
2717
3093
  __typename: 'Transaction';
2718
3094
  id: string;
2719
3095
  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
3096
  status?: {
2759
3097
  __typename: 'FailureStatus';
2760
3098
  time: string;
@@ -2764,6 +3102,37 @@ export type GqlGetTransactionsQuery = {
2764
3102
  __typename: 'Block';
2765
3103
  id: string;
2766
3104
  };
3105
+ receipts: Array<{
3106
+ __typename: 'Receipt';
3107
+ id?: string | null;
3108
+ pc?: string | null;
3109
+ is?: string | null;
3110
+ to?: string | null;
3111
+ toAddress?: string | null;
3112
+ amount?: string | null;
3113
+ assetId?: string | null;
3114
+ gas?: string | null;
3115
+ param1?: string | null;
3116
+ param2?: string | null;
3117
+ val?: string | null;
3118
+ ptr?: string | null;
3119
+ digest?: string | null;
3120
+ reason?: string | null;
3121
+ ra?: string | null;
3122
+ rb?: string | null;
3123
+ rc?: string | null;
3124
+ rd?: string | null;
3125
+ len?: string | null;
3126
+ receiptType: GqlReceiptType;
3127
+ result?: string | null;
3128
+ gasUsed?: string | null;
3129
+ data?: string | null;
3130
+ sender?: string | null;
3131
+ recipient?: string | null;
3132
+ nonce?: string | null;
3133
+ contractId?: string | null;
3134
+ subId?: string | null;
3135
+ }>;
2767
3136
  } | {
2768
3137
  __typename: 'SqueezedOutStatus';
2769
3138
  reason: string;
@@ -2780,6 +3149,37 @@ export type GqlGetTransactionsQuery = {
2780
3149
  __typename: 'Block';
2781
3150
  id: string;
2782
3151
  };
3152
+ receipts: Array<{
3153
+ __typename: 'Receipt';
3154
+ id?: string | null;
3155
+ pc?: string | null;
3156
+ is?: string | null;
3157
+ to?: string | null;
3158
+ toAddress?: string | null;
3159
+ amount?: string | null;
3160
+ assetId?: string | null;
3161
+ gas?: string | null;
3162
+ param1?: string | null;
3163
+ param2?: string | null;
3164
+ val?: string | null;
3165
+ ptr?: string | null;
3166
+ digest?: string | null;
3167
+ reason?: string | null;
3168
+ ra?: string | null;
3169
+ rb?: string | null;
3170
+ rc?: string | null;
3171
+ rd?: string | null;
3172
+ len?: string | null;
3173
+ receiptType: GqlReceiptType;
3174
+ result?: string | null;
3175
+ gasUsed?: string | null;
3176
+ data?: string | null;
3177
+ sender?: string | null;
3178
+ recipient?: string | null;
3179
+ nonce?: string | null;
3180
+ contractId?: string | null;
3181
+ subId?: string | null;
3182
+ }>;
2783
3183
  programState?: {
2784
3184
  __typename: 'ProgramState';
2785
3185
  returnType: GqlReturnType;
@@ -2814,44 +3214,6 @@ export type GqlGetTransactionsByOwnerQuery = {
2814
3214
  __typename: 'Transaction';
2815
3215
  id: string;
2816
3216
  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
3217
  status?: {
2856
3218
  __typename: 'FailureStatus';
2857
3219
  time: string;
@@ -2861,6 +3223,37 @@ export type GqlGetTransactionsByOwnerQuery = {
2861
3223
  __typename: 'Block';
2862
3224
  id: string;
2863
3225
  };
3226
+ receipts: Array<{
3227
+ __typename: 'Receipt';
3228
+ id?: string | null;
3229
+ pc?: string | null;
3230
+ is?: string | null;
3231
+ to?: string | null;
3232
+ toAddress?: string | null;
3233
+ amount?: string | null;
3234
+ assetId?: string | null;
3235
+ gas?: string | null;
3236
+ param1?: string | null;
3237
+ param2?: string | null;
3238
+ val?: string | null;
3239
+ ptr?: string | null;
3240
+ digest?: string | null;
3241
+ reason?: string | null;
3242
+ ra?: string | null;
3243
+ rb?: string | null;
3244
+ rc?: string | null;
3245
+ rd?: string | null;
3246
+ len?: string | null;
3247
+ receiptType: GqlReceiptType;
3248
+ result?: string | null;
3249
+ gasUsed?: string | null;
3250
+ data?: string | null;
3251
+ sender?: string | null;
3252
+ recipient?: string | null;
3253
+ nonce?: string | null;
3254
+ contractId?: string | null;
3255
+ subId?: string | null;
3256
+ }>;
2864
3257
  } | {
2865
3258
  __typename: 'SqueezedOutStatus';
2866
3259
  reason: string;
@@ -2877,6 +3270,37 @@ export type GqlGetTransactionsByOwnerQuery = {
2877
3270
  __typename: 'Block';
2878
3271
  id: string;
2879
3272
  };
3273
+ receipts: Array<{
3274
+ __typename: 'Receipt';
3275
+ id?: string | null;
3276
+ pc?: string | null;
3277
+ is?: string | null;
3278
+ to?: string | null;
3279
+ toAddress?: string | null;
3280
+ amount?: string | null;
3281
+ assetId?: string | null;
3282
+ gas?: string | null;
3283
+ param1?: string | null;
3284
+ param2?: string | null;
3285
+ val?: string | null;
3286
+ ptr?: string | null;
3287
+ digest?: string | null;
3288
+ reason?: string | null;
3289
+ ra?: string | null;
3290
+ rb?: string | null;
3291
+ rc?: string | null;
3292
+ rd?: string | null;
3293
+ len?: string | null;
3294
+ receiptType: GqlReceiptType;
3295
+ result?: string | null;
3296
+ gasUsed?: string | null;
3297
+ data?: string | null;
3298
+ sender?: string | null;
3299
+ recipient?: string | null;
3300
+ nonce?: string | null;
3301
+ contractId?: string | null;
3302
+ subId?: string | null;
3303
+ }>;
2880
3304
  programState?: {
2881
3305
  __typename: 'ProgramState';
2882
3306
  returnType: GqlReturnType;
@@ -2914,9 +3338,9 @@ export type GqlGetBlockQuery = {
2914
3338
  block?: {
2915
3339
  __typename: 'Block';
2916
3340
  id: string;
3341
+ height: any;
2917
3342
  header: {
2918
3343
  __typename: 'Header';
2919
- height: any;
2920
3344
  time: string;
2921
3345
  };
2922
3346
  transactions: Array<{
@@ -2934,48 +3358,11 @@ export type GqlGetBlockWithTransactionsQuery = {
2934
3358
  block?: {
2935
3359
  __typename: 'Block';
2936
3360
  id: string;
3361
+ height: any;
2937
3362
  transactions: Array<{
2938
3363
  __typename: 'Transaction';
2939
3364
  id: string;
2940
3365
  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
3366
  status?: {
2980
3367
  __typename: 'FailureStatus';
2981
3368
  time: string;
@@ -2985,6 +3372,37 @@ export type GqlGetBlockWithTransactionsQuery = {
2985
3372
  __typename: 'Block';
2986
3373
  id: string;
2987
3374
  };
3375
+ receipts: Array<{
3376
+ __typename: 'Receipt';
3377
+ id?: string | null;
3378
+ pc?: string | null;
3379
+ is?: string | null;
3380
+ to?: string | null;
3381
+ toAddress?: string | null;
3382
+ amount?: string | null;
3383
+ assetId?: string | null;
3384
+ gas?: string | null;
3385
+ param1?: string | null;
3386
+ param2?: string | null;
3387
+ val?: string | null;
3388
+ ptr?: string | null;
3389
+ digest?: string | null;
3390
+ reason?: string | null;
3391
+ ra?: string | null;
3392
+ rb?: string | null;
3393
+ rc?: string | null;
3394
+ rd?: string | null;
3395
+ len?: string | null;
3396
+ receiptType: GqlReceiptType;
3397
+ result?: string | null;
3398
+ gasUsed?: string | null;
3399
+ data?: string | null;
3400
+ sender?: string | null;
3401
+ recipient?: string | null;
3402
+ nonce?: string | null;
3403
+ contractId?: string | null;
3404
+ subId?: string | null;
3405
+ }>;
2988
3406
  } | {
2989
3407
  __typename: 'SqueezedOutStatus';
2990
3408
  reason: string;
@@ -3001,6 +3419,37 @@ export type GqlGetBlockWithTransactionsQuery = {
3001
3419
  __typename: 'Block';
3002
3420
  id: string;
3003
3421
  };
3422
+ receipts: Array<{
3423
+ __typename: 'Receipt';
3424
+ id?: string | null;
3425
+ pc?: string | null;
3426
+ is?: string | null;
3427
+ to?: string | null;
3428
+ toAddress?: string | null;
3429
+ amount?: string | null;
3430
+ assetId?: string | null;
3431
+ gas?: string | null;
3432
+ param1?: string | null;
3433
+ param2?: string | null;
3434
+ val?: string | null;
3435
+ ptr?: string | null;
3436
+ digest?: string | null;
3437
+ reason?: string | null;
3438
+ ra?: string | null;
3439
+ rb?: string | null;
3440
+ rc?: string | null;
3441
+ rd?: string | null;
3442
+ len?: string | null;
3443
+ receiptType: GqlReceiptType;
3444
+ result?: string | null;
3445
+ gasUsed?: string | null;
3446
+ data?: string | null;
3447
+ sender?: string | null;
3448
+ recipient?: string | null;
3449
+ nonce?: string | null;
3450
+ contractId?: string | null;
3451
+ subId?: string | null;
3452
+ }>;
3004
3453
  programState?: {
3005
3454
  __typename: 'ProgramState';
3006
3455
  returnType: GqlReturnType;
@@ -3010,7 +3459,6 @@ export type GqlGetBlockWithTransactionsQuery = {
3010
3459
  }>;
3011
3460
  header: {
3012
3461
  __typename: 'Header';
3013
- height: any;
3014
3462
  time: string;
3015
3463
  };
3016
3464
  } | null;
@@ -3030,9 +3478,9 @@ export type GqlGetBlocksQuery = {
3030
3478
  node: {
3031
3479
  __typename: 'Block';
3032
3480
  id: string;
3481
+ height: any;
3033
3482
  header: {
3034
3483
  __typename: 'Header';
3035
- height: any;
3036
3484
  time: string;
3037
3485
  };
3038
3486
  transactions: Array<{
@@ -3054,9 +3502,8 @@ export type GqlGetCoinQuery = {
3054
3502
  owner: string;
3055
3503
  amount: string;
3056
3504
  assetId: string;
3057
- maturity: any;
3058
3505
  blockCreated: any;
3059
- txCreatedIdx: string;
3506
+ txCreatedIdx: any;
3060
3507
  } | null;
3061
3508
  };
3062
3509
  export type GqlGetCoinsQueryVariables = Exact<{
@@ -3078,9 +3525,8 @@ export type GqlGetCoinsQuery = {
3078
3525
  owner: string;
3079
3526
  amount: string;
3080
3527
  assetId: string;
3081
- maturity: any;
3082
3528
  blockCreated: any;
3083
- txCreatedIdx: string;
3529
+ txCreatedIdx: any;
3084
3530
  };
3085
3531
  }>;
3086
3532
  };
@@ -3098,9 +3544,8 @@ export type GqlGetCoinsToSpendQuery = {
3098
3544
  owner: string;
3099
3545
  amount: string;
3100
3546
  assetId: string;
3101
- maturity: any;
3102
3547
  blockCreated: any;
3103
- txCreatedIdx: string;
3548
+ txCreatedIdx: any;
3104
3549
  } | {
3105
3550
  __typename: 'MessageCoin';
3106
3551
  sender: string;
@@ -3148,6 +3593,26 @@ export type GqlGetBalanceQuery = {
3148
3593
  assetId: string;
3149
3594
  };
3150
3595
  };
3596
+ export type GqlGetLatestGasPriceQueryVariables = Exact<{
3597
+ [key: string]: never;
3598
+ }>;
3599
+ export type GqlGetLatestGasPriceQuery = {
3600
+ __typename: 'Query';
3601
+ latestGasPrice: {
3602
+ __typename: 'LatestGasPrice';
3603
+ gasPrice: string;
3604
+ };
3605
+ };
3606
+ export type GqlEstimateGasPriceQueryVariables = Exact<{
3607
+ blockHorizon: Scalars['U32'];
3608
+ }>;
3609
+ export type GqlEstimateGasPriceQuery = {
3610
+ __typename: 'Query';
3611
+ estimateGasPrice: {
3612
+ __typename: 'EstimateGasPrice';
3613
+ gasPrice: string;
3614
+ };
3615
+ };
3151
3616
  export type GqlGetBalancesQueryVariables = Exact<{
3152
3617
  filter: GqlBalanceFilterInput;
3153
3618
  after?: InputMaybe<Scalars['String']>;
@@ -3224,27 +3689,33 @@ export type GqlGetMessageProofQuery = {
3224
3689
  __typename: 'Header';
3225
3690
  id: string;
3226
3691
  daHeight: string;
3692
+ consensusParametersVersion: any;
3693
+ stateTransitionBytecodeVersion: any;
3227
3694
  transactionsCount: string;
3695
+ messageReceiptCount: string;
3228
3696
  transactionsRoot: string;
3697
+ messageOutboxRoot: string;
3698
+ eventInboxRoot: string;
3229
3699
  height: any;
3230
3700
  prevRoot: string;
3231
3701
  time: string;
3232
3702
  applicationHash: string;
3233
- messageReceiptRoot: string;
3234
- messageReceiptCount: string;
3235
3703
  };
3236
3704
  commitBlockHeader: {
3237
3705
  __typename: 'Header';
3238
3706
  id: string;
3239
3707
  daHeight: string;
3708
+ consensusParametersVersion: any;
3709
+ stateTransitionBytecodeVersion: any;
3240
3710
  transactionsCount: string;
3711
+ messageReceiptCount: string;
3241
3712
  transactionsRoot: string;
3713
+ messageOutboxRoot: string;
3714
+ eventInboxRoot: string;
3242
3715
  height: any;
3243
3716
  prevRoot: string;
3244
3717
  time: string;
3245
3718
  applicationHash: string;
3246
- messageReceiptRoot: string;
3247
- messageReceiptCount: string;
3248
3719
  };
3249
3720
  } | null;
3250
3721
  };
@@ -3259,47 +3730,61 @@ export type GqlGetMessageStatusQuery = {
3259
3730
  };
3260
3731
  };
3261
3732
  export type GqlDryRunMutationVariables = Exact<{
3262
- encodedTransaction: Scalars['HexString'];
3733
+ encodedTransactions: Array<Scalars['HexString']> | Scalars['HexString'];
3263
3734
  utxoValidation?: InputMaybe<Scalars['Boolean']>;
3264
3735
  }>;
3265
3736
  export type GqlDryRunMutation = {
3266
3737
  __typename: 'Mutation';
3267
3738
  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;
3739
+ __typename: 'DryRunTransactionExecutionStatus';
3740
+ id: string;
3741
+ status: {
3742
+ __typename: 'DryRunFailureStatus';
3743
+ reason: string;
3744
+ programState?: {
3745
+ __typename: 'ProgramState';
3746
+ returnType: GqlReturnType;
3747
+ data: string;
3748
+ } | null;
3749
+ } | {
3750
+ __typename: 'DryRunSuccessStatus';
3751
+ programState?: {
3752
+ __typename: 'ProgramState';
3753
+ returnType: GqlReturnType;
3754
+ data: string;
3755
+ } | null;
3756
+ };
3757
+ receipts: Array<{
3758
+ __typename: 'Receipt';
3759
+ id?: string | null;
3760
+ pc?: string | null;
3761
+ is?: string | null;
3762
+ to?: string | null;
3763
+ toAddress?: string | null;
3764
+ amount?: string | null;
3765
+ assetId?: string | null;
3766
+ gas?: string | null;
3767
+ param1?: string | null;
3768
+ param2?: string | null;
3769
+ val?: string | null;
3770
+ ptr?: string | null;
3771
+ digest?: string | null;
3772
+ reason?: string | null;
3773
+ ra?: string | null;
3774
+ rb?: string | null;
3775
+ rc?: string | null;
3776
+ rd?: string | null;
3777
+ len?: string | null;
3778
+ receiptType: GqlReceiptType;
3779
+ result?: string | null;
3780
+ gasUsed?: string | null;
3781
+ data?: string | null;
3782
+ sender?: string | null;
3783
+ recipient?: string | null;
3784
+ nonce?: string | null;
3785
+ contractId?: string | null;
3786
+ subId?: string | null;
3787
+ }>;
3303
3788
  }>;
3304
3789
  };
3305
3790
  export type GqlSubmitMutationVariables = Exact<{
@@ -3394,11 +3879,16 @@ export type GqlStatusChangeSubscription = {
3394
3879
  } | null;
3395
3880
  };
3396
3881
  };
3882
+ export declare const TransactionStatusSubscriptionFragmentFragmentDoc: DocumentNode;
3397
3883
  export declare const ReceiptFragmentFragmentDoc: DocumentNode;
3398
3884
  export declare const TransactionStatusFragmentFragmentDoc: DocumentNode;
3399
3885
  export declare const TransactionFragmentFragmentDoc: DocumentNode;
3400
3886
  export declare const InputEstimatePredicatesFragmentFragmentDoc: DocumentNode;
3401
3887
  export declare const TransactionEstimatePredicatesFragmentFragmentDoc: DocumentNode;
3888
+ export declare const DryRunFailureStatusFragmentFragmentDoc: DocumentNode;
3889
+ export declare const DryRunSuccessStatusFragmentFragmentDoc: DocumentNode;
3890
+ export declare const DryRunTransactionStatusFragmentFragmentDoc: DocumentNode;
3891
+ export declare const DryRunTransactionExecutionStatusFragmentFragmentDoc: DocumentNode;
3402
3892
  export declare const CoinFragmentFragmentDoc: DocumentNode;
3403
3893
  export declare const MessageCoinFragmentFragmentDoc: DocumentNode;
3404
3894
  export declare const MessageFragmentFragmentDoc: DocumentNode;
@@ -3434,6 +3924,8 @@ export declare const GetCoinsToSpendDocument: DocumentNode;
3434
3924
  export declare const GetContractDocument: DocumentNode;
3435
3925
  export declare const GetContractBalanceDocument: DocumentNode;
3436
3926
  export declare const GetBalanceDocument: DocumentNode;
3927
+ export declare const GetLatestGasPriceDocument: DocumentNode;
3928
+ export declare const EstimateGasPriceDocument: DocumentNode;
3437
3929
  export declare const GetBalancesDocument: DocumentNode;
3438
3930
  export declare const GetMessagesDocument: DocumentNode;
3439
3931
  export declare const GetMessageProofDocument: DocumentNode;
@@ -3462,6 +3954,8 @@ export declare function getSdk<C, E>(requester: Requester<C, E>): {
3462
3954
  getContract(variables: GqlGetContractQueryVariables, options?: C): Promise<GqlGetContractQuery>;
3463
3955
  getContractBalance(variables: GqlGetContractBalanceQueryVariables, options?: C): Promise<GqlGetContractBalanceQuery>;
3464
3956
  getBalance(variables: GqlGetBalanceQueryVariables, options?: C): Promise<GqlGetBalanceQuery>;
3957
+ getLatestGasPrice(variables?: GqlGetLatestGasPriceQueryVariables, options?: C): Promise<GqlGetLatestGasPriceQuery>;
3958
+ estimateGasPrice(variables: GqlEstimateGasPriceQueryVariables, options?: C): Promise<GqlEstimateGasPriceQuery>;
3465
3959
  getBalances(variables: GqlGetBalancesQueryVariables, options?: C): Promise<GqlGetBalancesQuery>;
3466
3960
  getMessages(variables: GqlGetMessagesQueryVariables, options?: C): Promise<GqlGetMessagesQuery>;
3467
3961
  getMessageProof(variables: GqlGetMessageProofQueryVariables, options?: C): Promise<GqlGetMessageProofQuery>;