@fuel-ts/account 0.0.0-rc-2021-20240424175107 → 0.0.0-rc-2037-20240424175231

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 (66) hide show
  1. package/README.md +1 -1
  2. package/dist/account.d.ts +6 -7
  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 +622 -814
  12. package/dist/index.global.js.map +1 -1
  13. package/dist/index.js +659 -837
  14. package/dist/index.js.map +1 -1
  15. package/dist/index.mjs +478 -661
  16. package/dist/index.mjs.map +1 -1
  17. package/dist/predicate/predicate.d.ts +39 -12
  18. package/dist/predicate/predicate.d.ts.map +1 -1
  19. package/dist/providers/__generated__/operations.d.ts +359 -810
  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 +1 -2
  24. package/dist/providers/coin.d.ts.map +1 -1
  25. package/dist/providers/message.d.ts +1 -6
  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/helpers.d.ts +10 -0
  31. package/dist/providers/transaction-request/helpers.d.ts.map +1 -0
  32. package/dist/providers/transaction-request/index.d.ts +1 -0
  33. package/dist/providers/transaction-request/index.d.ts.map +1 -1
  34. package/dist/providers/transaction-request/input.d.ts +2 -2
  35. package/dist/providers/transaction-request/input.d.ts.map +1 -1
  36. package/dist/providers/transaction-request/script-transaction-request.d.ts.map +1 -1
  37. package/dist/providers/transaction-request/transaction-request.d.ts +11 -6
  38. package/dist/providers/transaction-request/transaction-request.d.ts.map +1 -1
  39. package/dist/providers/transaction-request/utils.d.ts +0 -3
  40. package/dist/providers/transaction-request/utils.d.ts.map +1 -1
  41. package/dist/providers/transaction-response/transaction-response.d.ts.map +1 -1
  42. package/dist/providers/transaction-summary/assemble-transaction-summary.d.ts +0 -2
  43. package/dist/providers/transaction-summary/assemble-transaction-summary.d.ts.map +1 -1
  44. package/dist/providers/transaction-summary/calculate-transaction-fee.d.ts +2 -3
  45. package/dist/providers/transaction-summary/calculate-transaction-fee.d.ts.map +1 -1
  46. package/dist/providers/transaction-summary/get-transaction-summary.d.ts.map +1 -1
  47. package/dist/providers/utils/gas.d.ts +2 -8
  48. package/dist/providers/utils/gas.d.ts.map +1 -1
  49. package/dist/test-utils/index.d.ts +1 -0
  50. package/dist/test-utils/index.d.ts.map +1 -1
  51. package/dist/test-utils/launchNode.d.ts.map +1 -1
  52. package/dist/test-utils/resources.d.ts +4 -0
  53. package/dist/test-utils/resources.d.ts.map +1 -0
  54. package/dist/test-utils/seedTestWallet.d.ts +1 -1
  55. package/dist/test-utils/seedTestWallet.d.ts.map +1 -1
  56. package/dist/test-utils/transactionRequest.d.ts +5 -0
  57. package/dist/test-utils/transactionRequest.d.ts.map +1 -0
  58. package/dist/test-utils.global.js +1089 -1533
  59. package/dist/test-utils.global.js.map +1 -1
  60. package/dist/test-utils.js +624 -820
  61. package/dist/test-utils.js.map +1 -1
  62. package/dist/test-utils.mjs +457 -656
  63. package/dist/test-utils.mjs.map +1 -1
  64. package/dist/wallet/base-wallet-unlocked.d.ts +2 -2
  65. package/dist/wallet/base-wallet-unlocked.d.ts.map +1 -1
  66. 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,36 +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
- type: 'FailureStatus';
1129
- };
1130
- type GqlTransactionStatusSubscriptionFragment_SqueezedOutStatus_Fragment = {
1131
- __typename: 'SqueezedOutStatus';
1132
- reason: string;
1133
- type: 'SqueezedOutStatus';
1134
- };
1135
- type GqlTransactionStatusSubscriptionFragment_SubmittedStatus_Fragment = {
1136
- __typename: 'SubmittedStatus';
1137
- type: 'SubmittedStatus';
1138
- };
1139
- type GqlTransactionStatusSubscriptionFragment_SuccessStatus_Fragment = {
1140
- __typename: 'SuccessStatus';
1141
- type: 'SuccessStatus';
1142
- };
1143
- export type GqlTransactionStatusSubscriptionFragmentFragment = GqlTransactionStatusSubscriptionFragment_FailureStatus_Fragment | GqlTransactionStatusSubscriptionFragment_SqueezedOutStatus_Fragment | GqlTransactionStatusSubscriptionFragment_SubmittedStatus_Fragment | GqlTransactionStatusSubscriptionFragment_SuccessStatus_Fragment;
1144
- export type GqlTransactionFragmentFragment = {
1145
- __typename: 'Transaction';
1146
- id: string;
1147
- rawPayload: string;
1006
+ contract?: {
1007
+ __typename: 'Contract';
1008
+ id: string;
1009
+ } | null;
1010
+ to?: {
1011
+ __typename: 'Contract';
1012
+ id: string;
1013
+ } | null;
1014
+ }> | null;
1148
1015
  status?: {
1149
1016
  __typename: 'FailureStatus';
1150
1017
  time: string;
@@ -1154,37 +1021,6 @@ export type GqlTransactionFragmentFragment = {
1154
1021
  __typename: 'Block';
1155
1022
  id: string;
1156
1023
  };
1157
- receipts: Array<{
1158
- __typename: 'Receipt';
1159
- id?: string | null;
1160
- pc?: string | null;
1161
- is?: string | null;
1162
- to?: string | null;
1163
- toAddress?: string | null;
1164
- amount?: string | null;
1165
- assetId?: string | null;
1166
- gas?: string | null;
1167
- param1?: string | null;
1168
- param2?: string | null;
1169
- val?: string | null;
1170
- ptr?: string | null;
1171
- digest?: string | null;
1172
- reason?: string | null;
1173
- ra?: string | null;
1174
- rb?: string | null;
1175
- rc?: string | null;
1176
- rd?: string | null;
1177
- len?: string | null;
1178
- receiptType: GqlReceiptType;
1179
- result?: string | null;
1180
- gasUsed?: string | null;
1181
- data?: string | null;
1182
- sender?: string | null;
1183
- recipient?: string | null;
1184
- nonce?: string | null;
1185
- contractId?: string | null;
1186
- subId?: string | null;
1187
- }>;
1188
1024
  } | {
1189
1025
  __typename: 'SqueezedOutStatus';
1190
1026
  reason: string;
@@ -1201,37 +1037,6 @@ export type GqlTransactionFragmentFragment = {
1201
1037
  __typename: 'Block';
1202
1038
  id: string;
1203
1039
  };
1204
- receipts: Array<{
1205
- __typename: 'Receipt';
1206
- id?: string | null;
1207
- pc?: string | null;
1208
- is?: string | null;
1209
- to?: string | null;
1210
- toAddress?: string | null;
1211
- amount?: string | null;
1212
- assetId?: string | null;
1213
- gas?: string | null;
1214
- param1?: string | null;
1215
- param2?: string | null;
1216
- val?: string | null;
1217
- ptr?: string | null;
1218
- digest?: string | null;
1219
- reason?: string | null;
1220
- ra?: string | null;
1221
- rb?: string | null;
1222
- rc?: string | null;
1223
- rd?: string | null;
1224
- len?: string | null;
1225
- receiptType: GqlReceiptType;
1226
- result?: string | null;
1227
- gasUsed?: string | null;
1228
- data?: string | null;
1229
- sender?: string | null;
1230
- recipient?: string | null;
1231
- nonce?: string | null;
1232
- contractId?: string | null;
1233
- subId?: string | null;
1234
- }>;
1235
1040
  programState?: {
1236
1041
  __typename: 'ProgramState';
1237
1042
  returnType: GqlReturnType;
@@ -1263,29 +1068,10 @@ export type GqlTransactionEstimatePredicatesFragmentFragment = {
1263
1068
  predicateGasUsed: string;
1264
1069
  }> | null;
1265
1070
  };
1266
- export type GqlDryRunFailureStatusFragmentFragment = {
1267
- __typename: 'DryRunFailureStatus';
1268
- reason: string;
1269
- programState?: {
1270
- __typename: 'ProgramState';
1271
- returnType: GqlReturnType;
1272
- data: string;
1273
- } | null;
1274
- };
1275
- export type GqlDryRunSuccessStatusFragmentFragment = {
1276
- __typename: 'DryRunSuccessStatus';
1277
- programState?: {
1278
- __typename: 'ProgramState';
1279
- returnType: GqlReturnType;
1280
- data: string;
1281
- } | null;
1282
- };
1283
1071
  export type GqlReceiptFragmentFragment = {
1284
1072
  __typename: 'Receipt';
1285
- id?: string | null;
1286
1073
  pc?: string | null;
1287
1074
  is?: string | null;
1288
- to?: string | null;
1289
1075
  toAddress?: string | null;
1290
1076
  amount?: string | null;
1291
1077
  assetId?: string | null;
@@ -1310,82 +1096,21 @@ export type GqlReceiptFragmentFragment = {
1310
1096
  nonce?: string | null;
1311
1097
  contractId?: string | null;
1312
1098
  subId?: string | null;
1313
- };
1314
- type GqlDryRunTransactionStatusFragment_DryRunFailureStatus_Fragment = {
1315
- __typename: 'DryRunFailureStatus';
1316
- reason: string;
1317
- programState?: {
1318
- __typename: 'ProgramState';
1319
- returnType: GqlReturnType;
1320
- data: string;
1099
+ contract?: {
1100
+ __typename: 'Contract';
1101
+ id: string;
1321
1102
  } | null;
1322
- };
1323
- type GqlDryRunTransactionStatusFragment_DryRunSuccessStatus_Fragment = {
1324
- __typename: 'DryRunSuccessStatus';
1325
- programState?: {
1326
- __typename: 'ProgramState';
1327
- returnType: GqlReturnType;
1328
- data: string;
1103
+ to?: {
1104
+ __typename: 'Contract';
1105
+ id: string;
1329
1106
  } | null;
1330
1107
  };
1331
- export type GqlDryRunTransactionStatusFragmentFragment = GqlDryRunTransactionStatusFragment_DryRunFailureStatus_Fragment | GqlDryRunTransactionStatusFragment_DryRunSuccessStatus_Fragment;
1332
- export type GqlDryRunTransactionExecutionStatusFragmentFragment = {
1333
- __typename: 'DryRunTransactionExecutionStatus';
1334
- id: string;
1335
- status: {
1336
- __typename: 'DryRunFailureStatus';
1337
- reason: string;
1338
- programState?: {
1339
- __typename: 'ProgramState';
1340
- returnType: GqlReturnType;
1341
- data: string;
1342
- } | null;
1343
- } | {
1344
- __typename: 'DryRunSuccessStatus';
1345
- programState?: {
1346
- __typename: 'ProgramState';
1347
- returnType: GqlReturnType;
1348
- data: string;
1349
- } | null;
1350
- };
1351
- receipts: Array<{
1352
- __typename: 'Receipt';
1353
- id?: string | null;
1354
- pc?: string | null;
1355
- is?: string | null;
1356
- to?: string | null;
1357
- toAddress?: string | null;
1358
- amount?: string | null;
1359
- assetId?: string | null;
1360
- gas?: string | null;
1361
- param1?: string | null;
1362
- param2?: string | null;
1363
- val?: string | null;
1364
- ptr?: string | null;
1365
- digest?: string | null;
1366
- reason?: string | null;
1367
- ra?: string | null;
1368
- rb?: string | null;
1369
- rc?: string | null;
1370
- rd?: string | null;
1371
- len?: string | null;
1372
- receiptType: GqlReceiptType;
1373
- result?: string | null;
1374
- gasUsed?: string | null;
1375
- data?: string | null;
1376
- sender?: string | null;
1377
- recipient?: string | null;
1378
- nonce?: string | null;
1379
- contractId?: string | null;
1380
- subId?: string | null;
1381
- }>;
1382
- };
1383
1108
  export type GqlBlockFragmentFragment = {
1384
1109
  __typename: 'Block';
1385
1110
  id: string;
1386
- height: any;
1387
1111
  header: {
1388
1112
  __typename: 'Header';
1113
+ height: any;
1389
1114
  time: string;
1390
1115
  };
1391
1116
  transactions: Array<{
@@ -1399,8 +1124,9 @@ export type GqlCoinFragmentFragment = {
1399
1124
  owner: string;
1400
1125
  amount: string;
1401
1126
  assetId: string;
1127
+ maturity: any;
1402
1128
  blockCreated: any;
1403
- txCreatedIdx: any;
1129
+ txCreatedIdx: string;
1404
1130
  };
1405
1131
  export type GqlMessageCoinFragmentFragment = {
1406
1132
  __typename: 'MessageCoin';
@@ -1441,33 +1167,27 @@ export type GqlMessageProofFragmentFragment = {
1441
1167
  __typename: 'Header';
1442
1168
  id: string;
1443
1169
  daHeight: string;
1444
- consensusParametersVersion: any;
1445
- stateTransitionBytecodeVersion: any;
1446
1170
  transactionsCount: string;
1447
- messageReceiptCount: string;
1448
1171
  transactionsRoot: string;
1449
- messageOutboxRoot: string;
1450
- eventInboxRoot: string;
1451
1172
  height: any;
1452
1173
  prevRoot: string;
1453
1174
  time: string;
1454
1175
  applicationHash: string;
1176
+ messageReceiptRoot: string;
1177
+ messageReceiptCount: string;
1455
1178
  };
1456
1179
  commitBlockHeader: {
1457
1180
  __typename: 'Header';
1458
1181
  id: string;
1459
1182
  daHeight: string;
1460
- consensusParametersVersion: any;
1461
- stateTransitionBytecodeVersion: any;
1462
1183
  transactionsCount: string;
1463
- messageReceiptCount: string;
1464
1184
  transactionsRoot: string;
1465
- messageOutboxRoot: string;
1466
- eventInboxRoot: string;
1467
1185
  height: any;
1468
1186
  prevRoot: string;
1469
1187
  time: string;
1470
1188
  applicationHash: string;
1189
+ messageReceiptRoot: string;
1190
+ messageReceiptCount: string;
1471
1191
  };
1472
1192
  };
1473
1193
  export type GqlBalanceFragmentFragment = {
@@ -1478,7 +1198,6 @@ export type GqlBalanceFragmentFragment = {
1478
1198
  };
1479
1199
  export type GqlTxParametersFragmentFragment = {
1480
1200
  __typename: 'TxParameters';
1481
- version: GqlTxParametersVersion;
1482
1201
  maxInputs: any;
1483
1202
  maxOutputs: any;
1484
1203
  maxWitnesses: any;
@@ -1487,7 +1206,6 @@ export type GqlTxParametersFragmentFragment = {
1487
1206
  };
1488
1207
  export type GqlPredicateParametersFragmentFragment = {
1489
1208
  __typename: 'PredicateParameters';
1490
- version: GqlPredicateParametersVersion;
1491
1209
  maxPredicateLength: string;
1492
1210
  maxPredicateDataLength: string;
1493
1211
  maxGasPerPredicate: string;
@@ -1495,19 +1213,16 @@ export type GqlPredicateParametersFragmentFragment = {
1495
1213
  };
1496
1214
  export type GqlScriptParametersFragmentFragment = {
1497
1215
  __typename: 'ScriptParameters';
1498
- version: GqlScriptParametersVersion;
1499
1216
  maxScriptLength: string;
1500
1217
  maxScriptDataLength: string;
1501
1218
  };
1502
1219
  export type GqlContractParametersFragmentFragment = {
1503
1220
  __typename: 'ContractParameters';
1504
- version: GqlContractParametersVersion;
1505
1221
  contractMaxSize: string;
1506
1222
  maxStorageSlots: string;
1507
1223
  };
1508
1224
  export type GqlFeeParametersFragmentFragment = {
1509
1225
  __typename: 'FeeParameters';
1510
- version: GqlFeeParametersVersion;
1511
1226
  gasPriceFactor: string;
1512
1227
  gasPerByte: string;
1513
1228
  };
@@ -1524,7 +1239,6 @@ type GqlDependentCostFragment_LightOperation_Fragment = {
1524
1239
  export type GqlDependentCostFragmentFragment = GqlDependentCostFragment_HeavyOperation_Fragment | GqlDependentCostFragment_LightOperation_Fragment;
1525
1240
  export type GqlGasCostsFragmentFragment = {
1526
1241
  __typename: 'GasCosts';
1527
- version: GqlGasCostsVersion;
1528
1242
  add: string;
1529
1243
  addi: string;
1530
1244
  aloc: string;
@@ -1537,6 +1251,7 @@ export type GqlGasCostsFragmentFragment = {
1537
1251
  cb: string;
1538
1252
  cfei: string;
1539
1253
  cfsi: string;
1254
+ croo: string;
1540
1255
  div: string;
1541
1256
  divi: string;
1542
1257
  ecr1: string;
@@ -1632,15 +1347,6 @@ export type GqlGasCostsFragmentFragment = {
1632
1347
  base: string;
1633
1348
  unitsPerGas: string;
1634
1349
  };
1635
- croo: {
1636
- __typename: 'HeavyOperation';
1637
- base: string;
1638
- gasPerUnit: string;
1639
- } | {
1640
- __typename: 'LightOperation';
1641
- base: string;
1642
- unitsPerGas: string;
1643
- };
1644
1350
  csiz: {
1645
1351
  __typename: 'HeavyOperation';
1646
1352
  base: string;
@@ -1806,12 +1512,10 @@ export type GqlGasCostsFragmentFragment = {
1806
1512
  };
1807
1513
  export type GqlConsensusParametersFragmentFragment = {
1808
1514
  __typename: 'ConsensusParameters';
1809
- version: GqlConsensusParametersVersion;
1810
1515
  baseAssetId: string;
1811
1516
  chainId: string;
1812
1517
  txParams: {
1813
1518
  __typename: 'TxParameters';
1814
- version: GqlTxParametersVersion;
1815
1519
  maxInputs: any;
1816
1520
  maxOutputs: any;
1817
1521
  maxWitnesses: any;
@@ -1820,7 +1524,6 @@ export type GqlConsensusParametersFragmentFragment = {
1820
1524
  };
1821
1525
  predicateParams: {
1822
1526
  __typename: 'PredicateParameters';
1823
- version: GqlPredicateParametersVersion;
1824
1527
  maxPredicateLength: string;
1825
1528
  maxPredicateDataLength: string;
1826
1529
  maxGasPerPredicate: string;
@@ -1828,25 +1531,21 @@ export type GqlConsensusParametersFragmentFragment = {
1828
1531
  };
1829
1532
  scriptParams: {
1830
1533
  __typename: 'ScriptParameters';
1831
- version: GqlScriptParametersVersion;
1832
1534
  maxScriptLength: string;
1833
1535
  maxScriptDataLength: string;
1834
1536
  };
1835
1537
  contractParams: {
1836
1538
  __typename: 'ContractParameters';
1837
- version: GqlContractParametersVersion;
1838
1539
  contractMaxSize: string;
1839
1540
  maxStorageSlots: string;
1840
1541
  };
1841
1542
  feeParams: {
1842
1543
  __typename: 'FeeParameters';
1843
- version: GqlFeeParametersVersion;
1844
1544
  gasPriceFactor: string;
1845
1545
  gasPerByte: string;
1846
1546
  };
1847
1547
  gasCosts: {
1848
1548
  __typename: 'GasCosts';
1849
- version: GqlGasCostsVersion;
1850
1549
  add: string;
1851
1550
  addi: string;
1852
1551
  aloc: string;
@@ -1859,6 +1558,7 @@ export type GqlConsensusParametersFragmentFragment = {
1859
1558
  cb: string;
1860
1559
  cfei: string;
1861
1560
  cfsi: string;
1561
+ croo: string;
1862
1562
  div: string;
1863
1563
  divi: string;
1864
1564
  ecr1: string;
@@ -1954,15 +1654,6 @@ export type GqlConsensusParametersFragmentFragment = {
1954
1654
  base: string;
1955
1655
  unitsPerGas: string;
1956
1656
  };
1957
- croo: {
1958
- __typename: 'HeavyOperation';
1959
- base: string;
1960
- gasPerUnit: string;
1961
- } | {
1962
- __typename: 'LightOperation';
1963
- base: string;
1964
- unitsPerGas: string;
1965
- };
1966
1657
  csiz: {
1967
1658
  __typename: 'HeavyOperation';
1968
1659
  base: string;
@@ -2134,9 +1825,9 @@ export type GqlChainInfoFragmentFragment = {
2134
1825
  latestBlock: {
2135
1826
  __typename: 'Block';
2136
1827
  id: string;
2137
- height: any;
2138
1828
  header: {
2139
1829
  __typename: 'Header';
1830
+ height: any;
2140
1831
  time: string;
2141
1832
  };
2142
1833
  transactions: Array<{
@@ -2146,12 +1837,10 @@ export type GqlChainInfoFragmentFragment = {
2146
1837
  };
2147
1838
  consensusParameters: {
2148
1839
  __typename: 'ConsensusParameters';
2149
- version: GqlConsensusParametersVersion;
2150
1840
  baseAssetId: string;
2151
1841
  chainId: string;
2152
1842
  txParams: {
2153
1843
  __typename: 'TxParameters';
2154
- version: GqlTxParametersVersion;
2155
1844
  maxInputs: any;
2156
1845
  maxOutputs: any;
2157
1846
  maxWitnesses: any;
@@ -2160,7 +1849,6 @@ export type GqlChainInfoFragmentFragment = {
2160
1849
  };
2161
1850
  predicateParams: {
2162
1851
  __typename: 'PredicateParameters';
2163
- version: GqlPredicateParametersVersion;
2164
1852
  maxPredicateLength: string;
2165
1853
  maxPredicateDataLength: string;
2166
1854
  maxGasPerPredicate: string;
@@ -2168,25 +1856,21 @@ export type GqlChainInfoFragmentFragment = {
2168
1856
  };
2169
1857
  scriptParams: {
2170
1858
  __typename: 'ScriptParameters';
2171
- version: GqlScriptParametersVersion;
2172
1859
  maxScriptLength: string;
2173
1860
  maxScriptDataLength: string;
2174
1861
  };
2175
1862
  contractParams: {
2176
1863
  __typename: 'ContractParameters';
2177
- version: GqlContractParametersVersion;
2178
1864
  contractMaxSize: string;
2179
1865
  maxStorageSlots: string;
2180
1866
  };
2181
1867
  feeParams: {
2182
1868
  __typename: 'FeeParameters';
2183
- version: GqlFeeParametersVersion;
2184
1869
  gasPriceFactor: string;
2185
1870
  gasPerByte: string;
2186
1871
  };
2187
1872
  gasCosts: {
2188
1873
  __typename: 'GasCosts';
2189
- version: GqlGasCostsVersion;
2190
1874
  add: string;
2191
1875
  addi: string;
2192
1876
  aloc: string;
@@ -2199,6 +1883,7 @@ export type GqlChainInfoFragmentFragment = {
2199
1883
  cb: string;
2200
1884
  cfei: string;
2201
1885
  cfsi: string;
1886
+ croo: string;
2202
1887
  div: string;
2203
1888
  divi: string;
2204
1889
  ecr1: string;
@@ -2294,15 +1979,6 @@ export type GqlChainInfoFragmentFragment = {
2294
1979
  base: string;
2295
1980
  unitsPerGas: string;
2296
1981
  };
2297
- croo: {
2298
- __typename: 'HeavyOperation';
2299
- base: string;
2300
- gasPerUnit: string;
2301
- } | {
2302
- __typename: 'LightOperation';
2303
- base: string;
2304
- unitsPerGas: string;
2305
- };
2306
1982
  csiz: {
2307
1983
  __typename: 'HeavyOperation';
2308
1984
  base: string;
@@ -2495,9 +2171,19 @@ export type GqlNodeInfoFragmentFragment = {
2495
2171
  __typename: 'NodeInfo';
2496
2172
  utxoValidation: boolean;
2497
2173
  vmBacktrace: boolean;
2174
+ minGasPrice: string;
2498
2175
  maxTx: string;
2499
2176
  maxDepth: string;
2500
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
+ }>;
2501
2187
  };
2502
2188
  export type GqlGetNodeInfoQueryVariables = Exact<{
2503
2189
  [key: string]: never;
@@ -2508,9 +2194,19 @@ export type GqlGetNodeInfoQuery = {
2508
2194
  __typename: 'NodeInfo';
2509
2195
  utxoValidation: boolean;
2510
2196
  vmBacktrace: boolean;
2197
+ minGasPrice: string;
2511
2198
  maxTx: string;
2512
2199
  maxDepth: string;
2513
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
+ }>;
2514
2210
  };
2515
2211
  };
2516
2212
  export type GqlGetChainQueryVariables = Exact<{
@@ -2525,9 +2221,9 @@ export type GqlGetChainQuery = {
2525
2221
  latestBlock: {
2526
2222
  __typename: 'Block';
2527
2223
  id: string;
2528
- height: any;
2529
2224
  header: {
2530
2225
  __typename: 'Header';
2226
+ height: any;
2531
2227
  time: string;
2532
2228
  };
2533
2229
  transactions: Array<{
@@ -2537,12 +2233,10 @@ export type GqlGetChainQuery = {
2537
2233
  };
2538
2234
  consensusParameters: {
2539
2235
  __typename: 'ConsensusParameters';
2540
- version: GqlConsensusParametersVersion;
2541
2236
  baseAssetId: string;
2542
2237
  chainId: string;
2543
2238
  txParams: {
2544
2239
  __typename: 'TxParameters';
2545
- version: GqlTxParametersVersion;
2546
2240
  maxInputs: any;
2547
2241
  maxOutputs: any;
2548
2242
  maxWitnesses: any;
@@ -2551,7 +2245,6 @@ export type GqlGetChainQuery = {
2551
2245
  };
2552
2246
  predicateParams: {
2553
2247
  __typename: 'PredicateParameters';
2554
- version: GqlPredicateParametersVersion;
2555
2248
  maxPredicateLength: string;
2556
2249
  maxPredicateDataLength: string;
2557
2250
  maxGasPerPredicate: string;
@@ -2559,25 +2252,21 @@ export type GqlGetChainQuery = {
2559
2252
  };
2560
2253
  scriptParams: {
2561
2254
  __typename: 'ScriptParameters';
2562
- version: GqlScriptParametersVersion;
2563
2255
  maxScriptLength: string;
2564
2256
  maxScriptDataLength: string;
2565
2257
  };
2566
2258
  contractParams: {
2567
2259
  __typename: 'ContractParameters';
2568
- version: GqlContractParametersVersion;
2569
2260
  contractMaxSize: string;
2570
2261
  maxStorageSlots: string;
2571
2262
  };
2572
2263
  feeParams: {
2573
2264
  __typename: 'FeeParameters';
2574
- version: GqlFeeParametersVersion;
2575
2265
  gasPriceFactor: string;
2576
2266
  gasPerByte: string;
2577
2267
  };
2578
2268
  gasCosts: {
2579
2269
  __typename: 'GasCosts';
2580
- version: GqlGasCostsVersion;
2581
2270
  add: string;
2582
2271
  addi: string;
2583
2272
  aloc: string;
@@ -2590,6 +2279,7 @@ export type GqlGetChainQuery = {
2590
2279
  cb: string;
2591
2280
  cfei: string;
2592
2281
  cfsi: string;
2282
+ croo: string;
2593
2283
  div: string;
2594
2284
  divi: string;
2595
2285
  ecr1: string;
@@ -2685,15 +2375,6 @@ export type GqlGetChainQuery = {
2685
2375
  base: string;
2686
2376
  unitsPerGas: string;
2687
2377
  };
2688
- croo: {
2689
- __typename: 'HeavyOperation';
2690
- base: string;
2691
- gasPerUnit: string;
2692
- } | {
2693
- __typename: 'LightOperation';
2694
- base: string;
2695
- unitsPerGas: string;
2696
- };
2697
2378
  csiz: {
2698
2379
  __typename: 'HeavyOperation';
2699
2380
  base: string;
@@ -2869,6 +2550,44 @@ export type GqlGetTransactionQuery = {
2869
2550
  __typename: 'Transaction';
2870
2551
  id: string;
2871
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;
2872
2591
  status?: {
2873
2592
  __typename: 'FailureStatus';
2874
2593
  time: string;
@@ -2878,37 +2597,6 @@ export type GqlGetTransactionQuery = {
2878
2597
  __typename: 'Block';
2879
2598
  id: string;
2880
2599
  };
2881
- receipts: Array<{
2882
- __typename: 'Receipt';
2883
- id?: string | null;
2884
- pc?: string | null;
2885
- is?: string | null;
2886
- to?: string | null;
2887
- toAddress?: string | null;
2888
- amount?: string | null;
2889
- assetId?: string | null;
2890
- gas?: string | null;
2891
- param1?: string | null;
2892
- param2?: string | null;
2893
- val?: string | null;
2894
- ptr?: string | null;
2895
- digest?: string | null;
2896
- reason?: string | null;
2897
- ra?: string | null;
2898
- rb?: string | null;
2899
- rc?: string | null;
2900
- rd?: string | null;
2901
- len?: string | null;
2902
- receiptType: GqlReceiptType;
2903
- result?: string | null;
2904
- gasUsed?: string | null;
2905
- data?: string | null;
2906
- sender?: string | null;
2907
- recipient?: string | null;
2908
- nonce?: string | null;
2909
- contractId?: string | null;
2910
- subId?: string | null;
2911
- }>;
2912
2600
  } | {
2913
2601
  __typename: 'SqueezedOutStatus';
2914
2602
  reason: string;
@@ -2925,37 +2613,6 @@ export type GqlGetTransactionQuery = {
2925
2613
  __typename: 'Block';
2926
2614
  id: string;
2927
2615
  };
2928
- receipts: Array<{
2929
- __typename: 'Receipt';
2930
- id?: string | null;
2931
- pc?: string | null;
2932
- is?: string | null;
2933
- to?: string | null;
2934
- toAddress?: string | null;
2935
- amount?: string | null;
2936
- assetId?: string | null;
2937
- gas?: string | null;
2938
- param1?: string | null;
2939
- param2?: string | null;
2940
- val?: string | null;
2941
- ptr?: string | null;
2942
- digest?: string | null;
2943
- reason?: string | null;
2944
- ra?: string | null;
2945
- rb?: string | null;
2946
- rc?: string | null;
2947
- rd?: string | null;
2948
- len?: string | null;
2949
- receiptType: GqlReceiptType;
2950
- result?: string | null;
2951
- gasUsed?: string | null;
2952
- data?: string | null;
2953
- sender?: string | null;
2954
- recipient?: string | null;
2955
- nonce?: string | null;
2956
- contractId?: string | null;
2957
- subId?: string | null;
2958
- }>;
2959
2616
  programState?: {
2960
2617
  __typename: 'ProgramState';
2961
2618
  returnType: GqlReturnType;
@@ -2973,6 +2630,44 @@ export type GqlGetTransactionWithReceiptsQuery = {
2973
2630
  __typename: 'Transaction';
2974
2631
  id: string;
2975
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;
2976
2671
  status?: {
2977
2672
  __typename: 'FailureStatus';
2978
2673
  time: string;
@@ -2982,37 +2677,6 @@ export type GqlGetTransactionWithReceiptsQuery = {
2982
2677
  __typename: 'Block';
2983
2678
  id: string;
2984
2679
  };
2985
- receipts: Array<{
2986
- __typename: 'Receipt';
2987
- id?: string | null;
2988
- pc?: string | null;
2989
- is?: string | null;
2990
- to?: string | null;
2991
- toAddress?: string | null;
2992
- amount?: string | null;
2993
- assetId?: string | null;
2994
- gas?: string | null;
2995
- param1?: string | null;
2996
- param2?: string | null;
2997
- val?: string | null;
2998
- ptr?: string | null;
2999
- digest?: string | null;
3000
- reason?: string | null;
3001
- ra?: string | null;
3002
- rb?: string | null;
3003
- rc?: string | null;
3004
- rd?: string | null;
3005
- len?: string | null;
3006
- receiptType: GqlReceiptType;
3007
- result?: string | null;
3008
- gasUsed?: string | null;
3009
- data?: string | null;
3010
- sender?: string | null;
3011
- recipient?: string | null;
3012
- nonce?: string | null;
3013
- contractId?: string | null;
3014
- subId?: string | null;
3015
- }>;
3016
2680
  } | {
3017
2681
  __typename: 'SqueezedOutStatus';
3018
2682
  reason: string;
@@ -3029,37 +2693,6 @@ export type GqlGetTransactionWithReceiptsQuery = {
3029
2693
  __typename: 'Block';
3030
2694
  id: string;
3031
2695
  };
3032
- receipts: Array<{
3033
- __typename: 'Receipt';
3034
- id?: string | null;
3035
- pc?: string | null;
3036
- is?: string | null;
3037
- to?: string | null;
3038
- toAddress?: string | null;
3039
- amount?: string | null;
3040
- assetId?: string | null;
3041
- gas?: string | null;
3042
- param1?: string | null;
3043
- param2?: string | null;
3044
- val?: string | null;
3045
- ptr?: string | null;
3046
- digest?: string | null;
3047
- reason?: string | null;
3048
- ra?: string | null;
3049
- rb?: string | null;
3050
- rc?: string | null;
3051
- rd?: string | null;
3052
- len?: string | null;
3053
- receiptType: GqlReceiptType;
3054
- result?: string | null;
3055
- gasUsed?: string | null;
3056
- data?: string | null;
3057
- sender?: string | null;
3058
- recipient?: string | null;
3059
- nonce?: string | null;
3060
- contractId?: string | null;
3061
- subId?: string | null;
3062
- }>;
3063
2696
  programState?: {
3064
2697
  __typename: 'ProgramState';
3065
2698
  returnType: GqlReturnType;
@@ -3084,6 +2717,44 @@ export type GqlGetTransactionsQuery = {
3084
2717
  __typename: 'Transaction';
3085
2718
  id: string;
3086
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;
3087
2758
  status?: {
3088
2759
  __typename: 'FailureStatus';
3089
2760
  time: string;
@@ -3093,37 +2764,6 @@ export type GqlGetTransactionsQuery = {
3093
2764
  __typename: 'Block';
3094
2765
  id: string;
3095
2766
  };
3096
- receipts: Array<{
3097
- __typename: 'Receipt';
3098
- id?: string | null;
3099
- pc?: string | null;
3100
- is?: string | null;
3101
- to?: string | null;
3102
- toAddress?: string | null;
3103
- amount?: string | null;
3104
- assetId?: string | null;
3105
- gas?: string | null;
3106
- param1?: string | null;
3107
- param2?: string | null;
3108
- val?: string | null;
3109
- ptr?: string | null;
3110
- digest?: string | null;
3111
- reason?: string | null;
3112
- ra?: string | null;
3113
- rb?: string | null;
3114
- rc?: string | null;
3115
- rd?: string | null;
3116
- len?: string | null;
3117
- receiptType: GqlReceiptType;
3118
- result?: string | null;
3119
- gasUsed?: string | null;
3120
- data?: string | null;
3121
- sender?: string | null;
3122
- recipient?: string | null;
3123
- nonce?: string | null;
3124
- contractId?: string | null;
3125
- subId?: string | null;
3126
- }>;
3127
2767
  } | {
3128
2768
  __typename: 'SqueezedOutStatus';
3129
2769
  reason: string;
@@ -3140,37 +2780,6 @@ export type GqlGetTransactionsQuery = {
3140
2780
  __typename: 'Block';
3141
2781
  id: string;
3142
2782
  };
3143
- receipts: Array<{
3144
- __typename: 'Receipt';
3145
- id?: string | null;
3146
- pc?: string | null;
3147
- is?: string | null;
3148
- to?: string | null;
3149
- toAddress?: string | null;
3150
- amount?: string | null;
3151
- assetId?: string | null;
3152
- gas?: string | null;
3153
- param1?: string | null;
3154
- param2?: string | null;
3155
- val?: string | null;
3156
- ptr?: string | null;
3157
- digest?: string | null;
3158
- reason?: string | null;
3159
- ra?: string | null;
3160
- rb?: string | null;
3161
- rc?: string | null;
3162
- rd?: string | null;
3163
- len?: string | null;
3164
- receiptType: GqlReceiptType;
3165
- result?: string | null;
3166
- gasUsed?: string | null;
3167
- data?: string | null;
3168
- sender?: string | null;
3169
- recipient?: string | null;
3170
- nonce?: string | null;
3171
- contractId?: string | null;
3172
- subId?: string | null;
3173
- }>;
3174
2783
  programState?: {
3175
2784
  __typename: 'ProgramState';
3176
2785
  returnType: GqlReturnType;
@@ -3205,6 +2814,44 @@ export type GqlGetTransactionsByOwnerQuery = {
3205
2814
  __typename: 'Transaction';
3206
2815
  id: string;
3207
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;
3208
2855
  status?: {
3209
2856
  __typename: 'FailureStatus';
3210
2857
  time: string;
@@ -3214,37 +2861,6 @@ export type GqlGetTransactionsByOwnerQuery = {
3214
2861
  __typename: 'Block';
3215
2862
  id: string;
3216
2863
  };
3217
- receipts: Array<{
3218
- __typename: 'Receipt';
3219
- id?: string | null;
3220
- pc?: string | null;
3221
- is?: string | null;
3222
- to?: string | null;
3223
- toAddress?: string | null;
3224
- amount?: string | null;
3225
- assetId?: string | null;
3226
- gas?: string | null;
3227
- param1?: string | null;
3228
- param2?: string | null;
3229
- val?: string | null;
3230
- ptr?: string | null;
3231
- digest?: string | null;
3232
- reason?: string | null;
3233
- ra?: string | null;
3234
- rb?: string | null;
3235
- rc?: string | null;
3236
- rd?: string | null;
3237
- len?: string | null;
3238
- receiptType: GqlReceiptType;
3239
- result?: string | null;
3240
- gasUsed?: string | null;
3241
- data?: string | null;
3242
- sender?: string | null;
3243
- recipient?: string | null;
3244
- nonce?: string | null;
3245
- contractId?: string | null;
3246
- subId?: string | null;
3247
- }>;
3248
2864
  } | {
3249
2865
  __typename: 'SqueezedOutStatus';
3250
2866
  reason: string;
@@ -3261,37 +2877,6 @@ export type GqlGetTransactionsByOwnerQuery = {
3261
2877
  __typename: 'Block';
3262
2878
  id: string;
3263
2879
  };
3264
- receipts: Array<{
3265
- __typename: 'Receipt';
3266
- id?: string | null;
3267
- pc?: string | null;
3268
- is?: string | null;
3269
- to?: string | null;
3270
- toAddress?: string | null;
3271
- amount?: string | null;
3272
- assetId?: string | null;
3273
- gas?: string | null;
3274
- param1?: string | null;
3275
- param2?: string | null;
3276
- val?: string | null;
3277
- ptr?: string | null;
3278
- digest?: string | null;
3279
- reason?: string | null;
3280
- ra?: string | null;
3281
- rb?: string | null;
3282
- rc?: string | null;
3283
- rd?: string | null;
3284
- len?: string | null;
3285
- receiptType: GqlReceiptType;
3286
- result?: string | null;
3287
- gasUsed?: string | null;
3288
- data?: string | null;
3289
- sender?: string | null;
3290
- recipient?: string | null;
3291
- nonce?: string | null;
3292
- contractId?: string | null;
3293
- subId?: string | null;
3294
- }>;
3295
2880
  programState?: {
3296
2881
  __typename: 'ProgramState';
3297
2882
  returnType: GqlReturnType;
@@ -3329,9 +2914,9 @@ export type GqlGetBlockQuery = {
3329
2914
  block?: {
3330
2915
  __typename: 'Block';
3331
2916
  id: string;
3332
- height: any;
3333
2917
  header: {
3334
2918
  __typename: 'Header';
2919
+ height: any;
3335
2920
  time: string;
3336
2921
  };
3337
2922
  transactions: Array<{
@@ -3349,11 +2934,48 @@ export type GqlGetBlockWithTransactionsQuery = {
3349
2934
  block?: {
3350
2935
  __typename: 'Block';
3351
2936
  id: string;
3352
- height: any;
3353
2937
  transactions: Array<{
3354
2938
  __typename: 'Transaction';
3355
2939
  id: string;
3356
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;
3357
2979
  status?: {
3358
2980
  __typename: 'FailureStatus';
3359
2981
  time: string;
@@ -3363,37 +2985,6 @@ export type GqlGetBlockWithTransactionsQuery = {
3363
2985
  __typename: 'Block';
3364
2986
  id: string;
3365
2987
  };
3366
- receipts: Array<{
3367
- __typename: 'Receipt';
3368
- id?: string | null;
3369
- pc?: string | null;
3370
- is?: string | null;
3371
- to?: string | null;
3372
- toAddress?: string | null;
3373
- amount?: string | null;
3374
- assetId?: string | null;
3375
- gas?: string | null;
3376
- param1?: string | null;
3377
- param2?: string | null;
3378
- val?: string | null;
3379
- ptr?: string | null;
3380
- digest?: string | null;
3381
- reason?: string | null;
3382
- ra?: string | null;
3383
- rb?: string | null;
3384
- rc?: string | null;
3385
- rd?: string | null;
3386
- len?: string | null;
3387
- receiptType: GqlReceiptType;
3388
- result?: string | null;
3389
- gasUsed?: string | null;
3390
- data?: string | null;
3391
- sender?: string | null;
3392
- recipient?: string | null;
3393
- nonce?: string | null;
3394
- contractId?: string | null;
3395
- subId?: string | null;
3396
- }>;
3397
2988
  } | {
3398
2989
  __typename: 'SqueezedOutStatus';
3399
2990
  reason: string;
@@ -3410,37 +3001,6 @@ export type GqlGetBlockWithTransactionsQuery = {
3410
3001
  __typename: 'Block';
3411
3002
  id: string;
3412
3003
  };
3413
- receipts: Array<{
3414
- __typename: 'Receipt';
3415
- id?: string | null;
3416
- pc?: string | null;
3417
- is?: string | null;
3418
- to?: string | null;
3419
- toAddress?: string | null;
3420
- amount?: string | null;
3421
- assetId?: string | null;
3422
- gas?: string | null;
3423
- param1?: string | null;
3424
- param2?: string | null;
3425
- val?: string | null;
3426
- ptr?: string | null;
3427
- digest?: string | null;
3428
- reason?: string | null;
3429
- ra?: string | null;
3430
- rb?: string | null;
3431
- rc?: string | null;
3432
- rd?: string | null;
3433
- len?: string | null;
3434
- receiptType: GqlReceiptType;
3435
- result?: string | null;
3436
- gasUsed?: string | null;
3437
- data?: string | null;
3438
- sender?: string | null;
3439
- recipient?: string | null;
3440
- nonce?: string | null;
3441
- contractId?: string | null;
3442
- subId?: string | null;
3443
- }>;
3444
3004
  programState?: {
3445
3005
  __typename: 'ProgramState';
3446
3006
  returnType: GqlReturnType;
@@ -3450,6 +3010,7 @@ export type GqlGetBlockWithTransactionsQuery = {
3450
3010
  }>;
3451
3011
  header: {
3452
3012
  __typename: 'Header';
3013
+ height: any;
3453
3014
  time: string;
3454
3015
  };
3455
3016
  } | null;
@@ -3469,9 +3030,9 @@ export type GqlGetBlocksQuery = {
3469
3030
  node: {
3470
3031
  __typename: 'Block';
3471
3032
  id: string;
3472
- height: any;
3473
3033
  header: {
3474
3034
  __typename: 'Header';
3035
+ height: any;
3475
3036
  time: string;
3476
3037
  };
3477
3038
  transactions: Array<{
@@ -3493,8 +3054,9 @@ export type GqlGetCoinQuery = {
3493
3054
  owner: string;
3494
3055
  amount: string;
3495
3056
  assetId: string;
3057
+ maturity: any;
3496
3058
  blockCreated: any;
3497
- txCreatedIdx: any;
3059
+ txCreatedIdx: string;
3498
3060
  } | null;
3499
3061
  };
3500
3062
  export type GqlGetCoinsQueryVariables = Exact<{
@@ -3516,8 +3078,9 @@ export type GqlGetCoinsQuery = {
3516
3078
  owner: string;
3517
3079
  amount: string;
3518
3080
  assetId: string;
3081
+ maturity: any;
3519
3082
  blockCreated: any;
3520
- txCreatedIdx: any;
3083
+ txCreatedIdx: string;
3521
3084
  };
3522
3085
  }>;
3523
3086
  };
@@ -3535,8 +3098,9 @@ export type GqlGetCoinsToSpendQuery = {
3535
3098
  owner: string;
3536
3099
  amount: string;
3537
3100
  assetId: string;
3101
+ maturity: any;
3538
3102
  blockCreated: any;
3539
- txCreatedIdx: any;
3103
+ txCreatedIdx: string;
3540
3104
  } | {
3541
3105
  __typename: 'MessageCoin';
3542
3106
  sender: string;
@@ -3584,26 +3148,6 @@ export type GqlGetBalanceQuery = {
3584
3148
  assetId: string;
3585
3149
  };
3586
3150
  };
3587
- export type GqlGetLatestGasPriceQueryVariables = Exact<{
3588
- [key: string]: never;
3589
- }>;
3590
- export type GqlGetLatestGasPriceQuery = {
3591
- __typename: 'Query';
3592
- latestGasPrice: {
3593
- __typename: 'LatestGasPrice';
3594
- gasPrice: string;
3595
- };
3596
- };
3597
- export type GqlEstimateGasPriceQueryVariables = Exact<{
3598
- blockHorizon: Scalars['U32'];
3599
- }>;
3600
- export type GqlEstimateGasPriceQuery = {
3601
- __typename: 'Query';
3602
- estimateGasPrice: {
3603
- __typename: 'EstimateGasPrice';
3604
- gasPrice: string;
3605
- };
3606
- };
3607
3151
  export type GqlGetBalancesQueryVariables = Exact<{
3608
3152
  filter: GqlBalanceFilterInput;
3609
3153
  after?: InputMaybe<Scalars['String']>;
@@ -3680,33 +3224,27 @@ export type GqlGetMessageProofQuery = {
3680
3224
  __typename: 'Header';
3681
3225
  id: string;
3682
3226
  daHeight: string;
3683
- consensusParametersVersion: any;
3684
- stateTransitionBytecodeVersion: any;
3685
3227
  transactionsCount: string;
3686
- messageReceiptCount: string;
3687
3228
  transactionsRoot: string;
3688
- messageOutboxRoot: string;
3689
- eventInboxRoot: string;
3690
3229
  height: any;
3691
3230
  prevRoot: string;
3692
3231
  time: string;
3693
3232
  applicationHash: string;
3233
+ messageReceiptRoot: string;
3234
+ messageReceiptCount: string;
3694
3235
  };
3695
3236
  commitBlockHeader: {
3696
3237
  __typename: 'Header';
3697
3238
  id: string;
3698
3239
  daHeight: string;
3699
- consensusParametersVersion: any;
3700
- stateTransitionBytecodeVersion: any;
3701
3240
  transactionsCount: string;
3702
- messageReceiptCount: string;
3703
3241
  transactionsRoot: string;
3704
- messageOutboxRoot: string;
3705
- eventInboxRoot: string;
3706
3242
  height: any;
3707
3243
  prevRoot: string;
3708
3244
  time: string;
3709
3245
  applicationHash: string;
3246
+ messageReceiptRoot: string;
3247
+ messageReceiptCount: string;
3710
3248
  };
3711
3249
  } | null;
3712
3250
  };
@@ -3721,61 +3259,47 @@ export type GqlGetMessageStatusQuery = {
3721
3259
  };
3722
3260
  };
3723
3261
  export type GqlDryRunMutationVariables = Exact<{
3724
- encodedTransactions: Array<Scalars['HexString']> | Scalars['HexString'];
3262
+ encodedTransaction: Scalars['HexString'];
3725
3263
  utxoValidation?: InputMaybe<Scalars['Boolean']>;
3726
3264
  }>;
3727
3265
  export type GqlDryRunMutation = {
3728
3266
  __typename: 'Mutation';
3729
3267
  dryRun: Array<{
3730
- __typename: 'DryRunTransactionExecutionStatus';
3731
- id: string;
3732
- status: {
3733
- __typename: 'DryRunFailureStatus';
3734
- reason: string;
3735
- programState?: {
3736
- __typename: 'ProgramState';
3737
- returnType: GqlReturnType;
3738
- data: string;
3739
- } | null;
3740
- } | {
3741
- __typename: 'DryRunSuccessStatus';
3742
- programState?: {
3743
- __typename: 'ProgramState';
3744
- returnType: GqlReturnType;
3745
- data: string;
3746
- } | null;
3747
- };
3748
- receipts: Array<{
3749
- __typename: 'Receipt';
3750
- id?: string | null;
3751
- pc?: string | null;
3752
- is?: string | null;
3753
- to?: string | null;
3754
- toAddress?: string | null;
3755
- amount?: string | null;
3756
- assetId?: string | null;
3757
- gas?: string | null;
3758
- param1?: string | null;
3759
- param2?: string | null;
3760
- val?: string | null;
3761
- ptr?: string | null;
3762
- digest?: string | null;
3763
- reason?: string | null;
3764
- ra?: string | null;
3765
- rb?: string | null;
3766
- rc?: string | null;
3767
- rd?: string | null;
3768
- len?: string | null;
3769
- receiptType: GqlReceiptType;
3770
- result?: string | null;
3771
- gasUsed?: string | null;
3772
- data?: string | null;
3773
- sender?: string | null;
3774
- recipient?: string | null;
3775
- nonce?: string | null;
3776
- contractId?: string | null;
3777
- subId?: string | null;
3778
- }>;
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;
3779
3303
  }>;
3780
3304
  };
3781
3305
  export type GqlSubmitMutationVariables = Exact<{
@@ -3803,17 +3327,34 @@ export type GqlSubmitAndAwaitSubscription = {
3803
3327
  __typename: 'Subscription';
3804
3328
  submitAndAwait: {
3805
3329
  __typename: 'FailureStatus';
3330
+ time: string;
3331
+ reason: string;
3806
3332
  type: 'FailureStatus';
3333
+ block: {
3334
+ __typename: 'Block';
3335
+ id: string;
3336
+ };
3807
3337
  } | {
3808
3338
  __typename: 'SqueezedOutStatus';
3809
3339
  reason: string;
3810
3340
  type: 'SqueezedOutStatus';
3811
3341
  } | {
3812
3342
  __typename: 'SubmittedStatus';
3343
+ time: string;
3813
3344
  type: 'SubmittedStatus';
3814
3345
  } | {
3815
3346
  __typename: 'SuccessStatus';
3347
+ time: string;
3816
3348
  type: 'SuccessStatus';
3349
+ block: {
3350
+ __typename: 'Block';
3351
+ id: string;
3352
+ };
3353
+ programState?: {
3354
+ __typename: 'ProgramState';
3355
+ returnType: GqlReturnType;
3356
+ data: string;
3357
+ } | null;
3817
3358
  };
3818
3359
  };
3819
3360
  export type GqlStatusChangeSubscriptionVariables = Exact<{
@@ -3823,29 +3364,41 @@ export type GqlStatusChangeSubscription = {
3823
3364
  __typename: 'Subscription';
3824
3365
  statusChange: {
3825
3366
  __typename: 'FailureStatus';
3367
+ time: string;
3368
+ reason: string;
3826
3369
  type: 'FailureStatus';
3370
+ block: {
3371
+ __typename: 'Block';
3372
+ id: string;
3373
+ };
3827
3374
  } | {
3828
3375
  __typename: 'SqueezedOutStatus';
3829
3376
  reason: string;
3830
3377
  type: 'SqueezedOutStatus';
3831
3378
  } | {
3832
3379
  __typename: 'SubmittedStatus';
3380
+ time: string;
3833
3381
  type: 'SubmittedStatus';
3834
3382
  } | {
3835
3383
  __typename: 'SuccessStatus';
3384
+ time: string;
3836
3385
  type: 'SuccessStatus';
3386
+ block: {
3387
+ __typename: 'Block';
3388
+ id: string;
3389
+ };
3390
+ programState?: {
3391
+ __typename: 'ProgramState';
3392
+ returnType: GqlReturnType;
3393
+ data: string;
3394
+ } | null;
3837
3395
  };
3838
3396
  };
3839
- export declare const TransactionStatusSubscriptionFragmentFragmentDoc: DocumentNode;
3840
3397
  export declare const ReceiptFragmentFragmentDoc: DocumentNode;
3841
3398
  export declare const TransactionStatusFragmentFragmentDoc: DocumentNode;
3842
3399
  export declare const TransactionFragmentFragmentDoc: DocumentNode;
3843
3400
  export declare const InputEstimatePredicatesFragmentFragmentDoc: DocumentNode;
3844
3401
  export declare const TransactionEstimatePredicatesFragmentFragmentDoc: DocumentNode;
3845
- export declare const DryRunFailureStatusFragmentFragmentDoc: DocumentNode;
3846
- export declare const DryRunSuccessStatusFragmentFragmentDoc: DocumentNode;
3847
- export declare const DryRunTransactionStatusFragmentFragmentDoc: DocumentNode;
3848
- export declare const DryRunTransactionExecutionStatusFragmentFragmentDoc: DocumentNode;
3849
3402
  export declare const CoinFragmentFragmentDoc: DocumentNode;
3850
3403
  export declare const MessageCoinFragmentFragmentDoc: DocumentNode;
3851
3404
  export declare const MessageFragmentFragmentDoc: DocumentNode;
@@ -3881,8 +3434,6 @@ export declare const GetCoinsToSpendDocument: DocumentNode;
3881
3434
  export declare const GetContractDocument: DocumentNode;
3882
3435
  export declare const GetContractBalanceDocument: DocumentNode;
3883
3436
  export declare const GetBalanceDocument: DocumentNode;
3884
- export declare const GetLatestGasPriceDocument: DocumentNode;
3885
- export declare const EstimateGasPriceDocument: DocumentNode;
3886
3437
  export declare const GetBalancesDocument: DocumentNode;
3887
3438
  export declare const GetMessagesDocument: DocumentNode;
3888
3439
  export declare const GetMessageProofDocument: DocumentNode;
@@ -3911,8 +3462,6 @@ export declare function getSdk<C, E>(requester: Requester<C, E>): {
3911
3462
  getContract(variables: GqlGetContractQueryVariables, options?: C): Promise<GqlGetContractQuery>;
3912
3463
  getContractBalance(variables: GqlGetContractBalanceQueryVariables, options?: C): Promise<GqlGetContractBalanceQuery>;
3913
3464
  getBalance(variables: GqlGetBalanceQueryVariables, options?: C): Promise<GqlGetBalanceQuery>;
3914
- getLatestGasPrice(variables?: GqlGetLatestGasPriceQueryVariables, options?: C): Promise<GqlGetLatestGasPriceQuery>;
3915
- estimateGasPrice(variables: GqlEstimateGasPriceQueryVariables, options?: C): Promise<GqlEstimateGasPriceQuery>;
3916
3465
  getBalances(variables: GqlGetBalancesQueryVariables, options?: C): Promise<GqlGetBalancesQuery>;
3917
3466
  getMessages(variables: GqlGetMessagesQueryVariables, options?: C): Promise<GqlGetMessagesQuery>;
3918
3467
  getMessageProof(variables: GqlGetMessageProofQueryVariables, options?: C): Promise<GqlGetMessageProofQuery>;