@fuel-ts/account 0.0.0-rc-2217-20240503120735 → 0.0.0-rc-2224-20240503155836
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.
- package/dist/index.global.js +449 -1266
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +155 -249
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +145 -237
- package/dist/index.mjs.map +1 -1
- package/dist/providers/__generated__/operations.d.ts +80 -186
- package/dist/providers/__generated__/operations.d.ts.map +1 -1
- package/dist/providers/message.d.ts +2 -2
- package/dist/providers/message.d.ts.map +1 -1
- package/dist/providers/provider.d.ts +20 -23
- package/dist/providers/provider.d.ts.map +1 -1
- package/dist/providers/transaction-request/script-transaction-request.d.ts +3 -2
- package/dist/providers/transaction-request/script-transaction-request.d.ts.map +1 -1
- package/dist/providers/transaction-request/transaction-request.d.ts +3 -2
- package/dist/providers/transaction-request/transaction-request.d.ts.map +1 -1
- package/dist/providers/transaction-summary/assemble-transaction-summary.d.ts +2 -2
- package/dist/providers/transaction-summary/assemble-transaction-summary.d.ts.map +1 -1
- package/dist/providers/transaction-summary/calculate-transaction-fee.d.ts +22 -0
- package/dist/providers/transaction-summary/calculate-transaction-fee.d.ts.map +1 -0
- package/dist/providers/transaction-summary/get-transaction-summary.d.ts.map +1 -1
- package/dist/providers/transaction-summary/index.d.ts +1 -1
- package/dist/providers/transaction-summary/index.d.ts.map +1 -1
- package/dist/providers/transaction-summary/operations.d.ts +0 -4
- package/dist/providers/transaction-summary/operations.d.ts.map +1 -1
- package/dist/providers/transaction-summary/status.d.ts +1 -5
- package/dist/providers/transaction-summary/status.d.ts.map +1 -1
- package/dist/providers/transaction-summary/types.d.ts +1 -6
- package/dist/providers/transaction-summary/types.d.ts.map +1 -1
- package/dist/providers/utils/gas.d.ts +5 -6
- package/dist/providers/utils/gas.d.ts.map +1 -1
- package/dist/test-utils/launchNode.d.ts.map +1 -1
- package/dist/test-utils.global.js +448 -1258
- package/dist/test-utils.global.js.map +1 -1
- package/dist/test-utils.js +147 -229
- package/dist/test-utils.js.map +1 -1
- package/dist/test-utils.mjs +138 -220
- package/dist/test-utils.mjs.map +1 -1
- package/package.json +16 -16
- package/dist/providers/transaction-summary/calculate-tx-fee-for-summary.d.ts +0 -20
- package/dist/providers/transaction-summary/calculate-tx-fee-for-summary.d.ts.map +0 -1
@@ -26,14 +26,13 @@ export type Scalars = {
|
|
26
26
|
ContractId: string;
|
27
27
|
HexString: string;
|
28
28
|
Nonce: string;
|
29
|
-
RelayedTransactionId: string;
|
30
29
|
Salt: string;
|
31
|
-
Signature:
|
30
|
+
Signature: any;
|
32
31
|
Tai64Timestamp: string;
|
33
32
|
TransactionId: string;
|
34
|
-
TxPointer:
|
35
|
-
U16:
|
36
|
-
U32:
|
33
|
+
TxPointer: any;
|
34
|
+
U16: any;
|
35
|
+
U32: any;
|
37
36
|
U64: string;
|
38
37
|
UtxoId: string;
|
39
38
|
};
|
@@ -165,11 +164,6 @@ export type GqlConsensusParameters = {
|
|
165
164
|
txParams: GqlTxParameters;
|
166
165
|
version: GqlConsensusParametersVersion;
|
167
166
|
};
|
168
|
-
export type GqlConsensusParametersPurpose = {
|
169
|
-
__typename: 'ConsensusParametersPurpose';
|
170
|
-
checksum: Scalars['Bytes32'];
|
171
|
-
witnessIndex: Scalars['U16'];
|
172
|
-
};
|
173
167
|
export declare enum GqlConsensusParametersVersion {
|
174
168
|
V1 = "V1"
|
175
169
|
}
|
@@ -232,15 +226,11 @@ export type GqlDryRunFailureStatus = {
|
|
232
226
|
programState?: Maybe<GqlProgramState>;
|
233
227
|
reason: Scalars['String'];
|
234
228
|
receipts: Array<GqlReceipt>;
|
235
|
-
totalFee: Scalars['U64'];
|
236
|
-
totalGas: Scalars['U64'];
|
237
229
|
};
|
238
230
|
export type GqlDryRunSuccessStatus = {
|
239
231
|
__typename: 'DryRunSuccessStatus';
|
240
232
|
programState?: Maybe<GqlProgramState>;
|
241
233
|
receipts: Array<GqlReceipt>;
|
242
|
-
totalFee: Scalars['U64'];
|
243
|
-
totalGas: Scalars['U64'];
|
244
234
|
};
|
245
235
|
export type GqlDryRunTransactionExecutionStatus = {
|
246
236
|
__typename: 'DryRunTransactionExecutionStatus';
|
@@ -266,8 +256,6 @@ export type GqlFailureStatus = {
|
|
266
256
|
reason: Scalars['String'];
|
267
257
|
receipts: Array<GqlReceipt>;
|
268
258
|
time: Scalars['Tai64Timestamp'];
|
269
|
-
totalFee: Scalars['U64'];
|
270
|
-
totalGas: Scalars['U64'];
|
271
259
|
transactionId: Scalars['TransactionId'];
|
272
260
|
};
|
273
261
|
export type GqlFeeParameters = {
|
@@ -409,8 +397,6 @@ export type GqlGenesis = {
|
|
409
397
|
contractsRoot: Scalars['Bytes32'];
|
410
398
|
/** The Binary Merkle Tree root of all genesis messages. */
|
411
399
|
messagesRoot: Scalars['Bytes32'];
|
412
|
-
/** The Binary Merkle Tree root of all processed transaction ids. */
|
413
|
-
transactionsRoot: Scalars['Bytes32'];
|
414
400
|
};
|
415
401
|
export type GqlHeader = {
|
416
402
|
__typename: 'Header';
|
@@ -429,7 +415,7 @@ export type GqlHeader = {
|
|
429
415
|
/** Merkle root of message receipts in this block. */
|
430
416
|
messageOutboxRoot: Scalars['Bytes32'];
|
431
417
|
/** Number of message receipts in this block. */
|
432
|
-
messageReceiptCount: Scalars['
|
418
|
+
messageReceiptCount: Scalars['U64'];
|
433
419
|
/** Merkle root of all previous block header hashes. */
|
434
420
|
prevRoot: Scalars['Bytes32'];
|
435
421
|
/** The version of the state transition bytecode used to create this block. */
|
@@ -437,7 +423,7 @@ export type GqlHeader = {
|
|
437
423
|
/** The block producer time. */
|
438
424
|
time: Scalars['Tai64Timestamp'];
|
439
425
|
/** Number of transactions in this block. */
|
440
|
-
transactionsCount: Scalars['
|
426
|
+
transactionsCount: Scalars['U64'];
|
441
427
|
/** Merkle root of transactions. */
|
442
428
|
transactionsRoot: Scalars['Bytes32'];
|
443
429
|
};
|
@@ -747,7 +733,6 @@ export type GqlQuery = {
|
|
747
733
|
nodeInfo: GqlNodeInfo;
|
748
734
|
/** Read register value by index. */
|
749
735
|
register: Scalars['U64'];
|
750
|
-
relayedTransactionStatus?: Maybe<GqlRelayedTransactionStatus>;
|
751
736
|
transaction?: Maybe<GqlTransaction>;
|
752
737
|
transactions: GqlTransactionConnection;
|
753
738
|
transactionsByOwner: GqlTransactionConnection;
|
@@ -836,9 +821,6 @@ export type GqlQueryRegisterArgs = {
|
|
836
821
|
id: Scalars['ID'];
|
837
822
|
register: Scalars['U32'];
|
838
823
|
};
|
839
|
-
export type GqlQueryRelayedTransactionStatusArgs = {
|
840
|
-
id: Scalars['RelayedTransactionId'];
|
841
|
-
};
|
842
824
|
export type GqlQueryTransactionArgs = {
|
843
825
|
id: Scalars['TransactionId'];
|
844
826
|
};
|
@@ -902,12 +884,6 @@ export declare enum GqlReceiptType {
|
|
902
884
|
Transfer = "TRANSFER",
|
903
885
|
TransferOut = "TRANSFER_OUT"
|
904
886
|
}
|
905
|
-
export type GqlRelayedTransactionFailed = {
|
906
|
-
__typename: 'RelayedTransactionFailed';
|
907
|
-
blockHeight: Scalars['U32'];
|
908
|
-
failure: Scalars['String'];
|
909
|
-
};
|
910
|
-
export type GqlRelayedTransactionStatus = GqlRelayedTransactionFailed;
|
911
887
|
export declare enum GqlReturnType {
|
912
888
|
Return = "RETURN",
|
913
889
|
ReturnData = "RETURN_DATA",
|
@@ -946,10 +922,6 @@ export type GqlSqueezedOutStatus = {
|
|
946
922
|
__typename: 'SqueezedOutStatus';
|
947
923
|
reason: Scalars['String'];
|
948
924
|
};
|
949
|
-
export type GqlStateTransitionPurpose = {
|
950
|
-
__typename: 'StateTransitionPurpose';
|
951
|
-
root: Scalars['Bytes32'];
|
952
|
-
};
|
953
925
|
export type GqlSubmittedStatus = {
|
954
926
|
__typename: 'SubmittedStatus';
|
955
927
|
time: Scalars['Tai64Timestamp'];
|
@@ -986,13 +958,10 @@ export type GqlSuccessStatus = {
|
|
986
958
|
programState?: Maybe<GqlProgramState>;
|
987
959
|
receipts: Array<GqlReceipt>;
|
988
960
|
time: Scalars['Tai64Timestamp'];
|
989
|
-
totalFee: Scalars['U64'];
|
990
|
-
totalGas: Scalars['U64'];
|
991
961
|
transactionId: Scalars['TransactionId'];
|
992
962
|
};
|
993
963
|
export type GqlTransaction = {
|
994
964
|
__typename: 'Transaction';
|
995
|
-
bytecodeRoot?: Maybe<Scalars['Bytes32']>;
|
996
965
|
bytecodeWitnessIndex?: Maybe<Scalars['U16']>;
|
997
966
|
id: Scalars['TransactionId'];
|
998
967
|
inputAssetIds?: Maybe<Array<Scalars['AssetId']>>;
|
@@ -1002,8 +971,6 @@ export type GqlTransaction = {
|
|
1002
971
|
isCreate: Scalars['Boolean'];
|
1003
972
|
isMint: Scalars['Boolean'];
|
1004
973
|
isScript: Scalars['Boolean'];
|
1005
|
-
isUpgrade: Scalars['Boolean'];
|
1006
|
-
isUpload: Scalars['Boolean'];
|
1007
974
|
maturity?: Maybe<Scalars['U32']>;
|
1008
975
|
mintAmount?: Maybe<Scalars['U64']>;
|
1009
976
|
mintAssetId?: Maybe<Scalars['AssetId']>;
|
@@ -1011,7 +978,6 @@ export type GqlTransaction = {
|
|
1011
978
|
outputContract?: Maybe<GqlContractOutput>;
|
1012
979
|
outputs: Array<GqlOutput>;
|
1013
980
|
policies?: Maybe<GqlPolicies>;
|
1014
|
-
proofSet?: Maybe<Array<Scalars['Bytes32']>>;
|
1015
981
|
/** Return the transaction bytes using canonical encoding */
|
1016
982
|
rawPayload: Scalars['HexString'];
|
1017
983
|
receiptsRoot?: Maybe<Scalars['Bytes32']>;
|
@@ -1021,10 +987,7 @@ export type GqlTransaction = {
|
|
1021
987
|
scriptGasLimit?: Maybe<Scalars['U64']>;
|
1022
988
|
status?: Maybe<GqlTransactionStatus>;
|
1023
989
|
storageSlots?: Maybe<Array<Scalars['HexString']>>;
|
1024
|
-
subsectionIndex?: Maybe<Scalars['U16']>;
|
1025
|
-
subsectionsNumber?: Maybe<Scalars['U16']>;
|
1026
990
|
txPointer?: Maybe<Scalars['TxPointer']>;
|
1027
|
-
upgradePurpose?: Maybe<GqlUpgradePurpose>;
|
1028
991
|
witnesses?: Maybe<Array<Scalars['HexString']>>;
|
1029
992
|
};
|
1030
993
|
export type GqlTransactionConnection = {
|
@@ -1047,7 +1010,6 @@ export type GqlTransactionEdge = {
|
|
1047
1010
|
export type GqlTransactionStatus = GqlFailureStatus | GqlSqueezedOutStatus | GqlSubmittedStatus | GqlSuccessStatus;
|
1048
1011
|
export type GqlTxParameters = {
|
1049
1012
|
__typename: 'TxParameters';
|
1050
|
-
maxBytecodeSubsections: Scalars['U16'];
|
1051
1013
|
maxGasPerTx: Scalars['U64'];
|
1052
1014
|
maxInputs: Scalars['U16'];
|
1053
1015
|
maxOutputs: Scalars['U16'];
|
@@ -1058,7 +1020,6 @@ export type GqlTxParameters = {
|
|
1058
1020
|
export declare enum GqlTxParametersVersion {
|
1059
1021
|
V1 = "V1"
|
1060
1022
|
}
|
1061
|
-
export type GqlUpgradePurpose = GqlConsensusParametersPurpose | GqlStateTransitionPurpose;
|
1062
1023
|
export type GqlVariableOutput = {
|
1063
1024
|
__typename: 'VariableOutput';
|
1064
1025
|
amount: Scalars['U64'];
|
@@ -1067,8 +1028,6 @@ export type GqlVariableOutput = {
|
|
1067
1028
|
};
|
1068
1029
|
type GqlTransactionStatusFragment_FailureStatus_Fragment = {
|
1069
1030
|
__typename: 'FailureStatus';
|
1070
|
-
totalGas: string;
|
1071
|
-
totalFee: string;
|
1072
1031
|
time: string;
|
1073
1032
|
reason: string;
|
1074
1033
|
type: 'FailureStatus';
|
@@ -1121,18 +1080,11 @@ type GqlTransactionStatusFragment_SubmittedStatus_Fragment = {
|
|
1121
1080
|
type GqlTransactionStatusFragment_SuccessStatus_Fragment = {
|
1122
1081
|
__typename: 'SuccessStatus';
|
1123
1082
|
time: string;
|
1124
|
-
totalGas: string;
|
1125
|
-
totalFee: string;
|
1126
1083
|
type: 'SuccessStatus';
|
1127
1084
|
block: {
|
1128
1085
|
__typename: 'Block';
|
1129
1086
|
id: string;
|
1130
1087
|
};
|
1131
|
-
programState?: {
|
1132
|
-
__typename: 'ProgramState';
|
1133
|
-
returnType: GqlReturnType;
|
1134
|
-
data: string;
|
1135
|
-
} | null;
|
1136
1088
|
receipts: Array<{
|
1137
1089
|
__typename: 'Receipt';
|
1138
1090
|
id?: string | null;
|
@@ -1164,6 +1116,11 @@ type GqlTransactionStatusFragment_SuccessStatus_Fragment = {
|
|
1164
1116
|
contractId?: string | null;
|
1165
1117
|
subId?: string | null;
|
1166
1118
|
}>;
|
1119
|
+
programState?: {
|
1120
|
+
__typename: 'ProgramState';
|
1121
|
+
returnType: GqlReturnType;
|
1122
|
+
data: string;
|
1123
|
+
} | null;
|
1167
1124
|
};
|
1168
1125
|
export type GqlTransactionStatusFragmentFragment = GqlTransactionStatusFragment_FailureStatus_Fragment | GqlTransactionStatusFragment_SqueezedOutStatus_Fragment | GqlTransactionStatusFragment_SubmittedStatus_Fragment | GqlTransactionStatusFragment_SuccessStatus_Fragment;
|
1169
1126
|
type GqlTransactionStatusSubscriptionFragment_FailureStatus_Fragment = {
|
@@ -1190,8 +1147,6 @@ export type GqlTransactionFragmentFragment = {
|
|
1190
1147
|
rawPayload: string;
|
1191
1148
|
status?: {
|
1192
1149
|
__typename: 'FailureStatus';
|
1193
|
-
totalGas: string;
|
1194
|
-
totalFee: string;
|
1195
1150
|
time: string;
|
1196
1151
|
reason: string;
|
1197
1152
|
type: 'FailureStatus';
|
@@ -1241,18 +1196,11 @@ export type GqlTransactionFragmentFragment = {
|
|
1241
1196
|
} | {
|
1242
1197
|
__typename: 'SuccessStatus';
|
1243
1198
|
time: string;
|
1244
|
-
totalGas: string;
|
1245
|
-
totalFee: string;
|
1246
1199
|
type: 'SuccessStatus';
|
1247
1200
|
block: {
|
1248
1201
|
__typename: 'Block';
|
1249
1202
|
id: string;
|
1250
1203
|
};
|
1251
|
-
programState?: {
|
1252
|
-
__typename: 'ProgramState';
|
1253
|
-
returnType: GqlReturnType;
|
1254
|
-
data: string;
|
1255
|
-
} | null;
|
1256
1204
|
receipts: Array<{
|
1257
1205
|
__typename: 'Receipt';
|
1258
1206
|
id?: string | null;
|
@@ -1284,6 +1232,11 @@ export type GqlTransactionFragmentFragment = {
|
|
1284
1232
|
contractId?: string | null;
|
1285
1233
|
subId?: string | null;
|
1286
1234
|
}>;
|
1235
|
+
programState?: {
|
1236
|
+
__typename: 'ProgramState';
|
1237
|
+
returnType: GqlReturnType;
|
1238
|
+
data: string;
|
1239
|
+
} | null;
|
1287
1240
|
} | null;
|
1288
1241
|
};
|
1289
1242
|
type GqlInputEstimatePredicatesFragment_InputCoin_Fragment = {
|
@@ -1312,8 +1265,6 @@ export type GqlTransactionEstimatePredicatesFragmentFragment = {
|
|
1312
1265
|
};
|
1313
1266
|
export type GqlDryRunFailureStatusFragmentFragment = {
|
1314
1267
|
__typename: 'DryRunFailureStatus';
|
1315
|
-
totalGas: string;
|
1316
|
-
totalFee: string;
|
1317
1268
|
reason: string;
|
1318
1269
|
programState?: {
|
1319
1270
|
__typename: 'ProgramState';
|
@@ -1323,8 +1274,6 @@ export type GqlDryRunFailureStatusFragmentFragment = {
|
|
1323
1274
|
};
|
1324
1275
|
export type GqlDryRunSuccessStatusFragmentFragment = {
|
1325
1276
|
__typename: 'DryRunSuccessStatus';
|
1326
|
-
totalGas: string;
|
1327
|
-
totalFee: string;
|
1328
1277
|
programState?: {
|
1329
1278
|
__typename: 'ProgramState';
|
1330
1279
|
returnType: GqlReturnType;
|
@@ -1364,8 +1313,6 @@ export type GqlReceiptFragmentFragment = {
|
|
1364
1313
|
};
|
1365
1314
|
type GqlDryRunTransactionStatusFragment_DryRunFailureStatus_Fragment = {
|
1366
1315
|
__typename: 'DryRunFailureStatus';
|
1367
|
-
totalGas: string;
|
1368
|
-
totalFee: string;
|
1369
1316
|
reason: string;
|
1370
1317
|
programState?: {
|
1371
1318
|
__typename: 'ProgramState';
|
@@ -1375,8 +1322,6 @@ type GqlDryRunTransactionStatusFragment_DryRunFailureStatus_Fragment = {
|
|
1375
1322
|
};
|
1376
1323
|
type GqlDryRunTransactionStatusFragment_DryRunSuccessStatus_Fragment = {
|
1377
1324
|
__typename: 'DryRunSuccessStatus';
|
1378
|
-
totalGas: string;
|
1379
|
-
totalFee: string;
|
1380
1325
|
programState?: {
|
1381
1326
|
__typename: 'ProgramState';
|
1382
1327
|
returnType: GqlReturnType;
|
@@ -1389,8 +1334,6 @@ export type GqlDryRunTransactionExecutionStatusFragmentFragment = {
|
|
1389
1334
|
id: string;
|
1390
1335
|
status: {
|
1391
1336
|
__typename: 'DryRunFailureStatus';
|
1392
|
-
totalGas: string;
|
1393
|
-
totalFee: string;
|
1394
1337
|
reason: string;
|
1395
1338
|
programState?: {
|
1396
1339
|
__typename: 'ProgramState';
|
@@ -1399,8 +1342,6 @@ export type GqlDryRunTransactionExecutionStatusFragmentFragment = {
|
|
1399
1342
|
} | null;
|
1400
1343
|
} | {
|
1401
1344
|
__typename: 'DryRunSuccessStatus';
|
1402
|
-
totalGas: string;
|
1403
|
-
totalFee: string;
|
1404
1345
|
programState?: {
|
1405
1346
|
__typename: 'ProgramState';
|
1406
1347
|
returnType: GqlReturnType;
|
@@ -1442,7 +1383,7 @@ export type GqlDryRunTransactionExecutionStatusFragmentFragment = {
|
|
1442
1383
|
export type GqlBlockFragmentFragment = {
|
1443
1384
|
__typename: 'Block';
|
1444
1385
|
id: string;
|
1445
|
-
height:
|
1386
|
+
height: any;
|
1446
1387
|
header: {
|
1447
1388
|
__typename: 'Header';
|
1448
1389
|
time: string;
|
@@ -1458,8 +1399,8 @@ export type GqlCoinFragmentFragment = {
|
|
1458
1399
|
owner: string;
|
1459
1400
|
amount: string;
|
1460
1401
|
assetId: string;
|
1461
|
-
blockCreated:
|
1462
|
-
txCreatedIdx:
|
1402
|
+
blockCreated: any;
|
1403
|
+
txCreatedIdx: any;
|
1463
1404
|
};
|
1464
1405
|
export type GqlMessageCoinFragmentFragment = {
|
1465
1406
|
__typename: 'MessageCoin';
|
@@ -1500,14 +1441,14 @@ export type GqlMessageProofFragmentFragment = {
|
|
1500
1441
|
__typename: 'Header';
|
1501
1442
|
id: string;
|
1502
1443
|
daHeight: string;
|
1503
|
-
consensusParametersVersion:
|
1504
|
-
stateTransitionBytecodeVersion:
|
1444
|
+
consensusParametersVersion: any;
|
1445
|
+
stateTransitionBytecodeVersion: any;
|
1505
1446
|
transactionsCount: string;
|
1506
1447
|
messageReceiptCount: string;
|
1507
1448
|
transactionsRoot: string;
|
1508
1449
|
messageOutboxRoot: string;
|
1509
1450
|
eventInboxRoot: string;
|
1510
|
-
height:
|
1451
|
+
height: any;
|
1511
1452
|
prevRoot: string;
|
1512
1453
|
time: string;
|
1513
1454
|
applicationHash: string;
|
@@ -1516,14 +1457,14 @@ export type GqlMessageProofFragmentFragment = {
|
|
1516
1457
|
__typename: 'Header';
|
1517
1458
|
id: string;
|
1518
1459
|
daHeight: string;
|
1519
|
-
consensusParametersVersion:
|
1520
|
-
stateTransitionBytecodeVersion:
|
1460
|
+
consensusParametersVersion: any;
|
1461
|
+
stateTransitionBytecodeVersion: any;
|
1521
1462
|
transactionsCount: string;
|
1522
1463
|
messageReceiptCount: string;
|
1523
1464
|
transactionsRoot: string;
|
1524
1465
|
messageOutboxRoot: string;
|
1525
1466
|
eventInboxRoot: string;
|
1526
|
-
height:
|
1467
|
+
height: any;
|
1527
1468
|
prevRoot: string;
|
1528
1469
|
time: string;
|
1529
1470
|
applicationHash: string;
|
@@ -1538,12 +1479,11 @@ export type GqlBalanceFragmentFragment = {
|
|
1538
1479
|
export type GqlTxParametersFragmentFragment = {
|
1539
1480
|
__typename: 'TxParameters';
|
1540
1481
|
version: GqlTxParametersVersion;
|
1541
|
-
maxInputs:
|
1542
|
-
maxOutputs:
|
1543
|
-
maxWitnesses:
|
1482
|
+
maxInputs: any;
|
1483
|
+
maxOutputs: any;
|
1484
|
+
maxWitnesses: any;
|
1544
1485
|
maxGasPerTx: string;
|
1545
1486
|
maxSize: string;
|
1546
|
-
maxBytecodeSubsections: string;
|
1547
1487
|
};
|
1548
1488
|
export type GqlPredicateParametersFragmentFragment = {
|
1549
1489
|
__typename: 'PredicateParameters';
|
@@ -1872,12 +1812,11 @@ export type GqlConsensusParametersFragmentFragment = {
|
|
1872
1812
|
txParams: {
|
1873
1813
|
__typename: 'TxParameters';
|
1874
1814
|
version: GqlTxParametersVersion;
|
1875
|
-
maxInputs:
|
1876
|
-
maxOutputs:
|
1877
|
-
maxWitnesses:
|
1815
|
+
maxInputs: any;
|
1816
|
+
maxOutputs: any;
|
1817
|
+
maxWitnesses: any;
|
1878
1818
|
maxGasPerTx: string;
|
1879
1819
|
maxSize: string;
|
1880
|
-
maxBytecodeSubsections: string;
|
1881
1820
|
};
|
1882
1821
|
predicateParams: {
|
1883
1822
|
__typename: 'PredicateParameters';
|
@@ -2195,7 +2134,7 @@ export type GqlChainInfoFragmentFragment = {
|
|
2195
2134
|
latestBlock: {
|
2196
2135
|
__typename: 'Block';
|
2197
2136
|
id: string;
|
2198
|
-
height:
|
2137
|
+
height: any;
|
2199
2138
|
header: {
|
2200
2139
|
__typename: 'Header';
|
2201
2140
|
time: string;
|
@@ -2213,12 +2152,11 @@ export type GqlChainInfoFragmentFragment = {
|
|
2213
2152
|
txParams: {
|
2214
2153
|
__typename: 'TxParameters';
|
2215
2154
|
version: GqlTxParametersVersion;
|
2216
|
-
maxInputs:
|
2217
|
-
maxOutputs:
|
2218
|
-
maxWitnesses:
|
2155
|
+
maxInputs: any;
|
2156
|
+
maxOutputs: any;
|
2157
|
+
maxWitnesses: any;
|
2219
2158
|
maxGasPerTx: string;
|
2220
2159
|
maxSize: string;
|
2221
|
-
maxBytecodeSubsections: string;
|
2222
2160
|
};
|
2223
2161
|
predicateParams: {
|
2224
2162
|
__typename: 'PredicateParameters';
|
@@ -2561,11 +2499,6 @@ export type GqlNodeInfoFragmentFragment = {
|
|
2561
2499
|
maxDepth: string;
|
2562
2500
|
nodeVersion: string;
|
2563
2501
|
};
|
2564
|
-
export type GqlRelayedTransactionStatusFragmentFragment = {
|
2565
|
-
__typename: 'RelayedTransactionFailed';
|
2566
|
-
blockHeight: string;
|
2567
|
-
failure: string;
|
2568
|
-
};
|
2569
2502
|
export type GqlGetNodeInfoQueryVariables = Exact<{
|
2570
2503
|
[key: string]: never;
|
2571
2504
|
}>;
|
@@ -2592,7 +2525,7 @@ export type GqlGetChainQuery = {
|
|
2592
2525
|
latestBlock: {
|
2593
2526
|
__typename: 'Block';
|
2594
2527
|
id: string;
|
2595
|
-
height:
|
2528
|
+
height: any;
|
2596
2529
|
header: {
|
2597
2530
|
__typename: 'Header';
|
2598
2531
|
time: string;
|
@@ -2610,12 +2543,11 @@ export type GqlGetChainQuery = {
|
|
2610
2543
|
txParams: {
|
2611
2544
|
__typename: 'TxParameters';
|
2612
2545
|
version: GqlTxParametersVersion;
|
2613
|
-
maxInputs:
|
2614
|
-
maxOutputs:
|
2615
|
-
maxWitnesses:
|
2546
|
+
maxInputs: any;
|
2547
|
+
maxOutputs: any;
|
2548
|
+
maxWitnesses: any;
|
2616
2549
|
maxGasPerTx: string;
|
2617
2550
|
maxSize: string;
|
2618
|
-
maxBytecodeSubsections: string;
|
2619
2551
|
};
|
2620
2552
|
predicateParams: {
|
2621
2553
|
__typename: 'PredicateParameters';
|
@@ -2939,8 +2871,6 @@ export type GqlGetTransactionQuery = {
|
|
2939
2871
|
rawPayload: string;
|
2940
2872
|
status?: {
|
2941
2873
|
__typename: 'FailureStatus';
|
2942
|
-
totalGas: string;
|
2943
|
-
totalFee: string;
|
2944
2874
|
time: string;
|
2945
2875
|
reason: string;
|
2946
2876
|
type: 'FailureStatus';
|
@@ -2990,18 +2920,11 @@ export type GqlGetTransactionQuery = {
|
|
2990
2920
|
} | {
|
2991
2921
|
__typename: 'SuccessStatus';
|
2992
2922
|
time: string;
|
2993
|
-
totalGas: string;
|
2994
|
-
totalFee: string;
|
2995
2923
|
type: 'SuccessStatus';
|
2996
2924
|
block: {
|
2997
2925
|
__typename: 'Block';
|
2998
2926
|
id: string;
|
2999
2927
|
};
|
3000
|
-
programState?: {
|
3001
|
-
__typename: 'ProgramState';
|
3002
|
-
returnType: GqlReturnType;
|
3003
|
-
data: string;
|
3004
|
-
} | null;
|
3005
2928
|
receipts: Array<{
|
3006
2929
|
__typename: 'Receipt';
|
3007
2930
|
id?: string | null;
|
@@ -3033,6 +2956,11 @@ export type GqlGetTransactionQuery = {
|
|
3033
2956
|
contractId?: string | null;
|
3034
2957
|
subId?: string | null;
|
3035
2958
|
}>;
|
2959
|
+
programState?: {
|
2960
|
+
__typename: 'ProgramState';
|
2961
|
+
returnType: GqlReturnType;
|
2962
|
+
data: string;
|
2963
|
+
} | null;
|
3036
2964
|
} | null;
|
3037
2965
|
} | null;
|
3038
2966
|
};
|
@@ -3047,8 +2975,6 @@ export type GqlGetTransactionWithReceiptsQuery = {
|
|
3047
2975
|
rawPayload: string;
|
3048
2976
|
status?: {
|
3049
2977
|
__typename: 'FailureStatus';
|
3050
|
-
totalGas: string;
|
3051
|
-
totalFee: string;
|
3052
2978
|
time: string;
|
3053
2979
|
reason: string;
|
3054
2980
|
type: 'FailureStatus';
|
@@ -3098,18 +3024,11 @@ export type GqlGetTransactionWithReceiptsQuery = {
|
|
3098
3024
|
} | {
|
3099
3025
|
__typename: 'SuccessStatus';
|
3100
3026
|
time: string;
|
3101
|
-
totalGas: string;
|
3102
|
-
totalFee: string;
|
3103
3027
|
type: 'SuccessStatus';
|
3104
3028
|
block: {
|
3105
3029
|
__typename: 'Block';
|
3106
3030
|
id: string;
|
3107
3031
|
};
|
3108
|
-
programState?: {
|
3109
|
-
__typename: 'ProgramState';
|
3110
|
-
returnType: GqlReturnType;
|
3111
|
-
data: string;
|
3112
|
-
} | null;
|
3113
3032
|
receipts: Array<{
|
3114
3033
|
__typename: 'Receipt';
|
3115
3034
|
id?: string | null;
|
@@ -3141,6 +3060,11 @@ export type GqlGetTransactionWithReceiptsQuery = {
|
|
3141
3060
|
contractId?: string | null;
|
3142
3061
|
subId?: string | null;
|
3143
3062
|
}>;
|
3063
|
+
programState?: {
|
3064
|
+
__typename: 'ProgramState';
|
3065
|
+
returnType: GqlReturnType;
|
3066
|
+
data: string;
|
3067
|
+
} | null;
|
3144
3068
|
} | null;
|
3145
3069
|
} | null;
|
3146
3070
|
};
|
@@ -3162,8 +3086,6 @@ export type GqlGetTransactionsQuery = {
|
|
3162
3086
|
rawPayload: string;
|
3163
3087
|
status?: {
|
3164
3088
|
__typename: 'FailureStatus';
|
3165
|
-
totalGas: string;
|
3166
|
-
totalFee: string;
|
3167
3089
|
time: string;
|
3168
3090
|
reason: string;
|
3169
3091
|
type: 'FailureStatus';
|
@@ -3213,18 +3135,11 @@ export type GqlGetTransactionsQuery = {
|
|
3213
3135
|
} | {
|
3214
3136
|
__typename: 'SuccessStatus';
|
3215
3137
|
time: string;
|
3216
|
-
totalGas: string;
|
3217
|
-
totalFee: string;
|
3218
3138
|
type: 'SuccessStatus';
|
3219
3139
|
block: {
|
3220
3140
|
__typename: 'Block';
|
3221
3141
|
id: string;
|
3222
3142
|
};
|
3223
|
-
programState?: {
|
3224
|
-
__typename: 'ProgramState';
|
3225
|
-
returnType: GqlReturnType;
|
3226
|
-
data: string;
|
3227
|
-
} | null;
|
3228
3143
|
receipts: Array<{
|
3229
3144
|
__typename: 'Receipt';
|
3230
3145
|
id?: string | null;
|
@@ -3256,6 +3171,11 @@ export type GqlGetTransactionsQuery = {
|
|
3256
3171
|
contractId?: string | null;
|
3257
3172
|
subId?: string | null;
|
3258
3173
|
}>;
|
3174
|
+
programState?: {
|
3175
|
+
__typename: 'ProgramState';
|
3176
|
+
returnType: GqlReturnType;
|
3177
|
+
data: string;
|
3178
|
+
} | null;
|
3259
3179
|
} | null;
|
3260
3180
|
};
|
3261
3181
|
}>;
|
@@ -3287,8 +3207,6 @@ export type GqlGetTransactionsByOwnerQuery = {
|
|
3287
3207
|
rawPayload: string;
|
3288
3208
|
status?: {
|
3289
3209
|
__typename: 'FailureStatus';
|
3290
|
-
totalGas: string;
|
3291
|
-
totalFee: string;
|
3292
3210
|
time: string;
|
3293
3211
|
reason: string;
|
3294
3212
|
type: 'FailureStatus';
|
@@ -3338,18 +3256,11 @@ export type GqlGetTransactionsByOwnerQuery = {
|
|
3338
3256
|
} | {
|
3339
3257
|
__typename: 'SuccessStatus';
|
3340
3258
|
time: string;
|
3341
|
-
totalGas: string;
|
3342
|
-
totalFee: string;
|
3343
3259
|
type: 'SuccessStatus';
|
3344
3260
|
block: {
|
3345
3261
|
__typename: 'Block';
|
3346
3262
|
id: string;
|
3347
3263
|
};
|
3348
|
-
programState?: {
|
3349
|
-
__typename: 'ProgramState';
|
3350
|
-
returnType: GqlReturnType;
|
3351
|
-
data: string;
|
3352
|
-
} | null;
|
3353
3264
|
receipts: Array<{
|
3354
3265
|
__typename: 'Receipt';
|
3355
3266
|
id?: string | null;
|
@@ -3381,6 +3292,11 @@ export type GqlGetTransactionsByOwnerQuery = {
|
|
3381
3292
|
contractId?: string | null;
|
3382
3293
|
subId?: string | null;
|
3383
3294
|
}>;
|
3295
|
+
programState?: {
|
3296
|
+
__typename: 'ProgramState';
|
3297
|
+
returnType: GqlReturnType;
|
3298
|
+
data: string;
|
3299
|
+
} | null;
|
3384
3300
|
} | null;
|
3385
3301
|
};
|
3386
3302
|
}>;
|
@@ -3413,7 +3329,7 @@ export type GqlGetBlockQuery = {
|
|
3413
3329
|
block?: {
|
3414
3330
|
__typename: 'Block';
|
3415
3331
|
id: string;
|
3416
|
-
height:
|
3332
|
+
height: any;
|
3417
3333
|
header: {
|
3418
3334
|
__typename: 'Header';
|
3419
3335
|
time: string;
|
@@ -3433,15 +3349,13 @@ export type GqlGetBlockWithTransactionsQuery = {
|
|
3433
3349
|
block?: {
|
3434
3350
|
__typename: 'Block';
|
3435
3351
|
id: string;
|
3436
|
-
height:
|
3352
|
+
height: any;
|
3437
3353
|
transactions: Array<{
|
3438
3354
|
__typename: 'Transaction';
|
3439
3355
|
id: string;
|
3440
3356
|
rawPayload: string;
|
3441
3357
|
status?: {
|
3442
3358
|
__typename: 'FailureStatus';
|
3443
|
-
totalGas: string;
|
3444
|
-
totalFee: string;
|
3445
3359
|
time: string;
|
3446
3360
|
reason: string;
|
3447
3361
|
type: 'FailureStatus';
|
@@ -3491,18 +3405,11 @@ export type GqlGetBlockWithTransactionsQuery = {
|
|
3491
3405
|
} | {
|
3492
3406
|
__typename: 'SuccessStatus';
|
3493
3407
|
time: string;
|
3494
|
-
totalGas: string;
|
3495
|
-
totalFee: string;
|
3496
3408
|
type: 'SuccessStatus';
|
3497
3409
|
block: {
|
3498
3410
|
__typename: 'Block';
|
3499
3411
|
id: string;
|
3500
3412
|
};
|
3501
|
-
programState?: {
|
3502
|
-
__typename: 'ProgramState';
|
3503
|
-
returnType: GqlReturnType;
|
3504
|
-
data: string;
|
3505
|
-
} | null;
|
3506
3413
|
receipts: Array<{
|
3507
3414
|
__typename: 'Receipt';
|
3508
3415
|
id?: string | null;
|
@@ -3534,6 +3441,11 @@ export type GqlGetBlockWithTransactionsQuery = {
|
|
3534
3441
|
contractId?: string | null;
|
3535
3442
|
subId?: string | null;
|
3536
3443
|
}>;
|
3444
|
+
programState?: {
|
3445
|
+
__typename: 'ProgramState';
|
3446
|
+
returnType: GqlReturnType;
|
3447
|
+
data: string;
|
3448
|
+
} | null;
|
3537
3449
|
} | null;
|
3538
3450
|
}>;
|
3539
3451
|
header: {
|
@@ -3557,7 +3469,7 @@ export type GqlGetBlocksQuery = {
|
|
3557
3469
|
node: {
|
3558
3470
|
__typename: 'Block';
|
3559
3471
|
id: string;
|
3560
|
-
height:
|
3472
|
+
height: any;
|
3561
3473
|
header: {
|
3562
3474
|
__typename: 'Header';
|
3563
3475
|
time: string;
|
@@ -3581,8 +3493,8 @@ export type GqlGetCoinQuery = {
|
|
3581
3493
|
owner: string;
|
3582
3494
|
amount: string;
|
3583
3495
|
assetId: string;
|
3584
|
-
blockCreated:
|
3585
|
-
txCreatedIdx:
|
3496
|
+
blockCreated: any;
|
3497
|
+
txCreatedIdx: any;
|
3586
3498
|
} | null;
|
3587
3499
|
};
|
3588
3500
|
export type GqlGetCoinsQueryVariables = Exact<{
|
@@ -3604,8 +3516,8 @@ export type GqlGetCoinsQuery = {
|
|
3604
3516
|
owner: string;
|
3605
3517
|
amount: string;
|
3606
3518
|
assetId: string;
|
3607
|
-
blockCreated:
|
3608
|
-
txCreatedIdx:
|
3519
|
+
blockCreated: any;
|
3520
|
+
txCreatedIdx: any;
|
3609
3521
|
};
|
3610
3522
|
}>;
|
3611
3523
|
};
|
@@ -3623,8 +3535,8 @@ export type GqlGetCoinsToSpendQuery = {
|
|
3623
3535
|
owner: string;
|
3624
3536
|
amount: string;
|
3625
3537
|
assetId: string;
|
3626
|
-
blockCreated:
|
3627
|
-
txCreatedIdx:
|
3538
|
+
blockCreated: any;
|
3539
|
+
txCreatedIdx: any;
|
3628
3540
|
} | {
|
3629
3541
|
__typename: 'MessageCoin';
|
3630
3542
|
sender: string;
|
@@ -3768,14 +3680,14 @@ export type GqlGetMessageProofQuery = {
|
|
3768
3680
|
__typename: 'Header';
|
3769
3681
|
id: string;
|
3770
3682
|
daHeight: string;
|
3771
|
-
consensusParametersVersion:
|
3772
|
-
stateTransitionBytecodeVersion:
|
3683
|
+
consensusParametersVersion: any;
|
3684
|
+
stateTransitionBytecodeVersion: any;
|
3773
3685
|
transactionsCount: string;
|
3774
3686
|
messageReceiptCount: string;
|
3775
3687
|
transactionsRoot: string;
|
3776
3688
|
messageOutboxRoot: string;
|
3777
3689
|
eventInboxRoot: string;
|
3778
|
-
height:
|
3690
|
+
height: any;
|
3779
3691
|
prevRoot: string;
|
3780
3692
|
time: string;
|
3781
3693
|
applicationHash: string;
|
@@ -3784,14 +3696,14 @@ export type GqlGetMessageProofQuery = {
|
|
3784
3696
|
__typename: 'Header';
|
3785
3697
|
id: string;
|
3786
3698
|
daHeight: string;
|
3787
|
-
consensusParametersVersion:
|
3788
|
-
stateTransitionBytecodeVersion:
|
3699
|
+
consensusParametersVersion: any;
|
3700
|
+
stateTransitionBytecodeVersion: any;
|
3789
3701
|
transactionsCount: string;
|
3790
3702
|
messageReceiptCount: string;
|
3791
3703
|
transactionsRoot: string;
|
3792
3704
|
messageOutboxRoot: string;
|
3793
3705
|
eventInboxRoot: string;
|
3794
|
-
height:
|
3706
|
+
height: any;
|
3795
3707
|
prevRoot: string;
|
3796
3708
|
time: string;
|
3797
3709
|
applicationHash: string;
|
@@ -3808,17 +3720,6 @@ export type GqlGetMessageStatusQuery = {
|
|
3808
3720
|
state: GqlMessageState;
|
3809
3721
|
};
|
3810
3722
|
};
|
3811
|
-
export type GqlGetRelayedTransactionStatusQueryVariables = Exact<{
|
3812
|
-
relayedTransactionId: Scalars['RelayedTransactionId'];
|
3813
|
-
}>;
|
3814
|
-
export type GqlGetRelayedTransactionStatusQuery = {
|
3815
|
-
__typename: 'Query';
|
3816
|
-
relayedTransactionStatus?: {
|
3817
|
-
__typename: 'RelayedTransactionFailed';
|
3818
|
-
blockHeight: string;
|
3819
|
-
failure: string;
|
3820
|
-
} | null;
|
3821
|
-
};
|
3822
3723
|
export type GqlDryRunMutationVariables = Exact<{
|
3823
3724
|
encodedTransactions: Array<Scalars['HexString']> | Scalars['HexString'];
|
3824
3725
|
utxoValidation?: InputMaybe<Scalars['Boolean']>;
|
@@ -3830,8 +3731,6 @@ export type GqlDryRunMutation = {
|
|
3830
3731
|
id: string;
|
3831
3732
|
status: {
|
3832
3733
|
__typename: 'DryRunFailureStatus';
|
3833
|
-
totalGas: string;
|
3834
|
-
totalFee: string;
|
3835
3734
|
reason: string;
|
3836
3735
|
programState?: {
|
3837
3736
|
__typename: 'ProgramState';
|
@@ -3840,8 +3739,6 @@ export type GqlDryRunMutation = {
|
|
3840
3739
|
} | null;
|
3841
3740
|
} | {
|
3842
3741
|
__typename: 'DryRunSuccessStatus';
|
3843
|
-
totalGas: string;
|
3844
|
-
totalFee: string;
|
3845
3742
|
programState?: {
|
3846
3743
|
__typename: 'ProgramState';
|
3847
3744
|
returnType: GqlReturnType;
|
@@ -3897,7 +3794,7 @@ export type GqlProduceBlocksMutationVariables = Exact<{
|
|
3897
3794
|
}>;
|
3898
3795
|
export type GqlProduceBlocksMutation = {
|
3899
3796
|
__typename: 'Mutation';
|
3900
|
-
produceBlocks:
|
3797
|
+
produceBlocks: any;
|
3901
3798
|
};
|
3902
3799
|
export type GqlGetMessageByNonceQueryVariables = Exact<{
|
3903
3800
|
nonce: Scalars['Nonce'];
|
@@ -3982,7 +3879,6 @@ export declare const ChainInfoFragmentFragmentDoc: DocumentNode;
|
|
3982
3879
|
export declare const ContractBalanceFragmentFragmentDoc: DocumentNode;
|
3983
3880
|
export declare const PageInfoFragmentFragmentDoc: DocumentNode;
|
3984
3881
|
export declare const NodeInfoFragmentFragmentDoc: DocumentNode;
|
3985
|
-
export declare const RelayedTransactionStatusFragmentFragmentDoc: DocumentNode;
|
3986
3882
|
export declare const GetVersionDocument: DocumentNode;
|
3987
3883
|
export declare const GetNodeInfoDocument: DocumentNode;
|
3988
3884
|
export declare const GetChainDocument: DocumentNode;
|
@@ -4006,7 +3902,6 @@ export declare const GetBalancesDocument: DocumentNode;
|
|
4006
3902
|
export declare const GetMessagesDocument: DocumentNode;
|
4007
3903
|
export declare const GetMessageProofDocument: DocumentNode;
|
4008
3904
|
export declare const GetMessageStatusDocument: DocumentNode;
|
4009
|
-
export declare const GetRelayedTransactionStatusDocument: DocumentNode;
|
4010
3905
|
export declare const DryRunDocument: DocumentNode;
|
4011
3906
|
export declare const SubmitDocument: DocumentNode;
|
4012
3907
|
export declare const ProduceBlocksDocument: DocumentNode;
|
@@ -4038,7 +3933,6 @@ export declare function getSdk<C, E>(requester: Requester<C, E>): {
|
|
4038
3933
|
getMessages(variables: GqlGetMessagesQueryVariables, options?: C): Promise<GqlGetMessagesQuery>;
|
4039
3934
|
getMessageProof(variables: GqlGetMessageProofQueryVariables, options?: C): Promise<GqlGetMessageProofQuery>;
|
4040
3935
|
getMessageStatus(variables: GqlGetMessageStatusQueryVariables, options?: C): Promise<GqlGetMessageStatusQuery>;
|
4041
|
-
getRelayedTransactionStatus(variables: GqlGetRelayedTransactionStatusQueryVariables, options?: C): Promise<GqlGetRelayedTransactionStatusQuery>;
|
4042
3936
|
dryRun(variables: GqlDryRunMutationVariables, options?: C): Promise<GqlDryRunMutation>;
|
4043
3937
|
submit(variables: GqlSubmitMutationVariables, options?: C): Promise<GqlSubmitMutation>;
|
4044
3938
|
produceBlocks(variables: GqlProduceBlocksMutationVariables, options?: C): Promise<GqlProduceBlocksMutation>;
|