@fuel-ts/account 0.0.0-rc-2021-20240424160726 → 0.0.0-rc-2143-20240424161332

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 -6
  3. package/dist/account.d.ts.map +1 -1
  4. package/dist/configs.d.ts.map +1 -1
  5. package/dist/configs.global.js +1 -1
  6. package/dist/configs.global.js.map +1 -1
  7. package/dist/configs.js +1 -1
  8. package/dist/configs.js.map +1 -1
  9. package/dist/configs.mjs +1 -1
  10. package/dist/configs.mjs.map +1 -1
  11. package/dist/index.global.js +583 -863
  12. package/dist/index.global.js.map +1 -1
  13. package/dist/index.js +513 -793
  14. package/dist/index.js.map +1 -1
  15. package/dist/index.mjs +395 -674
  16. package/dist/index.mjs.map +1 -1
  17. package/dist/predicate/predicate.d.ts +2 -10
  18. package/dist/predicate/predicate.d.ts.map +1 -1
  19. package/dist/providers/__generated__/operations.d.ts +326 -828
  20. package/dist/providers/__generated__/operations.d.ts.map +1 -1
  21. package/dist/providers/coin-quantity.d.ts +1 -1
  22. package/dist/providers/coin-quantity.d.ts.map +1 -1
  23. package/dist/providers/coin.d.ts +2 -4
  24. package/dist/providers/coin.d.ts.map +1 -1
  25. package/dist/providers/message.d.ts +1 -7
  26. package/dist/providers/message.d.ts.map +1 -1
  27. package/dist/providers/provider.d.ts +27 -37
  28. package/dist/providers/provider.d.ts.map +1 -1
  29. package/dist/providers/transaction-request/create-transaction-request.d.ts.map +1 -1
  30. package/dist/providers/transaction-request/input.d.ts +2 -2
  31. package/dist/providers/transaction-request/input.d.ts.map +1 -1
  32. package/dist/providers/transaction-request/script-transaction-request.d.ts.map +1 -1
  33. package/dist/providers/transaction-request/transaction-request.d.ts +29 -8
  34. package/dist/providers/transaction-request/transaction-request.d.ts.map +1 -1
  35. package/dist/providers/transaction-request/utils.d.ts +0 -3
  36. package/dist/providers/transaction-request/utils.d.ts.map +1 -1
  37. package/dist/providers/transaction-response/transaction-response.d.ts.map +1 -1
  38. package/dist/providers/transaction-summary/assemble-transaction-summary.d.ts +0 -2
  39. package/dist/providers/transaction-summary/assemble-transaction-summary.d.ts.map +1 -1
  40. package/dist/providers/transaction-summary/calculate-transaction-fee.d.ts +2 -3
  41. package/dist/providers/transaction-summary/calculate-transaction-fee.d.ts.map +1 -1
  42. package/dist/providers/transaction-summary/get-transaction-summary.d.ts.map +1 -1
  43. package/dist/providers/utils/gas.d.ts +2 -8
  44. package/dist/providers/utils/gas.d.ts.map +1 -1
  45. package/dist/test-utils/launchNode.d.ts +4 -2
  46. package/dist/test-utils/launchNode.d.ts.map +1 -1
  47. package/dist/test-utils.global.js +1055 -1551
  48. package/dist/test-utils.global.js.map +1 -1
  49. package/dist/test-utils.js +513 -775
  50. package/dist/test-utils.js.map +1 -1
  51. package/dist/test-utils.mjs +406 -668
  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 +16 -16
@@ -31,7 +31,7 @@ export type Scalars = {
31
31
  Tai64Timestamp: string;
32
32
  TransactionId: string;
33
33
  TxPointer: any;
34
- U16: any;
34
+ U8: any;
35
35
  U32: any;
36
36
  U64: string;
37
37
  UtxoId: string;
@@ -67,7 +67,6 @@ export type GqlBlock = {
67
67
  __typename: 'Block';
68
68
  consensus: GqlConsensus;
69
69
  header: GqlHeader;
70
- height: Scalars['U32'];
71
70
  id: Scalars['BlockId'];
72
71
  transactions: Array<GqlTransaction>;
73
72
  };
@@ -88,7 +87,6 @@ export type GqlBlockEdge = {
88
87
  /** The item at the end of the edge */
89
88
  node: GqlBlock;
90
89
  };
91
- /** Breakpoint, defined as a tuple of contract ID and relative PC offset inside it */
92
90
  export type GqlBreakpoint = {
93
91
  contract: Scalars['ContractId'];
94
92
  pc: Scalars['U64'];
@@ -113,9 +111,10 @@ export type GqlCoin = {
113
111
  assetId: Scalars['AssetId'];
114
112
  /** TxPointer - the height of the block this coin was created in */
115
113
  blockCreated: Scalars['U32'];
114
+ maturity: Scalars['U32'];
116
115
  owner: Scalars['Address'];
117
116
  /** TxPointer - the index of the transaction that created this coin */
118
- txCreatedIdx: Scalars['U16'];
117
+ txCreatedIdx: Scalars['U64'];
119
118
  utxoId: Scalars['UtxoId'];
120
119
  };
121
120
  export type GqlCoinConnection = {
@@ -153,20 +152,14 @@ export type GqlConsensus = GqlGenesis | GqlPoAConsensus;
153
152
  export type GqlConsensusParameters = {
154
153
  __typename: 'ConsensusParameters';
155
154
  baseAssetId: Scalars['AssetId'];
156
- blockGasLimit: Scalars['U64'];
157
155
  chainId: Scalars['U64'];
158
156
  contractParams: GqlContractParameters;
159
157
  feeParams: GqlFeeParameters;
160
158
  gasCosts: GqlGasCosts;
161
159
  predicateParams: GqlPredicateParameters;
162
- privilegedAddress: Scalars['Address'];
163
160
  scriptParams: GqlScriptParameters;
164
161
  txParams: GqlTxParameters;
165
- version: GqlConsensusParametersVersion;
166
162
  };
167
- export declare enum GqlConsensusParametersVersion {
168
- V1 = "V1"
169
- }
170
163
  export type GqlContract = {
171
164
  __typename: 'Contract';
172
165
  bytecode: Scalars['HexString'];
@@ -202,47 +195,21 @@ export type GqlContractBalanceFilterInput = {
202
195
  };
203
196
  export type GqlContractCreated = {
204
197
  __typename: 'ContractCreated';
205
- contract: Scalars['ContractId'];
198
+ contract: GqlContract;
206
199
  stateRoot: Scalars['Bytes32'];
207
200
  };
208
201
  export type GqlContractOutput = {
209
202
  __typename: 'ContractOutput';
210
203
  balanceRoot: Scalars['Bytes32'];
211
- inputIndex: Scalars['U16'];
204
+ inputIndex: Scalars['Int'];
212
205
  stateRoot: Scalars['Bytes32'];
213
206
  };
214
207
  export type GqlContractParameters = {
215
208
  __typename: 'ContractParameters';
216
209
  contractMaxSize: Scalars['U64'];
217
210
  maxStorageSlots: Scalars['U64'];
218
- version: GqlContractParametersVersion;
219
211
  };
220
- export declare enum GqlContractParametersVersion {
221
- V1 = "V1"
222
- }
223
212
  export type GqlDependentCost = GqlHeavyOperation | GqlLightOperation;
224
- export type GqlDryRunFailureStatus = {
225
- __typename: 'DryRunFailureStatus';
226
- programState?: Maybe<GqlProgramState>;
227
- reason: Scalars['String'];
228
- receipts: Array<GqlReceipt>;
229
- };
230
- export type GqlDryRunSuccessStatus = {
231
- __typename: 'DryRunSuccessStatus';
232
- programState?: Maybe<GqlProgramState>;
233
- receipts: Array<GqlReceipt>;
234
- };
235
- export type GqlDryRunTransactionExecutionStatus = {
236
- __typename: 'DryRunTransactionExecutionStatus';
237
- id: Scalars['TransactionId'];
238
- receipts: Array<GqlReceipt>;
239
- status: GqlDryRunTransactionStatus;
240
- };
241
- export type GqlDryRunTransactionStatus = GqlDryRunFailureStatus | GqlDryRunSuccessStatus;
242
- export type GqlEstimateGasPrice = {
243
- __typename: 'EstimateGasPrice';
244
- gasPrice: Scalars['U64'];
245
- };
246
213
  export type GqlExcludeInput = {
247
214
  /** Messages to exclude from the selection. */
248
215
  messages: Array<Scalars['Nonce']>;
@@ -262,11 +229,7 @@ export type GqlFeeParameters = {
262
229
  __typename: 'FeeParameters';
263
230
  gasPerByte: Scalars['U64'];
264
231
  gasPriceFactor: Scalars['U64'];
265
- version: GqlFeeParametersVersion;
266
232
  };
267
- export declare enum GqlFeeParametersVersion {
268
- V1 = "V1"
269
- }
270
233
  export type GqlGasCosts = {
271
234
  __typename: 'GasCosts';
272
235
  add: Scalars['U64'];
@@ -284,7 +247,7 @@ export type GqlGasCosts = {
284
247
  cfei: Scalars['U64'];
285
248
  cfsi: Scalars['U64'];
286
249
  contractRoot: GqlDependentCost;
287
- croo: GqlDependentCost;
250
+ croo: Scalars['U64'];
288
251
  csiz: GqlDependentCost;
289
252
  div: Scalars['U64'];
290
253
  divi: Scalars['U64'];
@@ -362,7 +325,6 @@ export type GqlGasCosts = {
362
325
  time: Scalars['U64'];
363
326
  tr: Scalars['U64'];
364
327
  tro: Scalars['U64'];
365
- version: GqlGasCostsVersion;
366
328
  vmInitialization: GqlDependentCost;
367
329
  wdam: Scalars['U64'];
368
330
  wdcm: Scalars['U64'];
@@ -381,9 +343,6 @@ export type GqlGasCosts = {
381
343
  xor: Scalars['U64'];
382
344
  xori: Scalars['U64'];
383
345
  };
384
- export declare enum GqlGasCostsVersion {
385
- V1 = "V1"
386
- }
387
346
  export type GqlGenesis = {
388
347
  __typename: 'Genesis';
389
348
  /**
@@ -402,24 +361,18 @@ export type GqlHeader = {
402
361
  __typename: 'Header';
403
362
  /** Hash of the application header. */
404
363
  applicationHash: Scalars['Bytes32'];
405
- /** The version of the consensus parameters used to create this block. */
406
- consensusParametersVersion: Scalars['U32'];
407
364
  /** The layer 1 height of messages and events to include since the last layer 1 block number. */
408
365
  daHeight: Scalars['U64'];
409
- /** Merkle root of inbox events in this block. */
410
- eventInboxRoot: Scalars['Bytes32'];
411
366
  /** Fuel block height. */
412
367
  height: Scalars['U32'];
413
368
  /** Hash of the header */
414
369
  id: Scalars['BlockId'];
415
- /** Merkle root of message receipts in this block. */
416
- messageOutboxRoot: Scalars['Bytes32'];
417
370
  /** Number of message receipts in this block. */
418
371
  messageReceiptCount: Scalars['U64'];
372
+ /** Merkle root of message receipts in this block. */
373
+ messageReceiptRoot: Scalars['Bytes32'];
419
374
  /** Merkle root of all previous block header hashes. */
420
375
  prevRoot: Scalars['Bytes32'];
421
- /** The version of the state transition bytecode used to create this block. */
422
- stateTransitionBytecodeVersion: Scalars['U32'];
423
376
  /** The block producer time. */
424
377
  time: Scalars['Tai64Timestamp'];
425
378
  /** Number of transactions in this block. */
@@ -437,6 +390,7 @@ export type GqlInputCoin = {
437
390
  __typename: 'InputCoin';
438
391
  amount: Scalars['U64'];
439
392
  assetId: Scalars['AssetId'];
393
+ maturity: Scalars['U32'];
440
394
  owner: Scalars['Address'];
441
395
  predicate: Scalars['HexString'];
442
396
  predicateData: Scalars['HexString'];
@@ -448,7 +402,7 @@ export type GqlInputCoin = {
448
402
  export type GqlInputContract = {
449
403
  __typename: 'InputContract';
450
404
  balanceRoot: Scalars['Bytes32'];
451
- contractId: Scalars['ContractId'];
405
+ contract: GqlContract;
452
406
  stateRoot: Scalars['Bytes32'];
453
407
  txPointer: Scalars['TxPointer'];
454
408
  utxoId: Scalars['UtxoId'];
@@ -463,12 +417,7 @@ export type GqlInputMessage = {
463
417
  predicateGasUsed: Scalars['U64'];
464
418
  recipient: Scalars['Address'];
465
419
  sender: Scalars['Address'];
466
- witnessIndex: Scalars['U16'];
467
- };
468
- export type GqlLatestGasPrice = {
469
- __typename: 'LatestGasPrice';
470
- blockHeight: Scalars['U32'];
471
- gasPrice: Scalars['U64'];
420
+ witnessIndex: Scalars['Int'];
472
421
  };
473
422
  export type GqlLightOperation = {
474
423
  __typename: 'LightOperation';
@@ -538,16 +487,10 @@ export type GqlMessageStatus = {
538
487
  };
539
488
  export type GqlMutation = {
540
489
  __typename: 'Mutation';
541
- /**
542
- * Resume execution of the VM instance after a breakpoint.
543
- * Runs until the next breakpoint or until the transaction completes.
544
- */
545
490
  continueTx: GqlRunResult;
546
- /** Execute a dry-run of multiple transactions using a fork of current state, no changes are committed. */
547
- dryRun: Array<GqlDryRunTransactionExecutionStatus>;
548
- /** End debugger session. */
491
+ /** Execute a dry-run of the transaction using a fork of current state, no changes are committed. */
492
+ dryRun: Array<GqlReceipt>;
549
493
  endSession: Scalars['Boolean'];
550
- /** Execute a single fuel-asm instruction. */
551
494
  execute: Scalars['Boolean'];
552
495
  /**
553
496
  * Sequentially produces `blocks_to_produce` blocks. The first block starts with
@@ -556,23 +499,10 @@ export type GqlMutation = {
556
499
  * them. The `start_timestamp` is the timestamp in seconds.
557
500
  */
558
501
  produceBlocks: Scalars['U32'];
559
- /** Reset the VM instance to the initial state. */
560
502
  reset: Scalars['Boolean'];
561
- /** Set a breakpoint for a VM instance. */
562
503
  setBreakpoint: Scalars['Boolean'];
563
- /** Set single-stepping mode for the VM instance. */
564
504
  setSingleStepping: Scalars['Boolean'];
565
- /**
566
- * Initialize a new debugger session, returning its ID.
567
- * A new VM instance is spawned for each session.
568
- * The session is run in a separate database transaction,
569
- * on top of the most recent node state.
570
- */
571
505
  startSession: Scalars['ID'];
572
- /**
573
- * Run a single transaction in given session until it
574
- * hits a breakpoint or completes.
575
- */
576
506
  startTx: GqlRunResult;
577
507
  /**
578
508
  * Submits transaction to the `TxPool`.
@@ -585,7 +515,7 @@ export type GqlMutationContinueTxArgs = {
585
515
  id: Scalars['ID'];
586
516
  };
587
517
  export type GqlMutationDryRunArgs = {
588
- txs: Array<Scalars['HexString']>;
518
+ tx: Scalars['HexString'];
589
519
  utxoValidation?: InputMaybe<Scalars['Boolean']>;
590
520
  };
591
521
  export type GqlMutationEndSessionArgs = {
@@ -621,6 +551,7 @@ export type GqlNodeInfo = {
621
551
  __typename: 'NodeInfo';
622
552
  maxDepth: Scalars['U64'];
623
553
  maxTx: Scalars['U64'];
554
+ minGasPrice: Scalars['U64'];
624
555
  nodeVersion: Scalars['String'];
625
556
  peers: Array<GqlPeerInfo>;
626
557
  utxoValidation: Scalars['Boolean'];
@@ -670,9 +601,9 @@ export type GqlPoAConsensus = {
670
601
  };
671
602
  export type GqlPolicies = {
672
603
  __typename: 'Policies';
604
+ gasPrice?: Maybe<Scalars['U64']>;
673
605
  maturity?: Maybe<Scalars['U32']>;
674
606
  maxFee?: Maybe<Scalars['U64']>;
675
- tip?: Maybe<Scalars['U64']>;
676
607
  witnessLimit?: Maybe<Scalars['U64']>;
677
608
  };
678
609
  export type GqlPredicateParameters = {
@@ -681,11 +612,7 @@ export type GqlPredicateParameters = {
681
612
  maxMessageDataLength: Scalars['U64'];
682
613
  maxPredicateDataLength: Scalars['U64'];
683
614
  maxPredicateLength: Scalars['U64'];
684
- version: GqlPredicateParametersVersion;
685
615
  };
686
- export declare enum GqlPredicateParametersVersion {
687
- V1 = "V1"
688
- }
689
616
  export type GqlProgramState = {
690
617
  __typename: 'ProgramState';
691
618
  data: Scalars['HexString'];
@@ -718,20 +645,15 @@ export type GqlQuery = {
718
645
  contract?: Maybe<GqlContract>;
719
646
  contractBalance: GqlContractBalance;
720
647
  contractBalances: GqlContractBalanceConnection;
721
- estimateGasPrice: GqlEstimateGasPrice;
722
648
  /** Estimate the predicate gas for the provided transaction */
723
649
  estimatePredicates: GqlTransaction;
724
650
  /** Returns true when the GraphQL API is serving requests. */
725
651
  health: Scalars['Boolean'];
726
- latestGasPrice: GqlLatestGasPrice;
727
- /** Read read a range of memory bytes. */
728
652
  memory: Scalars['String'];
729
- message?: Maybe<GqlMessage>;
730
653
  messageProof?: Maybe<GqlMessageProof>;
731
654
  messageStatus: GqlMessageStatus;
732
655
  messages: GqlMessageConnection;
733
656
  nodeInfo: GqlNodeInfo;
734
- /** Read register value by index. */
735
657
  register: Scalars['U64'];
736
658
  transaction?: Maybe<GqlTransaction>;
737
659
  transactions: GqlTransactionConnection;
@@ -787,9 +709,6 @@ export type GqlQueryContractBalancesArgs = {
787
709
  first?: InputMaybe<Scalars['Int']>;
788
710
  last?: InputMaybe<Scalars['Int']>;
789
711
  };
790
- export type GqlQueryEstimateGasPriceArgs = {
791
- blockHorizon?: InputMaybe<Scalars['U32']>;
792
- };
793
712
  export type GqlQueryEstimatePredicatesArgs = {
794
713
  tx: Scalars['HexString'];
795
714
  };
@@ -798,9 +717,6 @@ export type GqlQueryMemoryArgs = {
798
717
  size: Scalars['U32'];
799
718
  start: Scalars['U32'];
800
719
  };
801
- export type GqlQueryMessageArgs = {
802
- nonce: Scalars['Nonce'];
803
- };
804
720
  export type GqlQueryMessageProofArgs = {
805
721
  commitBlockHeight?: InputMaybe<Scalars['U32']>;
806
722
  commitBlockId?: InputMaybe<Scalars['BlockId']>;
@@ -841,13 +757,12 @@ export type GqlReceipt = {
841
757
  __typename: 'Receipt';
842
758
  amount?: Maybe<Scalars['U64']>;
843
759
  assetId?: Maybe<Scalars['AssetId']>;
844
- /** Set in the case of a Panic receipt to indicate a missing contract input id */
760
+ contract?: Maybe<GqlContract>;
845
761
  contractId?: Maybe<Scalars['ContractId']>;
846
762
  data?: Maybe<Scalars['HexString']>;
847
763
  digest?: Maybe<Scalars['Bytes32']>;
848
764
  gas?: Maybe<Scalars['U64']>;
849
765
  gasUsed?: Maybe<Scalars['U64']>;
850
- id?: Maybe<Scalars['ContractId']>;
851
766
  is?: Maybe<Scalars['U64']>;
852
767
  len?: Maybe<Scalars['U64']>;
853
768
  nonce?: Maybe<Scalars['Nonce']>;
@@ -865,7 +780,7 @@ export type GqlReceipt = {
865
780
  result?: Maybe<Scalars['U64']>;
866
781
  sender?: Maybe<Scalars['Address']>;
867
782
  subId?: Maybe<Scalars['Bytes32']>;
868
- to?: Maybe<Scalars['ContractId']>;
783
+ to?: Maybe<GqlContract>;
869
784
  toAddress?: Maybe<Scalars['Address']>;
870
785
  val?: Maybe<Scalars['U64']>;
871
786
  };
@@ -905,11 +820,7 @@ export type GqlScriptParameters = {
905
820
  __typename: 'ScriptParameters';
906
821
  maxScriptDataLength: Scalars['U64'];
907
822
  maxScriptLength: Scalars['U64'];
908
- version: GqlScriptParametersVersion;
909
823
  };
910
- export declare enum GqlScriptParametersVersion {
911
- V1 = "V1"
912
- }
913
824
  export type GqlSpendQueryElementInput = {
914
825
  /** Target amount for the query. */
915
826
  amount: Scalars['U64'];
@@ -962,11 +873,13 @@ export type GqlSuccessStatus = {
962
873
  };
963
874
  export type GqlTransaction = {
964
875
  __typename: 'Transaction';
965
- bytecodeWitnessIndex?: Maybe<Scalars['U16']>;
876
+ bytecodeLength?: Maybe<Scalars['U64']>;
877
+ bytecodeWitnessIndex?: Maybe<Scalars['Int']>;
878
+ gasPrice?: Maybe<Scalars['U64']>;
966
879
  id: Scalars['TransactionId'];
967
880
  inputAssetIds?: Maybe<Array<Scalars['AssetId']>>;
968
881
  inputContract?: Maybe<GqlInputContract>;
969
- inputContracts?: Maybe<Array<Scalars['ContractId']>>;
882
+ inputContracts?: Maybe<Array<GqlContract>>;
970
883
  inputs?: Maybe<Array<GqlInput>>;
971
884
  isCreate: Scalars['Boolean'];
972
885
  isMint: Scalars['Boolean'];
@@ -974,12 +887,12 @@ export type GqlTransaction = {
974
887
  maturity?: Maybe<Scalars['U32']>;
975
888
  mintAmount?: Maybe<Scalars['U64']>;
976
889
  mintAssetId?: Maybe<Scalars['AssetId']>;
977
- mintGasPrice?: Maybe<Scalars['U64']>;
978
890
  outputContract?: Maybe<GqlContractOutput>;
979
891
  outputs: Array<GqlOutput>;
980
892
  policies?: Maybe<GqlPolicies>;
981
893
  /** Return the transaction bytes using canonical encoding */
982
894
  rawPayload: Scalars['HexString'];
895
+ receipts?: Maybe<Array<GqlReceipt>>;
983
896
  receiptsRoot?: Maybe<Scalars['Bytes32']>;
984
897
  salt?: Maybe<Scalars['Salt']>;
985
898
  script?: Maybe<Scalars['HexString']>;
@@ -1011,15 +924,11 @@ export type GqlTransactionStatus = GqlFailureStatus | GqlSqueezedOutStatus | Gql
1011
924
  export type GqlTxParameters = {
1012
925
  __typename: 'TxParameters';
1013
926
  maxGasPerTx: Scalars['U64'];
1014
- maxInputs: Scalars['U16'];
1015
- maxOutputs: Scalars['U16'];
927
+ maxInputs: Scalars['U8'];
928
+ maxOutputs: Scalars['U8'];
1016
929
  maxSize: Scalars['U64'];
1017
930
  maxWitnesses: Scalars['U32'];
1018
- version: GqlTxParametersVersion;
1019
931
  };
1020
- export declare enum GqlTxParametersVersion {
1021
- V1 = "V1"
1022
- }
1023
932
  export type GqlVariableOutput = {
1024
933
  __typename: 'VariableOutput';
1025
934
  amount: Scalars['U64'];
@@ -1035,37 +944,6 @@ type GqlTransactionStatusFragment_FailureStatus_Fragment = {
1035
944
  __typename: 'Block';
1036
945
  id: string;
1037
946
  };
1038
- receipts: Array<{
1039
- __typename: 'Receipt';
1040
- id?: string | null;
1041
- pc?: string | null;
1042
- is?: string | null;
1043
- to?: string | null;
1044
- toAddress?: string | null;
1045
- amount?: string | null;
1046
- assetId?: string | null;
1047
- gas?: string | null;
1048
- param1?: string | null;
1049
- param2?: string | null;
1050
- val?: string | null;
1051
- ptr?: string | null;
1052
- digest?: string | null;
1053
- reason?: string | null;
1054
- ra?: string | null;
1055
- rb?: string | null;
1056
- rc?: string | null;
1057
- rd?: string | null;
1058
- len?: string | null;
1059
- receiptType: GqlReceiptType;
1060
- result?: string | null;
1061
- gasUsed?: string | null;
1062
- data?: string | null;
1063
- sender?: string | null;
1064
- recipient?: string | null;
1065
- nonce?: string | null;
1066
- contractId?: string | null;
1067
- subId?: string | null;
1068
- }>;
1069
947
  };
1070
948
  type GqlTransactionStatusFragment_SqueezedOutStatus_Fragment = {
1071
949
  __typename: 'SqueezedOutStatus';
@@ -1085,12 +963,22 @@ type GqlTransactionStatusFragment_SuccessStatus_Fragment = {
1085
963
  __typename: 'Block';
1086
964
  id: string;
1087
965
  };
1088
- receipts: Array<{
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<{
1089
979
  __typename: 'Receipt';
1090
- id?: string | null;
1091
980
  pc?: string | null;
1092
981
  is?: string | null;
1093
- to?: string | null;
1094
982
  toAddress?: string | null;
1095
983
  amount?: string | null;
1096
984
  assetId?: string | null;
@@ -1115,53 +1003,15 @@ type GqlTransactionStatusFragment_SuccessStatus_Fragment = {
1115
1003
  nonce?: string | null;
1116
1004
  contractId?: string | null;
1117
1005
  subId?: string | null;
1118
- }>;
1119
- programState?: {
1120
- __typename: 'ProgramState';
1121
- returnType: GqlReturnType;
1122
- data: string;
1123
- } | null;
1124
- };
1125
- export type GqlTransactionStatusFragmentFragment = GqlTransactionStatusFragment_FailureStatus_Fragment | GqlTransactionStatusFragment_SqueezedOutStatus_Fragment | GqlTransactionStatusFragment_SubmittedStatus_Fragment | GqlTransactionStatusFragment_SuccessStatus_Fragment;
1126
- type GqlTransactionStatusSubscriptionFragment_FailureStatus_Fragment = {
1127
- __typename: 'FailureStatus';
1128
- time: string;
1129
- reason: string;
1130
- type: 'FailureStatus';
1131
- block: {
1132
- __typename: 'Block';
1133
- id: string;
1134
- };
1135
- };
1136
- type GqlTransactionStatusSubscriptionFragment_SqueezedOutStatus_Fragment = {
1137
- __typename: 'SqueezedOutStatus';
1138
- reason: string;
1139
- type: 'SqueezedOutStatus';
1140
- };
1141
- type GqlTransactionStatusSubscriptionFragment_SubmittedStatus_Fragment = {
1142
- __typename: 'SubmittedStatus';
1143
- time: string;
1144
- type: 'SubmittedStatus';
1145
- };
1146
- type GqlTransactionStatusSubscriptionFragment_SuccessStatus_Fragment = {
1147
- __typename: 'SuccessStatus';
1148
- time: string;
1149
- type: 'SuccessStatus';
1150
- block: {
1151
- __typename: 'Block';
1152
- id: string;
1153
- };
1154
- programState?: {
1155
- __typename: 'ProgramState';
1156
- returnType: GqlReturnType;
1157
- data: string;
1158
- } | null;
1159
- };
1160
- export type GqlTransactionStatusSubscriptionFragmentFragment = GqlTransactionStatusSubscriptionFragment_FailureStatus_Fragment | GqlTransactionStatusSubscriptionFragment_SqueezedOutStatus_Fragment | GqlTransactionStatusSubscriptionFragment_SubmittedStatus_Fragment | GqlTransactionStatusSubscriptionFragment_SuccessStatus_Fragment;
1161
- export type GqlTransactionFragmentFragment = {
1162
- __typename: 'Transaction';
1163
- id: string;
1164
- rawPayload: string;
1006
+ contract?: {
1007
+ __typename: 'Contract';
1008
+ id: string;
1009
+ } | null;
1010
+ to?: {
1011
+ __typename: 'Contract';
1012
+ id: string;
1013
+ } | null;
1014
+ }> | null;
1165
1015
  status?: {
1166
1016
  __typename: 'FailureStatus';
1167
1017
  time: string;
@@ -1171,37 +1021,6 @@ export type GqlTransactionFragmentFragment = {
1171
1021
  __typename: 'Block';
1172
1022
  id: string;
1173
1023
  };
1174
- receipts: Array<{
1175
- __typename: 'Receipt';
1176
- id?: string | null;
1177
- pc?: string | null;
1178
- is?: string | null;
1179
- to?: string | null;
1180
- toAddress?: string | null;
1181
- amount?: string | null;
1182
- assetId?: string | null;
1183
- gas?: string | null;
1184
- param1?: string | null;
1185
- param2?: string | null;
1186
- val?: string | null;
1187
- ptr?: string | null;
1188
- digest?: string | null;
1189
- reason?: string | null;
1190
- ra?: string | null;
1191
- rb?: string | null;
1192
- rc?: string | null;
1193
- rd?: string | null;
1194
- len?: string | null;
1195
- receiptType: GqlReceiptType;
1196
- result?: string | null;
1197
- gasUsed?: string | null;
1198
- data?: string | null;
1199
- sender?: string | null;
1200
- recipient?: string | null;
1201
- nonce?: string | null;
1202
- contractId?: string | null;
1203
- subId?: string | null;
1204
- }>;
1205
1024
  } | {
1206
1025
  __typename: 'SqueezedOutStatus';
1207
1026
  reason: string;
@@ -1218,37 +1037,6 @@ export type GqlTransactionFragmentFragment = {
1218
1037
  __typename: 'Block';
1219
1038
  id: string;
1220
1039
  };
1221
- receipts: Array<{
1222
- __typename: 'Receipt';
1223
- id?: string | null;
1224
- pc?: string | null;
1225
- is?: string | null;
1226
- to?: string | null;
1227
- toAddress?: string | null;
1228
- amount?: string | null;
1229
- assetId?: string | null;
1230
- gas?: string | null;
1231
- param1?: string | null;
1232
- param2?: string | null;
1233
- val?: string | null;
1234
- ptr?: string | null;
1235
- digest?: string | null;
1236
- reason?: string | null;
1237
- ra?: string | null;
1238
- rb?: string | null;
1239
- rc?: string | null;
1240
- rd?: string | null;
1241
- len?: string | null;
1242
- receiptType: GqlReceiptType;
1243
- result?: string | null;
1244
- gasUsed?: string | null;
1245
- data?: string | null;
1246
- sender?: string | null;
1247
- recipient?: string | null;
1248
- nonce?: string | null;
1249
- contractId?: string | null;
1250
- subId?: string | null;
1251
- }>;
1252
1040
  programState?: {
1253
1041
  __typename: 'ProgramState';
1254
1042
  returnType: GqlReturnType;
@@ -1280,29 +1068,10 @@ export type GqlTransactionEstimatePredicatesFragmentFragment = {
1280
1068
  predicateGasUsed: string;
1281
1069
  }> | null;
1282
1070
  };
1283
- export type GqlDryRunFailureStatusFragmentFragment = {
1284
- __typename: 'DryRunFailureStatus';
1285
- reason: string;
1286
- programState?: {
1287
- __typename: 'ProgramState';
1288
- returnType: GqlReturnType;
1289
- data: string;
1290
- } | null;
1291
- };
1292
- export type GqlDryRunSuccessStatusFragmentFragment = {
1293
- __typename: 'DryRunSuccessStatus';
1294
- programState?: {
1295
- __typename: 'ProgramState';
1296
- returnType: GqlReturnType;
1297
- data: string;
1298
- } | null;
1299
- };
1300
1071
  export type GqlReceiptFragmentFragment = {
1301
1072
  __typename: 'Receipt';
1302
- id?: string | null;
1303
1073
  pc?: string | null;
1304
1074
  is?: string | null;
1305
- to?: string | null;
1306
1075
  toAddress?: string | null;
1307
1076
  amount?: string | null;
1308
1077
  assetId?: string | null;
@@ -1327,82 +1096,21 @@ export type GqlReceiptFragmentFragment = {
1327
1096
  nonce?: string | null;
1328
1097
  contractId?: string | null;
1329
1098
  subId?: string | null;
1330
- };
1331
- type GqlDryRunTransactionStatusFragment_DryRunFailureStatus_Fragment = {
1332
- __typename: 'DryRunFailureStatus';
1333
- reason: string;
1334
- programState?: {
1335
- __typename: 'ProgramState';
1336
- returnType: GqlReturnType;
1337
- data: string;
1099
+ contract?: {
1100
+ __typename: 'Contract';
1101
+ id: string;
1338
1102
  } | null;
1339
- };
1340
- type GqlDryRunTransactionStatusFragment_DryRunSuccessStatus_Fragment = {
1341
- __typename: 'DryRunSuccessStatus';
1342
- programState?: {
1343
- __typename: 'ProgramState';
1344
- returnType: GqlReturnType;
1345
- data: string;
1103
+ to?: {
1104
+ __typename: 'Contract';
1105
+ id: string;
1346
1106
  } | null;
1347
1107
  };
1348
- export type GqlDryRunTransactionStatusFragmentFragment = GqlDryRunTransactionStatusFragment_DryRunFailureStatus_Fragment | GqlDryRunTransactionStatusFragment_DryRunSuccessStatus_Fragment;
1349
- export type GqlDryRunTransactionExecutionStatusFragmentFragment = {
1350
- __typename: 'DryRunTransactionExecutionStatus';
1351
- id: string;
1352
- status: {
1353
- __typename: 'DryRunFailureStatus';
1354
- reason: string;
1355
- programState?: {
1356
- __typename: 'ProgramState';
1357
- returnType: GqlReturnType;
1358
- data: string;
1359
- } | null;
1360
- } | {
1361
- __typename: 'DryRunSuccessStatus';
1362
- programState?: {
1363
- __typename: 'ProgramState';
1364
- returnType: GqlReturnType;
1365
- data: string;
1366
- } | null;
1367
- };
1368
- receipts: Array<{
1369
- __typename: 'Receipt';
1370
- id?: string | null;
1371
- pc?: string | null;
1372
- is?: string | null;
1373
- to?: string | null;
1374
- toAddress?: string | null;
1375
- amount?: string | null;
1376
- assetId?: string | null;
1377
- gas?: string | null;
1378
- param1?: string | null;
1379
- param2?: string | null;
1380
- val?: string | null;
1381
- ptr?: string | null;
1382
- digest?: string | null;
1383
- reason?: string | null;
1384
- ra?: string | null;
1385
- rb?: string | null;
1386
- rc?: string | null;
1387
- rd?: string | null;
1388
- len?: string | null;
1389
- receiptType: GqlReceiptType;
1390
- result?: string | null;
1391
- gasUsed?: string | null;
1392
- data?: string | null;
1393
- sender?: string | null;
1394
- recipient?: string | null;
1395
- nonce?: string | null;
1396
- contractId?: string | null;
1397
- subId?: string | null;
1398
- }>;
1399
- };
1400
1108
  export type GqlBlockFragmentFragment = {
1401
1109
  __typename: 'Block';
1402
1110
  id: string;
1403
- height: any;
1404
1111
  header: {
1405
1112
  __typename: 'Header';
1113
+ height: any;
1406
1114
  time: string;
1407
1115
  };
1408
1116
  transactions: Array<{
@@ -1416,8 +1124,9 @@ export type GqlCoinFragmentFragment = {
1416
1124
  owner: string;
1417
1125
  amount: string;
1418
1126
  assetId: string;
1127
+ maturity: any;
1419
1128
  blockCreated: any;
1420
- txCreatedIdx: any;
1129
+ txCreatedIdx: string;
1421
1130
  };
1422
1131
  export type GqlMessageCoinFragmentFragment = {
1423
1132
  __typename: 'MessageCoin';
@@ -1458,33 +1167,27 @@ export type GqlMessageProofFragmentFragment = {
1458
1167
  __typename: 'Header';
1459
1168
  id: string;
1460
1169
  daHeight: string;
1461
- consensusParametersVersion: any;
1462
- stateTransitionBytecodeVersion: any;
1463
1170
  transactionsCount: string;
1464
- messageReceiptCount: string;
1465
1171
  transactionsRoot: string;
1466
- messageOutboxRoot: string;
1467
- eventInboxRoot: string;
1468
1172
  height: any;
1469
1173
  prevRoot: string;
1470
1174
  time: string;
1471
1175
  applicationHash: string;
1176
+ messageReceiptRoot: string;
1177
+ messageReceiptCount: string;
1472
1178
  };
1473
1179
  commitBlockHeader: {
1474
1180
  __typename: 'Header';
1475
1181
  id: string;
1476
1182
  daHeight: string;
1477
- consensusParametersVersion: any;
1478
- stateTransitionBytecodeVersion: any;
1479
1183
  transactionsCount: string;
1480
- messageReceiptCount: string;
1481
1184
  transactionsRoot: string;
1482
- messageOutboxRoot: string;
1483
- eventInboxRoot: string;
1484
1185
  height: any;
1485
1186
  prevRoot: string;
1486
1187
  time: string;
1487
1188
  applicationHash: string;
1189
+ messageReceiptRoot: string;
1190
+ messageReceiptCount: string;
1488
1191
  };
1489
1192
  };
1490
1193
  export type GqlBalanceFragmentFragment = {
@@ -1495,7 +1198,6 @@ export type GqlBalanceFragmentFragment = {
1495
1198
  };
1496
1199
  export type GqlTxParametersFragmentFragment = {
1497
1200
  __typename: 'TxParameters';
1498
- version: GqlTxParametersVersion;
1499
1201
  maxInputs: any;
1500
1202
  maxOutputs: any;
1501
1203
  maxWitnesses: any;
@@ -1504,7 +1206,6 @@ export type GqlTxParametersFragmentFragment = {
1504
1206
  };
1505
1207
  export type GqlPredicateParametersFragmentFragment = {
1506
1208
  __typename: 'PredicateParameters';
1507
- version: GqlPredicateParametersVersion;
1508
1209
  maxPredicateLength: string;
1509
1210
  maxPredicateDataLength: string;
1510
1211
  maxGasPerPredicate: string;
@@ -1512,19 +1213,16 @@ export type GqlPredicateParametersFragmentFragment = {
1512
1213
  };
1513
1214
  export type GqlScriptParametersFragmentFragment = {
1514
1215
  __typename: 'ScriptParameters';
1515
- version: GqlScriptParametersVersion;
1516
1216
  maxScriptLength: string;
1517
1217
  maxScriptDataLength: string;
1518
1218
  };
1519
1219
  export type GqlContractParametersFragmentFragment = {
1520
1220
  __typename: 'ContractParameters';
1521
- version: GqlContractParametersVersion;
1522
1221
  contractMaxSize: string;
1523
1222
  maxStorageSlots: string;
1524
1223
  };
1525
1224
  export type GqlFeeParametersFragmentFragment = {
1526
1225
  __typename: 'FeeParameters';
1527
- version: GqlFeeParametersVersion;
1528
1226
  gasPriceFactor: string;
1529
1227
  gasPerByte: string;
1530
1228
  };
@@ -1541,7 +1239,6 @@ type GqlDependentCostFragment_LightOperation_Fragment = {
1541
1239
  export type GqlDependentCostFragmentFragment = GqlDependentCostFragment_HeavyOperation_Fragment | GqlDependentCostFragment_LightOperation_Fragment;
1542
1240
  export type GqlGasCostsFragmentFragment = {
1543
1241
  __typename: 'GasCosts';
1544
- version: GqlGasCostsVersion;
1545
1242
  add: string;
1546
1243
  addi: string;
1547
1244
  aloc: string;
@@ -1554,6 +1251,7 @@ export type GqlGasCostsFragmentFragment = {
1554
1251
  cb: string;
1555
1252
  cfei: string;
1556
1253
  cfsi: string;
1254
+ croo: string;
1557
1255
  div: string;
1558
1256
  divi: string;
1559
1257
  ecr1: string;
@@ -1649,16 +1347,7 @@ export type GqlGasCostsFragmentFragment = {
1649
1347
  base: string;
1650
1348
  unitsPerGas: string;
1651
1349
  };
1652
- croo: {
1653
- __typename: 'HeavyOperation';
1654
- base: string;
1655
- gasPerUnit: string;
1656
- } | {
1657
- __typename: 'LightOperation';
1658
- base: string;
1659
- unitsPerGas: string;
1660
- };
1661
- csiz: {
1350
+ csiz: {
1662
1351
  __typename: 'HeavyOperation';
1663
1352
  base: string;
1664
1353
  gasPerUnit: string;
@@ -1823,12 +1512,10 @@ export type GqlGasCostsFragmentFragment = {
1823
1512
  };
1824
1513
  export type GqlConsensusParametersFragmentFragment = {
1825
1514
  __typename: 'ConsensusParameters';
1826
- version: GqlConsensusParametersVersion;
1827
1515
  baseAssetId: string;
1828
1516
  chainId: string;
1829
1517
  txParams: {
1830
1518
  __typename: 'TxParameters';
1831
- version: GqlTxParametersVersion;
1832
1519
  maxInputs: any;
1833
1520
  maxOutputs: any;
1834
1521
  maxWitnesses: any;
@@ -1837,7 +1524,6 @@ export type GqlConsensusParametersFragmentFragment = {
1837
1524
  };
1838
1525
  predicateParams: {
1839
1526
  __typename: 'PredicateParameters';
1840
- version: GqlPredicateParametersVersion;
1841
1527
  maxPredicateLength: string;
1842
1528
  maxPredicateDataLength: string;
1843
1529
  maxGasPerPredicate: string;
@@ -1845,25 +1531,21 @@ export type GqlConsensusParametersFragmentFragment = {
1845
1531
  };
1846
1532
  scriptParams: {
1847
1533
  __typename: 'ScriptParameters';
1848
- version: GqlScriptParametersVersion;
1849
1534
  maxScriptLength: string;
1850
1535
  maxScriptDataLength: string;
1851
1536
  };
1852
1537
  contractParams: {
1853
1538
  __typename: 'ContractParameters';
1854
- version: GqlContractParametersVersion;
1855
1539
  contractMaxSize: string;
1856
1540
  maxStorageSlots: string;
1857
1541
  };
1858
1542
  feeParams: {
1859
1543
  __typename: 'FeeParameters';
1860
- version: GqlFeeParametersVersion;
1861
1544
  gasPriceFactor: string;
1862
1545
  gasPerByte: string;
1863
1546
  };
1864
1547
  gasCosts: {
1865
1548
  __typename: 'GasCosts';
1866
- version: GqlGasCostsVersion;
1867
1549
  add: string;
1868
1550
  addi: string;
1869
1551
  aloc: string;
@@ -1876,6 +1558,7 @@ export type GqlConsensusParametersFragmentFragment = {
1876
1558
  cb: string;
1877
1559
  cfei: string;
1878
1560
  cfsi: string;
1561
+ croo: string;
1879
1562
  div: string;
1880
1563
  divi: string;
1881
1564
  ecr1: string;
@@ -1971,15 +1654,6 @@ export type GqlConsensusParametersFragmentFragment = {
1971
1654
  base: string;
1972
1655
  unitsPerGas: string;
1973
1656
  };
1974
- croo: {
1975
- __typename: 'HeavyOperation';
1976
- base: string;
1977
- gasPerUnit: string;
1978
- } | {
1979
- __typename: 'LightOperation';
1980
- base: string;
1981
- unitsPerGas: string;
1982
- };
1983
1657
  csiz: {
1984
1658
  __typename: 'HeavyOperation';
1985
1659
  base: string;
@@ -2151,9 +1825,9 @@ export type GqlChainInfoFragmentFragment = {
2151
1825
  latestBlock: {
2152
1826
  __typename: 'Block';
2153
1827
  id: string;
2154
- height: any;
2155
1828
  header: {
2156
1829
  __typename: 'Header';
1830
+ height: any;
2157
1831
  time: string;
2158
1832
  };
2159
1833
  transactions: Array<{
@@ -2163,12 +1837,10 @@ export type GqlChainInfoFragmentFragment = {
2163
1837
  };
2164
1838
  consensusParameters: {
2165
1839
  __typename: 'ConsensusParameters';
2166
- version: GqlConsensusParametersVersion;
2167
1840
  baseAssetId: string;
2168
1841
  chainId: string;
2169
1842
  txParams: {
2170
1843
  __typename: 'TxParameters';
2171
- version: GqlTxParametersVersion;
2172
1844
  maxInputs: any;
2173
1845
  maxOutputs: any;
2174
1846
  maxWitnesses: any;
@@ -2177,7 +1849,6 @@ export type GqlChainInfoFragmentFragment = {
2177
1849
  };
2178
1850
  predicateParams: {
2179
1851
  __typename: 'PredicateParameters';
2180
- version: GqlPredicateParametersVersion;
2181
1852
  maxPredicateLength: string;
2182
1853
  maxPredicateDataLength: string;
2183
1854
  maxGasPerPredicate: string;
@@ -2185,25 +1856,21 @@ export type GqlChainInfoFragmentFragment = {
2185
1856
  };
2186
1857
  scriptParams: {
2187
1858
  __typename: 'ScriptParameters';
2188
- version: GqlScriptParametersVersion;
2189
1859
  maxScriptLength: string;
2190
1860
  maxScriptDataLength: string;
2191
1861
  };
2192
1862
  contractParams: {
2193
1863
  __typename: 'ContractParameters';
2194
- version: GqlContractParametersVersion;
2195
1864
  contractMaxSize: string;
2196
1865
  maxStorageSlots: string;
2197
1866
  };
2198
1867
  feeParams: {
2199
1868
  __typename: 'FeeParameters';
2200
- version: GqlFeeParametersVersion;
2201
1869
  gasPriceFactor: string;
2202
1870
  gasPerByte: string;
2203
1871
  };
2204
1872
  gasCosts: {
2205
1873
  __typename: 'GasCosts';
2206
- version: GqlGasCostsVersion;
2207
1874
  add: string;
2208
1875
  addi: string;
2209
1876
  aloc: string;
@@ -2216,6 +1883,7 @@ export type GqlChainInfoFragmentFragment = {
2216
1883
  cb: string;
2217
1884
  cfei: string;
2218
1885
  cfsi: string;
1886
+ croo: string;
2219
1887
  div: string;
2220
1888
  divi: string;
2221
1889
  ecr1: string;
@@ -2311,15 +1979,6 @@ export type GqlChainInfoFragmentFragment = {
2311
1979
  base: string;
2312
1980
  unitsPerGas: string;
2313
1981
  };
2314
- croo: {
2315
- __typename: 'HeavyOperation';
2316
- base: string;
2317
- gasPerUnit: string;
2318
- } | {
2319
- __typename: 'LightOperation';
2320
- base: string;
2321
- unitsPerGas: string;
2322
- };
2323
1982
  csiz: {
2324
1983
  __typename: 'HeavyOperation';
2325
1984
  base: string;
@@ -2512,9 +2171,19 @@ export type GqlNodeInfoFragmentFragment = {
2512
2171
  __typename: 'NodeInfo';
2513
2172
  utxoValidation: boolean;
2514
2173
  vmBacktrace: boolean;
2174
+ minGasPrice: string;
2515
2175
  maxTx: string;
2516
2176
  maxDepth: string;
2517
2177
  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
+ }>;
2518
2187
  };
2519
2188
  export type GqlGetNodeInfoQueryVariables = Exact<{
2520
2189
  [key: string]: never;
@@ -2525,9 +2194,19 @@ export type GqlGetNodeInfoQuery = {
2525
2194
  __typename: 'NodeInfo';
2526
2195
  utxoValidation: boolean;
2527
2196
  vmBacktrace: boolean;
2197
+ minGasPrice: string;
2528
2198
  maxTx: string;
2529
2199
  maxDepth: string;
2530
2200
  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
+ }>;
2531
2210
  };
2532
2211
  };
2533
2212
  export type GqlGetChainQueryVariables = Exact<{
@@ -2542,9 +2221,9 @@ export type GqlGetChainQuery = {
2542
2221
  latestBlock: {
2543
2222
  __typename: 'Block';
2544
2223
  id: string;
2545
- height: any;
2546
2224
  header: {
2547
2225
  __typename: 'Header';
2226
+ height: any;
2548
2227
  time: string;
2549
2228
  };
2550
2229
  transactions: Array<{
@@ -2554,12 +2233,10 @@ export type GqlGetChainQuery = {
2554
2233
  };
2555
2234
  consensusParameters: {
2556
2235
  __typename: 'ConsensusParameters';
2557
- version: GqlConsensusParametersVersion;
2558
2236
  baseAssetId: string;
2559
2237
  chainId: string;
2560
2238
  txParams: {
2561
2239
  __typename: 'TxParameters';
2562
- version: GqlTxParametersVersion;
2563
2240
  maxInputs: any;
2564
2241
  maxOutputs: any;
2565
2242
  maxWitnesses: any;
@@ -2568,7 +2245,6 @@ export type GqlGetChainQuery = {
2568
2245
  };
2569
2246
  predicateParams: {
2570
2247
  __typename: 'PredicateParameters';
2571
- version: GqlPredicateParametersVersion;
2572
2248
  maxPredicateLength: string;
2573
2249
  maxPredicateDataLength: string;
2574
2250
  maxGasPerPredicate: string;
@@ -2576,25 +2252,21 @@ export type GqlGetChainQuery = {
2576
2252
  };
2577
2253
  scriptParams: {
2578
2254
  __typename: 'ScriptParameters';
2579
- version: GqlScriptParametersVersion;
2580
2255
  maxScriptLength: string;
2581
2256
  maxScriptDataLength: string;
2582
2257
  };
2583
2258
  contractParams: {
2584
2259
  __typename: 'ContractParameters';
2585
- version: GqlContractParametersVersion;
2586
2260
  contractMaxSize: string;
2587
2261
  maxStorageSlots: string;
2588
2262
  };
2589
2263
  feeParams: {
2590
2264
  __typename: 'FeeParameters';
2591
- version: GqlFeeParametersVersion;
2592
2265
  gasPriceFactor: string;
2593
2266
  gasPerByte: string;
2594
2267
  };
2595
2268
  gasCosts: {
2596
2269
  __typename: 'GasCosts';
2597
- version: GqlGasCostsVersion;
2598
2270
  add: string;
2599
2271
  addi: string;
2600
2272
  aloc: string;
@@ -2607,6 +2279,7 @@ export type GqlGetChainQuery = {
2607
2279
  cb: string;
2608
2280
  cfei: string;
2609
2281
  cfsi: string;
2282
+ croo: string;
2610
2283
  div: string;
2611
2284
  divi: string;
2612
2285
  ecr1: string;
@@ -2702,15 +2375,6 @@ export type GqlGetChainQuery = {
2702
2375
  base: string;
2703
2376
  unitsPerGas: string;
2704
2377
  };
2705
- croo: {
2706
- __typename: 'HeavyOperation';
2707
- base: string;
2708
- gasPerUnit: string;
2709
- } | {
2710
- __typename: 'LightOperation';
2711
- base: string;
2712
- unitsPerGas: string;
2713
- };
2714
2378
  csiz: {
2715
2379
  __typename: 'HeavyOperation';
2716
2380
  base: string;
@@ -2886,6 +2550,44 @@ export type GqlGetTransactionQuery = {
2886
2550
  __typename: 'Transaction';
2887
2551
  id: string;
2888
2552
  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;
2889
2591
  status?: {
2890
2592
  __typename: 'FailureStatus';
2891
2593
  time: string;
@@ -2895,37 +2597,6 @@ export type GqlGetTransactionQuery = {
2895
2597
  __typename: 'Block';
2896
2598
  id: string;
2897
2599
  };
2898
- receipts: Array<{
2899
- __typename: 'Receipt';
2900
- id?: string | null;
2901
- pc?: string | null;
2902
- is?: string | null;
2903
- to?: string | null;
2904
- toAddress?: string | null;
2905
- amount?: string | null;
2906
- assetId?: string | null;
2907
- gas?: string | null;
2908
- param1?: string | null;
2909
- param2?: string | null;
2910
- val?: string | null;
2911
- ptr?: string | null;
2912
- digest?: string | null;
2913
- reason?: string | null;
2914
- ra?: string | null;
2915
- rb?: string | null;
2916
- rc?: string | null;
2917
- rd?: string | null;
2918
- len?: string | null;
2919
- receiptType: GqlReceiptType;
2920
- result?: string | null;
2921
- gasUsed?: string | null;
2922
- data?: string | null;
2923
- sender?: string | null;
2924
- recipient?: string | null;
2925
- nonce?: string | null;
2926
- contractId?: string | null;
2927
- subId?: string | null;
2928
- }>;
2929
2600
  } | {
2930
2601
  __typename: 'SqueezedOutStatus';
2931
2602
  reason: string;
@@ -2942,37 +2613,6 @@ export type GqlGetTransactionQuery = {
2942
2613
  __typename: 'Block';
2943
2614
  id: string;
2944
2615
  };
2945
- receipts: Array<{
2946
- __typename: 'Receipt';
2947
- id?: string | null;
2948
- pc?: string | null;
2949
- is?: string | null;
2950
- to?: string | null;
2951
- toAddress?: string | null;
2952
- amount?: string | null;
2953
- assetId?: string | null;
2954
- gas?: string | null;
2955
- param1?: string | null;
2956
- param2?: string | null;
2957
- val?: string | null;
2958
- ptr?: string | null;
2959
- digest?: string | null;
2960
- reason?: string | null;
2961
- ra?: string | null;
2962
- rb?: string | null;
2963
- rc?: string | null;
2964
- rd?: string | null;
2965
- len?: string | null;
2966
- receiptType: GqlReceiptType;
2967
- result?: string | null;
2968
- gasUsed?: string | null;
2969
- data?: string | null;
2970
- sender?: string | null;
2971
- recipient?: string | null;
2972
- nonce?: string | null;
2973
- contractId?: string | null;
2974
- subId?: string | null;
2975
- }>;
2976
2616
  programState?: {
2977
2617
  __typename: 'ProgramState';
2978
2618
  returnType: GqlReturnType;
@@ -2990,6 +2630,44 @@ export type GqlGetTransactionWithReceiptsQuery = {
2990
2630
  __typename: 'Transaction';
2991
2631
  id: string;
2992
2632
  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;
2993
2671
  status?: {
2994
2672
  __typename: 'FailureStatus';
2995
2673
  time: string;
@@ -2999,37 +2677,6 @@ export type GqlGetTransactionWithReceiptsQuery = {
2999
2677
  __typename: 'Block';
3000
2678
  id: string;
3001
2679
  };
3002
- receipts: Array<{
3003
- __typename: 'Receipt';
3004
- id?: string | null;
3005
- pc?: string | null;
3006
- is?: string | null;
3007
- to?: string | null;
3008
- toAddress?: string | null;
3009
- amount?: string | null;
3010
- assetId?: string | null;
3011
- gas?: string | null;
3012
- param1?: string | null;
3013
- param2?: string | null;
3014
- val?: string | null;
3015
- ptr?: string | null;
3016
- digest?: string | null;
3017
- reason?: string | null;
3018
- ra?: string | null;
3019
- rb?: string | null;
3020
- rc?: string | null;
3021
- rd?: string | null;
3022
- len?: string | null;
3023
- receiptType: GqlReceiptType;
3024
- result?: string | null;
3025
- gasUsed?: string | null;
3026
- data?: string | null;
3027
- sender?: string | null;
3028
- recipient?: string | null;
3029
- nonce?: string | null;
3030
- contractId?: string | null;
3031
- subId?: string | null;
3032
- }>;
3033
2680
  } | {
3034
2681
  __typename: 'SqueezedOutStatus';
3035
2682
  reason: string;
@@ -3046,37 +2693,6 @@ export type GqlGetTransactionWithReceiptsQuery = {
3046
2693
  __typename: 'Block';
3047
2694
  id: string;
3048
2695
  };
3049
- receipts: Array<{
3050
- __typename: 'Receipt';
3051
- id?: string | null;
3052
- pc?: string | null;
3053
- is?: string | null;
3054
- to?: string | null;
3055
- toAddress?: string | null;
3056
- amount?: string | null;
3057
- assetId?: string | null;
3058
- gas?: string | null;
3059
- param1?: string | null;
3060
- param2?: string | null;
3061
- val?: string | null;
3062
- ptr?: string | null;
3063
- digest?: string | null;
3064
- reason?: string | null;
3065
- ra?: string | null;
3066
- rb?: string | null;
3067
- rc?: string | null;
3068
- rd?: string | null;
3069
- len?: string | null;
3070
- receiptType: GqlReceiptType;
3071
- result?: string | null;
3072
- gasUsed?: string | null;
3073
- data?: string | null;
3074
- sender?: string | null;
3075
- recipient?: string | null;
3076
- nonce?: string | null;
3077
- contractId?: string | null;
3078
- subId?: string | null;
3079
- }>;
3080
2696
  programState?: {
3081
2697
  __typename: 'ProgramState';
3082
2698
  returnType: GqlReturnType;
@@ -3101,6 +2717,44 @@ export type GqlGetTransactionsQuery = {
3101
2717
  __typename: 'Transaction';
3102
2718
  id: string;
3103
2719
  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;
3104
2758
  status?: {
3105
2759
  __typename: 'FailureStatus';
3106
2760
  time: string;
@@ -3110,37 +2764,6 @@ export type GqlGetTransactionsQuery = {
3110
2764
  __typename: 'Block';
3111
2765
  id: string;
3112
2766
  };
3113
- receipts: Array<{
3114
- __typename: 'Receipt';
3115
- id?: string | null;
3116
- pc?: string | null;
3117
- is?: string | null;
3118
- to?: string | null;
3119
- toAddress?: string | null;
3120
- amount?: string | null;
3121
- assetId?: string | null;
3122
- gas?: string | null;
3123
- param1?: string | null;
3124
- param2?: string | null;
3125
- val?: string | null;
3126
- ptr?: string | null;
3127
- digest?: string | null;
3128
- reason?: string | null;
3129
- ra?: string | null;
3130
- rb?: string | null;
3131
- rc?: string | null;
3132
- rd?: string | null;
3133
- len?: string | null;
3134
- receiptType: GqlReceiptType;
3135
- result?: string | null;
3136
- gasUsed?: string | null;
3137
- data?: string | null;
3138
- sender?: string | null;
3139
- recipient?: string | null;
3140
- nonce?: string | null;
3141
- contractId?: string | null;
3142
- subId?: string | null;
3143
- }>;
3144
2767
  } | {
3145
2768
  __typename: 'SqueezedOutStatus';
3146
2769
  reason: string;
@@ -3157,37 +2780,6 @@ export type GqlGetTransactionsQuery = {
3157
2780
  __typename: 'Block';
3158
2781
  id: string;
3159
2782
  };
3160
- receipts: Array<{
3161
- __typename: 'Receipt';
3162
- id?: string | null;
3163
- pc?: string | null;
3164
- is?: string | null;
3165
- to?: string | null;
3166
- toAddress?: string | null;
3167
- amount?: string | null;
3168
- assetId?: string | null;
3169
- gas?: string | null;
3170
- param1?: string | null;
3171
- param2?: string | null;
3172
- val?: string | null;
3173
- ptr?: string | null;
3174
- digest?: string | null;
3175
- reason?: string | null;
3176
- ra?: string | null;
3177
- rb?: string | null;
3178
- rc?: string | null;
3179
- rd?: string | null;
3180
- len?: string | null;
3181
- receiptType: GqlReceiptType;
3182
- result?: string | null;
3183
- gasUsed?: string | null;
3184
- data?: string | null;
3185
- sender?: string | null;
3186
- recipient?: string | null;
3187
- nonce?: string | null;
3188
- contractId?: string | null;
3189
- subId?: string | null;
3190
- }>;
3191
2783
  programState?: {
3192
2784
  __typename: 'ProgramState';
3193
2785
  returnType: GqlReturnType;
@@ -3222,6 +2814,44 @@ export type GqlGetTransactionsByOwnerQuery = {
3222
2814
  __typename: 'Transaction';
3223
2815
  id: string;
3224
2816
  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;
3225
2855
  status?: {
3226
2856
  __typename: 'FailureStatus';
3227
2857
  time: string;
@@ -3231,37 +2861,6 @@ export type GqlGetTransactionsByOwnerQuery = {
3231
2861
  __typename: 'Block';
3232
2862
  id: string;
3233
2863
  };
3234
- receipts: Array<{
3235
- __typename: 'Receipt';
3236
- id?: string | null;
3237
- pc?: string | null;
3238
- is?: string | null;
3239
- to?: string | null;
3240
- toAddress?: string | null;
3241
- amount?: string | null;
3242
- assetId?: string | null;
3243
- gas?: string | null;
3244
- param1?: string | null;
3245
- param2?: string | null;
3246
- val?: string | null;
3247
- ptr?: string | null;
3248
- digest?: string | null;
3249
- reason?: string | null;
3250
- ra?: string | null;
3251
- rb?: string | null;
3252
- rc?: string | null;
3253
- rd?: string | null;
3254
- len?: string | null;
3255
- receiptType: GqlReceiptType;
3256
- result?: string | null;
3257
- gasUsed?: string | null;
3258
- data?: string | null;
3259
- sender?: string | null;
3260
- recipient?: string | null;
3261
- nonce?: string | null;
3262
- contractId?: string | null;
3263
- subId?: string | null;
3264
- }>;
3265
2864
  } | {
3266
2865
  __typename: 'SqueezedOutStatus';
3267
2866
  reason: string;
@@ -3278,37 +2877,6 @@ export type GqlGetTransactionsByOwnerQuery = {
3278
2877
  __typename: 'Block';
3279
2878
  id: string;
3280
2879
  };
3281
- receipts: Array<{
3282
- __typename: 'Receipt';
3283
- id?: string | null;
3284
- pc?: string | null;
3285
- is?: string | null;
3286
- to?: string | null;
3287
- toAddress?: string | null;
3288
- amount?: string | null;
3289
- assetId?: string | null;
3290
- gas?: string | null;
3291
- param1?: string | null;
3292
- param2?: string | null;
3293
- val?: string | null;
3294
- ptr?: string | null;
3295
- digest?: string | null;
3296
- reason?: string | null;
3297
- ra?: string | null;
3298
- rb?: string | null;
3299
- rc?: string | null;
3300
- rd?: string | null;
3301
- len?: string | null;
3302
- receiptType: GqlReceiptType;
3303
- result?: string | null;
3304
- gasUsed?: string | null;
3305
- data?: string | null;
3306
- sender?: string | null;
3307
- recipient?: string | null;
3308
- nonce?: string | null;
3309
- contractId?: string | null;
3310
- subId?: string | null;
3311
- }>;
3312
2880
  programState?: {
3313
2881
  __typename: 'ProgramState';
3314
2882
  returnType: GqlReturnType;
@@ -3346,9 +2914,9 @@ export type GqlGetBlockQuery = {
3346
2914
  block?: {
3347
2915
  __typename: 'Block';
3348
2916
  id: string;
3349
- height: any;
3350
2917
  header: {
3351
2918
  __typename: 'Header';
2919
+ height: any;
3352
2920
  time: string;
3353
2921
  };
3354
2922
  transactions: Array<{
@@ -3366,11 +2934,48 @@ export type GqlGetBlockWithTransactionsQuery = {
3366
2934
  block?: {
3367
2935
  __typename: 'Block';
3368
2936
  id: string;
3369
- height: any;
3370
2937
  transactions: Array<{
3371
2938
  __typename: 'Transaction';
3372
2939
  id: string;
3373
2940
  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;
3374
2979
  status?: {
3375
2980
  __typename: 'FailureStatus';
3376
2981
  time: string;
@@ -3380,37 +2985,6 @@ export type GqlGetBlockWithTransactionsQuery = {
3380
2985
  __typename: 'Block';
3381
2986
  id: string;
3382
2987
  };
3383
- receipts: Array<{
3384
- __typename: 'Receipt';
3385
- id?: string | null;
3386
- pc?: string | null;
3387
- is?: string | null;
3388
- to?: string | null;
3389
- toAddress?: string | null;
3390
- amount?: string | null;
3391
- assetId?: string | null;
3392
- gas?: string | null;
3393
- param1?: string | null;
3394
- param2?: string | null;
3395
- val?: string | null;
3396
- ptr?: string | null;
3397
- digest?: string | null;
3398
- reason?: string | null;
3399
- ra?: string | null;
3400
- rb?: string | null;
3401
- rc?: string | null;
3402
- rd?: string | null;
3403
- len?: string | null;
3404
- receiptType: GqlReceiptType;
3405
- result?: string | null;
3406
- gasUsed?: string | null;
3407
- data?: string | null;
3408
- sender?: string | null;
3409
- recipient?: string | null;
3410
- nonce?: string | null;
3411
- contractId?: string | null;
3412
- subId?: string | null;
3413
- }>;
3414
2988
  } | {
3415
2989
  __typename: 'SqueezedOutStatus';
3416
2990
  reason: string;
@@ -3427,37 +3001,6 @@ export type GqlGetBlockWithTransactionsQuery = {
3427
3001
  __typename: 'Block';
3428
3002
  id: string;
3429
3003
  };
3430
- receipts: Array<{
3431
- __typename: 'Receipt';
3432
- id?: string | null;
3433
- pc?: string | null;
3434
- is?: string | null;
3435
- to?: string | null;
3436
- toAddress?: string | null;
3437
- amount?: string | null;
3438
- assetId?: string | null;
3439
- gas?: string | null;
3440
- param1?: string | null;
3441
- param2?: string | null;
3442
- val?: string | null;
3443
- ptr?: string | null;
3444
- digest?: string | null;
3445
- reason?: string | null;
3446
- ra?: string | null;
3447
- rb?: string | null;
3448
- rc?: string | null;
3449
- rd?: string | null;
3450
- len?: string | null;
3451
- receiptType: GqlReceiptType;
3452
- result?: string | null;
3453
- gasUsed?: string | null;
3454
- data?: string | null;
3455
- sender?: string | null;
3456
- recipient?: string | null;
3457
- nonce?: string | null;
3458
- contractId?: string | null;
3459
- subId?: string | null;
3460
- }>;
3461
3004
  programState?: {
3462
3005
  __typename: 'ProgramState';
3463
3006
  returnType: GqlReturnType;
@@ -3467,6 +3010,7 @@ export type GqlGetBlockWithTransactionsQuery = {
3467
3010
  }>;
3468
3011
  header: {
3469
3012
  __typename: 'Header';
3013
+ height: any;
3470
3014
  time: string;
3471
3015
  };
3472
3016
  } | null;
@@ -3486,9 +3030,9 @@ export type GqlGetBlocksQuery = {
3486
3030
  node: {
3487
3031
  __typename: 'Block';
3488
3032
  id: string;
3489
- height: any;
3490
3033
  header: {
3491
3034
  __typename: 'Header';
3035
+ height: any;
3492
3036
  time: string;
3493
3037
  };
3494
3038
  transactions: Array<{
@@ -3510,8 +3054,9 @@ export type GqlGetCoinQuery = {
3510
3054
  owner: string;
3511
3055
  amount: string;
3512
3056
  assetId: string;
3057
+ maturity: any;
3513
3058
  blockCreated: any;
3514
- txCreatedIdx: any;
3059
+ txCreatedIdx: string;
3515
3060
  } | null;
3516
3061
  };
3517
3062
  export type GqlGetCoinsQueryVariables = Exact<{
@@ -3533,8 +3078,9 @@ export type GqlGetCoinsQuery = {
3533
3078
  owner: string;
3534
3079
  amount: string;
3535
3080
  assetId: string;
3081
+ maturity: any;
3536
3082
  blockCreated: any;
3537
- txCreatedIdx: any;
3083
+ txCreatedIdx: string;
3538
3084
  };
3539
3085
  }>;
3540
3086
  };
@@ -3552,8 +3098,9 @@ export type GqlGetCoinsToSpendQuery = {
3552
3098
  owner: string;
3553
3099
  amount: string;
3554
3100
  assetId: string;
3101
+ maturity: any;
3555
3102
  blockCreated: any;
3556
- txCreatedIdx: any;
3103
+ txCreatedIdx: string;
3557
3104
  } | {
3558
3105
  __typename: 'MessageCoin';
3559
3106
  sender: string;
@@ -3601,26 +3148,6 @@ export type GqlGetBalanceQuery = {
3601
3148
  assetId: string;
3602
3149
  };
3603
3150
  };
3604
- export type GqlGetLatestGasPriceQueryVariables = Exact<{
3605
- [key: string]: never;
3606
- }>;
3607
- export type GqlGetLatestGasPriceQuery = {
3608
- __typename: 'Query';
3609
- latestGasPrice: {
3610
- __typename: 'LatestGasPrice';
3611
- gasPrice: string;
3612
- };
3613
- };
3614
- export type GqlEstimateGasPriceQueryVariables = Exact<{
3615
- blockHorizon: Scalars['U32'];
3616
- }>;
3617
- export type GqlEstimateGasPriceQuery = {
3618
- __typename: 'Query';
3619
- estimateGasPrice: {
3620
- __typename: 'EstimateGasPrice';
3621
- gasPrice: string;
3622
- };
3623
- };
3624
3151
  export type GqlGetBalancesQueryVariables = Exact<{
3625
3152
  filter: GqlBalanceFilterInput;
3626
3153
  after?: InputMaybe<Scalars['String']>;
@@ -3697,33 +3224,27 @@ export type GqlGetMessageProofQuery = {
3697
3224
  __typename: 'Header';
3698
3225
  id: string;
3699
3226
  daHeight: string;
3700
- consensusParametersVersion: any;
3701
- stateTransitionBytecodeVersion: any;
3702
3227
  transactionsCount: string;
3703
- messageReceiptCount: string;
3704
3228
  transactionsRoot: string;
3705
- messageOutboxRoot: string;
3706
- eventInboxRoot: string;
3707
3229
  height: any;
3708
3230
  prevRoot: string;
3709
3231
  time: string;
3710
3232
  applicationHash: string;
3233
+ messageReceiptRoot: string;
3234
+ messageReceiptCount: string;
3711
3235
  };
3712
3236
  commitBlockHeader: {
3713
3237
  __typename: 'Header';
3714
3238
  id: string;
3715
3239
  daHeight: string;
3716
- consensusParametersVersion: any;
3717
- stateTransitionBytecodeVersion: any;
3718
3240
  transactionsCount: string;
3719
- messageReceiptCount: string;
3720
3241
  transactionsRoot: string;
3721
- messageOutboxRoot: string;
3722
- eventInboxRoot: string;
3723
3242
  height: any;
3724
3243
  prevRoot: string;
3725
3244
  time: string;
3726
3245
  applicationHash: string;
3246
+ messageReceiptRoot: string;
3247
+ messageReceiptCount: string;
3727
3248
  };
3728
3249
  } | null;
3729
3250
  };
@@ -3738,61 +3259,47 @@ export type GqlGetMessageStatusQuery = {
3738
3259
  };
3739
3260
  };
3740
3261
  export type GqlDryRunMutationVariables = Exact<{
3741
- encodedTransactions: Array<Scalars['HexString']> | Scalars['HexString'];
3262
+ encodedTransaction: Scalars['HexString'];
3742
3263
  utxoValidation?: InputMaybe<Scalars['Boolean']>;
3743
3264
  }>;
3744
3265
  export type GqlDryRunMutation = {
3745
3266
  __typename: 'Mutation';
3746
3267
  dryRun: Array<{
3747
- __typename: 'DryRunTransactionExecutionStatus';
3748
- id: string;
3749
- status: {
3750
- __typename: 'DryRunFailureStatus';
3751
- reason: string;
3752
- programState?: {
3753
- __typename: 'ProgramState';
3754
- returnType: GqlReturnType;
3755
- data: string;
3756
- } | null;
3757
- } | {
3758
- __typename: 'DryRunSuccessStatus';
3759
- programState?: {
3760
- __typename: 'ProgramState';
3761
- returnType: GqlReturnType;
3762
- data: string;
3763
- } | null;
3764
- };
3765
- receipts: Array<{
3766
- __typename: 'Receipt';
3767
- id?: string | null;
3768
- pc?: string | null;
3769
- is?: string | null;
3770
- to?: string | null;
3771
- toAddress?: string | null;
3772
- amount?: string | null;
3773
- assetId?: string | null;
3774
- gas?: string | null;
3775
- param1?: string | null;
3776
- param2?: string | null;
3777
- val?: string | null;
3778
- ptr?: string | null;
3779
- digest?: string | null;
3780
- reason?: string | null;
3781
- ra?: string | null;
3782
- rb?: string | null;
3783
- rc?: string | null;
3784
- rd?: string | null;
3785
- len?: string | null;
3786
- receiptType: GqlReceiptType;
3787
- result?: string | null;
3788
- gasUsed?: string | null;
3789
- data?: string | null;
3790
- sender?: string | null;
3791
- recipient?: string | null;
3792
- nonce?: string | null;
3793
- contractId?: string | null;
3794
- subId?: string | null;
3795
- }>;
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;
3796
3303
  }>;
3797
3304
  };
3798
3305
  export type GqlSubmitMutationVariables = Exact<{
@@ -3887,16 +3394,11 @@ export type GqlStatusChangeSubscription = {
3887
3394
  } | null;
3888
3395
  };
3889
3396
  };
3890
- export declare const TransactionStatusSubscriptionFragmentFragmentDoc: DocumentNode;
3891
3397
  export declare const ReceiptFragmentFragmentDoc: DocumentNode;
3892
3398
  export declare const TransactionStatusFragmentFragmentDoc: DocumentNode;
3893
3399
  export declare const TransactionFragmentFragmentDoc: DocumentNode;
3894
3400
  export declare const InputEstimatePredicatesFragmentFragmentDoc: DocumentNode;
3895
3401
  export declare const TransactionEstimatePredicatesFragmentFragmentDoc: DocumentNode;
3896
- export declare const DryRunFailureStatusFragmentFragmentDoc: DocumentNode;
3897
- export declare const DryRunSuccessStatusFragmentFragmentDoc: DocumentNode;
3898
- export declare const DryRunTransactionStatusFragmentFragmentDoc: DocumentNode;
3899
- export declare const DryRunTransactionExecutionStatusFragmentFragmentDoc: DocumentNode;
3900
3402
  export declare const CoinFragmentFragmentDoc: DocumentNode;
3901
3403
  export declare const MessageCoinFragmentFragmentDoc: DocumentNode;
3902
3404
  export declare const MessageFragmentFragmentDoc: DocumentNode;
@@ -3932,8 +3434,6 @@ export declare const GetCoinsToSpendDocument: DocumentNode;
3932
3434
  export declare const GetContractDocument: DocumentNode;
3933
3435
  export declare const GetContractBalanceDocument: DocumentNode;
3934
3436
  export declare const GetBalanceDocument: DocumentNode;
3935
- export declare const GetLatestGasPriceDocument: DocumentNode;
3936
- export declare const EstimateGasPriceDocument: DocumentNode;
3937
3437
  export declare const GetBalancesDocument: DocumentNode;
3938
3438
  export declare const GetMessagesDocument: DocumentNode;
3939
3439
  export declare const GetMessageProofDocument: DocumentNode;
@@ -3962,8 +3462,6 @@ export declare function getSdk<C, E>(requester: Requester<C, E>): {
3962
3462
  getContract(variables: GqlGetContractQueryVariables, options?: C): Promise<GqlGetContractQuery>;
3963
3463
  getContractBalance(variables: GqlGetContractBalanceQueryVariables, options?: C): Promise<GqlGetContractBalanceQuery>;
3964
3464
  getBalance(variables: GqlGetBalanceQueryVariables, options?: C): Promise<GqlGetBalanceQuery>;
3965
- getLatestGasPrice(variables?: GqlGetLatestGasPriceQueryVariables, options?: C): Promise<GqlGetLatestGasPriceQuery>;
3966
- estimateGasPrice(variables: GqlEstimateGasPriceQueryVariables, options?: C): Promise<GqlEstimateGasPriceQuery>;
3967
3465
  getBalances(variables: GqlGetBalancesQueryVariables, options?: C): Promise<GqlGetBalancesQuery>;
3968
3466
  getMessages(variables: GqlGetMessagesQueryVariables, options?: C): Promise<GqlGetMessagesQuery>;
3969
3467
  getMessageProof(variables: GqlGetMessageProofQueryVariables, options?: C): Promise<GqlGetMessageProofQuery>;