@fuel-ts/account 0.0.0-rc-1976-20240406124842 → 0.0.0-rc-2021-20240408141516

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 (54) 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 +865 -615
  12. package/dist/index.global.js.map +1 -1
  13. package/dist/index.js +845 -609
  14. package/dist/index.js.map +1 -1
  15. package/dist/index.mjs +687 -452
  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 +888 -322
  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 +3 -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.map +1 -1
  31. package/dist/providers/transaction-request/input.d.ts +2 -2
  32. package/dist/providers/transaction-request/input.d.ts.map +1 -1
  33. package/dist/providers/transaction-request/script-transaction-request.d.ts.map +1 -1
  34. package/dist/providers/transaction-request/transaction-request.d.ts +9 -29
  35. package/dist/providers/transaction-request/transaction-request.d.ts.map +1 -1
  36. package/dist/providers/transaction-request/utils.d.ts +3 -0
  37. package/dist/providers/transaction-request/utils.d.ts.map +1 -1
  38. package/dist/providers/transaction-response/transaction-response.d.ts.map +1 -1
  39. package/dist/providers/transaction-summary/assemble-transaction-summary.d.ts +2 -0
  40. package/dist/providers/transaction-summary/assemble-transaction-summary.d.ts.map +1 -1
  41. package/dist/providers/transaction-summary/calculate-transaction-fee.d.ts +3 -2
  42. package/dist/providers/transaction-summary/calculate-transaction-fee.d.ts.map +1 -1
  43. package/dist/providers/transaction-summary/get-transaction-summary.d.ts.map +1 -1
  44. package/dist/providers/utils/gas.d.ts +8 -2
  45. package/dist/providers/utils/gas.d.ts.map +1 -1
  46. package/dist/test-utils/launchNode.d.ts.map +1 -1
  47. package/dist/test-utils.global.js +1580 -1116
  48. package/dist/test-utils.global.js.map +1 -1
  49. package/dist/test-utils.js +821 -606
  50. package/dist/test-utils.js.map +1 -1
  51. package/dist/test-utils.mjs +679 -464
  52. package/dist/test-utils.mjs.map +1 -1
  53. package/dist/wallet/base-wallet-unlocked.d.ts.map +1 -1
  54. 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';
@@ -1173,7 +1420,6 @@ export type GqlMessageProofFragmentFragment = {
1173
1420
  prevRoot: string;
1174
1421
  time: string;
1175
1422
  applicationHash: string;
1176
- messageReceiptRoot: string;
1177
1423
  messageReceiptCount: string;
1178
1424
  };
1179
1425
  commitBlockHeader: {
@@ -1186,7 +1432,6 @@ export type GqlMessageProofFragmentFragment = {
1186
1432
  prevRoot: string;
1187
1433
  time: string;
1188
1434
  applicationHash: string;
1189
- messageReceiptRoot: string;
1190
1435
  messageReceiptCount: string;
1191
1436
  };
1192
1437
  };
@@ -1251,7 +1496,6 @@ export type GqlGasCostsFragmentFragment = {
1251
1496
  cb: string;
1252
1497
  cfei: string;
1253
1498
  cfsi: string;
1254
- croo: string;
1255
1499
  div: string;
1256
1500
  divi: string;
1257
1501
  ecr1: string;
@@ -1329,6 +1573,10 @@ export type GqlGasCostsFragmentFragment = {
1329
1573
  xor: string;
1330
1574
  xori: string;
1331
1575
  newStoragePerByte: string;
1576
+ version: {
1577
+ __typename: 'Version';
1578
+ value: any;
1579
+ };
1332
1580
  call: {
1333
1581
  __typename: 'HeavyOperation';
1334
1582
  base: string;
@@ -1347,6 +1595,15 @@ export type GqlGasCostsFragmentFragment = {
1347
1595
  base: string;
1348
1596
  unitsPerGas: string;
1349
1597
  };
1598
+ croo: {
1599
+ __typename: 'HeavyOperation';
1600
+ base: string;
1601
+ gasPerUnit: string;
1602
+ } | {
1603
+ __typename: 'LightOperation';
1604
+ base: string;
1605
+ unitsPerGas: string;
1606
+ };
1350
1607
  csiz: {
1351
1608
  __typename: 'HeavyOperation';
1352
1609
  base: string;
@@ -1514,6 +1771,10 @@ export type GqlConsensusParametersFragmentFragment = {
1514
1771
  __typename: 'ConsensusParameters';
1515
1772
  baseAssetId: string;
1516
1773
  chainId: string;
1774
+ version: {
1775
+ __typename: 'Version';
1776
+ value: any;
1777
+ };
1517
1778
  txParams: {
1518
1779
  __typename: 'TxParameters';
1519
1780
  maxInputs: any;
@@ -1558,7 +1819,6 @@ export type GqlConsensusParametersFragmentFragment = {
1558
1819
  cb: string;
1559
1820
  cfei: string;
1560
1821
  cfsi: string;
1561
- croo: string;
1562
1822
  div: string;
1563
1823
  divi: string;
1564
1824
  ecr1: string;
@@ -1636,6 +1896,10 @@ export type GqlConsensusParametersFragmentFragment = {
1636
1896
  xor: string;
1637
1897
  xori: string;
1638
1898
  newStoragePerByte: string;
1899
+ version: {
1900
+ __typename: 'Version';
1901
+ value: any;
1902
+ };
1639
1903
  call: {
1640
1904
  __typename: 'HeavyOperation';
1641
1905
  base: string;
@@ -1654,6 +1918,15 @@ export type GqlConsensusParametersFragmentFragment = {
1654
1918
  base: string;
1655
1919
  unitsPerGas: string;
1656
1920
  };
1921
+ croo: {
1922
+ __typename: 'HeavyOperation';
1923
+ base: string;
1924
+ gasPerUnit: string;
1925
+ } | {
1926
+ __typename: 'LightOperation';
1927
+ base: string;
1928
+ unitsPerGas: string;
1929
+ };
1657
1930
  csiz: {
1658
1931
  __typename: 'HeavyOperation';
1659
1932
  base: string;
@@ -1825,9 +2098,9 @@ export type GqlChainInfoFragmentFragment = {
1825
2098
  latestBlock: {
1826
2099
  __typename: 'Block';
1827
2100
  id: string;
2101
+ height: any;
1828
2102
  header: {
1829
2103
  __typename: 'Header';
1830
- height: any;
1831
2104
  time: string;
1832
2105
  };
1833
2106
  transactions: Array<{
@@ -1839,6 +2112,10 @@ export type GqlChainInfoFragmentFragment = {
1839
2112
  __typename: 'ConsensusParameters';
1840
2113
  baseAssetId: string;
1841
2114
  chainId: string;
2115
+ version: {
2116
+ __typename: 'Version';
2117
+ value: any;
2118
+ };
1842
2119
  txParams: {
1843
2120
  __typename: 'TxParameters';
1844
2121
  maxInputs: any;
@@ -1883,7 +2160,6 @@ export type GqlChainInfoFragmentFragment = {
1883
2160
  cb: string;
1884
2161
  cfei: string;
1885
2162
  cfsi: string;
1886
- croo: string;
1887
2163
  div: string;
1888
2164
  divi: string;
1889
2165
  ecr1: string;
@@ -1961,6 +2237,10 @@ export type GqlChainInfoFragmentFragment = {
1961
2237
  xor: string;
1962
2238
  xori: string;
1963
2239
  newStoragePerByte: string;
2240
+ version: {
2241
+ __typename: 'Version';
2242
+ value: any;
2243
+ };
1964
2244
  call: {
1965
2245
  __typename: 'HeavyOperation';
1966
2246
  base: string;
@@ -1979,6 +2259,15 @@ export type GqlChainInfoFragmentFragment = {
1979
2259
  base: string;
1980
2260
  unitsPerGas: string;
1981
2261
  };
2262
+ croo: {
2263
+ __typename: 'HeavyOperation';
2264
+ base: string;
2265
+ gasPerUnit: string;
2266
+ } | {
2267
+ __typename: 'LightOperation';
2268
+ base: string;
2269
+ unitsPerGas: string;
2270
+ };
1982
2271
  csiz: {
1983
2272
  __typename: 'HeavyOperation';
1984
2273
  base: string;
@@ -2171,19 +2460,9 @@ export type GqlNodeInfoFragmentFragment = {
2171
2460
  __typename: 'NodeInfo';
2172
2461
  utxoValidation: boolean;
2173
2462
  vmBacktrace: boolean;
2174
- minGasPrice: string;
2175
2463
  maxTx: string;
2176
2464
  maxDepth: string;
2177
2465
  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
2466
  };
2188
2467
  export type GqlGetNodeInfoQueryVariables = Exact<{
2189
2468
  [key: string]: never;
@@ -2194,19 +2473,9 @@ export type GqlGetNodeInfoQuery = {
2194
2473
  __typename: 'NodeInfo';
2195
2474
  utxoValidation: boolean;
2196
2475
  vmBacktrace: boolean;
2197
- minGasPrice: string;
2198
2476
  maxTx: string;
2199
2477
  maxDepth: string;
2200
2478
  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
2479
  };
2211
2480
  };
2212
2481
  export type GqlGetChainQueryVariables = Exact<{
@@ -2221,9 +2490,9 @@ export type GqlGetChainQuery = {
2221
2490
  latestBlock: {
2222
2491
  __typename: 'Block';
2223
2492
  id: string;
2493
+ height: any;
2224
2494
  header: {
2225
2495
  __typename: 'Header';
2226
- height: any;
2227
2496
  time: string;
2228
2497
  };
2229
2498
  transactions: Array<{
@@ -2235,6 +2504,10 @@ export type GqlGetChainQuery = {
2235
2504
  __typename: 'ConsensusParameters';
2236
2505
  baseAssetId: string;
2237
2506
  chainId: string;
2507
+ version: {
2508
+ __typename: 'Version';
2509
+ value: any;
2510
+ };
2238
2511
  txParams: {
2239
2512
  __typename: 'TxParameters';
2240
2513
  maxInputs: any;
@@ -2279,7 +2552,6 @@ export type GqlGetChainQuery = {
2279
2552
  cb: string;
2280
2553
  cfei: string;
2281
2554
  cfsi: string;
2282
- croo: string;
2283
2555
  div: string;
2284
2556
  divi: string;
2285
2557
  ecr1: string;
@@ -2357,6 +2629,10 @@ export type GqlGetChainQuery = {
2357
2629
  xor: string;
2358
2630
  xori: string;
2359
2631
  newStoragePerByte: string;
2632
+ version: {
2633
+ __typename: 'Version';
2634
+ value: any;
2635
+ };
2360
2636
  call: {
2361
2637
  __typename: 'HeavyOperation';
2362
2638
  base: string;
@@ -2375,7 +2651,7 @@ export type GqlGetChainQuery = {
2375
2651
  base: string;
2376
2652
  unitsPerGas: string;
2377
2653
  };
2378
- csiz: {
2654
+ croo: {
2379
2655
  __typename: 'HeavyOperation';
2380
2656
  base: string;
2381
2657
  gasPerUnit: string;
@@ -2384,7 +2660,16 @@ export type GqlGetChainQuery = {
2384
2660
  base: string;
2385
2661
  unitsPerGas: string;
2386
2662
  };
2387
- k256: {
2663
+ csiz: {
2664
+ __typename: 'HeavyOperation';
2665
+ base: string;
2666
+ gasPerUnit: string;
2667
+ } | {
2668
+ __typename: 'LightOperation';
2669
+ base: string;
2670
+ unitsPerGas: string;
2671
+ };
2672
+ k256: {
2388
2673
  __typename: 'HeavyOperation';
2389
2674
  base: string;
2390
2675
  gasPerUnit: string;
@@ -2550,44 +2835,6 @@ export type GqlGetTransactionQuery = {
2550
2835
  __typename: 'Transaction';
2551
2836
  id: string;
2552
2837
  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
2838
  status?: {
2592
2839
  __typename: 'FailureStatus';
2593
2840
  time: string;
@@ -2597,6 +2844,37 @@ export type GqlGetTransactionQuery = {
2597
2844
  __typename: 'Block';
2598
2845
  id: string;
2599
2846
  };
2847
+ receipts: Array<{
2848
+ __typename: 'Receipt';
2849
+ id?: string | null;
2850
+ pc?: string | null;
2851
+ is?: string | null;
2852
+ to?: string | null;
2853
+ toAddress?: string | null;
2854
+ amount?: string | null;
2855
+ assetId?: string | null;
2856
+ gas?: string | null;
2857
+ param1?: string | null;
2858
+ param2?: string | null;
2859
+ val?: string | null;
2860
+ ptr?: string | null;
2861
+ digest?: string | null;
2862
+ reason?: string | null;
2863
+ ra?: string | null;
2864
+ rb?: string | null;
2865
+ rc?: string | null;
2866
+ rd?: string | null;
2867
+ len?: string | null;
2868
+ receiptType: GqlReceiptType;
2869
+ result?: string | null;
2870
+ gasUsed?: string | null;
2871
+ data?: string | null;
2872
+ sender?: string | null;
2873
+ recipient?: string | null;
2874
+ nonce?: string | null;
2875
+ contractId?: string | null;
2876
+ subId?: string | null;
2877
+ }>;
2600
2878
  } | {
2601
2879
  __typename: 'SqueezedOutStatus';
2602
2880
  reason: string;
@@ -2613,6 +2891,37 @@ export type GqlGetTransactionQuery = {
2613
2891
  __typename: 'Block';
2614
2892
  id: string;
2615
2893
  };
2894
+ receipts: Array<{
2895
+ __typename: 'Receipt';
2896
+ id?: string | null;
2897
+ pc?: string | null;
2898
+ is?: string | null;
2899
+ to?: string | null;
2900
+ toAddress?: string | null;
2901
+ amount?: string | null;
2902
+ assetId?: string | null;
2903
+ gas?: string | null;
2904
+ param1?: string | null;
2905
+ param2?: string | null;
2906
+ val?: string | null;
2907
+ ptr?: string | null;
2908
+ digest?: string | null;
2909
+ reason?: string | null;
2910
+ ra?: string | null;
2911
+ rb?: string | null;
2912
+ rc?: string | null;
2913
+ rd?: string | null;
2914
+ len?: string | null;
2915
+ receiptType: GqlReceiptType;
2916
+ result?: string | null;
2917
+ gasUsed?: string | null;
2918
+ data?: string | null;
2919
+ sender?: string | null;
2920
+ recipient?: string | null;
2921
+ nonce?: string | null;
2922
+ contractId?: string | null;
2923
+ subId?: string | null;
2924
+ }>;
2616
2925
  programState?: {
2617
2926
  __typename: 'ProgramState';
2618
2927
  returnType: GqlReturnType;
@@ -2630,44 +2939,6 @@ export type GqlGetTransactionWithReceiptsQuery = {
2630
2939
  __typename: 'Transaction';
2631
2940
  id: string;
2632
2941
  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
2942
  status?: {
2672
2943
  __typename: 'FailureStatus';
2673
2944
  time: string;
@@ -2677,6 +2948,37 @@ export type GqlGetTransactionWithReceiptsQuery = {
2677
2948
  __typename: 'Block';
2678
2949
  id: string;
2679
2950
  };
2951
+ receipts: Array<{
2952
+ __typename: 'Receipt';
2953
+ id?: string | null;
2954
+ pc?: string | null;
2955
+ is?: string | null;
2956
+ to?: string | null;
2957
+ toAddress?: string | null;
2958
+ amount?: string | null;
2959
+ assetId?: string | null;
2960
+ gas?: string | null;
2961
+ param1?: string | null;
2962
+ param2?: string | null;
2963
+ val?: string | null;
2964
+ ptr?: string | null;
2965
+ digest?: string | null;
2966
+ reason?: string | null;
2967
+ ra?: string | null;
2968
+ rb?: string | null;
2969
+ rc?: string | null;
2970
+ rd?: string | null;
2971
+ len?: string | null;
2972
+ receiptType: GqlReceiptType;
2973
+ result?: string | null;
2974
+ gasUsed?: string | null;
2975
+ data?: string | null;
2976
+ sender?: string | null;
2977
+ recipient?: string | null;
2978
+ nonce?: string | null;
2979
+ contractId?: string | null;
2980
+ subId?: string | null;
2981
+ }>;
2680
2982
  } | {
2681
2983
  __typename: 'SqueezedOutStatus';
2682
2984
  reason: string;
@@ -2693,6 +2995,37 @@ export type GqlGetTransactionWithReceiptsQuery = {
2693
2995
  __typename: 'Block';
2694
2996
  id: string;
2695
2997
  };
2998
+ receipts: Array<{
2999
+ __typename: 'Receipt';
3000
+ id?: string | null;
3001
+ pc?: string | null;
3002
+ is?: string | null;
3003
+ to?: string | null;
3004
+ toAddress?: string | null;
3005
+ amount?: string | null;
3006
+ assetId?: string | null;
3007
+ gas?: string | null;
3008
+ param1?: string | null;
3009
+ param2?: string | null;
3010
+ val?: string | null;
3011
+ ptr?: string | null;
3012
+ digest?: string | null;
3013
+ reason?: string | null;
3014
+ ra?: string | null;
3015
+ rb?: string | null;
3016
+ rc?: string | null;
3017
+ rd?: string | null;
3018
+ len?: string | null;
3019
+ receiptType: GqlReceiptType;
3020
+ result?: string | null;
3021
+ gasUsed?: string | null;
3022
+ data?: string | null;
3023
+ sender?: string | null;
3024
+ recipient?: string | null;
3025
+ nonce?: string | null;
3026
+ contractId?: string | null;
3027
+ subId?: string | null;
3028
+ }>;
2696
3029
  programState?: {
2697
3030
  __typename: 'ProgramState';
2698
3031
  returnType: GqlReturnType;
@@ -2717,44 +3050,6 @@ export type GqlGetTransactionsQuery = {
2717
3050
  __typename: 'Transaction';
2718
3051
  id: string;
2719
3052
  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
3053
  status?: {
2759
3054
  __typename: 'FailureStatus';
2760
3055
  time: string;
@@ -2764,6 +3059,37 @@ export type GqlGetTransactionsQuery = {
2764
3059
  __typename: 'Block';
2765
3060
  id: string;
2766
3061
  };
3062
+ receipts: Array<{
3063
+ __typename: 'Receipt';
3064
+ id?: string | null;
3065
+ pc?: string | null;
3066
+ is?: string | null;
3067
+ to?: string | null;
3068
+ toAddress?: string | null;
3069
+ amount?: string | null;
3070
+ assetId?: string | null;
3071
+ gas?: string | null;
3072
+ param1?: string | null;
3073
+ param2?: string | null;
3074
+ val?: string | null;
3075
+ ptr?: string | null;
3076
+ digest?: string | null;
3077
+ reason?: string | null;
3078
+ ra?: string | null;
3079
+ rb?: string | null;
3080
+ rc?: string | null;
3081
+ rd?: string | null;
3082
+ len?: string | null;
3083
+ receiptType: GqlReceiptType;
3084
+ result?: string | null;
3085
+ gasUsed?: string | null;
3086
+ data?: string | null;
3087
+ sender?: string | null;
3088
+ recipient?: string | null;
3089
+ nonce?: string | null;
3090
+ contractId?: string | null;
3091
+ subId?: string | null;
3092
+ }>;
2767
3093
  } | {
2768
3094
  __typename: 'SqueezedOutStatus';
2769
3095
  reason: string;
@@ -2780,6 +3106,37 @@ export type GqlGetTransactionsQuery = {
2780
3106
  __typename: 'Block';
2781
3107
  id: string;
2782
3108
  };
3109
+ receipts: Array<{
3110
+ __typename: 'Receipt';
3111
+ id?: string | null;
3112
+ pc?: string | null;
3113
+ is?: string | null;
3114
+ to?: string | null;
3115
+ toAddress?: string | null;
3116
+ amount?: string | null;
3117
+ assetId?: string | null;
3118
+ gas?: string | null;
3119
+ param1?: string | null;
3120
+ param2?: string | null;
3121
+ val?: string | null;
3122
+ ptr?: string | null;
3123
+ digest?: string | null;
3124
+ reason?: string | null;
3125
+ ra?: string | null;
3126
+ rb?: string | null;
3127
+ rc?: string | null;
3128
+ rd?: string | null;
3129
+ len?: string | null;
3130
+ receiptType: GqlReceiptType;
3131
+ result?: string | null;
3132
+ gasUsed?: string | null;
3133
+ data?: string | null;
3134
+ sender?: string | null;
3135
+ recipient?: string | null;
3136
+ nonce?: string | null;
3137
+ contractId?: string | null;
3138
+ subId?: string | null;
3139
+ }>;
2783
3140
  programState?: {
2784
3141
  __typename: 'ProgramState';
2785
3142
  returnType: GqlReturnType;
@@ -2814,44 +3171,6 @@ export type GqlGetTransactionsByOwnerQuery = {
2814
3171
  __typename: 'Transaction';
2815
3172
  id: string;
2816
3173
  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
3174
  status?: {
2856
3175
  __typename: 'FailureStatus';
2857
3176
  time: string;
@@ -2861,6 +3180,37 @@ export type GqlGetTransactionsByOwnerQuery = {
2861
3180
  __typename: 'Block';
2862
3181
  id: string;
2863
3182
  };
3183
+ receipts: Array<{
3184
+ __typename: 'Receipt';
3185
+ id?: string | null;
3186
+ pc?: string | null;
3187
+ is?: string | null;
3188
+ to?: string | null;
3189
+ toAddress?: string | null;
3190
+ amount?: string | null;
3191
+ assetId?: string | null;
3192
+ gas?: string | null;
3193
+ param1?: string | null;
3194
+ param2?: string | null;
3195
+ val?: string | null;
3196
+ ptr?: string | null;
3197
+ digest?: string | null;
3198
+ reason?: string | null;
3199
+ ra?: string | null;
3200
+ rb?: string | null;
3201
+ rc?: string | null;
3202
+ rd?: string | null;
3203
+ len?: string | null;
3204
+ receiptType: GqlReceiptType;
3205
+ result?: string | null;
3206
+ gasUsed?: string | null;
3207
+ data?: string | null;
3208
+ sender?: string | null;
3209
+ recipient?: string | null;
3210
+ nonce?: string | null;
3211
+ contractId?: string | null;
3212
+ subId?: string | null;
3213
+ }>;
2864
3214
  } | {
2865
3215
  __typename: 'SqueezedOutStatus';
2866
3216
  reason: string;
@@ -2877,6 +3227,37 @@ export type GqlGetTransactionsByOwnerQuery = {
2877
3227
  __typename: 'Block';
2878
3228
  id: string;
2879
3229
  };
3230
+ receipts: Array<{
3231
+ __typename: 'Receipt';
3232
+ id?: string | null;
3233
+ pc?: string | null;
3234
+ is?: string | null;
3235
+ to?: string | null;
3236
+ toAddress?: string | null;
3237
+ amount?: string | null;
3238
+ assetId?: string | null;
3239
+ gas?: string | null;
3240
+ param1?: string | null;
3241
+ param2?: string | null;
3242
+ val?: string | null;
3243
+ ptr?: string | null;
3244
+ digest?: string | null;
3245
+ reason?: string | null;
3246
+ ra?: string | null;
3247
+ rb?: string | null;
3248
+ rc?: string | null;
3249
+ rd?: string | null;
3250
+ len?: string | null;
3251
+ receiptType: GqlReceiptType;
3252
+ result?: string | null;
3253
+ gasUsed?: string | null;
3254
+ data?: string | null;
3255
+ sender?: string | null;
3256
+ recipient?: string | null;
3257
+ nonce?: string | null;
3258
+ contractId?: string | null;
3259
+ subId?: string | null;
3260
+ }>;
2880
3261
  programState?: {
2881
3262
  __typename: 'ProgramState';
2882
3263
  returnType: GqlReturnType;
@@ -2914,9 +3295,9 @@ export type GqlGetBlockQuery = {
2914
3295
  block?: {
2915
3296
  __typename: 'Block';
2916
3297
  id: string;
3298
+ height: any;
2917
3299
  header: {
2918
3300
  __typename: 'Header';
2919
- height: any;
2920
3301
  time: string;
2921
3302
  };
2922
3303
  transactions: Array<{
@@ -2934,48 +3315,11 @@ export type GqlGetBlockWithTransactionsQuery = {
2934
3315
  block?: {
2935
3316
  __typename: 'Block';
2936
3317
  id: string;
3318
+ height: any;
2937
3319
  transactions: Array<{
2938
3320
  __typename: 'Transaction';
2939
3321
  id: string;
2940
3322
  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
3323
  status?: {
2980
3324
  __typename: 'FailureStatus';
2981
3325
  time: string;
@@ -2985,6 +3329,37 @@ export type GqlGetBlockWithTransactionsQuery = {
2985
3329
  __typename: 'Block';
2986
3330
  id: string;
2987
3331
  };
3332
+ receipts: Array<{
3333
+ __typename: 'Receipt';
3334
+ id?: string | null;
3335
+ pc?: string | null;
3336
+ is?: string | null;
3337
+ to?: string | null;
3338
+ toAddress?: string | null;
3339
+ amount?: string | null;
3340
+ assetId?: string | null;
3341
+ gas?: string | null;
3342
+ param1?: string | null;
3343
+ param2?: string | null;
3344
+ val?: string | null;
3345
+ ptr?: string | null;
3346
+ digest?: string | null;
3347
+ reason?: string | null;
3348
+ ra?: string | null;
3349
+ rb?: string | null;
3350
+ rc?: string | null;
3351
+ rd?: string | null;
3352
+ len?: string | null;
3353
+ receiptType: GqlReceiptType;
3354
+ result?: string | null;
3355
+ gasUsed?: string | null;
3356
+ data?: string | null;
3357
+ sender?: string | null;
3358
+ recipient?: string | null;
3359
+ nonce?: string | null;
3360
+ contractId?: string | null;
3361
+ subId?: string | null;
3362
+ }>;
2988
3363
  } | {
2989
3364
  __typename: 'SqueezedOutStatus';
2990
3365
  reason: string;
@@ -3001,6 +3376,37 @@ export type GqlGetBlockWithTransactionsQuery = {
3001
3376
  __typename: 'Block';
3002
3377
  id: string;
3003
3378
  };
3379
+ receipts: Array<{
3380
+ __typename: 'Receipt';
3381
+ id?: string | null;
3382
+ pc?: string | null;
3383
+ is?: string | null;
3384
+ to?: string | null;
3385
+ toAddress?: string | null;
3386
+ amount?: string | null;
3387
+ assetId?: string | null;
3388
+ gas?: string | null;
3389
+ param1?: string | null;
3390
+ param2?: string | null;
3391
+ val?: string | null;
3392
+ ptr?: string | null;
3393
+ digest?: string | null;
3394
+ reason?: string | null;
3395
+ ra?: string | null;
3396
+ rb?: string | null;
3397
+ rc?: string | null;
3398
+ rd?: string | null;
3399
+ len?: string | null;
3400
+ receiptType: GqlReceiptType;
3401
+ result?: string | null;
3402
+ gasUsed?: string | null;
3403
+ data?: string | null;
3404
+ sender?: string | null;
3405
+ recipient?: string | null;
3406
+ nonce?: string | null;
3407
+ contractId?: string | null;
3408
+ subId?: string | null;
3409
+ }>;
3004
3410
  programState?: {
3005
3411
  __typename: 'ProgramState';
3006
3412
  returnType: GqlReturnType;
@@ -3010,7 +3416,6 @@ export type GqlGetBlockWithTransactionsQuery = {
3010
3416
  }>;
3011
3417
  header: {
3012
3418
  __typename: 'Header';
3013
- height: any;
3014
3419
  time: string;
3015
3420
  };
3016
3421
  } | null;
@@ -3030,9 +3435,9 @@ export type GqlGetBlocksQuery = {
3030
3435
  node: {
3031
3436
  __typename: 'Block';
3032
3437
  id: string;
3438
+ height: any;
3033
3439
  header: {
3034
3440
  __typename: 'Header';
3035
- height: any;
3036
3441
  time: string;
3037
3442
  };
3038
3443
  transactions: Array<{
@@ -3054,9 +3459,8 @@ export type GqlGetCoinQuery = {
3054
3459
  owner: string;
3055
3460
  amount: string;
3056
3461
  assetId: string;
3057
- maturity: any;
3058
3462
  blockCreated: any;
3059
- txCreatedIdx: string;
3463
+ txCreatedIdx: any;
3060
3464
  } | null;
3061
3465
  };
3062
3466
  export type GqlGetCoinsQueryVariables = Exact<{
@@ -3078,9 +3482,8 @@ export type GqlGetCoinsQuery = {
3078
3482
  owner: string;
3079
3483
  amount: string;
3080
3484
  assetId: string;
3081
- maturity: any;
3082
3485
  blockCreated: any;
3083
- txCreatedIdx: string;
3486
+ txCreatedIdx: any;
3084
3487
  };
3085
3488
  }>;
3086
3489
  };
@@ -3098,9 +3501,8 @@ export type GqlGetCoinsToSpendQuery = {
3098
3501
  owner: string;
3099
3502
  amount: string;
3100
3503
  assetId: string;
3101
- maturity: any;
3102
3504
  blockCreated: any;
3103
- txCreatedIdx: string;
3505
+ txCreatedIdx: any;
3104
3506
  } | {
3105
3507
  __typename: 'MessageCoin';
3106
3508
  sender: string;
@@ -3148,6 +3550,26 @@ export type GqlGetBalanceQuery = {
3148
3550
  assetId: string;
3149
3551
  };
3150
3552
  };
3553
+ export type GqlGetLatestGasPriceQueryVariables = Exact<{
3554
+ [key: string]: never;
3555
+ }>;
3556
+ export type GqlGetLatestGasPriceQuery = {
3557
+ __typename: 'Query';
3558
+ latestGasPrice: {
3559
+ __typename: 'LatestGasPrice';
3560
+ gasPrice: string;
3561
+ };
3562
+ };
3563
+ export type GqlEstimateGasPriceQueryVariables = Exact<{
3564
+ blockHorizon: Scalars['U32'];
3565
+ }>;
3566
+ export type GqlEstimateGasPriceQuery = {
3567
+ __typename: 'Query';
3568
+ estimateGasPrice: {
3569
+ __typename: 'EstimateGasPrice';
3570
+ gasPrice: string;
3571
+ };
3572
+ };
3151
3573
  export type GqlGetBalancesQueryVariables = Exact<{
3152
3574
  filter: GqlBalanceFilterInput;
3153
3575
  after?: InputMaybe<Scalars['String']>;
@@ -3230,7 +3652,6 @@ export type GqlGetMessageProofQuery = {
3230
3652
  prevRoot: string;
3231
3653
  time: string;
3232
3654
  applicationHash: string;
3233
- messageReceiptRoot: string;
3234
3655
  messageReceiptCount: string;
3235
3656
  };
3236
3657
  commitBlockHeader: {
@@ -3243,7 +3664,6 @@ export type GqlGetMessageProofQuery = {
3243
3664
  prevRoot: string;
3244
3665
  time: string;
3245
3666
  applicationHash: string;
3246
- messageReceiptRoot: string;
3247
3667
  messageReceiptCount: string;
3248
3668
  };
3249
3669
  } | null;
@@ -3259,47 +3679,61 @@ export type GqlGetMessageStatusQuery = {
3259
3679
  };
3260
3680
  };
3261
3681
  export type GqlDryRunMutationVariables = Exact<{
3262
- encodedTransaction: Scalars['HexString'];
3682
+ encodedTransactions: Array<Scalars['HexString']> | Scalars['HexString'];
3263
3683
  utxoValidation?: InputMaybe<Scalars['Boolean']>;
3264
3684
  }>;
3265
3685
  export type GqlDryRunMutation = {
3266
3686
  __typename: 'Mutation';
3267
3687
  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;
3688
+ __typename: 'DryRunTransactionExecutionStatus';
3689
+ id: string;
3690
+ status: {
3691
+ __typename: 'DryRunFailureStatus';
3692
+ reason: string;
3693
+ programState?: {
3694
+ __typename: 'ProgramState';
3695
+ returnType: GqlReturnType;
3696
+ data: string;
3697
+ } | null;
3698
+ } | {
3699
+ __typename: 'DryRunSuccessStatus';
3700
+ programState?: {
3701
+ __typename: 'ProgramState';
3702
+ returnType: GqlReturnType;
3703
+ data: string;
3704
+ } | null;
3705
+ };
3706
+ receipts: Array<{
3707
+ __typename: 'Receipt';
3708
+ id?: string | null;
3709
+ pc?: string | null;
3710
+ is?: string | null;
3711
+ to?: string | null;
3712
+ toAddress?: string | null;
3713
+ amount?: string | null;
3714
+ assetId?: string | null;
3715
+ gas?: string | null;
3716
+ param1?: string | null;
3717
+ param2?: string | null;
3718
+ val?: string | null;
3719
+ ptr?: string | null;
3720
+ digest?: string | null;
3721
+ reason?: string | null;
3722
+ ra?: string | null;
3723
+ rb?: string | null;
3724
+ rc?: string | null;
3725
+ rd?: string | null;
3726
+ len?: string | null;
3727
+ receiptType: GqlReceiptType;
3728
+ result?: string | null;
3729
+ gasUsed?: string | null;
3730
+ data?: string | null;
3731
+ sender?: string | null;
3732
+ recipient?: string | null;
3733
+ nonce?: string | null;
3734
+ contractId?: string | null;
3735
+ subId?: string | null;
3736
+ }>;
3303
3737
  }>;
3304
3738
  };
3305
3739
  export type GqlSubmitMutationVariables = Exact<{
@@ -3334,6 +3768,37 @@ export type GqlSubmitAndAwaitSubscription = {
3334
3768
  __typename: 'Block';
3335
3769
  id: string;
3336
3770
  };
3771
+ receipts: Array<{
3772
+ __typename: 'Receipt';
3773
+ id?: string | null;
3774
+ pc?: string | null;
3775
+ is?: string | null;
3776
+ to?: string | null;
3777
+ toAddress?: string | null;
3778
+ amount?: string | null;
3779
+ assetId?: string | null;
3780
+ gas?: string | null;
3781
+ param1?: string | null;
3782
+ param2?: string | null;
3783
+ val?: string | null;
3784
+ ptr?: string | null;
3785
+ digest?: string | null;
3786
+ reason?: string | null;
3787
+ ra?: string | null;
3788
+ rb?: string | null;
3789
+ rc?: string | null;
3790
+ rd?: string | null;
3791
+ len?: string | null;
3792
+ receiptType: GqlReceiptType;
3793
+ result?: string | null;
3794
+ gasUsed?: string | null;
3795
+ data?: string | null;
3796
+ sender?: string | null;
3797
+ recipient?: string | null;
3798
+ nonce?: string | null;
3799
+ contractId?: string | null;
3800
+ subId?: string | null;
3801
+ }>;
3337
3802
  } | {
3338
3803
  __typename: 'SqueezedOutStatus';
3339
3804
  reason: string;
@@ -3350,6 +3815,37 @@ export type GqlSubmitAndAwaitSubscription = {
3350
3815
  __typename: 'Block';
3351
3816
  id: string;
3352
3817
  };
3818
+ receipts: Array<{
3819
+ __typename: 'Receipt';
3820
+ id?: string | null;
3821
+ pc?: string | null;
3822
+ is?: string | null;
3823
+ to?: string | null;
3824
+ toAddress?: string | null;
3825
+ amount?: string | null;
3826
+ assetId?: string | null;
3827
+ gas?: string | null;
3828
+ param1?: string | null;
3829
+ param2?: string | null;
3830
+ val?: string | null;
3831
+ ptr?: string | null;
3832
+ digest?: string | null;
3833
+ reason?: string | null;
3834
+ ra?: string | null;
3835
+ rb?: string | null;
3836
+ rc?: string | null;
3837
+ rd?: string | null;
3838
+ len?: string | null;
3839
+ receiptType: GqlReceiptType;
3840
+ result?: string | null;
3841
+ gasUsed?: string | null;
3842
+ data?: string | null;
3843
+ sender?: string | null;
3844
+ recipient?: string | null;
3845
+ nonce?: string | null;
3846
+ contractId?: string | null;
3847
+ subId?: string | null;
3848
+ }>;
3353
3849
  programState?: {
3354
3850
  __typename: 'ProgramState';
3355
3851
  returnType: GqlReturnType;
@@ -3371,6 +3867,37 @@ export type GqlStatusChangeSubscription = {
3371
3867
  __typename: 'Block';
3372
3868
  id: string;
3373
3869
  };
3870
+ receipts: Array<{
3871
+ __typename: 'Receipt';
3872
+ id?: string | null;
3873
+ pc?: string | null;
3874
+ is?: string | null;
3875
+ to?: string | null;
3876
+ toAddress?: string | null;
3877
+ amount?: string | null;
3878
+ assetId?: string | null;
3879
+ gas?: string | null;
3880
+ param1?: string | null;
3881
+ param2?: string | null;
3882
+ val?: string | null;
3883
+ ptr?: string | null;
3884
+ digest?: string | null;
3885
+ reason?: string | null;
3886
+ ra?: string | null;
3887
+ rb?: string | null;
3888
+ rc?: string | null;
3889
+ rd?: string | null;
3890
+ len?: string | null;
3891
+ receiptType: GqlReceiptType;
3892
+ result?: string | null;
3893
+ gasUsed?: string | null;
3894
+ data?: string | null;
3895
+ sender?: string | null;
3896
+ recipient?: string | null;
3897
+ nonce?: string | null;
3898
+ contractId?: string | null;
3899
+ subId?: string | null;
3900
+ }>;
3374
3901
  } | {
3375
3902
  __typename: 'SqueezedOutStatus';
3376
3903
  reason: string;
@@ -3387,6 +3914,37 @@ export type GqlStatusChangeSubscription = {
3387
3914
  __typename: 'Block';
3388
3915
  id: string;
3389
3916
  };
3917
+ receipts: Array<{
3918
+ __typename: 'Receipt';
3919
+ id?: string | null;
3920
+ pc?: string | null;
3921
+ is?: string | null;
3922
+ to?: string | null;
3923
+ toAddress?: string | null;
3924
+ amount?: string | null;
3925
+ assetId?: string | null;
3926
+ gas?: string | null;
3927
+ param1?: string | null;
3928
+ param2?: string | null;
3929
+ val?: string | null;
3930
+ ptr?: string | null;
3931
+ digest?: string | null;
3932
+ reason?: string | null;
3933
+ ra?: string | null;
3934
+ rb?: string | null;
3935
+ rc?: string | null;
3936
+ rd?: string | null;
3937
+ len?: string | null;
3938
+ receiptType: GqlReceiptType;
3939
+ result?: string | null;
3940
+ gasUsed?: string | null;
3941
+ data?: string | null;
3942
+ sender?: string | null;
3943
+ recipient?: string | null;
3944
+ nonce?: string | null;
3945
+ contractId?: string | null;
3946
+ subId?: string | null;
3947
+ }>;
3390
3948
  programState?: {
3391
3949
  __typename: 'ProgramState';
3392
3950
  returnType: GqlReturnType;
@@ -3399,6 +3957,10 @@ export declare const TransactionStatusFragmentFragmentDoc: DocumentNode;
3399
3957
  export declare const TransactionFragmentFragmentDoc: DocumentNode;
3400
3958
  export declare const InputEstimatePredicatesFragmentFragmentDoc: DocumentNode;
3401
3959
  export declare const TransactionEstimatePredicatesFragmentFragmentDoc: DocumentNode;
3960
+ export declare const DryRunFailureStatusFragmentFragmentDoc: DocumentNode;
3961
+ export declare const DryRunSuccessStatusFragmentFragmentDoc: DocumentNode;
3962
+ export declare const DryRunTransactionStatusFragmentFragmentDoc: DocumentNode;
3963
+ export declare const DryRunTransactionExecutionStatusFragmentFragmentDoc: DocumentNode;
3402
3964
  export declare const CoinFragmentFragmentDoc: DocumentNode;
3403
3965
  export declare const MessageCoinFragmentFragmentDoc: DocumentNode;
3404
3966
  export declare const MessageFragmentFragmentDoc: DocumentNode;
@@ -3434,6 +3996,8 @@ export declare const GetCoinsToSpendDocument: DocumentNode;
3434
3996
  export declare const GetContractDocument: DocumentNode;
3435
3997
  export declare const GetContractBalanceDocument: DocumentNode;
3436
3998
  export declare const GetBalanceDocument: DocumentNode;
3999
+ export declare const GetLatestGasPriceDocument: DocumentNode;
4000
+ export declare const EstimateGasPriceDocument: DocumentNode;
3437
4001
  export declare const GetBalancesDocument: DocumentNode;
3438
4002
  export declare const GetMessagesDocument: DocumentNode;
3439
4003
  export declare const GetMessageProofDocument: DocumentNode;
@@ -3462,6 +4026,8 @@ export declare function getSdk<C, E>(requester: Requester<C, E>): {
3462
4026
  getContract(variables: GqlGetContractQueryVariables, options?: C): Promise<GqlGetContractQuery>;
3463
4027
  getContractBalance(variables: GqlGetContractBalanceQueryVariables, options?: C): Promise<GqlGetContractBalanceQuery>;
3464
4028
  getBalance(variables: GqlGetBalanceQueryVariables, options?: C): Promise<GqlGetBalanceQuery>;
4029
+ getLatestGasPrice(variables?: GqlGetLatestGasPriceQueryVariables, options?: C): Promise<GqlGetLatestGasPriceQuery>;
4030
+ estimateGasPrice(variables: GqlEstimateGasPriceQueryVariables, options?: C): Promise<GqlEstimateGasPriceQuery>;
3465
4031
  getBalances(variables: GqlGetBalancesQueryVariables, options?: C): Promise<GqlGetBalancesQuery>;
3466
4032
  getMessages(variables: GqlGetMessagesQueryVariables, options?: C): Promise<GqlGetMessagesQuery>;
3467
4033
  getMessageProof(variables: GqlGetMessageProofQueryVariables, options?: C): Promise<GqlGetMessageProofQuery>;