@fuel-ts/account 0.0.0-rc-1976-20240411153008 → 0.0.0-rc-2021-20240411154255

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 +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 +896 -629
  12. package/dist/index.global.js.map +1 -1
  13. package/dist/index.js +874 -621
  14. package/dist/index.js.map +1 -1
  15. package/dist/index.mjs +716 -464
  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 +906 -324
  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/fuel-graphql-subscriber.d.ts.map +1 -1
  26. package/dist/providers/message.d.ts +7 -1
  27. package/dist/providers/message.d.ts.map +1 -1
  28. package/dist/providers/provider.d.ts +45 -34
  29. package/dist/providers/provider.d.ts.map +1 -1
  30. package/dist/providers/transaction-request/create-transaction-request.d.ts +1 -1
  31. package/dist/providers/transaction-request/create-transaction-request.d.ts.map +1 -1
  32. package/dist/providers/transaction-request/input.d.ts +2 -2
  33. package/dist/providers/transaction-request/input.d.ts.map +1 -1
  34. package/dist/providers/transaction-request/script-transaction-request.d.ts +1 -1
  35. package/dist/providers/transaction-request/script-transaction-request.d.ts.map +1 -1
  36. package/dist/providers/transaction-request/transaction-request.d.ts +9 -29
  37. package/dist/providers/transaction-request/transaction-request.d.ts.map +1 -1
  38. package/dist/providers/transaction-request/utils.d.ts +3 -0
  39. package/dist/providers/transaction-request/utils.d.ts.map +1 -1
  40. package/dist/providers/transaction-response/transaction-response.d.ts.map +1 -1
  41. package/dist/providers/transaction-summary/assemble-transaction-summary.d.ts +2 -0
  42. package/dist/providers/transaction-summary/assemble-transaction-summary.d.ts.map +1 -1
  43. package/dist/providers/transaction-summary/calculate-transaction-fee.d.ts +3 -2
  44. package/dist/providers/transaction-summary/calculate-transaction-fee.d.ts.map +1 -1
  45. package/dist/providers/transaction-summary/get-transaction-summary.d.ts.map +1 -1
  46. package/dist/providers/utils/gas.d.ts +8 -2
  47. package/dist/providers/utils/gas.d.ts.map +1 -1
  48. package/dist/test-utils/launchNode.d.ts.map +1 -1
  49. package/dist/test-utils/seedTestWallet.d.ts.map +1 -1
  50. package/dist/test-utils.global.js +1613 -1132
  51. package/dist/test-utils.global.js.map +1 -1
  52. package/dist/test-utils.js +852 -620
  53. package/dist/test-utils.js.map +1 -1
  54. package/dist/test-utils.mjs +710 -478
  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 +17 -17
@@ -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,18 @@ 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
+ export type GqlTransactionFragmentFragment = {
1118
+ __typename: 'Transaction';
1119
+ id: string;
1120
+ rawPayload: string;
1015
1121
  status?: {
1016
1122
  __typename: 'FailureStatus';
1017
1123
  time: string;
@@ -1021,6 +1127,37 @@ export type GqlTransactionFragmentFragment = {
1021
1127
  __typename: 'Block';
1022
1128
  id: string;
1023
1129
  };
1130
+ receipts: Array<{
1131
+ __typename: 'Receipt';
1132
+ id?: string | null;
1133
+ pc?: string | null;
1134
+ is?: string | null;
1135
+ to?: string | null;
1136
+ toAddress?: string | null;
1137
+ amount?: string | null;
1138
+ assetId?: string | null;
1139
+ gas?: string | null;
1140
+ param1?: string | null;
1141
+ param2?: string | null;
1142
+ val?: string | null;
1143
+ ptr?: string | null;
1144
+ digest?: string | null;
1145
+ reason?: string | null;
1146
+ ra?: string | null;
1147
+ rb?: string | null;
1148
+ rc?: string | null;
1149
+ rd?: string | null;
1150
+ len?: string | null;
1151
+ receiptType: GqlReceiptType;
1152
+ result?: string | null;
1153
+ gasUsed?: string | null;
1154
+ data?: string | null;
1155
+ sender?: string | null;
1156
+ recipient?: string | null;
1157
+ nonce?: string | null;
1158
+ contractId?: string | null;
1159
+ subId?: string | null;
1160
+ }>;
1024
1161
  } | {
1025
1162
  __typename: 'SqueezedOutStatus';
1026
1163
  reason: string;
@@ -1037,6 +1174,37 @@ export type GqlTransactionFragmentFragment = {
1037
1174
  __typename: 'Block';
1038
1175
  id: string;
1039
1176
  };
1177
+ receipts: Array<{
1178
+ __typename: 'Receipt';
1179
+ id?: string | null;
1180
+ pc?: string | null;
1181
+ is?: string | null;
1182
+ to?: string | null;
1183
+ toAddress?: string | null;
1184
+ amount?: string | null;
1185
+ assetId?: string | null;
1186
+ gas?: string | null;
1187
+ param1?: string | null;
1188
+ param2?: string | null;
1189
+ val?: string | null;
1190
+ ptr?: string | null;
1191
+ digest?: string | null;
1192
+ reason?: string | null;
1193
+ ra?: string | null;
1194
+ rb?: string | null;
1195
+ rc?: string | null;
1196
+ rd?: string | null;
1197
+ len?: string | null;
1198
+ receiptType: GqlReceiptType;
1199
+ result?: string | null;
1200
+ gasUsed?: string | null;
1201
+ data?: string | null;
1202
+ sender?: string | null;
1203
+ recipient?: string | null;
1204
+ nonce?: string | null;
1205
+ contractId?: string | null;
1206
+ subId?: string | null;
1207
+ }>;
1040
1208
  programState?: {
1041
1209
  __typename: 'ProgramState';
1042
1210
  returnType: GqlReturnType;
@@ -1068,10 +1236,29 @@ export type GqlTransactionEstimatePredicatesFragmentFragment = {
1068
1236
  predicateGasUsed: string;
1069
1237
  }> | null;
1070
1238
  };
1239
+ export type GqlDryRunFailureStatusFragmentFragment = {
1240
+ __typename: 'DryRunFailureStatus';
1241
+ reason: string;
1242
+ programState?: {
1243
+ __typename: 'ProgramState';
1244
+ returnType: GqlReturnType;
1245
+ data: string;
1246
+ } | null;
1247
+ };
1248
+ export type GqlDryRunSuccessStatusFragmentFragment = {
1249
+ __typename: 'DryRunSuccessStatus';
1250
+ programState?: {
1251
+ __typename: 'ProgramState';
1252
+ returnType: GqlReturnType;
1253
+ data: string;
1254
+ } | null;
1255
+ };
1071
1256
  export type GqlReceiptFragmentFragment = {
1072
1257
  __typename: 'Receipt';
1258
+ id?: string | null;
1073
1259
  pc?: string | null;
1074
1260
  is?: string | null;
1261
+ to?: string | null;
1075
1262
  toAddress?: string | null;
1076
1263
  amount?: string | null;
1077
1264
  assetId?: string | null;
@@ -1096,21 +1283,82 @@ export type GqlReceiptFragmentFragment = {
1096
1283
  nonce?: string | null;
1097
1284
  contractId?: string | null;
1098
1285
  subId?: string | null;
1099
- contract?: {
1100
- __typename: 'Contract';
1101
- id: string;
1286
+ };
1287
+ type GqlDryRunTransactionStatusFragment_DryRunFailureStatus_Fragment = {
1288
+ __typename: 'DryRunFailureStatus';
1289
+ reason: string;
1290
+ programState?: {
1291
+ __typename: 'ProgramState';
1292
+ returnType: GqlReturnType;
1293
+ data: string;
1102
1294
  } | null;
1103
- to?: {
1104
- __typename: 'Contract';
1105
- id: string;
1295
+ };
1296
+ type GqlDryRunTransactionStatusFragment_DryRunSuccessStatus_Fragment = {
1297
+ __typename: 'DryRunSuccessStatus';
1298
+ programState?: {
1299
+ __typename: 'ProgramState';
1300
+ returnType: GqlReturnType;
1301
+ data: string;
1106
1302
  } | null;
1107
1303
  };
1304
+ export type GqlDryRunTransactionStatusFragmentFragment = GqlDryRunTransactionStatusFragment_DryRunFailureStatus_Fragment | GqlDryRunTransactionStatusFragment_DryRunSuccessStatus_Fragment;
1305
+ export type GqlDryRunTransactionExecutionStatusFragmentFragment = {
1306
+ __typename: 'DryRunTransactionExecutionStatus';
1307
+ id: string;
1308
+ status: {
1309
+ __typename: 'DryRunFailureStatus';
1310
+ reason: string;
1311
+ programState?: {
1312
+ __typename: 'ProgramState';
1313
+ returnType: GqlReturnType;
1314
+ data: string;
1315
+ } | null;
1316
+ } | {
1317
+ __typename: 'DryRunSuccessStatus';
1318
+ programState?: {
1319
+ __typename: 'ProgramState';
1320
+ returnType: GqlReturnType;
1321
+ data: string;
1322
+ } | null;
1323
+ };
1324
+ receipts: Array<{
1325
+ __typename: 'Receipt';
1326
+ id?: string | null;
1327
+ pc?: string | null;
1328
+ is?: string | null;
1329
+ to?: string | null;
1330
+ toAddress?: string | null;
1331
+ amount?: string | null;
1332
+ assetId?: string | null;
1333
+ gas?: string | null;
1334
+ param1?: string | null;
1335
+ param2?: string | null;
1336
+ val?: string | null;
1337
+ ptr?: string | null;
1338
+ digest?: string | null;
1339
+ reason?: string | null;
1340
+ ra?: string | null;
1341
+ rb?: string | null;
1342
+ rc?: string | null;
1343
+ rd?: string | null;
1344
+ len?: string | null;
1345
+ receiptType: GqlReceiptType;
1346
+ result?: string | null;
1347
+ gasUsed?: string | null;
1348
+ data?: string | null;
1349
+ sender?: string | null;
1350
+ recipient?: string | null;
1351
+ nonce?: string | null;
1352
+ contractId?: string | null;
1353
+ subId?: string | null;
1354
+ }>;
1355
+ };
1108
1356
  export type GqlBlockFragmentFragment = {
1109
1357
  __typename: 'Block';
1110
1358
  id: string;
1359
+ height: any;
1111
1360
  header: {
1112
1361
  __typename: 'Header';
1113
- height: any;
1114
1362
  time: string;
1115
1363
  };
1116
1364
  transactions: Array<{
@@ -1124,9 +1372,8 @@ export type GqlCoinFragmentFragment = {
1124
1372
  owner: string;
1125
1373
  amount: string;
1126
1374
  assetId: string;
1127
- maturity: any;
1128
1375
  blockCreated: any;
1129
- txCreatedIdx: string;
1376
+ txCreatedIdx: any;
1130
1377
  };
1131
1378
  export type GqlMessageCoinFragmentFragment = {
1132
1379
  __typename: 'MessageCoin';
@@ -1167,27 +1414,33 @@ export type GqlMessageProofFragmentFragment = {
1167
1414
  __typename: 'Header';
1168
1415
  id: string;
1169
1416
  daHeight: string;
1417
+ consensusParametersVersion: any;
1418
+ stateTransitionBytecodeVersion: any;
1170
1419
  transactionsCount: string;
1420
+ messageReceiptCount: string;
1171
1421
  transactionsRoot: string;
1422
+ messageOutboxRoot: string;
1423
+ eventInboxRoot: string;
1172
1424
  height: any;
1173
1425
  prevRoot: string;
1174
1426
  time: string;
1175
1427
  applicationHash: string;
1176
- messageReceiptRoot: string;
1177
- messageReceiptCount: string;
1178
1428
  };
1179
1429
  commitBlockHeader: {
1180
1430
  __typename: 'Header';
1181
1431
  id: string;
1182
1432
  daHeight: string;
1433
+ consensusParametersVersion: any;
1434
+ stateTransitionBytecodeVersion: any;
1183
1435
  transactionsCount: string;
1436
+ messageReceiptCount: string;
1184
1437
  transactionsRoot: string;
1438
+ messageOutboxRoot: string;
1439
+ eventInboxRoot: string;
1185
1440
  height: any;
1186
1441
  prevRoot: string;
1187
1442
  time: string;
1188
1443
  applicationHash: string;
1189
- messageReceiptRoot: string;
1190
- messageReceiptCount: string;
1191
1444
  };
1192
1445
  };
1193
1446
  export type GqlBalanceFragmentFragment = {
@@ -1251,7 +1504,6 @@ export type GqlGasCostsFragmentFragment = {
1251
1504
  cb: string;
1252
1505
  cfei: string;
1253
1506
  cfsi: string;
1254
- croo: string;
1255
1507
  div: string;
1256
1508
  divi: string;
1257
1509
  ecr1: string;
@@ -1329,6 +1581,10 @@ export type GqlGasCostsFragmentFragment = {
1329
1581
  xor: string;
1330
1582
  xori: string;
1331
1583
  newStoragePerByte: string;
1584
+ version: {
1585
+ __typename: 'Version';
1586
+ value: any;
1587
+ };
1332
1588
  call: {
1333
1589
  __typename: 'HeavyOperation';
1334
1590
  base: string;
@@ -1347,6 +1603,15 @@ export type GqlGasCostsFragmentFragment = {
1347
1603
  base: string;
1348
1604
  unitsPerGas: string;
1349
1605
  };
1606
+ croo: {
1607
+ __typename: 'HeavyOperation';
1608
+ base: string;
1609
+ gasPerUnit: string;
1610
+ } | {
1611
+ __typename: 'LightOperation';
1612
+ base: string;
1613
+ unitsPerGas: string;
1614
+ };
1350
1615
  csiz: {
1351
1616
  __typename: 'HeavyOperation';
1352
1617
  base: string;
@@ -1514,6 +1779,10 @@ export type GqlConsensusParametersFragmentFragment = {
1514
1779
  __typename: 'ConsensusParameters';
1515
1780
  baseAssetId: string;
1516
1781
  chainId: string;
1782
+ version: {
1783
+ __typename: 'Version';
1784
+ value: any;
1785
+ };
1517
1786
  txParams: {
1518
1787
  __typename: 'TxParameters';
1519
1788
  maxInputs: any;
@@ -1558,7 +1827,6 @@ export type GqlConsensusParametersFragmentFragment = {
1558
1827
  cb: string;
1559
1828
  cfei: string;
1560
1829
  cfsi: string;
1561
- croo: string;
1562
1830
  div: string;
1563
1831
  divi: string;
1564
1832
  ecr1: string;
@@ -1636,6 +1904,10 @@ export type GqlConsensusParametersFragmentFragment = {
1636
1904
  xor: string;
1637
1905
  xori: string;
1638
1906
  newStoragePerByte: string;
1907
+ version: {
1908
+ __typename: 'Version';
1909
+ value: any;
1910
+ };
1639
1911
  call: {
1640
1912
  __typename: 'HeavyOperation';
1641
1913
  base: string;
@@ -1654,6 +1926,15 @@ export type GqlConsensusParametersFragmentFragment = {
1654
1926
  base: string;
1655
1927
  unitsPerGas: string;
1656
1928
  };
1929
+ croo: {
1930
+ __typename: 'HeavyOperation';
1931
+ base: string;
1932
+ gasPerUnit: string;
1933
+ } | {
1934
+ __typename: 'LightOperation';
1935
+ base: string;
1936
+ unitsPerGas: string;
1937
+ };
1657
1938
  csiz: {
1658
1939
  __typename: 'HeavyOperation';
1659
1940
  base: string;
@@ -1825,9 +2106,9 @@ export type GqlChainInfoFragmentFragment = {
1825
2106
  latestBlock: {
1826
2107
  __typename: 'Block';
1827
2108
  id: string;
2109
+ height: any;
1828
2110
  header: {
1829
2111
  __typename: 'Header';
1830
- height: any;
1831
2112
  time: string;
1832
2113
  };
1833
2114
  transactions: Array<{
@@ -1839,6 +2120,10 @@ export type GqlChainInfoFragmentFragment = {
1839
2120
  __typename: 'ConsensusParameters';
1840
2121
  baseAssetId: string;
1841
2122
  chainId: string;
2123
+ version: {
2124
+ __typename: 'Version';
2125
+ value: any;
2126
+ };
1842
2127
  txParams: {
1843
2128
  __typename: 'TxParameters';
1844
2129
  maxInputs: any;
@@ -1883,7 +2168,6 @@ export type GqlChainInfoFragmentFragment = {
1883
2168
  cb: string;
1884
2169
  cfei: string;
1885
2170
  cfsi: string;
1886
- croo: string;
1887
2171
  div: string;
1888
2172
  divi: string;
1889
2173
  ecr1: string;
@@ -1961,6 +2245,10 @@ export type GqlChainInfoFragmentFragment = {
1961
2245
  xor: string;
1962
2246
  xori: string;
1963
2247
  newStoragePerByte: string;
2248
+ version: {
2249
+ __typename: 'Version';
2250
+ value: any;
2251
+ };
1964
2252
  call: {
1965
2253
  __typename: 'HeavyOperation';
1966
2254
  base: string;
@@ -1979,6 +2267,15 @@ export type GqlChainInfoFragmentFragment = {
1979
2267
  base: string;
1980
2268
  unitsPerGas: string;
1981
2269
  };
2270
+ croo: {
2271
+ __typename: 'HeavyOperation';
2272
+ base: string;
2273
+ gasPerUnit: string;
2274
+ } | {
2275
+ __typename: 'LightOperation';
2276
+ base: string;
2277
+ unitsPerGas: string;
2278
+ };
1982
2279
  csiz: {
1983
2280
  __typename: 'HeavyOperation';
1984
2281
  base: string;
@@ -2171,19 +2468,9 @@ export type GqlNodeInfoFragmentFragment = {
2171
2468
  __typename: 'NodeInfo';
2172
2469
  utxoValidation: boolean;
2173
2470
  vmBacktrace: boolean;
2174
- minGasPrice: string;
2175
2471
  maxTx: string;
2176
2472
  maxDepth: string;
2177
2473
  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
2474
  };
2188
2475
  export type GqlGetNodeInfoQueryVariables = Exact<{
2189
2476
  [key: string]: never;
@@ -2194,19 +2481,9 @@ export type GqlGetNodeInfoQuery = {
2194
2481
  __typename: 'NodeInfo';
2195
2482
  utxoValidation: boolean;
2196
2483
  vmBacktrace: boolean;
2197
- minGasPrice: string;
2198
2484
  maxTx: string;
2199
2485
  maxDepth: string;
2200
2486
  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
2487
  };
2211
2488
  };
2212
2489
  export type GqlGetChainQueryVariables = Exact<{
@@ -2221,9 +2498,9 @@ export type GqlGetChainQuery = {
2221
2498
  latestBlock: {
2222
2499
  __typename: 'Block';
2223
2500
  id: string;
2501
+ height: any;
2224
2502
  header: {
2225
2503
  __typename: 'Header';
2226
- height: any;
2227
2504
  time: string;
2228
2505
  };
2229
2506
  transactions: Array<{
@@ -2235,6 +2512,10 @@ export type GqlGetChainQuery = {
2235
2512
  __typename: 'ConsensusParameters';
2236
2513
  baseAssetId: string;
2237
2514
  chainId: string;
2515
+ version: {
2516
+ __typename: 'Version';
2517
+ value: any;
2518
+ };
2238
2519
  txParams: {
2239
2520
  __typename: 'TxParameters';
2240
2521
  maxInputs: any;
@@ -2279,7 +2560,6 @@ export type GqlGetChainQuery = {
2279
2560
  cb: string;
2280
2561
  cfei: string;
2281
2562
  cfsi: string;
2282
- croo: string;
2283
2563
  div: string;
2284
2564
  divi: string;
2285
2565
  ecr1: string;
@@ -2357,6 +2637,10 @@ export type GqlGetChainQuery = {
2357
2637
  xor: string;
2358
2638
  xori: string;
2359
2639
  newStoragePerByte: string;
2640
+ version: {
2641
+ __typename: 'Version';
2642
+ value: any;
2643
+ };
2360
2644
  call: {
2361
2645
  __typename: 'HeavyOperation';
2362
2646
  base: string;
@@ -2375,6 +2659,15 @@ export type GqlGetChainQuery = {
2375
2659
  base: string;
2376
2660
  unitsPerGas: string;
2377
2661
  };
2662
+ croo: {
2663
+ __typename: 'HeavyOperation';
2664
+ base: string;
2665
+ gasPerUnit: string;
2666
+ } | {
2667
+ __typename: 'LightOperation';
2668
+ base: string;
2669
+ unitsPerGas: string;
2670
+ };
2378
2671
  csiz: {
2379
2672
  __typename: 'HeavyOperation';
2380
2673
  base: string;
@@ -2550,44 +2843,6 @@ export type GqlGetTransactionQuery = {
2550
2843
  __typename: 'Transaction';
2551
2844
  id: string;
2552
2845
  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
2846
  status?: {
2592
2847
  __typename: 'FailureStatus';
2593
2848
  time: string;
@@ -2597,6 +2852,37 @@ export type GqlGetTransactionQuery = {
2597
2852
  __typename: 'Block';
2598
2853
  id: string;
2599
2854
  };
2855
+ receipts: Array<{
2856
+ __typename: 'Receipt';
2857
+ id?: string | null;
2858
+ pc?: string | null;
2859
+ is?: string | null;
2860
+ to?: string | null;
2861
+ toAddress?: string | null;
2862
+ amount?: string | null;
2863
+ assetId?: string | null;
2864
+ gas?: string | null;
2865
+ param1?: string | null;
2866
+ param2?: string | null;
2867
+ val?: string | null;
2868
+ ptr?: string | null;
2869
+ digest?: string | null;
2870
+ reason?: string | null;
2871
+ ra?: string | null;
2872
+ rb?: string | null;
2873
+ rc?: string | null;
2874
+ rd?: string | null;
2875
+ len?: string | null;
2876
+ receiptType: GqlReceiptType;
2877
+ result?: string | null;
2878
+ gasUsed?: string | null;
2879
+ data?: string | null;
2880
+ sender?: string | null;
2881
+ recipient?: string | null;
2882
+ nonce?: string | null;
2883
+ contractId?: string | null;
2884
+ subId?: string | null;
2885
+ }>;
2600
2886
  } | {
2601
2887
  __typename: 'SqueezedOutStatus';
2602
2888
  reason: string;
@@ -2613,6 +2899,37 @@ export type GqlGetTransactionQuery = {
2613
2899
  __typename: 'Block';
2614
2900
  id: string;
2615
2901
  };
2902
+ receipts: Array<{
2903
+ __typename: 'Receipt';
2904
+ id?: string | null;
2905
+ pc?: string | null;
2906
+ is?: string | null;
2907
+ to?: string | null;
2908
+ toAddress?: string | null;
2909
+ amount?: string | null;
2910
+ assetId?: string | null;
2911
+ gas?: string | null;
2912
+ param1?: string | null;
2913
+ param2?: string | null;
2914
+ val?: string | null;
2915
+ ptr?: string | null;
2916
+ digest?: string | null;
2917
+ reason?: string | null;
2918
+ ra?: string | null;
2919
+ rb?: string | null;
2920
+ rc?: string | null;
2921
+ rd?: string | null;
2922
+ len?: string | null;
2923
+ receiptType: GqlReceiptType;
2924
+ result?: string | null;
2925
+ gasUsed?: string | null;
2926
+ data?: string | null;
2927
+ sender?: string | null;
2928
+ recipient?: string | null;
2929
+ nonce?: string | null;
2930
+ contractId?: string | null;
2931
+ subId?: string | null;
2932
+ }>;
2616
2933
  programState?: {
2617
2934
  __typename: 'ProgramState';
2618
2935
  returnType: GqlReturnType;
@@ -2630,44 +2947,6 @@ export type GqlGetTransactionWithReceiptsQuery = {
2630
2947
  __typename: 'Transaction';
2631
2948
  id: string;
2632
2949
  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
2950
  status?: {
2672
2951
  __typename: 'FailureStatus';
2673
2952
  time: string;
@@ -2677,6 +2956,37 @@ export type GqlGetTransactionWithReceiptsQuery = {
2677
2956
  __typename: 'Block';
2678
2957
  id: string;
2679
2958
  };
2959
+ receipts: Array<{
2960
+ __typename: 'Receipt';
2961
+ id?: string | null;
2962
+ pc?: string | null;
2963
+ is?: string | null;
2964
+ to?: string | null;
2965
+ toAddress?: string | null;
2966
+ amount?: string | null;
2967
+ assetId?: string | null;
2968
+ gas?: string | null;
2969
+ param1?: string | null;
2970
+ param2?: string | null;
2971
+ val?: string | null;
2972
+ ptr?: string | null;
2973
+ digest?: string | null;
2974
+ reason?: string | null;
2975
+ ra?: string | null;
2976
+ rb?: string | null;
2977
+ rc?: string | null;
2978
+ rd?: string | null;
2979
+ len?: string | null;
2980
+ receiptType: GqlReceiptType;
2981
+ result?: string | null;
2982
+ gasUsed?: string | null;
2983
+ data?: string | null;
2984
+ sender?: string | null;
2985
+ recipient?: string | null;
2986
+ nonce?: string | null;
2987
+ contractId?: string | null;
2988
+ subId?: string | null;
2989
+ }>;
2680
2990
  } | {
2681
2991
  __typename: 'SqueezedOutStatus';
2682
2992
  reason: string;
@@ -2693,6 +3003,37 @@ export type GqlGetTransactionWithReceiptsQuery = {
2693
3003
  __typename: 'Block';
2694
3004
  id: string;
2695
3005
  };
3006
+ receipts: Array<{
3007
+ __typename: 'Receipt';
3008
+ id?: string | null;
3009
+ pc?: string | null;
3010
+ is?: string | null;
3011
+ to?: string | null;
3012
+ toAddress?: string | null;
3013
+ amount?: string | null;
3014
+ assetId?: string | null;
3015
+ gas?: string | null;
3016
+ param1?: string | null;
3017
+ param2?: string | null;
3018
+ val?: string | null;
3019
+ ptr?: string | null;
3020
+ digest?: string | null;
3021
+ reason?: string | null;
3022
+ ra?: string | null;
3023
+ rb?: string | null;
3024
+ rc?: string | null;
3025
+ rd?: string | null;
3026
+ len?: string | null;
3027
+ receiptType: GqlReceiptType;
3028
+ result?: string | null;
3029
+ gasUsed?: string | null;
3030
+ data?: string | null;
3031
+ sender?: string | null;
3032
+ recipient?: string | null;
3033
+ nonce?: string | null;
3034
+ contractId?: string | null;
3035
+ subId?: string | null;
3036
+ }>;
2696
3037
  programState?: {
2697
3038
  __typename: 'ProgramState';
2698
3039
  returnType: GqlReturnType;
@@ -2717,44 +3058,6 @@ export type GqlGetTransactionsQuery = {
2717
3058
  __typename: 'Transaction';
2718
3059
  id: string;
2719
3060
  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
3061
  status?: {
2759
3062
  __typename: 'FailureStatus';
2760
3063
  time: string;
@@ -2764,6 +3067,37 @@ export type GqlGetTransactionsQuery = {
2764
3067
  __typename: 'Block';
2765
3068
  id: string;
2766
3069
  };
3070
+ receipts: Array<{
3071
+ __typename: 'Receipt';
3072
+ id?: string | null;
3073
+ pc?: string | null;
3074
+ is?: string | null;
3075
+ to?: string | null;
3076
+ toAddress?: string | null;
3077
+ amount?: string | null;
3078
+ assetId?: string | null;
3079
+ gas?: string | null;
3080
+ param1?: string | null;
3081
+ param2?: string | null;
3082
+ val?: string | null;
3083
+ ptr?: string | null;
3084
+ digest?: string | null;
3085
+ reason?: string | null;
3086
+ ra?: string | null;
3087
+ rb?: string | null;
3088
+ rc?: string | null;
3089
+ rd?: string | null;
3090
+ len?: string | null;
3091
+ receiptType: GqlReceiptType;
3092
+ result?: string | null;
3093
+ gasUsed?: string | null;
3094
+ data?: string | null;
3095
+ sender?: string | null;
3096
+ recipient?: string | null;
3097
+ nonce?: string | null;
3098
+ contractId?: string | null;
3099
+ subId?: string | null;
3100
+ }>;
2767
3101
  } | {
2768
3102
  __typename: 'SqueezedOutStatus';
2769
3103
  reason: string;
@@ -2780,6 +3114,37 @@ export type GqlGetTransactionsQuery = {
2780
3114
  __typename: 'Block';
2781
3115
  id: string;
2782
3116
  };
3117
+ receipts: Array<{
3118
+ __typename: 'Receipt';
3119
+ id?: string | null;
3120
+ pc?: string | null;
3121
+ is?: string | null;
3122
+ to?: string | null;
3123
+ toAddress?: string | null;
3124
+ amount?: string | null;
3125
+ assetId?: string | null;
3126
+ gas?: string | null;
3127
+ param1?: string | null;
3128
+ param2?: string | null;
3129
+ val?: string | null;
3130
+ ptr?: string | null;
3131
+ digest?: string | null;
3132
+ reason?: string | null;
3133
+ ra?: string | null;
3134
+ rb?: string | null;
3135
+ rc?: string | null;
3136
+ rd?: string | null;
3137
+ len?: string | null;
3138
+ receiptType: GqlReceiptType;
3139
+ result?: string | null;
3140
+ gasUsed?: string | null;
3141
+ data?: string | null;
3142
+ sender?: string | null;
3143
+ recipient?: string | null;
3144
+ nonce?: string | null;
3145
+ contractId?: string | null;
3146
+ subId?: string | null;
3147
+ }>;
2783
3148
  programState?: {
2784
3149
  __typename: 'ProgramState';
2785
3150
  returnType: GqlReturnType;
@@ -2814,44 +3179,6 @@ export type GqlGetTransactionsByOwnerQuery = {
2814
3179
  __typename: 'Transaction';
2815
3180
  id: string;
2816
3181
  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
3182
  status?: {
2856
3183
  __typename: 'FailureStatus';
2857
3184
  time: string;
@@ -2861,6 +3188,37 @@ export type GqlGetTransactionsByOwnerQuery = {
2861
3188
  __typename: 'Block';
2862
3189
  id: string;
2863
3190
  };
3191
+ receipts: Array<{
3192
+ __typename: 'Receipt';
3193
+ id?: string | null;
3194
+ pc?: string | null;
3195
+ is?: string | null;
3196
+ to?: string | null;
3197
+ toAddress?: string | null;
3198
+ amount?: string | null;
3199
+ assetId?: string | null;
3200
+ gas?: string | null;
3201
+ param1?: string | null;
3202
+ param2?: string | null;
3203
+ val?: string | null;
3204
+ ptr?: string | null;
3205
+ digest?: string | null;
3206
+ reason?: string | null;
3207
+ ra?: string | null;
3208
+ rb?: string | null;
3209
+ rc?: string | null;
3210
+ rd?: string | null;
3211
+ len?: string | null;
3212
+ receiptType: GqlReceiptType;
3213
+ result?: string | null;
3214
+ gasUsed?: string | null;
3215
+ data?: string | null;
3216
+ sender?: string | null;
3217
+ recipient?: string | null;
3218
+ nonce?: string | null;
3219
+ contractId?: string | null;
3220
+ subId?: string | null;
3221
+ }>;
2864
3222
  } | {
2865
3223
  __typename: 'SqueezedOutStatus';
2866
3224
  reason: string;
@@ -2877,6 +3235,37 @@ export type GqlGetTransactionsByOwnerQuery = {
2877
3235
  __typename: 'Block';
2878
3236
  id: string;
2879
3237
  };
3238
+ receipts: Array<{
3239
+ __typename: 'Receipt';
3240
+ id?: string | null;
3241
+ pc?: string | null;
3242
+ is?: string | null;
3243
+ to?: string | null;
3244
+ toAddress?: string | null;
3245
+ amount?: string | null;
3246
+ assetId?: string | null;
3247
+ gas?: string | null;
3248
+ param1?: string | null;
3249
+ param2?: string | null;
3250
+ val?: string | null;
3251
+ ptr?: string | null;
3252
+ digest?: string | null;
3253
+ reason?: string | null;
3254
+ ra?: string | null;
3255
+ rb?: string | null;
3256
+ rc?: string | null;
3257
+ rd?: string | null;
3258
+ len?: string | null;
3259
+ receiptType: GqlReceiptType;
3260
+ result?: string | null;
3261
+ gasUsed?: string | null;
3262
+ data?: string | null;
3263
+ sender?: string | null;
3264
+ recipient?: string | null;
3265
+ nonce?: string | null;
3266
+ contractId?: string | null;
3267
+ subId?: string | null;
3268
+ }>;
2880
3269
  programState?: {
2881
3270
  __typename: 'ProgramState';
2882
3271
  returnType: GqlReturnType;
@@ -2914,9 +3303,9 @@ export type GqlGetBlockQuery = {
2914
3303
  block?: {
2915
3304
  __typename: 'Block';
2916
3305
  id: string;
3306
+ height: any;
2917
3307
  header: {
2918
3308
  __typename: 'Header';
2919
- height: any;
2920
3309
  time: string;
2921
3310
  };
2922
3311
  transactions: Array<{
@@ -2934,48 +3323,11 @@ export type GqlGetBlockWithTransactionsQuery = {
2934
3323
  block?: {
2935
3324
  __typename: 'Block';
2936
3325
  id: string;
3326
+ height: any;
2937
3327
  transactions: Array<{
2938
3328
  __typename: 'Transaction';
2939
3329
  id: string;
2940
3330
  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
3331
  status?: {
2980
3332
  __typename: 'FailureStatus';
2981
3333
  time: string;
@@ -2985,6 +3337,37 @@ export type GqlGetBlockWithTransactionsQuery = {
2985
3337
  __typename: 'Block';
2986
3338
  id: string;
2987
3339
  };
3340
+ receipts: Array<{
3341
+ __typename: 'Receipt';
3342
+ id?: string | null;
3343
+ pc?: string | null;
3344
+ is?: string | null;
3345
+ to?: string | null;
3346
+ toAddress?: string | null;
3347
+ amount?: string | null;
3348
+ assetId?: string | null;
3349
+ gas?: string | null;
3350
+ param1?: string | null;
3351
+ param2?: string | null;
3352
+ val?: string | null;
3353
+ ptr?: string | null;
3354
+ digest?: string | null;
3355
+ reason?: string | null;
3356
+ ra?: string | null;
3357
+ rb?: string | null;
3358
+ rc?: string | null;
3359
+ rd?: string | null;
3360
+ len?: string | null;
3361
+ receiptType: GqlReceiptType;
3362
+ result?: string | null;
3363
+ gasUsed?: string | null;
3364
+ data?: string | null;
3365
+ sender?: string | null;
3366
+ recipient?: string | null;
3367
+ nonce?: string | null;
3368
+ contractId?: string | null;
3369
+ subId?: string | null;
3370
+ }>;
2988
3371
  } | {
2989
3372
  __typename: 'SqueezedOutStatus';
2990
3373
  reason: string;
@@ -3001,6 +3384,37 @@ export type GqlGetBlockWithTransactionsQuery = {
3001
3384
  __typename: 'Block';
3002
3385
  id: string;
3003
3386
  };
3387
+ receipts: Array<{
3388
+ __typename: 'Receipt';
3389
+ id?: string | null;
3390
+ pc?: string | null;
3391
+ is?: string | null;
3392
+ to?: string | null;
3393
+ toAddress?: string | null;
3394
+ amount?: string | null;
3395
+ assetId?: string | null;
3396
+ gas?: string | null;
3397
+ param1?: string | null;
3398
+ param2?: string | null;
3399
+ val?: string | null;
3400
+ ptr?: string | null;
3401
+ digest?: string | null;
3402
+ reason?: string | null;
3403
+ ra?: string | null;
3404
+ rb?: string | null;
3405
+ rc?: string | null;
3406
+ rd?: string | null;
3407
+ len?: string | null;
3408
+ receiptType: GqlReceiptType;
3409
+ result?: string | null;
3410
+ gasUsed?: string | null;
3411
+ data?: string | null;
3412
+ sender?: string | null;
3413
+ recipient?: string | null;
3414
+ nonce?: string | null;
3415
+ contractId?: string | null;
3416
+ subId?: string | null;
3417
+ }>;
3004
3418
  programState?: {
3005
3419
  __typename: 'ProgramState';
3006
3420
  returnType: GqlReturnType;
@@ -3010,7 +3424,6 @@ export type GqlGetBlockWithTransactionsQuery = {
3010
3424
  }>;
3011
3425
  header: {
3012
3426
  __typename: 'Header';
3013
- height: any;
3014
3427
  time: string;
3015
3428
  };
3016
3429
  } | null;
@@ -3030,9 +3443,9 @@ export type GqlGetBlocksQuery = {
3030
3443
  node: {
3031
3444
  __typename: 'Block';
3032
3445
  id: string;
3446
+ height: any;
3033
3447
  header: {
3034
3448
  __typename: 'Header';
3035
- height: any;
3036
3449
  time: string;
3037
3450
  };
3038
3451
  transactions: Array<{
@@ -3054,9 +3467,8 @@ export type GqlGetCoinQuery = {
3054
3467
  owner: string;
3055
3468
  amount: string;
3056
3469
  assetId: string;
3057
- maturity: any;
3058
3470
  blockCreated: any;
3059
- txCreatedIdx: string;
3471
+ txCreatedIdx: any;
3060
3472
  } | null;
3061
3473
  };
3062
3474
  export type GqlGetCoinsQueryVariables = Exact<{
@@ -3078,9 +3490,8 @@ export type GqlGetCoinsQuery = {
3078
3490
  owner: string;
3079
3491
  amount: string;
3080
3492
  assetId: string;
3081
- maturity: any;
3082
3493
  blockCreated: any;
3083
- txCreatedIdx: string;
3494
+ txCreatedIdx: any;
3084
3495
  };
3085
3496
  }>;
3086
3497
  };
@@ -3098,9 +3509,8 @@ export type GqlGetCoinsToSpendQuery = {
3098
3509
  owner: string;
3099
3510
  amount: string;
3100
3511
  assetId: string;
3101
- maturity: any;
3102
3512
  blockCreated: any;
3103
- txCreatedIdx: string;
3513
+ txCreatedIdx: any;
3104
3514
  } | {
3105
3515
  __typename: 'MessageCoin';
3106
3516
  sender: string;
@@ -3148,6 +3558,26 @@ export type GqlGetBalanceQuery = {
3148
3558
  assetId: string;
3149
3559
  };
3150
3560
  };
3561
+ export type GqlGetLatestGasPriceQueryVariables = Exact<{
3562
+ [key: string]: never;
3563
+ }>;
3564
+ export type GqlGetLatestGasPriceQuery = {
3565
+ __typename: 'Query';
3566
+ latestGasPrice: {
3567
+ __typename: 'LatestGasPrice';
3568
+ gasPrice: string;
3569
+ };
3570
+ };
3571
+ export type GqlEstimateGasPriceQueryVariables = Exact<{
3572
+ blockHorizon: Scalars['U32'];
3573
+ }>;
3574
+ export type GqlEstimateGasPriceQuery = {
3575
+ __typename: 'Query';
3576
+ estimateGasPrice: {
3577
+ __typename: 'EstimateGasPrice';
3578
+ gasPrice: string;
3579
+ };
3580
+ };
3151
3581
  export type GqlGetBalancesQueryVariables = Exact<{
3152
3582
  filter: GqlBalanceFilterInput;
3153
3583
  after?: InputMaybe<Scalars['String']>;
@@ -3224,27 +3654,33 @@ export type GqlGetMessageProofQuery = {
3224
3654
  __typename: 'Header';
3225
3655
  id: string;
3226
3656
  daHeight: string;
3657
+ consensusParametersVersion: any;
3658
+ stateTransitionBytecodeVersion: any;
3227
3659
  transactionsCount: string;
3660
+ messageReceiptCount: string;
3228
3661
  transactionsRoot: string;
3662
+ messageOutboxRoot: string;
3663
+ eventInboxRoot: string;
3229
3664
  height: any;
3230
3665
  prevRoot: string;
3231
3666
  time: string;
3232
3667
  applicationHash: string;
3233
- messageReceiptRoot: string;
3234
- messageReceiptCount: string;
3235
3668
  };
3236
3669
  commitBlockHeader: {
3237
3670
  __typename: 'Header';
3238
3671
  id: string;
3239
3672
  daHeight: string;
3673
+ consensusParametersVersion: any;
3674
+ stateTransitionBytecodeVersion: any;
3240
3675
  transactionsCount: string;
3676
+ messageReceiptCount: string;
3241
3677
  transactionsRoot: string;
3678
+ messageOutboxRoot: string;
3679
+ eventInboxRoot: string;
3242
3680
  height: any;
3243
3681
  prevRoot: string;
3244
3682
  time: string;
3245
3683
  applicationHash: string;
3246
- messageReceiptRoot: string;
3247
- messageReceiptCount: string;
3248
3684
  };
3249
3685
  } | null;
3250
3686
  };
@@ -3259,47 +3695,61 @@ export type GqlGetMessageStatusQuery = {
3259
3695
  };
3260
3696
  };
3261
3697
  export type GqlDryRunMutationVariables = Exact<{
3262
- encodedTransaction: Scalars['HexString'];
3698
+ encodedTransactions: Array<Scalars['HexString']> | Scalars['HexString'];
3263
3699
  utxoValidation?: InputMaybe<Scalars['Boolean']>;
3264
3700
  }>;
3265
3701
  export type GqlDryRunMutation = {
3266
3702
  __typename: 'Mutation';
3267
3703
  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;
3704
+ __typename: 'DryRunTransactionExecutionStatus';
3705
+ id: string;
3706
+ status: {
3707
+ __typename: 'DryRunFailureStatus';
3708
+ reason: string;
3709
+ programState?: {
3710
+ __typename: 'ProgramState';
3711
+ returnType: GqlReturnType;
3712
+ data: string;
3713
+ } | null;
3714
+ } | {
3715
+ __typename: 'DryRunSuccessStatus';
3716
+ programState?: {
3717
+ __typename: 'ProgramState';
3718
+ returnType: GqlReturnType;
3719
+ data: string;
3720
+ } | null;
3721
+ };
3722
+ receipts: Array<{
3723
+ __typename: 'Receipt';
3724
+ id?: string | null;
3725
+ pc?: string | null;
3726
+ is?: string | null;
3727
+ to?: string | null;
3728
+ toAddress?: string | null;
3729
+ amount?: string | null;
3730
+ assetId?: string | null;
3731
+ gas?: string | null;
3732
+ param1?: string | null;
3733
+ param2?: string | null;
3734
+ val?: string | null;
3735
+ ptr?: string | null;
3736
+ digest?: string | null;
3737
+ reason?: string | null;
3738
+ ra?: string | null;
3739
+ rb?: string | null;
3740
+ rc?: string | null;
3741
+ rd?: string | null;
3742
+ len?: string | null;
3743
+ receiptType: GqlReceiptType;
3744
+ result?: string | null;
3745
+ gasUsed?: string | null;
3746
+ data?: string | null;
3747
+ sender?: string | null;
3748
+ recipient?: string | null;
3749
+ nonce?: string | null;
3750
+ contractId?: string | null;
3751
+ subId?: string | null;
3752
+ }>;
3303
3753
  }>;
3304
3754
  };
3305
3755
  export type GqlSubmitMutationVariables = Exact<{
@@ -3334,6 +3784,37 @@ export type GqlSubmitAndAwaitSubscription = {
3334
3784
  __typename: 'Block';
3335
3785
  id: string;
3336
3786
  };
3787
+ receipts: Array<{
3788
+ __typename: 'Receipt';
3789
+ id?: string | null;
3790
+ pc?: string | null;
3791
+ is?: string | null;
3792
+ to?: string | null;
3793
+ toAddress?: string | null;
3794
+ amount?: string | null;
3795
+ assetId?: string | null;
3796
+ gas?: string | null;
3797
+ param1?: string | null;
3798
+ param2?: string | null;
3799
+ val?: string | null;
3800
+ ptr?: string | null;
3801
+ digest?: string | null;
3802
+ reason?: string | null;
3803
+ ra?: string | null;
3804
+ rb?: string | null;
3805
+ rc?: string | null;
3806
+ rd?: string | null;
3807
+ len?: string | null;
3808
+ receiptType: GqlReceiptType;
3809
+ result?: string | null;
3810
+ gasUsed?: string | null;
3811
+ data?: string | null;
3812
+ sender?: string | null;
3813
+ recipient?: string | null;
3814
+ nonce?: string | null;
3815
+ contractId?: string | null;
3816
+ subId?: string | null;
3817
+ }>;
3337
3818
  } | {
3338
3819
  __typename: 'SqueezedOutStatus';
3339
3820
  reason: string;
@@ -3350,6 +3831,37 @@ export type GqlSubmitAndAwaitSubscription = {
3350
3831
  __typename: 'Block';
3351
3832
  id: string;
3352
3833
  };
3834
+ receipts: Array<{
3835
+ __typename: 'Receipt';
3836
+ id?: string | null;
3837
+ pc?: string | null;
3838
+ is?: string | null;
3839
+ to?: string | null;
3840
+ toAddress?: string | null;
3841
+ amount?: string | null;
3842
+ assetId?: string | null;
3843
+ gas?: string | null;
3844
+ param1?: string | null;
3845
+ param2?: string | null;
3846
+ val?: string | null;
3847
+ ptr?: string | null;
3848
+ digest?: string | null;
3849
+ reason?: string | null;
3850
+ ra?: string | null;
3851
+ rb?: string | null;
3852
+ rc?: string | null;
3853
+ rd?: string | null;
3854
+ len?: string | null;
3855
+ receiptType: GqlReceiptType;
3856
+ result?: string | null;
3857
+ gasUsed?: string | null;
3858
+ data?: string | null;
3859
+ sender?: string | null;
3860
+ recipient?: string | null;
3861
+ nonce?: string | null;
3862
+ contractId?: string | null;
3863
+ subId?: string | null;
3864
+ }>;
3353
3865
  programState?: {
3354
3866
  __typename: 'ProgramState';
3355
3867
  returnType: GqlReturnType;
@@ -3371,6 +3883,37 @@ export type GqlStatusChangeSubscription = {
3371
3883
  __typename: 'Block';
3372
3884
  id: string;
3373
3885
  };
3886
+ receipts: Array<{
3887
+ __typename: 'Receipt';
3888
+ id?: string | null;
3889
+ pc?: string | null;
3890
+ is?: string | null;
3891
+ to?: string | null;
3892
+ toAddress?: string | null;
3893
+ amount?: string | null;
3894
+ assetId?: string | null;
3895
+ gas?: string | null;
3896
+ param1?: string | null;
3897
+ param2?: string | null;
3898
+ val?: string | null;
3899
+ ptr?: string | null;
3900
+ digest?: string | null;
3901
+ reason?: string | null;
3902
+ ra?: string | null;
3903
+ rb?: string | null;
3904
+ rc?: string | null;
3905
+ rd?: string | null;
3906
+ len?: string | null;
3907
+ receiptType: GqlReceiptType;
3908
+ result?: string | null;
3909
+ gasUsed?: string | null;
3910
+ data?: string | null;
3911
+ sender?: string | null;
3912
+ recipient?: string | null;
3913
+ nonce?: string | null;
3914
+ contractId?: string | null;
3915
+ subId?: string | null;
3916
+ }>;
3374
3917
  } | {
3375
3918
  __typename: 'SqueezedOutStatus';
3376
3919
  reason: string;
@@ -3387,6 +3930,37 @@ export type GqlStatusChangeSubscription = {
3387
3930
  __typename: 'Block';
3388
3931
  id: string;
3389
3932
  };
3933
+ receipts: Array<{
3934
+ __typename: 'Receipt';
3935
+ id?: string | null;
3936
+ pc?: string | null;
3937
+ is?: string | null;
3938
+ to?: string | null;
3939
+ toAddress?: string | null;
3940
+ amount?: string | null;
3941
+ assetId?: string | null;
3942
+ gas?: string | null;
3943
+ param1?: string | null;
3944
+ param2?: string | null;
3945
+ val?: string | null;
3946
+ ptr?: string | null;
3947
+ digest?: string | null;
3948
+ reason?: string | null;
3949
+ ra?: string | null;
3950
+ rb?: string | null;
3951
+ rc?: string | null;
3952
+ rd?: string | null;
3953
+ len?: string | null;
3954
+ receiptType: GqlReceiptType;
3955
+ result?: string | null;
3956
+ gasUsed?: string | null;
3957
+ data?: string | null;
3958
+ sender?: string | null;
3959
+ recipient?: string | null;
3960
+ nonce?: string | null;
3961
+ contractId?: string | null;
3962
+ subId?: string | null;
3963
+ }>;
3390
3964
  programState?: {
3391
3965
  __typename: 'ProgramState';
3392
3966
  returnType: GqlReturnType;
@@ -3399,6 +3973,10 @@ export declare const TransactionStatusFragmentFragmentDoc: DocumentNode;
3399
3973
  export declare const TransactionFragmentFragmentDoc: DocumentNode;
3400
3974
  export declare const InputEstimatePredicatesFragmentFragmentDoc: DocumentNode;
3401
3975
  export declare const TransactionEstimatePredicatesFragmentFragmentDoc: DocumentNode;
3976
+ export declare const DryRunFailureStatusFragmentFragmentDoc: DocumentNode;
3977
+ export declare const DryRunSuccessStatusFragmentFragmentDoc: DocumentNode;
3978
+ export declare const DryRunTransactionStatusFragmentFragmentDoc: DocumentNode;
3979
+ export declare const DryRunTransactionExecutionStatusFragmentFragmentDoc: DocumentNode;
3402
3980
  export declare const CoinFragmentFragmentDoc: DocumentNode;
3403
3981
  export declare const MessageCoinFragmentFragmentDoc: DocumentNode;
3404
3982
  export declare const MessageFragmentFragmentDoc: DocumentNode;
@@ -3434,6 +4012,8 @@ export declare const GetCoinsToSpendDocument: DocumentNode;
3434
4012
  export declare const GetContractDocument: DocumentNode;
3435
4013
  export declare const GetContractBalanceDocument: DocumentNode;
3436
4014
  export declare const GetBalanceDocument: DocumentNode;
4015
+ export declare const GetLatestGasPriceDocument: DocumentNode;
4016
+ export declare const EstimateGasPriceDocument: DocumentNode;
3437
4017
  export declare const GetBalancesDocument: DocumentNode;
3438
4018
  export declare const GetMessagesDocument: DocumentNode;
3439
4019
  export declare const GetMessageProofDocument: DocumentNode;
@@ -3462,6 +4042,8 @@ export declare function getSdk<C, E>(requester: Requester<C, E>): {
3462
4042
  getContract(variables: GqlGetContractQueryVariables, options?: C): Promise<GqlGetContractQuery>;
3463
4043
  getContractBalance(variables: GqlGetContractBalanceQueryVariables, options?: C): Promise<GqlGetContractBalanceQuery>;
3464
4044
  getBalance(variables: GqlGetBalanceQueryVariables, options?: C): Promise<GqlGetBalanceQuery>;
4045
+ getLatestGasPrice(variables?: GqlGetLatestGasPriceQueryVariables, options?: C): Promise<GqlGetLatestGasPriceQuery>;
4046
+ estimateGasPrice(variables: GqlEstimateGasPriceQueryVariables, options?: C): Promise<GqlEstimateGasPriceQuery>;
3465
4047
  getBalances(variables: GqlGetBalancesQueryVariables, options?: C): Promise<GqlGetBalancesQuery>;
3466
4048
  getMessages(variables: GqlGetMessagesQueryVariables, options?: C): Promise<GqlGetMessagesQuery>;
3467
4049
  getMessageProof(variables: GqlGetMessageProofQueryVariables, options?: C): Promise<GqlGetMessageProofQuery>;