@fuel-ts/account 0.100.3 → 0.100.5

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.
Files changed (67) hide show
  1. package/dist/account.d.ts +71 -3
  2. package/dist/account.d.ts.map +1 -1
  3. package/dist/connectors/fuel-connector.d.ts +3 -3
  4. package/dist/connectors/fuel-connector.d.ts.map +1 -1
  5. package/dist/index.global.js +1506 -221
  6. package/dist/index.global.js.map +1 -1
  7. package/dist/index.js +2222 -1027
  8. package/dist/index.js.map +1 -1
  9. package/dist/index.mjs +2021 -828
  10. package/dist/index.mjs.map +1 -1
  11. package/dist/predicate/predicate.d.ts +9 -4
  12. package/dist/predicate/predicate.d.ts.map +1 -1
  13. package/dist/providers/__generated__/operations.d.ts +1187 -76
  14. package/dist/providers/__generated__/operations.d.ts.map +1 -1
  15. package/dist/providers/assemble-tx-helpers.d.ts +39 -0
  16. package/dist/providers/assemble-tx-helpers.d.ts.map +1 -0
  17. package/dist/providers/fuel-graphql-subscriber.d.ts +28 -0
  18. package/dist/providers/fuel-graphql-subscriber.d.ts.map +1 -1
  19. package/dist/providers/index.d.ts +1 -0
  20. package/dist/providers/index.d.ts.map +1 -1
  21. package/dist/providers/provider.d.ts +85 -6
  22. package/dist/providers/provider.d.ts.map +1 -1
  23. package/dist/providers/resource.d.ts +4 -1
  24. package/dist/providers/resource.d.ts.map +1 -1
  25. package/dist/providers/transaction-request/helpers.d.ts +3 -3
  26. package/dist/providers/transaction-request/helpers.d.ts.map +1 -1
  27. package/dist/providers/transaction-request/input.d.ts +2 -0
  28. package/dist/providers/transaction-request/input.d.ts.map +1 -1
  29. package/dist/providers/transaction-request/output.d.ts +6 -0
  30. package/dist/providers/transaction-request/output.d.ts.map +1 -1
  31. package/dist/providers/transaction-request/script-transaction-request.d.ts +11 -0
  32. package/dist/providers/transaction-request/script-transaction-request.d.ts.map +1 -1
  33. package/dist/providers/transaction-request/transaction-request.d.ts +3 -3
  34. package/dist/providers/transaction-request/transaction-request.d.ts.map +1 -1
  35. package/dist/providers/transaction-response/getAllDecodedLogs.d.ts.map +1 -1
  36. package/dist/providers/transaction-response/transaction-response.d.ts +54 -15
  37. package/dist/providers/transaction-response/transaction-response.d.ts.map +1 -1
  38. package/dist/providers/transaction-summary/assemble-transaction-summary.d.ts +12 -1
  39. package/dist/providers/transaction-summary/assemble-transaction-summary.d.ts.map +1 -1
  40. package/dist/providers/transaction-summary/get-transaction-summary.d.ts.map +1 -1
  41. package/dist/providers/transaction-summary/status.d.ts +16 -2
  42. package/dist/providers/transaction-summary/status.d.ts.map +1 -1
  43. package/dist/providers/transaction-summary/types.d.ts +85 -4
  44. package/dist/providers/transaction-summary/types.d.ts.map +1 -1
  45. package/dist/providers/utils/handle-gql-error-message.d.ts.map +1 -1
  46. package/dist/providers/utils/index.d.ts +1 -0
  47. package/dist/providers/utils/index.d.ts.map +1 -1
  48. package/dist/providers/utils/parse-graphql-response.d.ts +12 -0
  49. package/dist/providers/utils/parse-graphql-response.d.ts.map +1 -0
  50. package/dist/providers/utils/serialization.d.ts +9 -0
  51. package/dist/providers/utils/serialization.d.ts.map +1 -1
  52. package/dist/providers/utils/transaction-response-serialization.d.ts +8 -0
  53. package/dist/providers/utils/transaction-response-serialization.d.ts.map +1 -0
  54. package/dist/test-utils/launchNode.d.ts.map +1 -1
  55. package/dist/test-utils/setup-test-provider-and-wallets.d.ts.map +1 -1
  56. package/dist/test-utils.global.js +1500 -205
  57. package/dist/test-utils.global.js.map +1 -1
  58. package/dist/test-utils.js +2091 -901
  59. package/dist/test-utils.js.map +1 -1
  60. package/dist/test-utils.mjs +1938 -742
  61. package/dist/test-utils.mjs.map +1 -1
  62. package/dist/utils/deployScriptOrPredicate.d.ts.map +1 -1
  63. package/dist/utils/split-coins-into-batches.d.ts +3 -0
  64. package/dist/utils/split-coins-into-batches.d.ts.map +1 -0
  65. package/package.json +15 -15
  66. package/dist/providers/utils/helpers.d.ts +0 -14
  67. package/dist/providers/utils/helpers.d.ts.map +0 -1
@@ -123,6 +123,15 @@ export type Scalars = {
123
123
  output: string;
124
124
  };
125
125
  };
126
+ export type GqlAccount = {
127
+ address?: InputMaybe<Scalars['Address']['input']>;
128
+ predicate?: InputMaybe<GqlPredicate>;
129
+ };
130
+ export type GqlAssembleTransactionResult = {
131
+ gasPrice: Scalars['U64']['output'];
132
+ status: GqlDryRunTransactionStatus;
133
+ transaction: GqlTransaction;
134
+ };
126
135
  export type GqlAssetInfoDetails = {
127
136
  contractId: Scalars['ContractId']['output'];
128
137
  subId: Scalars['SubId']['output'];
@@ -201,6 +210,15 @@ export type GqlChangeOutput = {
201
210
  assetId: Scalars['AssetId']['output'];
202
211
  to: Scalars['Address']['output'];
203
212
  };
213
+ export type GqlChangePolicy = {
214
+ /**
215
+ * Adds `Output::Change` to the transaction if it is not already present.
216
+ * Sending remaining assets to the provided address.
217
+ */
218
+ change?: InputMaybe<Scalars['Address']['input']>;
219
+ /** Destroys the remaining assets by the transaction for provided address. */
220
+ destroy?: InputMaybe<GqlDestroy>;
221
+ };
204
222
  export type GqlCoin = {
205
223
  amount: Scalars['U64']['output'];
206
224
  assetId: Scalars['AssetId']['output'];
@@ -311,6 +329,9 @@ export type GqlDaCompressedBlock = {
311
329
  bytes: Scalars['HexString']['output'];
312
330
  };
313
331
  export type GqlDependentCost = GqlHeavyOperation | GqlLightOperation;
332
+ export declare enum GqlDestroy {
333
+ Destroy = "DESTROY"
334
+ }
314
335
  export type GqlDryRunFailureStatus = {
315
336
  programState?: Maybe<GqlProgramState>;
316
337
  reason: Scalars['String']['output'];
@@ -318,6 +339,10 @@ export type GqlDryRunFailureStatus = {
318
339
  totalFee: Scalars['U64']['output'];
319
340
  totalGas: Scalars['U64']['output'];
320
341
  };
342
+ export type GqlDryRunStorageReads = {
343
+ storageReads: Array<GqlStorageReadReplayEvent>;
344
+ txStatuses: Array<GqlDryRunTransactionExecutionStatus>;
345
+ };
321
346
  export type GqlDryRunSuccessStatus = {
322
347
  programState?: Maybe<GqlProgramState>;
323
348
  receipts: Array<GqlReceipt>;
@@ -525,11 +550,14 @@ export type GqlHeader = {
525
550
  transactionsCount: Scalars['U16']['output'];
526
551
  /** Merkle root of transactions. */
527
552
  transactionsRoot: Scalars['Bytes32']['output'];
553
+ /** Transaction ID Commitment */
554
+ txIdCommitment?: Maybe<Scalars['Bytes32']['output']>;
528
555
  /** Version of the header */
529
556
  version: GqlHeaderVersion;
530
557
  };
531
558
  export declare enum GqlHeaderVersion {
532
- V1 = "V1"
559
+ V1 = "V1",
560
+ V2 = "V2"
533
561
  }
534
562
  export type GqlHeavyOperation = {
535
563
  base: Scalars['U64']['output'];
@@ -553,7 +581,7 @@ export type GqlInputCoin = {
553
581
  predicateGasUsed: Scalars['U64']['output'];
554
582
  txPointer: Scalars['TxPointer']['output'];
555
583
  utxoId: Scalars['UtxoId']['output'];
556
- witnessIndex: Scalars['Int']['output'];
584
+ witnessIndex: Scalars['U16']['output'];
557
585
  };
558
586
  export type GqlInputContract = {
559
587
  balanceRoot: Scalars['Bytes32']['output'];
@@ -641,7 +669,10 @@ export type GqlMutation = {
641
669
  * Runs until the next breakpoint or until the transaction completes.
642
670
  */
643
671
  continueTx: GqlRunResult;
644
- /** Execute a dry-run of multiple transactions using a fork of current state, no changes are committed. */
672
+ /**
673
+ * Execute a dry-run of multiple transactions using a fork of current state, no changes are committed.
674
+ * @deprecated This doesn't need to be a mutation. Use query of the same name instead.
675
+ */
645
676
  dryRun: Array<GqlDryRunTransactionExecutionStatus>;
646
677
  /** End debugger session. */
647
678
  endSession: Scalars['Boolean']['output'];
@@ -683,6 +714,7 @@ export type GqlMutationContinueTxArgs = {
683
714
  id: Scalars['ID']['input'];
684
715
  };
685
716
  export type GqlMutationDryRunArgs = {
717
+ blockHeight?: InputMaybe<Scalars['U32']['input']>;
686
718
  gasPrice?: InputMaybe<Scalars['U64']['input']>;
687
719
  txs: Array<Scalars['HexString']['input']>;
688
720
  utxoValidation?: InputMaybe<Scalars['Boolean']['input']>;
@@ -714,6 +746,7 @@ export type GqlMutationStartTxArgs = {
714
746
  txJson: Scalars['String']['input'];
715
747
  };
716
748
  export type GqlMutationSubmitArgs = {
749
+ estimatePredicates?: InputMaybe<Scalars['Boolean']['input']>;
717
750
  tx: Scalars['HexString']['input'];
718
751
  };
719
752
  export type GqlNodeInfo = {
@@ -772,6 +805,30 @@ export type GqlPolicies = {
772
805
  tip?: Maybe<Scalars['U64']['output']>;
773
806
  witnessLimit?: Maybe<Scalars['U64']['output']>;
774
807
  };
808
+ export type GqlPreconfirmationFailureStatus = {
809
+ reason: Scalars['String']['output'];
810
+ receipts?: Maybe<Array<GqlReceipt>>;
811
+ resolvedOutputs?: Maybe<Array<GqlResolvedOutput>>;
812
+ totalFee: Scalars['U64']['output'];
813
+ totalGas: Scalars['U64']['output'];
814
+ transaction?: Maybe<GqlTransaction>;
815
+ transactionId: Scalars['TransactionId']['output'];
816
+ txPointer: Scalars['TxPointer']['output'];
817
+ };
818
+ export type GqlPreconfirmationSuccessStatus = {
819
+ receipts?: Maybe<Array<GqlReceipt>>;
820
+ resolvedOutputs?: Maybe<Array<GqlResolvedOutput>>;
821
+ totalFee: Scalars['U64']['output'];
822
+ totalGas: Scalars['U64']['output'];
823
+ transaction?: Maybe<GqlTransaction>;
824
+ transactionId: Scalars['TransactionId']['output'];
825
+ txPointer: Scalars['TxPointer']['output'];
826
+ };
827
+ export type GqlPredicate = {
828
+ predicate: Scalars['HexString']['input'];
829
+ predicateAddress: Scalars['Address']['input'];
830
+ predicateData: Scalars['HexString']['input'];
831
+ };
775
832
  export type GqlPredicateParameters = {
776
833
  maxGasPerPredicate: Scalars['U64']['output'];
777
834
  maxMessageDataLength: Scalars['U64']['output'];
@@ -787,6 +844,31 @@ export type GqlProgramState = {
787
844
  returnType: GqlReturnType;
788
845
  };
789
846
  export type GqlQuery = {
847
+ /**
848
+ * Assembles the transaction based on the provided requirements.
849
+ * The return transaction contains:
850
+ * - Input coins to cover `required_balances`
851
+ * - Input coins to cover the fee of the transaction based on the gas price from `block_horizon`
852
+ * - `Change` or `Destroy` outputs for all assets from the inputs
853
+ * - `Variable` outputs in the case they are required during the execution
854
+ * - `Contract` inputs and outputs in the case they are required during the execution
855
+ * - Reserved witness slots for signed coins filled with `64` zeroes
856
+ * - Set script gas limit(unless `script` is empty)
857
+ * - Estimated predicates, if `estimate_predicates == true`
858
+ *
859
+ * Returns an error if:
860
+ * - The number of required balances exceeds the maximum number of inputs allowed.
861
+ * - The fee address index is out of bounds.
862
+ * - The same asset has multiple change policies(either the receiver of
863
+ * the change is different, or one of the policies states about the destruction
864
+ * of the token while the other does not). The `Change` output from the transaction
865
+ * also count as a `ChangePolicy`.
866
+ * - The number of excluded coin IDs exceeds the maximum number of inputs allowed.
867
+ * - Required assets have multiple entries.
868
+ * - If accounts don't have sufficient amounts to cover the transaction requirements in assets.
869
+ * - If a constructed transaction breaks the rules defined by consensus parameters.
870
+ */
871
+ assembleTx: GqlAssembleTransactionResult;
790
872
  assetDetails: GqlAssetInfoDetails;
791
873
  balance: GqlBalance;
792
874
  balances: GqlBalanceConnection;
@@ -814,8 +896,27 @@ export type GqlQuery = {
814
896
  consensusParameters: GqlConsensusParameters;
815
897
  contract?: Maybe<GqlContract>;
816
898
  contractBalance: GqlContractBalance;
899
+ /**
900
+ * Get balance values for a contract at a specific block height.
901
+ * Use the latest block height if not provided.
902
+ * Requires historical execution config to be enabled.
903
+ */
904
+ contractBalanceValues: Array<GqlContractBalance>;
817
905
  contractBalances: GqlContractBalanceConnection;
906
+ /**
907
+ * Get storage slot values for a contract at a specific block height.
908
+ * Use the latest block height if not provided.
909
+ * Requires historical execution config to be enabled.
910
+ */
911
+ contractSlotValues: Array<GqlStorageSlot>;
818
912
  daCompressedBlock?: Maybe<GqlDaCompressedBlock>;
913
+ /** Execute a dry-run of multiple transactions using a fork of current state, no changes are committed. */
914
+ dryRun: Array<GqlDryRunTransactionExecutionStatus>;
915
+ /**
916
+ * Execute a dry-run of multiple transactions using a fork of current state, no changes are committed.
917
+ * Also records accesses, so the execution can be replicated locally.
918
+ */
919
+ dryRunRecordStorageReads: GqlDryRunStorageReads;
819
920
  estimateGasPrice: GqlEstimateGasPrice;
820
921
  /** Estimate the predicate gas for the provided transaction */
821
922
  estimatePredicates: GqlTransaction;
@@ -834,10 +935,21 @@ export type GqlQuery = {
834
935
  relayedTransactionStatus?: Maybe<GqlRelayedTransactionStatus>;
835
936
  stateTransitionBytecodeByRoot: GqlStateTransitionBytecode;
836
937
  stateTransitionBytecodeByVersion?: Maybe<GqlStateTransitionBytecode>;
938
+ /** Get execution trace for an already-executed block. */
939
+ storageReadReplay: Array<GqlStorageReadReplayEvent>;
837
940
  transaction?: Maybe<GqlTransaction>;
838
941
  transactions: GqlTransactionConnection;
839
942
  transactionsByOwner: GqlTransactionConnection;
840
943
  };
944
+ export type GqlQueryAssembleTxArgs = {
945
+ blockHorizon: Scalars['U32']['input'];
946
+ estimatePredicates?: InputMaybe<Scalars['Boolean']['input']>;
947
+ excludeInput?: InputMaybe<GqlExcludeInput>;
948
+ feeAddressIndex: Scalars['U16']['input'];
949
+ requiredBalances: Array<GqlRequiredBalance>;
950
+ reserveGas?: InputMaybe<Scalars['U64']['input']>;
951
+ tx: Scalars['HexString']['input'];
952
+ };
841
953
  export type GqlQueryAssetDetailsArgs = {
842
954
  id: Scalars['AssetId']['input'];
843
955
  };
@@ -890,6 +1002,11 @@ export type GqlQueryContractBalanceArgs = {
890
1002
  asset: Scalars['AssetId']['input'];
891
1003
  contract: Scalars['ContractId']['input'];
892
1004
  };
1005
+ export type GqlQueryContractBalanceValuesArgs = {
1006
+ assets: Array<Scalars['AssetId']['input']>;
1007
+ blockHeight?: InputMaybe<Scalars['U32']['input']>;
1008
+ contractId: Scalars['ContractId']['input'];
1009
+ };
893
1010
  export type GqlQueryContractBalancesArgs = {
894
1011
  after?: InputMaybe<Scalars['String']['input']>;
895
1012
  before?: InputMaybe<Scalars['String']['input']>;
@@ -897,9 +1014,26 @@ export type GqlQueryContractBalancesArgs = {
897
1014
  first?: InputMaybe<Scalars['Int']['input']>;
898
1015
  last?: InputMaybe<Scalars['Int']['input']>;
899
1016
  };
1017
+ export type GqlQueryContractSlotValuesArgs = {
1018
+ blockHeight?: InputMaybe<Scalars['U32']['input']>;
1019
+ contractId: Scalars['ContractId']['input'];
1020
+ storageSlots: Array<Scalars['Bytes32']['input']>;
1021
+ };
900
1022
  export type GqlQueryDaCompressedBlockArgs = {
901
1023
  height: Scalars['U32']['input'];
902
1024
  };
1025
+ export type GqlQueryDryRunArgs = {
1026
+ blockHeight?: InputMaybe<Scalars['U32']['input']>;
1027
+ gasPrice?: InputMaybe<Scalars['U64']['input']>;
1028
+ txs: Array<Scalars['HexString']['input']>;
1029
+ utxoValidation?: InputMaybe<Scalars['Boolean']['input']>;
1030
+ };
1031
+ export type GqlQueryDryRunRecordStorageReadsArgs = {
1032
+ blockHeight?: InputMaybe<Scalars['U32']['input']>;
1033
+ gasPrice?: InputMaybe<Scalars['U64']['input']>;
1034
+ txs: Array<Scalars['HexString']['input']>;
1035
+ utxoValidation?: InputMaybe<Scalars['Boolean']['input']>;
1036
+ };
903
1037
  export type GqlQueryEstimateGasPriceArgs = {
904
1038
  blockHorizon?: InputMaybe<Scalars['U32']['input']>;
905
1039
  };
@@ -943,6 +1077,9 @@ export type GqlQueryStateTransitionBytecodeByRootArgs = {
943
1077
  export type GqlQueryStateTransitionBytecodeByVersionArgs = {
944
1078
  version: Scalars['Int']['input'];
945
1079
  };
1080
+ export type GqlQueryStorageReadReplayArgs = {
1081
+ height: Scalars['U32']['input'];
1082
+ };
946
1083
  export type GqlQueryTransactionArgs = {
947
1084
  id: Scalars['TransactionId']['input'];
948
1085
  };
@@ -1010,6 +1147,16 @@ export type GqlRelayedTransactionFailed = {
1010
1147
  failure: Scalars['String']['output'];
1011
1148
  };
1012
1149
  export type GqlRelayedTransactionStatus = GqlRelayedTransactionFailed;
1150
+ export type GqlRequiredBalance = {
1151
+ account: GqlAccount;
1152
+ amount: Scalars['U64']['input'];
1153
+ assetId: Scalars['AssetId']['input'];
1154
+ changePolicy: GqlChangePolicy;
1155
+ };
1156
+ export type GqlResolvedOutput = {
1157
+ output: GqlOutput;
1158
+ utxoId: Scalars['UtxoId']['output'];
1159
+ };
1013
1160
  export declare enum GqlReturnType {
1014
1161
  Return = "RETURN",
1015
1162
  ReturnData = "RETURN_DATA",
@@ -1035,15 +1182,18 @@ export declare enum GqlScriptParametersVersion {
1035
1182
  V1 = "V1"
1036
1183
  }
1037
1184
  export type GqlSpendQueryElementInput = {
1185
+ /** If true, returns available coins instead of failing when the requested amount is unavailable. */
1186
+ allowPartial?: InputMaybe<Scalars['Boolean']['input']>;
1038
1187
  /** Target amount for the query. */
1039
- amount: Scalars['U64']['input'];
1188
+ amount: Scalars['U128']['input'];
1040
1189
  /** Identifier of the asset to spend. */
1041
1190
  assetId: Scalars['AssetId']['input'];
1042
1191
  /** The maximum number of currencies for selection. */
1043
- max?: InputMaybe<Scalars['U32']['input']>;
1192
+ max?: InputMaybe<Scalars['U16']['input']>;
1044
1193
  };
1045
1194
  export type GqlSqueezedOutStatus = {
1046
1195
  reason: Scalars['String']['output'];
1196
+ transactionId: Scalars['TransactionId']['output'];
1047
1197
  };
1048
1198
  export type GqlStateTransitionBytecode = {
1049
1199
  bytecode: GqlUploadedBytecode;
@@ -1052,16 +1202,27 @@ export type GqlStateTransitionBytecode = {
1052
1202
  export type GqlStateTransitionPurpose = {
1053
1203
  root: Scalars['Bytes32']['output'];
1054
1204
  };
1205
+ export type GqlStorageReadReplayEvent = {
1206
+ column: Scalars['U32']['output'];
1207
+ key: Scalars['HexString']['output'];
1208
+ value?: Maybe<Scalars['HexString']['output']>;
1209
+ };
1210
+ export type GqlStorageSlot = {
1211
+ key: Scalars['Bytes32']['output'];
1212
+ value: Scalars['HexString']['output'];
1213
+ };
1055
1214
  export type GqlSubmittedStatus = {
1056
1215
  time: Scalars['Tai64Timestamp']['output'];
1057
1216
  };
1058
1217
  export type GqlSubscription = {
1218
+ contractStorageBalances: GqlContractBalance;
1219
+ contractStorageSlots: GqlStorageSlot;
1059
1220
  /**
1060
1221
  * Returns a stream of status updates for the given transaction id.
1061
- * If the current status is [`TransactionStatus::Success`], [`TransactionStatus::SqueezedOut`]
1062
- * or [`TransactionStatus::Failed`] the stream will return that and end immediately.
1063
- * If the current status is [`TransactionStatus::Submitted`] this will be returned
1064
- * and the stream will wait for a future update.
1222
+ * If the current status is [`TransactionStatus::Success`], [`TransactionStatus::Failed`],
1223
+ * or [`TransactionStatus::SqueezedOut`] the stream will return that and end immediately.
1224
+ * Other, intermediate statuses will also be returned but the stream will remain active
1225
+ * and wait for a future updates.
1065
1226
  *
1066
1227
  * This stream will wait forever so it's advised to use within a timeout.
1067
1228
  *
@@ -1071,22 +1232,32 @@ export type GqlSubscription = {
1071
1232
  * the latest status.
1072
1233
  */
1073
1234
  statusChange: GqlTransactionStatus;
1074
- /** Submits transaction to the `TxPool` and await either confirmation or failure. */
1235
+ /** Submits transaction to the `TxPool` and await either success or failure. */
1075
1236
  submitAndAwait: GqlTransactionStatus;
1076
1237
  /**
1077
1238
  * Submits the transaction to the `TxPool` and returns a stream of events.
1078
- * Compared to the `submitAndAwait`, the stream also contains `
1079
- * SubmittedStatus` as an intermediate state.
1239
+ * Compared to the `submitAndAwait`, the stream also contains
1240
+ * `SubmittedStatus` and potentially preconfirmation as an intermediate state.
1080
1241
  */
1081
1242
  submitAndAwaitStatus: GqlTransactionStatus;
1082
1243
  };
1244
+ export type GqlSubscriptionContractStorageBalancesArgs = {
1245
+ contractId: Scalars['ContractId']['input'];
1246
+ };
1247
+ export type GqlSubscriptionContractStorageSlotsArgs = {
1248
+ contractId: Scalars['ContractId']['input'];
1249
+ };
1083
1250
  export type GqlSubscriptionStatusChangeArgs = {
1084
1251
  id: Scalars['TransactionId']['input'];
1252
+ includePreconfirmation?: InputMaybe<Scalars['Boolean']['input']>;
1085
1253
  };
1086
1254
  export type GqlSubscriptionSubmitAndAwaitArgs = {
1255
+ estimatePredicates?: InputMaybe<Scalars['Boolean']['input']>;
1087
1256
  tx: Scalars['HexString']['input'];
1088
1257
  };
1089
1258
  export type GqlSubscriptionSubmitAndAwaitStatusArgs = {
1259
+ estimatePredicates?: InputMaybe<Scalars['Boolean']['input']>;
1260
+ includePreconfirmation?: InputMaybe<Scalars['Boolean']['input']>;
1090
1261
  tx: Scalars['HexString']['input'];
1091
1262
  };
1092
1263
  export type GqlSuccessStatus = {
@@ -1138,6 +1309,9 @@ export type GqlTransaction = {
1138
1309
  upgradePurpose?: Maybe<GqlUpgradePurpose>;
1139
1310
  witnesses?: Maybe<Array<Scalars['HexString']['output']>>;
1140
1311
  };
1312
+ export type GqlTransactionStatusArgs = {
1313
+ includePreconfirmation?: InputMaybe<Scalars['Boolean']['input']>;
1314
+ };
1141
1315
  export type GqlTransactionConnection = {
1142
1316
  /** A list of edges. */
1143
1317
  edges: Array<GqlTransactionEdge>;
@@ -1153,7 +1327,7 @@ export type GqlTransactionEdge = {
1153
1327
  /** The item at the end of the edge */
1154
1328
  node: GqlTransaction;
1155
1329
  };
1156
- export type GqlTransactionStatus = GqlFailureStatus | GqlSqueezedOutStatus | GqlSubmittedStatus | GqlSuccessStatus;
1330
+ export type GqlTransactionStatus = GqlFailureStatus | GqlPreconfirmationFailureStatus | GqlPreconfirmationSuccessStatus | GqlSqueezedOutStatus | GqlSubmittedStatus | GqlSuccessStatus;
1157
1331
  export type GqlTxParameters = {
1158
1332
  maxBytecodeSubsections: Scalars['U16']['output'];
1159
1333
  maxGasPerTx: Scalars['U64']['output'];
@@ -1188,6 +1362,67 @@ export type GqlVariableOutput = {
1188
1362
  assetId: Scalars['AssetId']['output'];
1189
1363
  to: Scalars['Address']['output'];
1190
1364
  };
1365
+ export type GqlInputCoinFragment = {
1366
+ utxoId: string;
1367
+ owner: string;
1368
+ amount: string;
1369
+ assetId: string;
1370
+ txPointer: string;
1371
+ predicateGasUsed: string;
1372
+ predicate: string;
1373
+ predicateData: string;
1374
+ type: 'InputCoin';
1375
+ coinWitnessIndex: string;
1376
+ };
1377
+ export type GqlInputMessageFragment = {
1378
+ sender: string;
1379
+ recipient: string;
1380
+ amount: string;
1381
+ nonce: string;
1382
+ predicateGasUsed: string;
1383
+ data: string;
1384
+ predicate: string;
1385
+ predicateData: string;
1386
+ type: 'InputMessage';
1387
+ messageWitnessIndex: string;
1388
+ };
1389
+ export type GqlInputContractFragment = {
1390
+ utxoId: string;
1391
+ balanceRoot: string;
1392
+ stateRoot: string;
1393
+ txPointer: string;
1394
+ contractId: string;
1395
+ type: 'InputContract';
1396
+ };
1397
+ export type GqlOutputCoinFragment = {
1398
+ to: string;
1399
+ amount: string;
1400
+ assetId: string;
1401
+ type: 'CoinOutput';
1402
+ };
1403
+ export type GqlOutputContractFragment = {
1404
+ inputIndex: string;
1405
+ balanceRoot: string;
1406
+ stateRoot: string;
1407
+ type: 'ContractOutput';
1408
+ };
1409
+ export type GqlOutputChangeFragment = {
1410
+ to: string;
1411
+ amount: string;
1412
+ assetId: string;
1413
+ type: 'ChangeOutput';
1414
+ };
1415
+ export type GqlOutputVariableFragment = {
1416
+ to: string;
1417
+ amount: string;
1418
+ assetId: string;
1419
+ type: 'VariableOutput';
1420
+ };
1421
+ export type GqlOutputContractCreatedFragment = {
1422
+ contract: string;
1423
+ stateRoot: string;
1424
+ type: 'ContractCreated';
1425
+ };
1191
1426
  export type GqlSubmittedStatusFragment = {
1192
1427
  time: string;
1193
1428
  type: 'SubmittedStatus';
@@ -1356,6 +1591,133 @@ export type GqlSqueezedOutStatusFragment = {
1356
1591
  reason: string;
1357
1592
  type: 'SqueezedOutStatus';
1358
1593
  };
1594
+ export type GqlPreconfirmationSuccessStatusFragment = {
1595
+ totalGas: string;
1596
+ totalFee: string;
1597
+ type: 'PreconfirmationSuccessStatus';
1598
+ resolvedOutputs?: Array<{
1599
+ utxoId: string;
1600
+ output: {
1601
+ to: string;
1602
+ amount: string;
1603
+ assetId: string;
1604
+ type: 'ChangeOutput';
1605
+ } | {
1606
+ to: string;
1607
+ amount: string;
1608
+ assetId: string;
1609
+ type: 'CoinOutput';
1610
+ } | {
1611
+ contract: string;
1612
+ stateRoot: string;
1613
+ type: 'ContractCreated';
1614
+ } | {
1615
+ inputIndex: string;
1616
+ balanceRoot: string;
1617
+ stateRoot: string;
1618
+ type: 'ContractOutput';
1619
+ } | {
1620
+ to: string;
1621
+ amount: string;
1622
+ assetId: string;
1623
+ type: 'VariableOutput';
1624
+ };
1625
+ }> | null;
1626
+ preconfirmationReceipts?: Array<{
1627
+ id?: string | null;
1628
+ pc?: string | null;
1629
+ is?: string | null;
1630
+ to?: string | null;
1631
+ toAddress?: string | null;
1632
+ amount?: string | null;
1633
+ assetId?: string | null;
1634
+ gas?: string | null;
1635
+ param1?: string | null;
1636
+ param2?: string | null;
1637
+ val?: string | null;
1638
+ ptr?: string | null;
1639
+ digest?: string | null;
1640
+ reason?: string | null;
1641
+ ra?: string | null;
1642
+ rb?: string | null;
1643
+ rc?: string | null;
1644
+ rd?: string | null;
1645
+ len?: string | null;
1646
+ receiptType: GqlReceiptType;
1647
+ result?: string | null;
1648
+ gasUsed?: string | null;
1649
+ data?: string | null;
1650
+ sender?: string | null;
1651
+ recipient?: string | null;
1652
+ nonce?: string | null;
1653
+ contractId?: string | null;
1654
+ subId?: string | null;
1655
+ }> | null;
1656
+ };
1657
+ export type GqlPreconfirmationFailureStatusFragment = {
1658
+ reason: string;
1659
+ totalGas: string;
1660
+ totalFee: string;
1661
+ type: 'PreconfirmationFailureStatus';
1662
+ resolvedOutputs?: Array<{
1663
+ utxoId: string;
1664
+ output: {
1665
+ to: string;
1666
+ amount: string;
1667
+ assetId: string;
1668
+ type: 'ChangeOutput';
1669
+ } | {
1670
+ to: string;
1671
+ amount: string;
1672
+ assetId: string;
1673
+ type: 'CoinOutput';
1674
+ } | {
1675
+ contract: string;
1676
+ stateRoot: string;
1677
+ type: 'ContractCreated';
1678
+ } | {
1679
+ inputIndex: string;
1680
+ balanceRoot: string;
1681
+ stateRoot: string;
1682
+ type: 'ContractOutput';
1683
+ } | {
1684
+ to: string;
1685
+ amount: string;
1686
+ assetId: string;
1687
+ type: 'VariableOutput';
1688
+ };
1689
+ }> | null;
1690
+ preconfirmationReceipts?: Array<{
1691
+ id?: string | null;
1692
+ pc?: string | null;
1693
+ is?: string | null;
1694
+ to?: string | null;
1695
+ toAddress?: string | null;
1696
+ amount?: string | null;
1697
+ assetId?: string | null;
1698
+ gas?: string | null;
1699
+ param1?: string | null;
1700
+ param2?: string | null;
1701
+ val?: string | null;
1702
+ ptr?: string | null;
1703
+ digest?: string | null;
1704
+ reason?: string | null;
1705
+ ra?: string | null;
1706
+ rb?: string | null;
1707
+ rc?: string | null;
1708
+ rd?: string | null;
1709
+ len?: string | null;
1710
+ receiptType: GqlReceiptType;
1711
+ result?: string | null;
1712
+ gasUsed?: string | null;
1713
+ data?: string | null;
1714
+ sender?: string | null;
1715
+ recipient?: string | null;
1716
+ nonce?: string | null;
1717
+ contractId?: string | null;
1718
+ subId?: string | null;
1719
+ }> | null;
1720
+ };
1359
1721
  type GqlTransactionStatusFragment_FailureStatus = {
1360
1722
  totalGas: string;
1361
1723
  totalFee: string;
@@ -1393,6 +1755,8 @@ type GqlTransactionStatusFragment_FailureStatus = {
1393
1755
  subId?: string | null;
1394
1756
  }>;
1395
1757
  };
1758
+ type GqlTransactionStatusFragment_PreconfirmationFailureStatus = {};
1759
+ type GqlTransactionStatusFragment_PreconfirmationSuccessStatus = {};
1396
1760
  type GqlTransactionStatusFragment_SqueezedOutStatus = {
1397
1761
  reason: string;
1398
1762
  type: 'SqueezedOutStatus';
@@ -1441,7 +1805,7 @@ type GqlTransactionStatusFragment_SuccessStatus = {
1441
1805
  subId?: string | null;
1442
1806
  }>;
1443
1807
  };
1444
- export type GqlTransactionStatusFragment = GqlTransactionStatusFragment_FailureStatus | GqlTransactionStatusFragment_SqueezedOutStatus | GqlTransactionStatusFragment_SubmittedStatus | GqlTransactionStatusFragment_SuccessStatus;
1808
+ export type GqlTransactionStatusFragment = GqlTransactionStatusFragment_FailureStatus | GqlTransactionStatusFragment_PreconfirmationFailureStatus | GqlTransactionStatusFragment_PreconfirmationSuccessStatus | GqlTransactionStatusFragment_SqueezedOutStatus | GqlTransactionStatusFragment_SubmittedStatus | GqlTransactionStatusFragment_SuccessStatus;
1445
1809
  export type GqlMalleableTransactionFieldsFragment = {
1446
1810
  receiptsRoot?: string | null;
1447
1811
  inputs?: Array<{
@@ -1556,31 +1920,14 @@ type GqlTransactionStatusSubscriptionFragment_FailureStatus = {
1556
1920
  subId?: string | null;
1557
1921
  }>;
1558
1922
  };
1559
- type GqlTransactionStatusSubscriptionFragment_SqueezedOutStatus = {
1923
+ type GqlTransactionStatusSubscriptionFragment_PreconfirmationFailureStatus = {
1560
1924
  reason: string;
1561
- type: 'SqueezedOutStatus';
1562
- };
1563
- type GqlTransactionStatusSubscriptionFragment_SubmittedStatus = {
1564
- time: string;
1565
- type: 'SubmittedStatus';
1566
- };
1567
- type GqlTransactionStatusSubscriptionFragment_SuccessStatus = {
1568
- time: string;
1569
1925
  totalGas: string;
1570
1926
  totalFee: string;
1571
- type: 'SuccessStatus';
1572
- transaction: {
1573
- receiptsRoot?: string | null;
1574
- inputs?: Array<{
1575
- txPointer: string;
1576
- type: 'InputCoin';
1577
- } | {
1578
- txPointer: string;
1579
- type: 'InputContract';
1580
- } | {
1581
- type: 'InputMessage';
1582
- }> | null;
1583
- outputs: Array<{
1927
+ type: 'PreconfirmationFailureStatus';
1928
+ resolvedOutputs?: Array<{
1929
+ utxoId: string;
1930
+ output: {
1584
1931
  to: string;
1585
1932
  amount: string;
1586
1933
  assetId: string;
@@ -1604,16 +1951,9 @@ type GqlTransactionStatusSubscriptionFragment_SuccessStatus = {
1604
1951
  amount: string;
1605
1952
  assetId: string;
1606
1953
  type: 'VariableOutput';
1607
- }>;
1608
- };
1609
- block: {
1610
- id: string;
1611
- };
1612
- programState?: {
1613
- returnType: GqlReturnType;
1614
- data: string;
1615
- } | null;
1616
- receipts: Array<{
1954
+ };
1955
+ }> | null;
1956
+ preconfirmationReceipts?: Array<{
1617
1957
  id?: string | null;
1618
1958
  pc?: string | null;
1619
1959
  is?: string | null;
@@ -1642,10 +1982,161 @@ type GqlTransactionStatusSubscriptionFragment_SuccessStatus = {
1642
1982
  nonce?: string | null;
1643
1983
  contractId?: string | null;
1644
1984
  subId?: string | null;
1645
- }>;
1985
+ }> | null;
1646
1986
  };
1647
- export type GqlTransactionStatusSubscriptionFragment = GqlTransactionStatusSubscriptionFragment_FailureStatus | GqlTransactionStatusSubscriptionFragment_SqueezedOutStatus | GqlTransactionStatusSubscriptionFragment_SubmittedStatus | GqlTransactionStatusSubscriptionFragment_SuccessStatus;
1648
- export type GqlTransactionFragment = {
1987
+ type GqlTransactionStatusSubscriptionFragment_PreconfirmationSuccessStatus = {
1988
+ totalGas: string;
1989
+ totalFee: string;
1990
+ type: 'PreconfirmationSuccessStatus';
1991
+ resolvedOutputs?: Array<{
1992
+ utxoId: string;
1993
+ output: {
1994
+ to: string;
1995
+ amount: string;
1996
+ assetId: string;
1997
+ type: 'ChangeOutput';
1998
+ } | {
1999
+ to: string;
2000
+ amount: string;
2001
+ assetId: string;
2002
+ type: 'CoinOutput';
2003
+ } | {
2004
+ contract: string;
2005
+ stateRoot: string;
2006
+ type: 'ContractCreated';
2007
+ } | {
2008
+ inputIndex: string;
2009
+ balanceRoot: string;
2010
+ stateRoot: string;
2011
+ type: 'ContractOutput';
2012
+ } | {
2013
+ to: string;
2014
+ amount: string;
2015
+ assetId: string;
2016
+ type: 'VariableOutput';
2017
+ };
2018
+ }> | null;
2019
+ preconfirmationReceipts?: Array<{
2020
+ id?: string | null;
2021
+ pc?: string | null;
2022
+ is?: string | null;
2023
+ to?: string | null;
2024
+ toAddress?: string | null;
2025
+ amount?: string | null;
2026
+ assetId?: string | null;
2027
+ gas?: string | null;
2028
+ param1?: string | null;
2029
+ param2?: string | null;
2030
+ val?: string | null;
2031
+ ptr?: string | null;
2032
+ digest?: string | null;
2033
+ reason?: string | null;
2034
+ ra?: string | null;
2035
+ rb?: string | null;
2036
+ rc?: string | null;
2037
+ rd?: string | null;
2038
+ len?: string | null;
2039
+ receiptType: GqlReceiptType;
2040
+ result?: string | null;
2041
+ gasUsed?: string | null;
2042
+ data?: string | null;
2043
+ sender?: string | null;
2044
+ recipient?: string | null;
2045
+ nonce?: string | null;
2046
+ contractId?: string | null;
2047
+ subId?: string | null;
2048
+ }> | null;
2049
+ };
2050
+ type GqlTransactionStatusSubscriptionFragment_SqueezedOutStatus = {
2051
+ reason: string;
2052
+ type: 'SqueezedOutStatus';
2053
+ };
2054
+ type GqlTransactionStatusSubscriptionFragment_SubmittedStatus = {
2055
+ time: string;
2056
+ type: 'SubmittedStatus';
2057
+ };
2058
+ type GqlTransactionStatusSubscriptionFragment_SuccessStatus = {
2059
+ time: string;
2060
+ totalGas: string;
2061
+ totalFee: string;
2062
+ type: 'SuccessStatus';
2063
+ transaction: {
2064
+ receiptsRoot?: string | null;
2065
+ inputs?: Array<{
2066
+ txPointer: string;
2067
+ type: 'InputCoin';
2068
+ } | {
2069
+ txPointer: string;
2070
+ type: 'InputContract';
2071
+ } | {
2072
+ type: 'InputMessage';
2073
+ }> | null;
2074
+ outputs: Array<{
2075
+ to: string;
2076
+ amount: string;
2077
+ assetId: string;
2078
+ type: 'ChangeOutput';
2079
+ } | {
2080
+ to: string;
2081
+ amount: string;
2082
+ assetId: string;
2083
+ type: 'CoinOutput';
2084
+ } | {
2085
+ contract: string;
2086
+ stateRoot: string;
2087
+ type: 'ContractCreated';
2088
+ } | {
2089
+ inputIndex: string;
2090
+ balanceRoot: string;
2091
+ stateRoot: string;
2092
+ type: 'ContractOutput';
2093
+ } | {
2094
+ to: string;
2095
+ amount: string;
2096
+ assetId: string;
2097
+ type: 'VariableOutput';
2098
+ }>;
2099
+ };
2100
+ block: {
2101
+ id: string;
2102
+ };
2103
+ programState?: {
2104
+ returnType: GqlReturnType;
2105
+ data: string;
2106
+ } | null;
2107
+ receipts: Array<{
2108
+ id?: string | null;
2109
+ pc?: string | null;
2110
+ is?: string | null;
2111
+ to?: string | null;
2112
+ toAddress?: string | null;
2113
+ amount?: string | null;
2114
+ assetId?: string | null;
2115
+ gas?: string | null;
2116
+ param1?: string | null;
2117
+ param2?: string | null;
2118
+ val?: string | null;
2119
+ ptr?: string | null;
2120
+ digest?: string | null;
2121
+ reason?: string | null;
2122
+ ra?: string | null;
2123
+ rb?: string | null;
2124
+ rc?: string | null;
2125
+ rd?: string | null;
2126
+ len?: string | null;
2127
+ receiptType: GqlReceiptType;
2128
+ result?: string | null;
2129
+ gasUsed?: string | null;
2130
+ data?: string | null;
2131
+ sender?: string | null;
2132
+ recipient?: string | null;
2133
+ nonce?: string | null;
2134
+ contractId?: string | null;
2135
+ subId?: string | null;
2136
+ }>;
2137
+ };
2138
+ export type GqlTransactionStatusSubscriptionFragment = GqlTransactionStatusSubscriptionFragment_FailureStatus | GqlTransactionStatusSubscriptionFragment_PreconfirmationFailureStatus | GqlTransactionStatusSubscriptionFragment_PreconfirmationSuccessStatus | GqlTransactionStatusSubscriptionFragment_SqueezedOutStatus | GqlTransactionStatusSubscriptionFragment_SubmittedStatus | GqlTransactionStatusSubscriptionFragment_SuccessStatus;
2139
+ export type GqlTransactionFragment = {
1649
2140
  id: string;
1650
2141
  rawPayload: string;
1651
2142
  status?: {
@@ -1729,7 +2220,7 @@ export type GqlTransactionFragment = {
1729
2220
  contractId?: string | null;
1730
2221
  subId?: string | null;
1731
2222
  }>;
1732
- } | null;
2223
+ } | {} | null;
1733
2224
  };
1734
2225
  export type GqlTransactionRawPayloadFragment = {
1735
2226
  id: string;
@@ -1769,6 +2260,73 @@ export type GqlDryRunSuccessStatusFragment = {
1769
2260
  data: string;
1770
2261
  } | null;
1771
2262
  };
2263
+ export type GqlDryRunFailureAssembleTxFragment = {
2264
+ reason: string;
2265
+ type: 'DryRunFailureStatus';
2266
+ receipts: Array<{
2267
+ id?: string | null;
2268
+ pc?: string | null;
2269
+ is?: string | null;
2270
+ to?: string | null;
2271
+ toAddress?: string | null;
2272
+ amount?: string | null;
2273
+ assetId?: string | null;
2274
+ gas?: string | null;
2275
+ param1?: string | null;
2276
+ param2?: string | null;
2277
+ val?: string | null;
2278
+ ptr?: string | null;
2279
+ digest?: string | null;
2280
+ reason?: string | null;
2281
+ ra?: string | null;
2282
+ rb?: string | null;
2283
+ rc?: string | null;
2284
+ rd?: string | null;
2285
+ len?: string | null;
2286
+ receiptType: GqlReceiptType;
2287
+ result?: string | null;
2288
+ gasUsed?: string | null;
2289
+ data?: string | null;
2290
+ sender?: string | null;
2291
+ recipient?: string | null;
2292
+ nonce?: string | null;
2293
+ contractId?: string | null;
2294
+ subId?: string | null;
2295
+ }>;
2296
+ };
2297
+ export type GqlDryRunSuccessAssembleTxFragment = {
2298
+ type: 'DryRunSuccessStatus';
2299
+ receipts: Array<{
2300
+ id?: string | null;
2301
+ pc?: string | null;
2302
+ is?: string | null;
2303
+ to?: string | null;
2304
+ toAddress?: string | null;
2305
+ amount?: string | null;
2306
+ assetId?: string | null;
2307
+ gas?: string | null;
2308
+ param1?: string | null;
2309
+ param2?: string | null;
2310
+ val?: string | null;
2311
+ ptr?: string | null;
2312
+ digest?: string | null;
2313
+ reason?: string | null;
2314
+ ra?: string | null;
2315
+ rb?: string | null;
2316
+ rc?: string | null;
2317
+ rd?: string | null;
2318
+ len?: string | null;
2319
+ receiptType: GqlReceiptType;
2320
+ result?: string | null;
2321
+ gasUsed?: string | null;
2322
+ data?: string | null;
2323
+ sender?: string | null;
2324
+ recipient?: string | null;
2325
+ nonce?: string | null;
2326
+ contractId?: string | null;
2327
+ subId?: string | null;
2328
+ }>;
2329
+ };
1772
2330
  export type GqlReceiptFragment = {
1773
2331
  id?: string | null;
1774
2332
  pc?: string | null;
@@ -2203,6 +2761,11 @@ export type GqlChainInfoFragment = {
2203
2761
  };
2204
2762
  };
2205
2763
  };
2764
+ latestBlock: {
2765
+ header: {
2766
+ consensusParametersVersion: string;
2767
+ };
2768
+ };
2206
2769
  };
2207
2770
  export type GqlContractBalanceFragment = {
2208
2771
  contract: string;
@@ -2339,6 +2902,11 @@ export type GqlGetChainQuery = {
2339
2902
  };
2340
2903
  };
2341
2904
  };
2905
+ latestBlock: {
2906
+ header: {
2907
+ consensusParametersVersion: string;
2908
+ };
2909
+ };
2342
2910
  };
2343
2911
  };
2344
2912
  export type GqlGetChainAndNodeInfoQueryVariables = Exact<{
@@ -2424,6 +2992,11 @@ export type GqlGetChainAndNodeInfoQuery = {
2424
2992
  };
2425
2993
  };
2426
2994
  };
2995
+ latestBlock: {
2996
+ header: {
2997
+ consensusParametersVersion: string;
2998
+ };
2999
+ };
2427
3000
  };
2428
3001
  nodeInfo: {
2429
3002
  utxoValidation: boolean;
@@ -2526,7 +3099,7 @@ export type GqlGetTransactionQuery = {
2526
3099
  contractId?: string | null;
2527
3100
  subId?: string | null;
2528
3101
  }>;
2529
- } | null;
3102
+ } | {} | null;
2530
3103
  } | null;
2531
3104
  };
2532
3105
  export type GqlGetTransactionWithReceiptsQueryVariables = Exact<{
@@ -2577,23 +3150,38 @@ export type GqlGetTransactionWithReceiptsQuery = {
2577
3150
  }>;
2578
3151
  } | {
2579
3152
  reason: string;
2580
- type: 'SqueezedOutStatus';
2581
- } | {
2582
- time: string;
2583
- type: 'SubmittedStatus';
2584
- } | {
2585
- time: string;
2586
3153
  totalGas: string;
2587
3154
  totalFee: string;
2588
- type: 'SuccessStatus';
2589
- block: {
2590
- id: string;
2591
- };
2592
- programState?: {
2593
- returnType: GqlReturnType;
2594
- data: string;
2595
- } | null;
2596
- receipts: Array<{
3155
+ type: 'PreconfirmationFailureStatus';
3156
+ resolvedOutputs?: Array<{
3157
+ utxoId: string;
3158
+ output: {
3159
+ to: string;
3160
+ amount: string;
3161
+ assetId: string;
3162
+ type: 'ChangeOutput';
3163
+ } | {
3164
+ to: string;
3165
+ amount: string;
3166
+ assetId: string;
3167
+ type: 'CoinOutput';
3168
+ } | {
3169
+ contract: string;
3170
+ stateRoot: string;
3171
+ type: 'ContractCreated';
3172
+ } | {
3173
+ inputIndex: string;
3174
+ balanceRoot: string;
3175
+ stateRoot: string;
3176
+ type: 'ContractOutput';
3177
+ } | {
3178
+ to: string;
3179
+ amount: string;
3180
+ assetId: string;
3181
+ type: 'VariableOutput';
3182
+ };
3183
+ }> | null;
3184
+ preconfirmationReceipts?: Array<{
2597
3185
  id?: string | null;
2598
3186
  pc?: string | null;
2599
3187
  is?: string | null;
@@ -2622,12 +3210,122 @@ export type GqlGetTransactionWithReceiptsQuery = {
2622
3210
  nonce?: string | null;
2623
3211
  contractId?: string | null;
2624
3212
  subId?: string | null;
2625
- }>;
2626
- } | null;
2627
- } | null;
2628
- };
2629
- export type GqlGetTransactionsQueryVariables = Exact<{
2630
- after?: InputMaybe<Scalars['String']['input']>;
3213
+ }> | null;
3214
+ } | {
3215
+ totalGas: string;
3216
+ totalFee: string;
3217
+ type: 'PreconfirmationSuccessStatus';
3218
+ resolvedOutputs?: Array<{
3219
+ utxoId: string;
3220
+ output: {
3221
+ to: string;
3222
+ amount: string;
3223
+ assetId: string;
3224
+ type: 'ChangeOutput';
3225
+ } | {
3226
+ to: string;
3227
+ amount: string;
3228
+ assetId: string;
3229
+ type: 'CoinOutput';
3230
+ } | {
3231
+ contract: string;
3232
+ stateRoot: string;
3233
+ type: 'ContractCreated';
3234
+ } | {
3235
+ inputIndex: string;
3236
+ balanceRoot: string;
3237
+ stateRoot: string;
3238
+ type: 'ContractOutput';
3239
+ } | {
3240
+ to: string;
3241
+ amount: string;
3242
+ assetId: string;
3243
+ type: 'VariableOutput';
3244
+ };
3245
+ }> | null;
3246
+ preconfirmationReceipts?: Array<{
3247
+ id?: string | null;
3248
+ pc?: string | null;
3249
+ is?: string | null;
3250
+ to?: string | null;
3251
+ toAddress?: string | null;
3252
+ amount?: string | null;
3253
+ assetId?: string | null;
3254
+ gas?: string | null;
3255
+ param1?: string | null;
3256
+ param2?: string | null;
3257
+ val?: string | null;
3258
+ ptr?: string | null;
3259
+ digest?: string | null;
3260
+ reason?: string | null;
3261
+ ra?: string | null;
3262
+ rb?: string | null;
3263
+ rc?: string | null;
3264
+ rd?: string | null;
3265
+ len?: string | null;
3266
+ receiptType: GqlReceiptType;
3267
+ result?: string | null;
3268
+ gasUsed?: string | null;
3269
+ data?: string | null;
3270
+ sender?: string | null;
3271
+ recipient?: string | null;
3272
+ nonce?: string | null;
3273
+ contractId?: string | null;
3274
+ subId?: string | null;
3275
+ }> | null;
3276
+ } | {
3277
+ reason: string;
3278
+ type: 'SqueezedOutStatus';
3279
+ } | {
3280
+ time: string;
3281
+ type: 'SubmittedStatus';
3282
+ } | {
3283
+ time: string;
3284
+ totalGas: string;
3285
+ totalFee: string;
3286
+ type: 'SuccessStatus';
3287
+ block: {
3288
+ id: string;
3289
+ };
3290
+ programState?: {
3291
+ returnType: GqlReturnType;
3292
+ data: string;
3293
+ } | null;
3294
+ receipts: Array<{
3295
+ id?: string | null;
3296
+ pc?: string | null;
3297
+ is?: string | null;
3298
+ to?: string | null;
3299
+ toAddress?: string | null;
3300
+ amount?: string | null;
3301
+ assetId?: string | null;
3302
+ gas?: string | null;
3303
+ param1?: string | null;
3304
+ param2?: string | null;
3305
+ val?: string | null;
3306
+ ptr?: string | null;
3307
+ digest?: string | null;
3308
+ reason?: string | null;
3309
+ ra?: string | null;
3310
+ rb?: string | null;
3311
+ rc?: string | null;
3312
+ rd?: string | null;
3313
+ len?: string | null;
3314
+ receiptType: GqlReceiptType;
3315
+ result?: string | null;
3316
+ gasUsed?: string | null;
3317
+ data?: string | null;
3318
+ sender?: string | null;
3319
+ recipient?: string | null;
3320
+ nonce?: string | null;
3321
+ contractId?: string | null;
3322
+ subId?: string | null;
3323
+ }>;
3324
+ } | null;
3325
+ } | null;
3326
+ };
3327
+ export type GqlGetTransactionsQueryVariables = Exact<{
3328
+ after?: InputMaybe<Scalars['String']['input']>;
2631
3329
  before?: InputMaybe<Scalars['String']['input']>;
2632
3330
  first?: InputMaybe<Scalars['Int']['input']>;
2633
3331
  last?: InputMaybe<Scalars['Int']['input']>;
@@ -2747,7 +3445,7 @@ export type GqlGetTransactionsByOwnerQuery = {
2747
3445
  contractId?: string | null;
2748
3446
  subId?: string | null;
2749
3447
  }>;
2750
- } | null;
3448
+ } | {} | null;
2751
3449
  };
2752
3450
  }>;
2753
3451
  };
@@ -3175,12 +3873,158 @@ export type GqlGetAssetDetailsQuery = {
3175
3873
  totalSupply: string;
3176
3874
  };
3177
3875
  };
3178
- export type GqlDryRunMutationVariables = Exact<{
3876
+ export type GqlAssembleTxQueryVariables = Exact<{
3877
+ tx: Scalars['HexString']['input'];
3878
+ blockHorizon: Scalars['U32']['input'];
3879
+ requiredBalances: Array<GqlRequiredBalance> | GqlRequiredBalance;
3880
+ feeAddressIndex: Scalars['U16']['input'];
3881
+ excludeInput?: InputMaybe<GqlExcludeInput>;
3882
+ estimatePredicates?: InputMaybe<Scalars['Boolean']['input']>;
3883
+ reserveGas?: InputMaybe<Scalars['U64']['input']>;
3884
+ }>;
3885
+ export type GqlAssembleTxQuery = {
3886
+ assembleTx: {
3887
+ gasPrice: string;
3888
+ transaction: {
3889
+ id: string;
3890
+ witnesses?: Array<string> | null;
3891
+ scriptGasLimit?: string | null;
3892
+ inputs?: Array<{
3893
+ utxoId: string;
3894
+ owner: string;
3895
+ amount: string;
3896
+ assetId: string;
3897
+ txPointer: string;
3898
+ predicateGasUsed: string;
3899
+ predicate: string;
3900
+ predicateData: string;
3901
+ type: 'InputCoin';
3902
+ coinWitnessIndex: string;
3903
+ } | {
3904
+ utxoId: string;
3905
+ balanceRoot: string;
3906
+ stateRoot: string;
3907
+ txPointer: string;
3908
+ contractId: string;
3909
+ type: 'InputContract';
3910
+ } | {
3911
+ sender: string;
3912
+ recipient: string;
3913
+ amount: string;
3914
+ nonce: string;
3915
+ predicateGasUsed: string;
3916
+ data: string;
3917
+ predicate: string;
3918
+ predicateData: string;
3919
+ type: 'InputMessage';
3920
+ messageWitnessIndex: string;
3921
+ }> | null;
3922
+ outputs: Array<{
3923
+ to: string;
3924
+ amount: string;
3925
+ assetId: string;
3926
+ type: 'ChangeOutput';
3927
+ } | {
3928
+ to: string;
3929
+ amount: string;
3930
+ assetId: string;
3931
+ type: 'CoinOutput';
3932
+ } | {
3933
+ contract: string;
3934
+ stateRoot: string;
3935
+ type: 'ContractCreated';
3936
+ } | {
3937
+ inputIndex: string;
3938
+ balanceRoot: string;
3939
+ stateRoot: string;
3940
+ type: 'ContractOutput';
3941
+ } | {
3942
+ to: string;
3943
+ amount: string;
3944
+ assetId: string;
3945
+ type: 'VariableOutput';
3946
+ }>;
3947
+ policies?: {
3948
+ tip?: string | null;
3949
+ witnessLimit?: string | null;
3950
+ maturity?: string | null;
3951
+ maxFee?: string | null;
3952
+ } | null;
3953
+ };
3954
+ status: {
3955
+ reason: string;
3956
+ type: 'DryRunFailureStatus';
3957
+ receipts: Array<{
3958
+ id?: string | null;
3959
+ pc?: string | null;
3960
+ is?: string | null;
3961
+ to?: string | null;
3962
+ toAddress?: string | null;
3963
+ amount?: string | null;
3964
+ assetId?: string | null;
3965
+ gas?: string | null;
3966
+ param1?: string | null;
3967
+ param2?: string | null;
3968
+ val?: string | null;
3969
+ ptr?: string | null;
3970
+ digest?: string | null;
3971
+ reason?: string | null;
3972
+ ra?: string | null;
3973
+ rb?: string | null;
3974
+ rc?: string | null;
3975
+ rd?: string | null;
3976
+ len?: string | null;
3977
+ receiptType: GqlReceiptType;
3978
+ result?: string | null;
3979
+ gasUsed?: string | null;
3980
+ data?: string | null;
3981
+ sender?: string | null;
3982
+ recipient?: string | null;
3983
+ nonce?: string | null;
3984
+ contractId?: string | null;
3985
+ subId?: string | null;
3986
+ }>;
3987
+ } | {
3988
+ type: 'DryRunSuccessStatus';
3989
+ receipts: Array<{
3990
+ id?: string | null;
3991
+ pc?: string | null;
3992
+ is?: string | null;
3993
+ to?: string | null;
3994
+ toAddress?: string | null;
3995
+ amount?: string | null;
3996
+ assetId?: string | null;
3997
+ gas?: string | null;
3998
+ param1?: string | null;
3999
+ param2?: string | null;
4000
+ val?: string | null;
4001
+ ptr?: string | null;
4002
+ digest?: string | null;
4003
+ reason?: string | null;
4004
+ ra?: string | null;
4005
+ rb?: string | null;
4006
+ rc?: string | null;
4007
+ rd?: string | null;
4008
+ len?: string | null;
4009
+ receiptType: GqlReceiptType;
4010
+ result?: string | null;
4011
+ gasUsed?: string | null;
4012
+ data?: string | null;
4013
+ sender?: string | null;
4014
+ recipient?: string | null;
4015
+ nonce?: string | null;
4016
+ contractId?: string | null;
4017
+ subId?: string | null;
4018
+ }>;
4019
+ };
4020
+ };
4021
+ };
4022
+ export type GqlDryRunQueryVariables = Exact<{
3179
4023
  encodedTransactions: Array<Scalars['HexString']['input']> | Scalars['HexString']['input'];
3180
4024
  utxoValidation?: InputMaybe<Scalars['Boolean']['input']>;
3181
4025
  gasPrice?: InputMaybe<Scalars['U64']['input']>;
3182
4026
  }>;
3183
- export type GqlDryRunMutation = {
4027
+ export type GqlDryRunQuery = {
3184
4028
  dryRun: Array<{
3185
4029
  id: string;
3186
4030
  status: {
@@ -3290,6 +4134,8 @@ export type GqlGetConsensusParametersVersionQuery = {
3290
4134
  };
3291
4135
  export type GqlSubmitAndAwaitStatusSubscriptionVariables = Exact<{
3292
4136
  encodedTransaction: Scalars['HexString']['input'];
4137
+ estimatePredicates?: InputMaybe<Scalars['Boolean']['input']>;
4138
+ includePreConfirmation?: InputMaybe<Scalars['Boolean']['input']>;
3293
4139
  }>;
3294
4140
  export type GqlSubmitAndAwaitStatusSubscription = {
3295
4141
  submitAndAwaitStatus: {
@@ -3368,6 +4214,131 @@ export type GqlSubmitAndAwaitStatusSubscription = {
3368
4214
  contractId?: string | null;
3369
4215
  subId?: string | null;
3370
4216
  }>;
4217
+ } | {
4218
+ reason: string;
4219
+ totalGas: string;
4220
+ totalFee: string;
4221
+ type: 'PreconfirmationFailureStatus';
4222
+ resolvedOutputs?: Array<{
4223
+ utxoId: string;
4224
+ output: {
4225
+ to: string;
4226
+ amount: string;
4227
+ assetId: string;
4228
+ type: 'ChangeOutput';
4229
+ } | {
4230
+ to: string;
4231
+ amount: string;
4232
+ assetId: string;
4233
+ type: 'CoinOutput';
4234
+ } | {
4235
+ contract: string;
4236
+ stateRoot: string;
4237
+ type: 'ContractCreated';
4238
+ } | {
4239
+ inputIndex: string;
4240
+ balanceRoot: string;
4241
+ stateRoot: string;
4242
+ type: 'ContractOutput';
4243
+ } | {
4244
+ to: string;
4245
+ amount: string;
4246
+ assetId: string;
4247
+ type: 'VariableOutput';
4248
+ };
4249
+ }> | null;
4250
+ preconfirmationReceipts?: Array<{
4251
+ id?: string | null;
4252
+ pc?: string | null;
4253
+ is?: string | null;
4254
+ to?: string | null;
4255
+ toAddress?: string | null;
4256
+ amount?: string | null;
4257
+ assetId?: string | null;
4258
+ gas?: string | null;
4259
+ param1?: string | null;
4260
+ param2?: string | null;
4261
+ val?: string | null;
4262
+ ptr?: string | null;
4263
+ digest?: string | null;
4264
+ reason?: string | null;
4265
+ ra?: string | null;
4266
+ rb?: string | null;
4267
+ rc?: string | null;
4268
+ rd?: string | null;
4269
+ len?: string | null;
4270
+ receiptType: GqlReceiptType;
4271
+ result?: string | null;
4272
+ gasUsed?: string | null;
4273
+ data?: string | null;
4274
+ sender?: string | null;
4275
+ recipient?: string | null;
4276
+ nonce?: string | null;
4277
+ contractId?: string | null;
4278
+ subId?: string | null;
4279
+ }> | null;
4280
+ } | {
4281
+ totalGas: string;
4282
+ totalFee: string;
4283
+ type: 'PreconfirmationSuccessStatus';
4284
+ resolvedOutputs?: Array<{
4285
+ utxoId: string;
4286
+ output: {
4287
+ to: string;
4288
+ amount: string;
4289
+ assetId: string;
4290
+ type: 'ChangeOutput';
4291
+ } | {
4292
+ to: string;
4293
+ amount: string;
4294
+ assetId: string;
4295
+ type: 'CoinOutput';
4296
+ } | {
4297
+ contract: string;
4298
+ stateRoot: string;
4299
+ type: 'ContractCreated';
4300
+ } | {
4301
+ inputIndex: string;
4302
+ balanceRoot: string;
4303
+ stateRoot: string;
4304
+ type: 'ContractOutput';
4305
+ } | {
4306
+ to: string;
4307
+ amount: string;
4308
+ assetId: string;
4309
+ type: 'VariableOutput';
4310
+ };
4311
+ }> | null;
4312
+ preconfirmationReceipts?: Array<{
4313
+ id?: string | null;
4314
+ pc?: string | null;
4315
+ is?: string | null;
4316
+ to?: string | null;
4317
+ toAddress?: string | null;
4318
+ amount?: string | null;
4319
+ assetId?: string | null;
4320
+ gas?: string | null;
4321
+ param1?: string | null;
4322
+ param2?: string | null;
4323
+ val?: string | null;
4324
+ ptr?: string | null;
4325
+ digest?: string | null;
4326
+ reason?: string | null;
4327
+ ra?: string | null;
4328
+ rb?: string | null;
4329
+ rc?: string | null;
4330
+ rd?: string | null;
4331
+ len?: string | null;
4332
+ receiptType: GqlReceiptType;
4333
+ result?: string | null;
4334
+ gasUsed?: string | null;
4335
+ data?: string | null;
4336
+ sender?: string | null;
4337
+ recipient?: string | null;
4338
+ nonce?: string | null;
4339
+ contractId?: string | null;
4340
+ subId?: string | null;
4341
+ }> | null;
3371
4342
  } | {
3372
4343
  reason: string;
3373
4344
  type: 'SqueezedOutStatus';
@@ -3457,6 +4428,7 @@ export type GqlSubmitAndAwaitStatusSubscription = {
3457
4428
  };
3458
4429
  export type GqlStatusChangeSubscriptionVariables = Exact<{
3459
4430
  transactionId: Scalars['TransactionId']['input'];
4431
+ includePreConfirmation?: InputMaybe<Scalars['Boolean']['input']>;
3460
4432
  }>;
3461
4433
  export type GqlStatusChangeSubscription = {
3462
4434
  statusChange: {
@@ -3535,6 +4507,131 @@ export type GqlStatusChangeSubscription = {
3535
4507
  contractId?: string | null;
3536
4508
  subId?: string | null;
3537
4509
  }>;
4510
+ } | {
4511
+ reason: string;
4512
+ totalGas: string;
4513
+ totalFee: string;
4514
+ type: 'PreconfirmationFailureStatus';
4515
+ resolvedOutputs?: Array<{
4516
+ utxoId: string;
4517
+ output: {
4518
+ to: string;
4519
+ amount: string;
4520
+ assetId: string;
4521
+ type: 'ChangeOutput';
4522
+ } | {
4523
+ to: string;
4524
+ amount: string;
4525
+ assetId: string;
4526
+ type: 'CoinOutput';
4527
+ } | {
4528
+ contract: string;
4529
+ stateRoot: string;
4530
+ type: 'ContractCreated';
4531
+ } | {
4532
+ inputIndex: string;
4533
+ balanceRoot: string;
4534
+ stateRoot: string;
4535
+ type: 'ContractOutput';
4536
+ } | {
4537
+ to: string;
4538
+ amount: string;
4539
+ assetId: string;
4540
+ type: 'VariableOutput';
4541
+ };
4542
+ }> | null;
4543
+ preconfirmationReceipts?: Array<{
4544
+ id?: string | null;
4545
+ pc?: string | null;
4546
+ is?: string | null;
4547
+ to?: string | null;
4548
+ toAddress?: string | null;
4549
+ amount?: string | null;
4550
+ assetId?: string | null;
4551
+ gas?: string | null;
4552
+ param1?: string | null;
4553
+ param2?: string | null;
4554
+ val?: string | null;
4555
+ ptr?: string | null;
4556
+ digest?: string | null;
4557
+ reason?: string | null;
4558
+ ra?: string | null;
4559
+ rb?: string | null;
4560
+ rc?: string | null;
4561
+ rd?: string | null;
4562
+ len?: string | null;
4563
+ receiptType: GqlReceiptType;
4564
+ result?: string | null;
4565
+ gasUsed?: string | null;
4566
+ data?: string | null;
4567
+ sender?: string | null;
4568
+ recipient?: string | null;
4569
+ nonce?: string | null;
4570
+ contractId?: string | null;
4571
+ subId?: string | null;
4572
+ }> | null;
4573
+ } | {
4574
+ totalGas: string;
4575
+ totalFee: string;
4576
+ type: 'PreconfirmationSuccessStatus';
4577
+ resolvedOutputs?: Array<{
4578
+ utxoId: string;
4579
+ output: {
4580
+ to: string;
4581
+ amount: string;
4582
+ assetId: string;
4583
+ type: 'ChangeOutput';
4584
+ } | {
4585
+ to: string;
4586
+ amount: string;
4587
+ assetId: string;
4588
+ type: 'CoinOutput';
4589
+ } | {
4590
+ contract: string;
4591
+ stateRoot: string;
4592
+ type: 'ContractCreated';
4593
+ } | {
4594
+ inputIndex: string;
4595
+ balanceRoot: string;
4596
+ stateRoot: string;
4597
+ type: 'ContractOutput';
4598
+ } | {
4599
+ to: string;
4600
+ amount: string;
4601
+ assetId: string;
4602
+ type: 'VariableOutput';
4603
+ };
4604
+ }> | null;
4605
+ preconfirmationReceipts?: Array<{
4606
+ id?: string | null;
4607
+ pc?: string | null;
4608
+ is?: string | null;
4609
+ to?: string | null;
4610
+ toAddress?: string | null;
4611
+ amount?: string | null;
4612
+ assetId?: string | null;
4613
+ gas?: string | null;
4614
+ param1?: string | null;
4615
+ param2?: string | null;
4616
+ val?: string | null;
4617
+ ptr?: string | null;
4618
+ digest?: string | null;
4619
+ reason?: string | null;
4620
+ ra?: string | null;
4621
+ rb?: string | null;
4622
+ rc?: string | null;
4623
+ rd?: string | null;
4624
+ len?: string | null;
4625
+ receiptType: GqlReceiptType;
4626
+ result?: string | null;
4627
+ gasUsed?: string | null;
4628
+ data?: string | null;
4629
+ sender?: string | null;
4630
+ recipient?: string | null;
4631
+ nonce?: string | null;
4632
+ contractId?: string | null;
4633
+ subId?: string | null;
4634
+ }> | null;
3538
4635
  } | {
3539
4636
  reason: string;
3540
4637
  type: 'SqueezedOutStatus';
@@ -3622,6 +4719,14 @@ export type GqlStatusChangeSubscription = {
3622
4719
  }>;
3623
4720
  };
3624
4721
  };
4722
+ export declare const InputCoinFragmentDoc: DocumentNode;
4723
+ export declare const InputMessageFragmentDoc: DocumentNode;
4724
+ export declare const InputContractFragmentDoc: DocumentNode;
4725
+ export declare const OutputCoinFragmentDoc: DocumentNode;
4726
+ export declare const OutputContractFragmentDoc: DocumentNode;
4727
+ export declare const OutputChangeFragmentDoc: DocumentNode;
4728
+ export declare const OutputVariableFragmentDoc: DocumentNode;
4729
+ export declare const OutputContractCreatedFragmentDoc: DocumentNode;
3625
4730
  export declare const SubmittedStatusFragmentDoc: DocumentNode;
3626
4731
  export declare const ReceiptFragmentDoc: DocumentNode;
3627
4732
  export declare const SuccessStatusFragmentDoc: DocumentNode;
@@ -3630,12 +4735,16 @@ export declare const MalleableTransactionFieldsFragmentDoc: DocumentNode;
3630
4735
  export declare const FailureStatusFragmentDoc: DocumentNode;
3631
4736
  export declare const FailureStatusWithBlockIdFragmentDoc: DocumentNode;
3632
4737
  export declare const SqueezedOutStatusFragmentDoc: DocumentNode;
4738
+ export declare const PreconfirmationSuccessStatusFragmentDoc: DocumentNode;
4739
+ export declare const PreconfirmationFailureStatusFragmentDoc: DocumentNode;
3633
4740
  export declare const TransactionStatusSubscriptionFragmentDoc: DocumentNode;
3634
4741
  export declare const TransactionStatusFragmentDoc: DocumentNode;
3635
4742
  export declare const TransactionFragmentDoc: DocumentNode;
3636
4743
  export declare const TransactionRawPayloadFragmentDoc: DocumentNode;
3637
4744
  export declare const InputEstimatePredicatesFragmentDoc: DocumentNode;
3638
4745
  export declare const TransactionEstimatePredicatesFragmentDoc: DocumentNode;
4746
+ export declare const DryRunFailureAssembleTxFragmentDoc: DocumentNode;
4747
+ export declare const DryRunSuccessAssembleTxFragmentDoc: DocumentNode;
3639
4748
  export declare const DryRunFailureStatusFragmentDoc: DocumentNode;
3640
4749
  export declare const DryRunSuccessStatusFragmentDoc: DocumentNode;
3641
4750
  export declare const DryRunTransactionStatusFragmentDoc: DocumentNode;
@@ -3691,6 +4800,7 @@ export declare const GetMessageProofDocument: DocumentNode;
3691
4800
  export declare const GetMessageStatusDocument: DocumentNode;
3692
4801
  export declare const GetRelayedTransactionStatusDocument: DocumentNode;
3693
4802
  export declare const GetAssetDetailsDocument: DocumentNode;
4803
+ export declare const AssembleTxDocument: DocumentNode;
3694
4804
  export declare const DryRunDocument: DocumentNode;
3695
4805
  export declare const SubmitDocument: DocumentNode;
3696
4806
  export declare const ProduceBlocksDocument: DocumentNode;
@@ -3733,7 +4843,8 @@ export declare function getSdk<C>(requester: Requester<C>): {
3733
4843
  getMessageStatus(variables: GqlGetMessageStatusQueryVariables, options?: C): Promise<GqlGetMessageStatusQuery>;
3734
4844
  getRelayedTransactionStatus(variables: GqlGetRelayedTransactionStatusQueryVariables, options?: C): Promise<GqlGetRelayedTransactionStatusQuery>;
3735
4845
  getAssetDetails(variables: GqlGetAssetDetailsQueryVariables, options?: C): Promise<GqlGetAssetDetailsQuery>;
3736
- dryRun(variables: GqlDryRunMutationVariables, options?: C): Promise<GqlDryRunMutation>;
4846
+ assembleTx(variables: GqlAssembleTxQueryVariables, options?: C): Promise<GqlAssembleTxQuery>;
4847
+ dryRun(variables: GqlDryRunQueryVariables, options?: C): Promise<GqlDryRunQuery>;
3737
4848
  submit(variables: GqlSubmitMutationVariables, options?: C): Promise<GqlSubmitMutation>;
3738
4849
  produceBlocks(variables: GqlProduceBlocksMutationVariables, options?: C): Promise<GqlProduceBlocksMutation>;
3739
4850
  getMessageByNonce(variables: GqlGetMessageByNonceQueryVariables, options?: C): Promise<GqlGetMessageByNonceQuery>;