@fuel-ts/account 0.0.0-rc-1764-20240404125616 → 0.0.0-rc-1832-20240404143349

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 (52) hide show
  1. package/README.md +1 -1
  2. package/dist/account.d.ts +4 -5
  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 +558 -772
  12. package/dist/index.global.js.map +1 -1
  13. package/dist/index.js +511 -764
  14. package/dist/index.js.map +1 -1
  15. package/dist/index.mjs +392 -644
  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 +305 -824
  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/fuel-graphql-subscriber.d.ts.map +1 -1
  26. package/dist/providers/message.d.ts +0 -3
  27. package/dist/providers/message.d.ts.map +1 -1
  28. package/dist/providers/provider.d.ts +24 -44
  29. package/dist/providers/provider.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 +25 -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.global.js +551 -729
  46. package/dist/test-utils.global.js.map +1 -1
  47. package/dist/test-utils.js +490 -705
  48. package/dist/test-utils.js.map +1 -1
  49. package/dist/test-utils.mjs +379 -594
  50. package/dist/test-utils.mjs.map +1 -1
  51. package/dist/wallet/base-wallet-unlocked.d.ts.map +1 -1
  52. package/package.json +17 -17
@@ -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,6 +111,7 @@ 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
117
  txCreatedIdx: Scalars['U64'];
@@ -196,7 +195,7 @@ export type GqlContractBalanceFilterInput = {
196
195
  };
197
196
  export type GqlContractCreated = {
198
197
  __typename: 'ContractCreated';
199
- contract: Scalars['ContractId'];
198
+ contract: GqlContract;
200
199
  stateRoot: Scalars['Bytes32'];
201
200
  };
202
201
  export type GqlContractOutput = {
@@ -211,28 +210,6 @@ export type GqlContractParameters = {
211
210
  maxStorageSlots: Scalars['U64'];
212
211
  };
213
212
  export type GqlDependentCost = GqlHeavyOperation | GqlLightOperation;
214
- export type GqlDryRunFailureStatus = {
215
- __typename: 'DryRunFailureStatus';
216
- programState?: Maybe<GqlProgramState>;
217
- reason: Scalars['String'];
218
- receipts: Array<GqlReceipt>;
219
- };
220
- export type GqlDryRunSuccessStatus = {
221
- __typename: 'DryRunSuccessStatus';
222
- programState?: Maybe<GqlProgramState>;
223
- receipts: Array<GqlReceipt>;
224
- };
225
- export type GqlDryRunTransactionExecutionStatus = {
226
- __typename: 'DryRunTransactionExecutionStatus';
227
- id: Scalars['TransactionId'];
228
- receipts: Array<GqlReceipt>;
229
- status: GqlDryRunTransactionStatus;
230
- };
231
- export type GqlDryRunTransactionStatus = GqlDryRunFailureStatus | GqlDryRunSuccessStatus;
232
- export type GqlEstimateGasPrice = {
233
- __typename: 'EstimateGasPrice';
234
- gasPrice: Scalars['U64'];
235
- };
236
213
  export type GqlExcludeInput = {
237
214
  /** Messages to exclude from the selection. */
238
215
  messages: Array<Scalars['Nonce']>;
@@ -270,7 +247,7 @@ export type GqlGasCosts = {
270
247
  cfei: Scalars['U64'];
271
248
  cfsi: Scalars['U64'];
272
249
  contractRoot: GqlDependentCost;
273
- croo: GqlDependentCost;
250
+ croo: Scalars['U64'];
274
251
  csiz: GqlDependentCost;
275
252
  div: Scalars['U64'];
276
253
  divi: Scalars['U64'];
@@ -413,6 +390,7 @@ export type GqlInputCoin = {
413
390
  __typename: 'InputCoin';
414
391
  amount: Scalars['U64'];
415
392
  assetId: Scalars['AssetId'];
393
+ maturity: Scalars['U32'];
416
394
  owner: Scalars['Address'];
417
395
  predicate: Scalars['HexString'];
418
396
  predicateData: Scalars['HexString'];
@@ -424,7 +402,7 @@ export type GqlInputCoin = {
424
402
  export type GqlInputContract = {
425
403
  __typename: 'InputContract';
426
404
  balanceRoot: Scalars['Bytes32'];
427
- contractId: Scalars['ContractId'];
405
+ contract: GqlContract;
428
406
  stateRoot: Scalars['Bytes32'];
429
407
  txPointer: Scalars['TxPointer'];
430
408
  utxoId: Scalars['UtxoId'];
@@ -441,11 +419,6 @@ export type GqlInputMessage = {
441
419
  sender: Scalars['Address'];
442
420
  witnessIndex: Scalars['Int'];
443
421
  };
444
- export type GqlLatestGasPrice = {
445
- __typename: 'LatestGasPrice';
446
- blockHeight: Scalars['U32'];
447
- gasPrice: Scalars['U64'];
448
- };
449
422
  export type GqlLightOperation = {
450
423
  __typename: 'LightOperation';
451
424
  base: Scalars['U64'];
@@ -514,16 +487,10 @@ export type GqlMessageStatus = {
514
487
  };
515
488
  export type GqlMutation = {
516
489
  __typename: 'Mutation';
517
- /**
518
- * Resume execution of the VM instance after a breakpoint.
519
- * Runs until the next breakpoint or until the transaction completes.
520
- */
521
490
  continueTx: GqlRunResult;
522
- /** Execute a dry-run of multiple transactions using a fork of current state, no changes are committed. */
523
- dryRun: Array<GqlDryRunTransactionExecutionStatus>;
524
- /** 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>;
525
493
  endSession: Scalars['Boolean'];
526
- /** Execute a single fuel-asm instruction. */
527
494
  execute: Scalars['Boolean'];
528
495
  /**
529
496
  * Sequentially produces `blocks_to_produce` blocks. The first block starts with
@@ -532,23 +499,10 @@ export type GqlMutation = {
532
499
  * them. The `start_timestamp` is the timestamp in seconds.
533
500
  */
534
501
  produceBlocks: Scalars['U32'];
535
- /** Reset the VM instance to the initial state. */
536
502
  reset: Scalars['Boolean'];
537
- /** Set a breakpoint for a VM instance. */
538
503
  setBreakpoint: Scalars['Boolean'];
539
- /** Set single-stepping mode for the VM instance. */
540
504
  setSingleStepping: Scalars['Boolean'];
541
- /**
542
- * Initialize a new debugger session, returning its ID.
543
- * A new VM instance is spawned for each session.
544
- * The session is run in a separate database transaction,
545
- * on top of the most recent node state.
546
- */
547
505
  startSession: Scalars['ID'];
548
- /**
549
- * Run a single transaction in given session until it
550
- * hits a breakpoint or completes.
551
- */
552
506
  startTx: GqlRunResult;
553
507
  /**
554
508
  * Submits transaction to the `TxPool`.
@@ -561,7 +515,7 @@ export type GqlMutationContinueTxArgs = {
561
515
  id: Scalars['ID'];
562
516
  };
563
517
  export type GqlMutationDryRunArgs = {
564
- txs: Array<Scalars['HexString']>;
518
+ tx: Scalars['HexString'];
565
519
  utxoValidation?: InputMaybe<Scalars['Boolean']>;
566
520
  };
567
521
  export type GqlMutationEndSessionArgs = {
@@ -647,9 +601,9 @@ export type GqlPoAConsensus = {
647
601
  };
648
602
  export type GqlPolicies = {
649
603
  __typename: 'Policies';
604
+ gasPrice?: Maybe<Scalars['U64']>;
650
605
  maturity?: Maybe<Scalars['U32']>;
651
606
  maxFee?: Maybe<Scalars['U64']>;
652
- tip?: Maybe<Scalars['U64']>;
653
607
  witnessLimit?: Maybe<Scalars['U64']>;
654
608
  };
655
609
  export type GqlPredicateParameters = {
@@ -691,20 +645,15 @@ export type GqlQuery = {
691
645
  contract?: Maybe<GqlContract>;
692
646
  contractBalance: GqlContractBalance;
693
647
  contractBalances: GqlContractBalanceConnection;
694
- estimateGasPrice: GqlEstimateGasPrice;
695
648
  /** Estimate the predicate gas for the provided transaction */
696
649
  estimatePredicates: GqlTransaction;
697
650
  /** Returns true when the GraphQL API is serving requests. */
698
651
  health: Scalars['Boolean'];
699
- latestGasPrice: GqlLatestGasPrice;
700
- /** Read read a range of memory bytes. */
701
652
  memory: Scalars['String'];
702
- message?: Maybe<GqlMessage>;
703
653
  messageProof?: Maybe<GqlMessageProof>;
704
654
  messageStatus: GqlMessageStatus;
705
655
  messages: GqlMessageConnection;
706
656
  nodeInfo: GqlNodeInfo;
707
- /** Read register value by index. */
708
657
  register: Scalars['U64'];
709
658
  transaction?: Maybe<GqlTransaction>;
710
659
  transactions: GqlTransactionConnection;
@@ -760,9 +709,6 @@ export type GqlQueryContractBalancesArgs = {
760
709
  first?: InputMaybe<Scalars['Int']>;
761
710
  last?: InputMaybe<Scalars['Int']>;
762
711
  };
763
- export type GqlQueryEstimateGasPriceArgs = {
764
- blockHorizon?: InputMaybe<Scalars['U32']>;
765
- };
766
712
  export type GqlQueryEstimatePredicatesArgs = {
767
713
  tx: Scalars['HexString'];
768
714
  };
@@ -771,9 +717,6 @@ export type GqlQueryMemoryArgs = {
771
717
  size: Scalars['U32'];
772
718
  start: Scalars['U32'];
773
719
  };
774
- export type GqlQueryMessageArgs = {
775
- nonce: Scalars['Nonce'];
776
- };
777
720
  export type GqlQueryMessageProofArgs = {
778
721
  commitBlockHeight?: InputMaybe<Scalars['U32']>;
779
722
  commitBlockId?: InputMaybe<Scalars['BlockId']>;
@@ -814,13 +757,12 @@ export type GqlReceipt = {
814
757
  __typename: 'Receipt';
815
758
  amount?: Maybe<Scalars['U64']>;
816
759
  assetId?: Maybe<Scalars['AssetId']>;
817
- /** Set in the case of a Panic receipt to indicate a missing contract input id */
760
+ contract?: Maybe<GqlContract>;
818
761
  contractId?: Maybe<Scalars['ContractId']>;
819
762
  data?: Maybe<Scalars['HexString']>;
820
763
  digest?: Maybe<Scalars['Bytes32']>;
821
764
  gas?: Maybe<Scalars['U64']>;
822
765
  gasUsed?: Maybe<Scalars['U64']>;
823
- id?: Maybe<Scalars['ContractId']>;
824
766
  is?: Maybe<Scalars['U64']>;
825
767
  len?: Maybe<Scalars['U64']>;
826
768
  nonce?: Maybe<Scalars['Nonce']>;
@@ -838,7 +780,7 @@ export type GqlReceipt = {
838
780
  result?: Maybe<Scalars['U64']>;
839
781
  sender?: Maybe<Scalars['Address']>;
840
782
  subId?: Maybe<Scalars['Bytes32']>;
841
- to?: Maybe<Scalars['ContractId']>;
783
+ to?: Maybe<GqlContract>;
842
784
  toAddress?: Maybe<Scalars['Address']>;
843
785
  val?: Maybe<Scalars['U64']>;
844
786
  };
@@ -933,10 +875,11 @@ export type GqlTransaction = {
933
875
  __typename: 'Transaction';
934
876
  bytecodeLength?: Maybe<Scalars['U64']>;
935
877
  bytecodeWitnessIndex?: Maybe<Scalars['Int']>;
878
+ gasPrice?: Maybe<Scalars['U64']>;
936
879
  id: Scalars['TransactionId'];
937
880
  inputAssetIds?: Maybe<Array<Scalars['AssetId']>>;
938
881
  inputContract?: Maybe<GqlInputContract>;
939
- inputContracts?: Maybe<Array<Scalars['ContractId']>>;
882
+ inputContracts?: Maybe<Array<GqlContract>>;
940
883
  inputs?: Maybe<Array<GqlInput>>;
941
884
  isCreate: Scalars['Boolean'];
942
885
  isMint: Scalars['Boolean'];
@@ -944,12 +887,12 @@ export type GqlTransaction = {
944
887
  maturity?: Maybe<Scalars['U32']>;
945
888
  mintAmount?: Maybe<Scalars['U64']>;
946
889
  mintAssetId?: Maybe<Scalars['AssetId']>;
947
- mintGasPrice?: Maybe<Scalars['U64']>;
948
890
  outputContract?: Maybe<GqlContractOutput>;
949
891
  outputs: Array<GqlOutput>;
950
892
  policies?: Maybe<GqlPolicies>;
951
893
  /** Return the transaction bytes using canonical encoding */
952
894
  rawPayload: Scalars['HexString'];
895
+ receipts?: Maybe<Array<GqlReceipt>>;
953
896
  receiptsRoot?: Maybe<Scalars['Bytes32']>;
954
897
  salt?: Maybe<Scalars['Salt']>;
955
898
  script?: Maybe<Scalars['HexString']>;
@@ -1001,37 +944,6 @@ type GqlTransactionStatusFragment_FailureStatus_Fragment = {
1001
944
  __typename: 'Block';
1002
945
  id: string;
1003
946
  };
1004
- receipts: Array<{
1005
- __typename: 'Receipt';
1006
- id?: string | null;
1007
- pc?: string | null;
1008
- is?: string | null;
1009
- to?: string | null;
1010
- toAddress?: string | null;
1011
- amount?: string | null;
1012
- assetId?: string | null;
1013
- gas?: string | null;
1014
- param1?: string | null;
1015
- param2?: string | null;
1016
- val?: string | null;
1017
- ptr?: string | null;
1018
- digest?: string | null;
1019
- reason?: string | null;
1020
- ra?: string | null;
1021
- rb?: string | null;
1022
- rc?: string | null;
1023
- rd?: string | null;
1024
- len?: string | null;
1025
- receiptType: GqlReceiptType;
1026
- result?: string | null;
1027
- gasUsed?: string | null;
1028
- data?: string | null;
1029
- sender?: string | null;
1030
- recipient?: string | null;
1031
- nonce?: string | null;
1032
- contractId?: string | null;
1033
- subId?: string | null;
1034
- }>;
1035
947
  };
1036
948
  type GqlTransactionStatusFragment_SqueezedOutStatus_Fragment = {
1037
949
  __typename: 'SqueezedOutStatus';
@@ -1051,12 +963,22 @@ type GqlTransactionStatusFragment_SuccessStatus_Fragment = {
1051
963
  __typename: 'Block';
1052
964
  id: string;
1053
965
  };
1054
- 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<{
1055
979
  __typename: 'Receipt';
1056
- id?: string | null;
1057
980
  pc?: string | null;
1058
981
  is?: string | null;
1059
- to?: string | null;
1060
982
  toAddress?: string | null;
1061
983
  amount?: string | null;
1062
984
  assetId?: string | null;
@@ -1081,18 +1003,15 @@ type GqlTransactionStatusFragment_SuccessStatus_Fragment = {
1081
1003
  nonce?: string | null;
1082
1004
  contractId?: string | null;
1083
1005
  subId?: string | null;
1084
- }>;
1085
- programState?: {
1086
- __typename: 'ProgramState';
1087
- returnType: GqlReturnType;
1088
- data: string;
1089
- } | null;
1090
- };
1091
- export type GqlTransactionStatusFragmentFragment = GqlTransactionStatusFragment_FailureStatus_Fragment | GqlTransactionStatusFragment_SqueezedOutStatus_Fragment | GqlTransactionStatusFragment_SubmittedStatus_Fragment | GqlTransactionStatusFragment_SuccessStatus_Fragment;
1092
- export type GqlTransactionFragmentFragment = {
1093
- __typename: 'Transaction';
1094
- id: string;
1095
- rawPayload: string;
1006
+ contract?: {
1007
+ __typename: 'Contract';
1008
+ id: string;
1009
+ } | null;
1010
+ to?: {
1011
+ __typename: 'Contract';
1012
+ id: string;
1013
+ } | null;
1014
+ }> | null;
1096
1015
  status?: {
1097
1016
  __typename: 'FailureStatus';
1098
1017
  time: string;
@@ -1102,37 +1021,6 @@ export type GqlTransactionFragmentFragment = {
1102
1021
  __typename: 'Block';
1103
1022
  id: string;
1104
1023
  };
1105
- receipts: Array<{
1106
- __typename: 'Receipt';
1107
- id?: string | null;
1108
- pc?: string | null;
1109
- is?: string | null;
1110
- to?: string | null;
1111
- toAddress?: string | null;
1112
- amount?: string | null;
1113
- assetId?: string | null;
1114
- gas?: string | null;
1115
- param1?: string | null;
1116
- param2?: string | null;
1117
- val?: string | null;
1118
- ptr?: string | null;
1119
- digest?: string | null;
1120
- reason?: string | null;
1121
- ra?: string | null;
1122
- rb?: string | null;
1123
- rc?: string | null;
1124
- rd?: string | null;
1125
- len?: string | null;
1126
- receiptType: GqlReceiptType;
1127
- result?: string | null;
1128
- gasUsed?: string | null;
1129
- data?: string | null;
1130
- sender?: string | null;
1131
- recipient?: string | null;
1132
- nonce?: string | null;
1133
- contractId?: string | null;
1134
- subId?: string | null;
1135
- }>;
1136
1024
  } | {
1137
1025
  __typename: 'SqueezedOutStatus';
1138
1026
  reason: string;
@@ -1149,37 +1037,6 @@ export type GqlTransactionFragmentFragment = {
1149
1037
  __typename: 'Block';
1150
1038
  id: string;
1151
1039
  };
1152
- receipts: Array<{
1153
- __typename: 'Receipt';
1154
- id?: string | null;
1155
- pc?: string | null;
1156
- is?: string | null;
1157
- to?: string | null;
1158
- toAddress?: string | null;
1159
- amount?: string | null;
1160
- assetId?: string | null;
1161
- gas?: string | null;
1162
- param1?: string | null;
1163
- param2?: string | null;
1164
- val?: string | null;
1165
- ptr?: string | null;
1166
- digest?: string | null;
1167
- reason?: string | null;
1168
- ra?: string | null;
1169
- rb?: string | null;
1170
- rc?: string | null;
1171
- rd?: string | null;
1172
- len?: string | null;
1173
- receiptType: GqlReceiptType;
1174
- result?: string | null;
1175
- gasUsed?: string | null;
1176
- data?: string | null;
1177
- sender?: string | null;
1178
- recipient?: string | null;
1179
- nonce?: string | null;
1180
- contractId?: string | null;
1181
- subId?: string | null;
1182
- }>;
1183
1040
  programState?: {
1184
1041
  __typename: 'ProgramState';
1185
1042
  returnType: GqlReturnType;
@@ -1211,29 +1068,10 @@ export type GqlTransactionEstimatePredicatesFragmentFragment = {
1211
1068
  predicateGasUsed: string;
1212
1069
  }> | null;
1213
1070
  };
1214
- export type GqlDryRunFailureStatusFragmentFragment = {
1215
- __typename: 'DryRunFailureStatus';
1216
- reason: string;
1217
- programState?: {
1218
- __typename: 'ProgramState';
1219
- returnType: GqlReturnType;
1220
- data: string;
1221
- } | null;
1222
- };
1223
- export type GqlDryRunSuccessStatusFragmentFragment = {
1224
- __typename: 'DryRunSuccessStatus';
1225
- programState?: {
1226
- __typename: 'ProgramState';
1227
- returnType: GqlReturnType;
1228
- data: string;
1229
- } | null;
1230
- };
1231
1071
  export type GqlReceiptFragmentFragment = {
1232
1072
  __typename: 'Receipt';
1233
- id?: string | null;
1234
1073
  pc?: string | null;
1235
1074
  is?: string | null;
1236
- to?: string | null;
1237
1075
  toAddress?: string | null;
1238
1076
  amount?: string | null;
1239
1077
  assetId?: string | null;
@@ -1258,82 +1096,21 @@ export type GqlReceiptFragmentFragment = {
1258
1096
  nonce?: string | null;
1259
1097
  contractId?: string | null;
1260
1098
  subId?: string | null;
1261
- };
1262
- type GqlDryRunTransactionStatusFragment_DryRunFailureStatus_Fragment = {
1263
- __typename: 'DryRunFailureStatus';
1264
- reason: string;
1265
- programState?: {
1266
- __typename: 'ProgramState';
1267
- returnType: GqlReturnType;
1268
- data: string;
1099
+ contract?: {
1100
+ __typename: 'Contract';
1101
+ id: string;
1269
1102
  } | null;
1270
- };
1271
- type GqlDryRunTransactionStatusFragment_DryRunSuccessStatus_Fragment = {
1272
- __typename: 'DryRunSuccessStatus';
1273
- programState?: {
1274
- __typename: 'ProgramState';
1275
- returnType: GqlReturnType;
1276
- data: string;
1103
+ to?: {
1104
+ __typename: 'Contract';
1105
+ id: string;
1277
1106
  } | null;
1278
1107
  };
1279
- export type GqlDryRunTransactionStatusFragmentFragment = GqlDryRunTransactionStatusFragment_DryRunFailureStatus_Fragment | GqlDryRunTransactionStatusFragment_DryRunSuccessStatus_Fragment;
1280
- export type GqlDryRunTransactionExecutionStatusFragmentFragment = {
1281
- __typename: 'DryRunTransactionExecutionStatus';
1282
- id: string;
1283
- status: {
1284
- __typename: 'DryRunFailureStatus';
1285
- reason: string;
1286
- programState?: {
1287
- __typename: 'ProgramState';
1288
- returnType: GqlReturnType;
1289
- data: string;
1290
- } | null;
1291
- } | {
1292
- __typename: 'DryRunSuccessStatus';
1293
- programState?: {
1294
- __typename: 'ProgramState';
1295
- returnType: GqlReturnType;
1296
- data: string;
1297
- } | null;
1298
- };
1299
- receipts: Array<{
1300
- __typename: 'Receipt';
1301
- id?: string | null;
1302
- pc?: string | null;
1303
- is?: string | null;
1304
- to?: string | null;
1305
- toAddress?: string | null;
1306
- amount?: string | null;
1307
- assetId?: string | null;
1308
- gas?: string | null;
1309
- param1?: string | null;
1310
- param2?: string | null;
1311
- val?: string | null;
1312
- ptr?: string | null;
1313
- digest?: string | null;
1314
- reason?: string | null;
1315
- ra?: string | null;
1316
- rb?: string | null;
1317
- rc?: string | null;
1318
- rd?: string | null;
1319
- len?: string | null;
1320
- receiptType: GqlReceiptType;
1321
- result?: string | null;
1322
- gasUsed?: string | null;
1323
- data?: string | null;
1324
- sender?: string | null;
1325
- recipient?: string | null;
1326
- nonce?: string | null;
1327
- contractId?: string | null;
1328
- subId?: string | null;
1329
- }>;
1330
- };
1331
1108
  export type GqlBlockFragmentFragment = {
1332
1109
  __typename: 'Block';
1333
1110
  id: string;
1334
- height: any;
1335
1111
  header: {
1336
1112
  __typename: 'Header';
1113
+ height: any;
1337
1114
  time: string;
1338
1115
  };
1339
1116
  transactions: Array<{
@@ -1347,6 +1124,7 @@ export type GqlCoinFragmentFragment = {
1347
1124
  owner: string;
1348
1125
  amount: string;
1349
1126
  assetId: string;
1127
+ maturity: any;
1350
1128
  blockCreated: any;
1351
1129
  txCreatedIdx: string;
1352
1130
  };
@@ -1473,6 +1251,7 @@ export type GqlGasCostsFragmentFragment = {
1473
1251
  cb: string;
1474
1252
  cfei: string;
1475
1253
  cfsi: string;
1254
+ croo: string;
1476
1255
  div: string;
1477
1256
  divi: string;
1478
1257
  ecr1: string;
@@ -1568,15 +1347,6 @@ export type GqlGasCostsFragmentFragment = {
1568
1347
  base: string;
1569
1348
  unitsPerGas: string;
1570
1349
  };
1571
- croo: {
1572
- __typename: 'HeavyOperation';
1573
- base: string;
1574
- gasPerUnit: string;
1575
- } | {
1576
- __typename: 'LightOperation';
1577
- base: string;
1578
- unitsPerGas: string;
1579
- };
1580
1350
  csiz: {
1581
1351
  __typename: 'HeavyOperation';
1582
1352
  base: string;
@@ -1788,6 +1558,7 @@ export type GqlConsensusParametersFragmentFragment = {
1788
1558
  cb: string;
1789
1559
  cfei: string;
1790
1560
  cfsi: string;
1561
+ croo: string;
1791
1562
  div: string;
1792
1563
  divi: string;
1793
1564
  ecr1: string;
@@ -1883,15 +1654,6 @@ export type GqlConsensusParametersFragmentFragment = {
1883
1654
  base: string;
1884
1655
  unitsPerGas: string;
1885
1656
  };
1886
- croo: {
1887
- __typename: 'HeavyOperation';
1888
- base: string;
1889
- gasPerUnit: string;
1890
- } | {
1891
- __typename: 'LightOperation';
1892
- base: string;
1893
- unitsPerGas: string;
1894
- };
1895
1657
  csiz: {
1896
1658
  __typename: 'HeavyOperation';
1897
1659
  base: string;
@@ -2063,9 +1825,9 @@ export type GqlChainInfoFragmentFragment = {
2063
1825
  latestBlock: {
2064
1826
  __typename: 'Block';
2065
1827
  id: string;
2066
- height: any;
2067
1828
  header: {
2068
1829
  __typename: 'Header';
1830
+ height: any;
2069
1831
  time: string;
2070
1832
  };
2071
1833
  transactions: Array<{
@@ -2121,6 +1883,7 @@ export type GqlChainInfoFragmentFragment = {
2121
1883
  cb: string;
2122
1884
  cfei: string;
2123
1885
  cfsi: string;
1886
+ croo: string;
2124
1887
  div: string;
2125
1888
  divi: string;
2126
1889
  ecr1: string;
@@ -2216,15 +1979,6 @@ export type GqlChainInfoFragmentFragment = {
2216
1979
  base: string;
2217
1980
  unitsPerGas: string;
2218
1981
  };
2219
- croo: {
2220
- __typename: 'HeavyOperation';
2221
- base: string;
2222
- gasPerUnit: string;
2223
- } | {
2224
- __typename: 'LightOperation';
2225
- base: string;
2226
- unitsPerGas: string;
2227
- };
2228
1982
  csiz: {
2229
1983
  __typename: 'HeavyOperation';
2230
1984
  base: string;
@@ -2421,6 +2175,15 @@ export type GqlNodeInfoFragmentFragment = {
2421
2175
  maxTx: string;
2422
2176
  maxDepth: string;
2423
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
+ }>;
2424
2187
  };
2425
2188
  export type GqlGetNodeInfoQueryVariables = Exact<{
2426
2189
  [key: string]: never;
@@ -2435,6 +2198,15 @@ export type GqlGetNodeInfoQuery = {
2435
2198
  maxTx: string;
2436
2199
  maxDepth: string;
2437
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
+ }>;
2438
2210
  };
2439
2211
  };
2440
2212
  export type GqlGetChainQueryVariables = Exact<{
@@ -2449,9 +2221,9 @@ export type GqlGetChainQuery = {
2449
2221
  latestBlock: {
2450
2222
  __typename: 'Block';
2451
2223
  id: string;
2452
- height: any;
2453
2224
  header: {
2454
2225
  __typename: 'Header';
2226
+ height: any;
2455
2227
  time: string;
2456
2228
  };
2457
2229
  transactions: Array<{
@@ -2507,6 +2279,7 @@ export type GqlGetChainQuery = {
2507
2279
  cb: string;
2508
2280
  cfei: string;
2509
2281
  cfsi: string;
2282
+ croo: string;
2510
2283
  div: string;
2511
2284
  divi: string;
2512
2285
  ecr1: string;
@@ -2602,15 +2375,6 @@ export type GqlGetChainQuery = {
2602
2375
  base: string;
2603
2376
  unitsPerGas: string;
2604
2377
  };
2605
- croo: {
2606
- __typename: 'HeavyOperation';
2607
- base: string;
2608
- gasPerUnit: string;
2609
- } | {
2610
- __typename: 'LightOperation';
2611
- base: string;
2612
- unitsPerGas: string;
2613
- };
2614
2378
  csiz: {
2615
2379
  __typename: 'HeavyOperation';
2616
2380
  base: string;
@@ -2786,46 +2550,53 @@ export type GqlGetTransactionQuery = {
2786
2550
  __typename: 'Transaction';
2787
2551
  id: string;
2788
2552
  rawPayload: string;
2789
- status?: {
2790
- __typename: 'FailureStatus';
2791
- time: string;
2792
- reason: string;
2793
- type: 'FailureStatus';
2553
+ gasPrice?: string | null;
2554
+ receipts?: Array<{
2555
+ __typename: 'Receipt';
2556
+ pc?: string | null;
2557
+ is?: string | null;
2558
+ toAddress?: string | null;
2559
+ amount?: string | null;
2560
+ assetId?: string | null;
2561
+ gas?: string | null;
2562
+ param1?: string | null;
2563
+ param2?: string | null;
2564
+ val?: string | null;
2565
+ ptr?: string | null;
2566
+ digest?: string | null;
2567
+ reason?: string | null;
2568
+ ra?: string | null;
2569
+ rb?: string | null;
2570
+ rc?: string | null;
2571
+ rd?: string | null;
2572
+ len?: string | null;
2573
+ receiptType: GqlReceiptType;
2574
+ result?: string | null;
2575
+ gasUsed?: string | null;
2576
+ data?: string | null;
2577
+ sender?: string | null;
2578
+ recipient?: string | null;
2579
+ nonce?: string | null;
2580
+ contractId?: string | null;
2581
+ subId?: string | null;
2582
+ contract?: {
2583
+ __typename: 'Contract';
2584
+ id: string;
2585
+ } | null;
2586
+ to?: {
2587
+ __typename: 'Contract';
2588
+ id: string;
2589
+ } | null;
2590
+ }> | null;
2591
+ status?: {
2592
+ __typename: 'FailureStatus';
2593
+ time: string;
2594
+ reason: string;
2595
+ type: 'FailureStatus';
2794
2596
  block: {
2795
2597
  __typename: 'Block';
2796
2598
  id: string;
2797
2599
  };
2798
- receipts: Array<{
2799
- __typename: 'Receipt';
2800
- id?: string | null;
2801
- pc?: string | null;
2802
- is?: string | null;
2803
- to?: string | null;
2804
- toAddress?: string | null;
2805
- amount?: string | null;
2806
- assetId?: string | null;
2807
- gas?: string | null;
2808
- param1?: string | null;
2809
- param2?: string | null;
2810
- val?: string | null;
2811
- ptr?: string | null;
2812
- digest?: string | null;
2813
- reason?: string | null;
2814
- ra?: string | null;
2815
- rb?: string | null;
2816
- rc?: string | null;
2817
- rd?: string | null;
2818
- len?: string | null;
2819
- receiptType: GqlReceiptType;
2820
- result?: string | null;
2821
- gasUsed?: string | null;
2822
- data?: string | null;
2823
- sender?: string | null;
2824
- recipient?: string | null;
2825
- nonce?: string | null;
2826
- contractId?: string | null;
2827
- subId?: string | null;
2828
- }>;
2829
2600
  } | {
2830
2601
  __typename: 'SqueezedOutStatus';
2831
2602
  reason: string;
@@ -2842,37 +2613,6 @@ export type GqlGetTransactionQuery = {
2842
2613
  __typename: 'Block';
2843
2614
  id: string;
2844
2615
  };
2845
- receipts: Array<{
2846
- __typename: 'Receipt';
2847
- id?: string | null;
2848
- pc?: string | null;
2849
- is?: string | null;
2850
- to?: string | null;
2851
- toAddress?: string | null;
2852
- amount?: string | null;
2853
- assetId?: string | null;
2854
- gas?: string | null;
2855
- param1?: string | null;
2856
- param2?: string | null;
2857
- val?: string | null;
2858
- ptr?: string | null;
2859
- digest?: string | null;
2860
- reason?: string | null;
2861
- ra?: string | null;
2862
- rb?: string | null;
2863
- rc?: string | null;
2864
- rd?: string | null;
2865
- len?: string | null;
2866
- receiptType: GqlReceiptType;
2867
- result?: string | null;
2868
- gasUsed?: string | null;
2869
- data?: string | null;
2870
- sender?: string | null;
2871
- recipient?: string | null;
2872
- nonce?: string | null;
2873
- contractId?: string | null;
2874
- subId?: string | null;
2875
- }>;
2876
2616
  programState?: {
2877
2617
  __typename: 'ProgramState';
2878
2618
  returnType: GqlReturnType;
@@ -2890,6 +2630,44 @@ export type GqlGetTransactionWithReceiptsQuery = {
2890
2630
  __typename: 'Transaction';
2891
2631
  id: string;
2892
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;
2893
2671
  status?: {
2894
2672
  __typename: 'FailureStatus';
2895
2673
  time: string;
@@ -2899,37 +2677,6 @@ export type GqlGetTransactionWithReceiptsQuery = {
2899
2677
  __typename: 'Block';
2900
2678
  id: string;
2901
2679
  };
2902
- receipts: Array<{
2903
- __typename: 'Receipt';
2904
- id?: string | null;
2905
- pc?: string | null;
2906
- is?: string | null;
2907
- to?: string | null;
2908
- toAddress?: string | null;
2909
- amount?: string | null;
2910
- assetId?: string | null;
2911
- gas?: string | null;
2912
- param1?: string | null;
2913
- param2?: string | null;
2914
- val?: string | null;
2915
- ptr?: string | null;
2916
- digest?: string | null;
2917
- reason?: string | null;
2918
- ra?: string | null;
2919
- rb?: string | null;
2920
- rc?: string | null;
2921
- rd?: string | null;
2922
- len?: string | null;
2923
- receiptType: GqlReceiptType;
2924
- result?: string | null;
2925
- gasUsed?: string | null;
2926
- data?: string | null;
2927
- sender?: string | null;
2928
- recipient?: string | null;
2929
- nonce?: string | null;
2930
- contractId?: string | null;
2931
- subId?: string | null;
2932
- }>;
2933
2680
  } | {
2934
2681
  __typename: 'SqueezedOutStatus';
2935
2682
  reason: string;
@@ -2946,37 +2693,6 @@ export type GqlGetTransactionWithReceiptsQuery = {
2946
2693
  __typename: 'Block';
2947
2694
  id: string;
2948
2695
  };
2949
- receipts: Array<{
2950
- __typename: 'Receipt';
2951
- id?: string | null;
2952
- pc?: string | null;
2953
- is?: string | null;
2954
- to?: string | null;
2955
- toAddress?: string | null;
2956
- amount?: string | null;
2957
- assetId?: string | null;
2958
- gas?: string | null;
2959
- param1?: string | null;
2960
- param2?: string | null;
2961
- val?: string | null;
2962
- ptr?: string | null;
2963
- digest?: string | null;
2964
- reason?: string | null;
2965
- ra?: string | null;
2966
- rb?: string | null;
2967
- rc?: string | null;
2968
- rd?: string | null;
2969
- len?: string | null;
2970
- receiptType: GqlReceiptType;
2971
- result?: string | null;
2972
- gasUsed?: string | null;
2973
- data?: string | null;
2974
- sender?: string | null;
2975
- recipient?: string | null;
2976
- nonce?: string | null;
2977
- contractId?: string | null;
2978
- subId?: string | null;
2979
- }>;
2980
2696
  programState?: {
2981
2697
  __typename: 'ProgramState';
2982
2698
  returnType: GqlReturnType;
@@ -3001,6 +2717,44 @@ export type GqlGetTransactionsQuery = {
3001
2717
  __typename: 'Transaction';
3002
2718
  id: string;
3003
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;
3004
2758
  status?: {
3005
2759
  __typename: 'FailureStatus';
3006
2760
  time: string;
@@ -3010,37 +2764,6 @@ export type GqlGetTransactionsQuery = {
3010
2764
  __typename: 'Block';
3011
2765
  id: string;
3012
2766
  };
3013
- receipts: Array<{
3014
- __typename: 'Receipt';
3015
- id?: string | null;
3016
- pc?: string | null;
3017
- is?: string | null;
3018
- to?: string | null;
3019
- toAddress?: string | null;
3020
- amount?: string | null;
3021
- assetId?: string | null;
3022
- gas?: string | null;
3023
- param1?: string | null;
3024
- param2?: string | null;
3025
- val?: string | null;
3026
- ptr?: string | null;
3027
- digest?: string | null;
3028
- reason?: string | null;
3029
- ra?: string | null;
3030
- rb?: string | null;
3031
- rc?: string | null;
3032
- rd?: string | null;
3033
- len?: string | null;
3034
- receiptType: GqlReceiptType;
3035
- result?: string | null;
3036
- gasUsed?: string | null;
3037
- data?: string | null;
3038
- sender?: string | null;
3039
- recipient?: string | null;
3040
- nonce?: string | null;
3041
- contractId?: string | null;
3042
- subId?: string | null;
3043
- }>;
3044
2767
  } | {
3045
2768
  __typename: 'SqueezedOutStatus';
3046
2769
  reason: string;
@@ -3057,37 +2780,6 @@ export type GqlGetTransactionsQuery = {
3057
2780
  __typename: 'Block';
3058
2781
  id: string;
3059
2782
  };
3060
- receipts: Array<{
3061
- __typename: 'Receipt';
3062
- id?: string | null;
3063
- pc?: string | null;
3064
- is?: string | null;
3065
- to?: string | null;
3066
- toAddress?: string | null;
3067
- amount?: string | null;
3068
- assetId?: string | null;
3069
- gas?: string | null;
3070
- param1?: string | null;
3071
- param2?: string | null;
3072
- val?: string | null;
3073
- ptr?: string | null;
3074
- digest?: string | null;
3075
- reason?: string | null;
3076
- ra?: string | null;
3077
- rb?: string | null;
3078
- rc?: string | null;
3079
- rd?: string | null;
3080
- len?: string | null;
3081
- receiptType: GqlReceiptType;
3082
- result?: string | null;
3083
- gasUsed?: string | null;
3084
- data?: string | null;
3085
- sender?: string | null;
3086
- recipient?: string | null;
3087
- nonce?: string | null;
3088
- contractId?: string | null;
3089
- subId?: string | null;
3090
- }>;
3091
2783
  programState?: {
3092
2784
  __typename: 'ProgramState';
3093
2785
  returnType: GqlReturnType;
@@ -3122,6 +2814,44 @@ export type GqlGetTransactionsByOwnerQuery = {
3122
2814
  __typename: 'Transaction';
3123
2815
  id: string;
3124
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;
3125
2855
  status?: {
3126
2856
  __typename: 'FailureStatus';
3127
2857
  time: string;
@@ -3131,37 +2861,6 @@ export type GqlGetTransactionsByOwnerQuery = {
3131
2861
  __typename: 'Block';
3132
2862
  id: string;
3133
2863
  };
3134
- receipts: Array<{
3135
- __typename: 'Receipt';
3136
- id?: string | null;
3137
- pc?: string | null;
3138
- is?: string | null;
3139
- to?: string | null;
3140
- toAddress?: string | null;
3141
- amount?: string | null;
3142
- assetId?: string | null;
3143
- gas?: string | null;
3144
- param1?: string | null;
3145
- param2?: string | null;
3146
- val?: string | null;
3147
- ptr?: string | null;
3148
- digest?: string | null;
3149
- reason?: string | null;
3150
- ra?: string | null;
3151
- rb?: string | null;
3152
- rc?: string | null;
3153
- rd?: string | null;
3154
- len?: string | null;
3155
- receiptType: GqlReceiptType;
3156
- result?: string | null;
3157
- gasUsed?: string | null;
3158
- data?: string | null;
3159
- sender?: string | null;
3160
- recipient?: string | null;
3161
- nonce?: string | null;
3162
- contractId?: string | null;
3163
- subId?: string | null;
3164
- }>;
3165
2864
  } | {
3166
2865
  __typename: 'SqueezedOutStatus';
3167
2866
  reason: string;
@@ -3178,37 +2877,6 @@ export type GqlGetTransactionsByOwnerQuery = {
3178
2877
  __typename: 'Block';
3179
2878
  id: string;
3180
2879
  };
3181
- receipts: Array<{
3182
- __typename: 'Receipt';
3183
- id?: string | null;
3184
- pc?: string | null;
3185
- is?: string | null;
3186
- to?: string | null;
3187
- toAddress?: string | null;
3188
- amount?: string | null;
3189
- assetId?: string | null;
3190
- gas?: string | null;
3191
- param1?: string | null;
3192
- param2?: string | null;
3193
- val?: string | null;
3194
- ptr?: string | null;
3195
- digest?: string | null;
3196
- reason?: string | null;
3197
- ra?: string | null;
3198
- rb?: string | null;
3199
- rc?: string | null;
3200
- rd?: string | null;
3201
- len?: string | null;
3202
- receiptType: GqlReceiptType;
3203
- result?: string | null;
3204
- gasUsed?: string | null;
3205
- data?: string | null;
3206
- sender?: string | null;
3207
- recipient?: string | null;
3208
- nonce?: string | null;
3209
- contractId?: string | null;
3210
- subId?: string | null;
3211
- }>;
3212
2880
  programState?: {
3213
2881
  __typename: 'ProgramState';
3214
2882
  returnType: GqlReturnType;
@@ -3246,9 +2914,9 @@ export type GqlGetBlockQuery = {
3246
2914
  block?: {
3247
2915
  __typename: 'Block';
3248
2916
  id: string;
3249
- height: any;
3250
2917
  header: {
3251
2918
  __typename: 'Header';
2919
+ height: any;
3252
2920
  time: string;
3253
2921
  };
3254
2922
  transactions: Array<{
@@ -3266,11 +2934,48 @@ export type GqlGetBlockWithTransactionsQuery = {
3266
2934
  block?: {
3267
2935
  __typename: 'Block';
3268
2936
  id: string;
3269
- height: any;
3270
2937
  transactions: Array<{
3271
2938
  __typename: 'Transaction';
3272
2939
  id: string;
3273
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;
3274
2979
  status?: {
3275
2980
  __typename: 'FailureStatus';
3276
2981
  time: string;
@@ -3280,37 +2985,6 @@ export type GqlGetBlockWithTransactionsQuery = {
3280
2985
  __typename: 'Block';
3281
2986
  id: string;
3282
2987
  };
3283
- receipts: Array<{
3284
- __typename: 'Receipt';
3285
- id?: string | null;
3286
- pc?: string | null;
3287
- is?: string | null;
3288
- to?: string | null;
3289
- toAddress?: string | null;
3290
- amount?: string | null;
3291
- assetId?: string | null;
3292
- gas?: string | null;
3293
- param1?: string | null;
3294
- param2?: string | null;
3295
- val?: string | null;
3296
- ptr?: string | null;
3297
- digest?: string | null;
3298
- reason?: string | null;
3299
- ra?: string | null;
3300
- rb?: string | null;
3301
- rc?: string | null;
3302
- rd?: string | null;
3303
- len?: string | null;
3304
- receiptType: GqlReceiptType;
3305
- result?: string | null;
3306
- gasUsed?: string | null;
3307
- data?: string | null;
3308
- sender?: string | null;
3309
- recipient?: string | null;
3310
- nonce?: string | null;
3311
- contractId?: string | null;
3312
- subId?: string | null;
3313
- }>;
3314
2988
  } | {
3315
2989
  __typename: 'SqueezedOutStatus';
3316
2990
  reason: string;
@@ -3327,37 +3001,6 @@ export type GqlGetBlockWithTransactionsQuery = {
3327
3001
  __typename: 'Block';
3328
3002
  id: string;
3329
3003
  };
3330
- receipts: Array<{
3331
- __typename: 'Receipt';
3332
- id?: string | null;
3333
- pc?: string | null;
3334
- is?: string | null;
3335
- to?: string | null;
3336
- toAddress?: string | null;
3337
- amount?: string | null;
3338
- assetId?: string | null;
3339
- gas?: string | null;
3340
- param1?: string | null;
3341
- param2?: string | null;
3342
- val?: string | null;
3343
- ptr?: string | null;
3344
- digest?: string | null;
3345
- reason?: string | null;
3346
- ra?: string | null;
3347
- rb?: string | null;
3348
- rc?: string | null;
3349
- rd?: string | null;
3350
- len?: string | null;
3351
- receiptType: GqlReceiptType;
3352
- result?: string | null;
3353
- gasUsed?: string | null;
3354
- data?: string | null;
3355
- sender?: string | null;
3356
- recipient?: string | null;
3357
- nonce?: string | null;
3358
- contractId?: string | null;
3359
- subId?: string | null;
3360
- }>;
3361
3004
  programState?: {
3362
3005
  __typename: 'ProgramState';
3363
3006
  returnType: GqlReturnType;
@@ -3367,6 +3010,7 @@ export type GqlGetBlockWithTransactionsQuery = {
3367
3010
  }>;
3368
3011
  header: {
3369
3012
  __typename: 'Header';
3013
+ height: any;
3370
3014
  time: string;
3371
3015
  };
3372
3016
  } | null;
@@ -3386,9 +3030,9 @@ export type GqlGetBlocksQuery = {
3386
3030
  node: {
3387
3031
  __typename: 'Block';
3388
3032
  id: string;
3389
- height: any;
3390
3033
  header: {
3391
3034
  __typename: 'Header';
3035
+ height: any;
3392
3036
  time: string;
3393
3037
  };
3394
3038
  transactions: Array<{
@@ -3410,6 +3054,7 @@ export type GqlGetCoinQuery = {
3410
3054
  owner: string;
3411
3055
  amount: string;
3412
3056
  assetId: string;
3057
+ maturity: any;
3413
3058
  blockCreated: any;
3414
3059
  txCreatedIdx: string;
3415
3060
  } | null;
@@ -3433,6 +3078,7 @@ export type GqlGetCoinsQuery = {
3433
3078
  owner: string;
3434
3079
  amount: string;
3435
3080
  assetId: string;
3081
+ maturity: any;
3436
3082
  blockCreated: any;
3437
3083
  txCreatedIdx: string;
3438
3084
  };
@@ -3452,6 +3098,7 @@ export type GqlGetCoinsToSpendQuery = {
3452
3098
  owner: string;
3453
3099
  amount: string;
3454
3100
  assetId: string;
3101
+ maturity: any;
3455
3102
  blockCreated: any;
3456
3103
  txCreatedIdx: string;
3457
3104
  } | {
@@ -3501,26 +3148,6 @@ export type GqlGetBalanceQuery = {
3501
3148
  assetId: string;
3502
3149
  };
3503
3150
  };
3504
- export type GqlGetLatestGasPriceQueryVariables = Exact<{
3505
- [key: string]: never;
3506
- }>;
3507
- export type GqlGetLatestGasPriceQuery = {
3508
- __typename: 'Query';
3509
- latestGasPrice: {
3510
- __typename: 'LatestGasPrice';
3511
- gasPrice: string;
3512
- };
3513
- };
3514
- export type GqlEstimateGasPriceQueryVariables = Exact<{
3515
- blockHorizon: Scalars['U32'];
3516
- }>;
3517
- export type GqlEstimateGasPriceQuery = {
3518
- __typename: 'Query';
3519
- estimateGasPrice: {
3520
- __typename: 'EstimateGasPrice';
3521
- gasPrice: string;
3522
- };
3523
- };
3524
3151
  export type GqlGetBalancesQueryVariables = Exact<{
3525
3152
  filter: GqlBalanceFilterInput;
3526
3153
  after?: InputMaybe<Scalars['String']>;
@@ -3632,61 +3259,47 @@ export type GqlGetMessageStatusQuery = {
3632
3259
  };
3633
3260
  };
3634
3261
  export type GqlDryRunMutationVariables = Exact<{
3635
- encodedTransactions: Array<Scalars['HexString']> | Scalars['HexString'];
3262
+ encodedTransaction: Scalars['HexString'];
3636
3263
  utxoValidation?: InputMaybe<Scalars['Boolean']>;
3637
3264
  }>;
3638
3265
  export type GqlDryRunMutation = {
3639
3266
  __typename: 'Mutation';
3640
3267
  dryRun: Array<{
3641
- __typename: 'DryRunTransactionExecutionStatus';
3642
- id: string;
3643
- status: {
3644
- __typename: 'DryRunFailureStatus';
3645
- reason: string;
3646
- programState?: {
3647
- __typename: 'ProgramState';
3648
- returnType: GqlReturnType;
3649
- data: string;
3650
- } | null;
3651
- } | {
3652
- __typename: 'DryRunSuccessStatus';
3653
- programState?: {
3654
- __typename: 'ProgramState';
3655
- returnType: GqlReturnType;
3656
- data: string;
3657
- } | null;
3658
- };
3659
- receipts: Array<{
3660
- __typename: 'Receipt';
3661
- id?: string | null;
3662
- pc?: string | null;
3663
- is?: string | null;
3664
- to?: string | null;
3665
- toAddress?: string | null;
3666
- amount?: string | null;
3667
- assetId?: string | null;
3668
- gas?: string | null;
3669
- param1?: string | null;
3670
- param2?: string | null;
3671
- val?: string | null;
3672
- ptr?: string | null;
3673
- digest?: string | null;
3674
- reason?: string | null;
3675
- ra?: string | null;
3676
- rb?: string | null;
3677
- rc?: string | null;
3678
- rd?: string | null;
3679
- len?: string | null;
3680
- receiptType: GqlReceiptType;
3681
- result?: string | null;
3682
- gasUsed?: string | null;
3683
- data?: string | null;
3684
- sender?: string | null;
3685
- recipient?: string | null;
3686
- nonce?: string | null;
3687
- contractId?: string | null;
3688
- subId?: string | null;
3689
- }>;
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;
3690
3303
  }>;
3691
3304
  };
3692
3305
  export type GqlSubmitMutationVariables = Exact<{
@@ -3721,37 +3334,6 @@ export type GqlSubmitAndAwaitSubscription = {
3721
3334
  __typename: 'Block';
3722
3335
  id: string;
3723
3336
  };
3724
- receipts: Array<{
3725
- __typename: 'Receipt';
3726
- id?: string | null;
3727
- pc?: string | null;
3728
- is?: string | null;
3729
- to?: string | null;
3730
- toAddress?: string | null;
3731
- amount?: string | null;
3732
- assetId?: string | null;
3733
- gas?: string | null;
3734
- param1?: string | null;
3735
- param2?: string | null;
3736
- val?: string | null;
3737
- ptr?: string | null;
3738
- digest?: string | null;
3739
- reason?: string | null;
3740
- ra?: string | null;
3741
- rb?: string | null;
3742
- rc?: string | null;
3743
- rd?: string | null;
3744
- len?: string | null;
3745
- receiptType: GqlReceiptType;
3746
- result?: string | null;
3747
- gasUsed?: string | null;
3748
- data?: string | null;
3749
- sender?: string | null;
3750
- recipient?: string | null;
3751
- nonce?: string | null;
3752
- contractId?: string | null;
3753
- subId?: string | null;
3754
- }>;
3755
3337
  } | {
3756
3338
  __typename: 'SqueezedOutStatus';
3757
3339
  reason: string;
@@ -3768,37 +3350,6 @@ export type GqlSubmitAndAwaitSubscription = {
3768
3350
  __typename: 'Block';
3769
3351
  id: string;
3770
3352
  };
3771
- receipts: Array<{
3772
- __typename: 'Receipt';
3773
- id?: string | null;
3774
- pc?: string | null;
3775
- is?: string | null;
3776
- to?: string | null;
3777
- toAddress?: string | null;
3778
- amount?: string | null;
3779
- assetId?: string | null;
3780
- gas?: string | null;
3781
- param1?: string | null;
3782
- param2?: string | null;
3783
- val?: string | null;
3784
- ptr?: string | null;
3785
- digest?: string | null;
3786
- reason?: string | null;
3787
- ra?: string | null;
3788
- rb?: string | null;
3789
- rc?: string | null;
3790
- rd?: string | null;
3791
- len?: string | null;
3792
- receiptType: GqlReceiptType;
3793
- result?: string | null;
3794
- gasUsed?: string | null;
3795
- data?: string | null;
3796
- sender?: string | null;
3797
- recipient?: string | null;
3798
- nonce?: string | null;
3799
- contractId?: string | null;
3800
- subId?: string | null;
3801
- }>;
3802
3353
  programState?: {
3803
3354
  __typename: 'ProgramState';
3804
3355
  returnType: GqlReturnType;
@@ -3820,37 +3371,6 @@ export type GqlStatusChangeSubscription = {
3820
3371
  __typename: 'Block';
3821
3372
  id: string;
3822
3373
  };
3823
- receipts: Array<{
3824
- __typename: 'Receipt';
3825
- id?: string | null;
3826
- pc?: string | null;
3827
- is?: string | null;
3828
- to?: string | null;
3829
- toAddress?: string | null;
3830
- amount?: string | null;
3831
- assetId?: string | null;
3832
- gas?: string | null;
3833
- param1?: string | null;
3834
- param2?: string | null;
3835
- val?: string | null;
3836
- ptr?: string | null;
3837
- digest?: string | null;
3838
- reason?: string | null;
3839
- ra?: string | null;
3840
- rb?: string | null;
3841
- rc?: string | null;
3842
- rd?: string | null;
3843
- len?: string | null;
3844
- receiptType: GqlReceiptType;
3845
- result?: string | null;
3846
- gasUsed?: string | null;
3847
- data?: string | null;
3848
- sender?: string | null;
3849
- recipient?: string | null;
3850
- nonce?: string | null;
3851
- contractId?: string | null;
3852
- subId?: string | null;
3853
- }>;
3854
3374
  } | {
3855
3375
  __typename: 'SqueezedOutStatus';
3856
3376
  reason: string;
@@ -3867,37 +3387,6 @@ export type GqlStatusChangeSubscription = {
3867
3387
  __typename: 'Block';
3868
3388
  id: string;
3869
3389
  };
3870
- receipts: Array<{
3871
- __typename: 'Receipt';
3872
- id?: string | null;
3873
- pc?: string | null;
3874
- is?: string | null;
3875
- to?: string | null;
3876
- toAddress?: string | null;
3877
- amount?: string | null;
3878
- assetId?: string | null;
3879
- gas?: string | null;
3880
- param1?: string | null;
3881
- param2?: string | null;
3882
- val?: string | null;
3883
- ptr?: string | null;
3884
- digest?: string | null;
3885
- reason?: string | null;
3886
- ra?: string | null;
3887
- rb?: string | null;
3888
- rc?: string | null;
3889
- rd?: string | null;
3890
- len?: string | null;
3891
- receiptType: GqlReceiptType;
3892
- result?: string | null;
3893
- gasUsed?: string | null;
3894
- data?: string | null;
3895
- sender?: string | null;
3896
- recipient?: string | null;
3897
- nonce?: string | null;
3898
- contractId?: string | null;
3899
- subId?: string | null;
3900
- }>;
3901
3390
  programState?: {
3902
3391
  __typename: 'ProgramState';
3903
3392
  returnType: GqlReturnType;
@@ -3910,10 +3399,6 @@ export declare const TransactionStatusFragmentFragmentDoc: DocumentNode;
3910
3399
  export declare const TransactionFragmentFragmentDoc: DocumentNode;
3911
3400
  export declare const InputEstimatePredicatesFragmentFragmentDoc: DocumentNode;
3912
3401
  export declare const TransactionEstimatePredicatesFragmentFragmentDoc: DocumentNode;
3913
- export declare const DryRunFailureStatusFragmentFragmentDoc: DocumentNode;
3914
- export declare const DryRunSuccessStatusFragmentFragmentDoc: DocumentNode;
3915
- export declare const DryRunTransactionStatusFragmentFragmentDoc: DocumentNode;
3916
- export declare const DryRunTransactionExecutionStatusFragmentFragmentDoc: DocumentNode;
3917
3402
  export declare const CoinFragmentFragmentDoc: DocumentNode;
3918
3403
  export declare const MessageCoinFragmentFragmentDoc: DocumentNode;
3919
3404
  export declare const MessageFragmentFragmentDoc: DocumentNode;
@@ -3949,8 +3434,6 @@ export declare const GetCoinsToSpendDocument: DocumentNode;
3949
3434
  export declare const GetContractDocument: DocumentNode;
3950
3435
  export declare const GetContractBalanceDocument: DocumentNode;
3951
3436
  export declare const GetBalanceDocument: DocumentNode;
3952
- export declare const GetLatestGasPriceDocument: DocumentNode;
3953
- export declare const EstimateGasPriceDocument: DocumentNode;
3954
3437
  export declare const GetBalancesDocument: DocumentNode;
3955
3438
  export declare const GetMessagesDocument: DocumentNode;
3956
3439
  export declare const GetMessageProofDocument: DocumentNode;
@@ -3979,8 +3462,6 @@ export declare function getSdk<C, E>(requester: Requester<C, E>): {
3979
3462
  getContract(variables: GqlGetContractQueryVariables, options?: C): Promise<GqlGetContractQuery>;
3980
3463
  getContractBalance(variables: GqlGetContractBalanceQueryVariables, options?: C): Promise<GqlGetContractBalanceQuery>;
3981
3464
  getBalance(variables: GqlGetBalanceQueryVariables, options?: C): Promise<GqlGetBalanceQuery>;
3982
- getLatestGasPrice(variables?: GqlGetLatestGasPriceQueryVariables, options?: C): Promise<GqlGetLatestGasPriceQuery>;
3983
- estimateGasPrice(variables: GqlEstimateGasPriceQueryVariables, options?: C): Promise<GqlEstimateGasPriceQuery>;
3984
3465
  getBalances(variables: GqlGetBalancesQueryVariables, options?: C): Promise<GqlGetBalancesQuery>;
3985
3466
  getMessages(variables: GqlGetMessagesQueryVariables, options?: C): Promise<GqlGetMessagesQuery>;
3986
3467
  getMessageProof(variables: GqlGetMessageProofQueryVariables, options?: C): Promise<GqlGetMessageProofQuery>;