@fuel-ts/account 0.93.0 → 0.94.1
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.
- package/README.md +9 -29
- package/dist/account.d.ts +2 -2
- package/dist/account.d.ts.map +1 -1
- package/dist/configs.d.ts +0 -2
- package/dist/configs.d.ts.map +1 -1
- package/dist/configs.global.js +0 -2
- package/dist/configs.global.js.map +1 -1
- package/dist/configs.js +0 -6
- package/dist/configs.js.map +1 -1
- package/dist/configs.mjs +0 -4
- package/dist/configs.mjs.map +1 -1
- package/dist/connectors/fuel-connector.d.ts.map +1 -1
- package/dist/connectors/fuel.d.ts.map +1 -1
- package/dist/connectors/utils/promises.d.ts.map +1 -1
- package/dist/index.global.js +1628 -930
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +978 -603
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +706 -343
- package/dist/index.mjs.map +1 -1
- package/dist/predicate/predicate.d.ts +15 -9
- package/dist/predicate/predicate.d.ts.map +1 -1
- package/dist/providers/__generated__/operations.d.ts +614 -1
- package/dist/providers/__generated__/operations.d.ts.map +1 -1
- package/dist/providers/fuel-graphql-subscriber.d.ts +2 -3
- package/dist/providers/fuel-graphql-subscriber.d.ts.map +1 -1
- package/dist/providers/provider.d.ts +12 -6
- package/dist/providers/provider.d.ts.map +1 -1
- package/dist/providers/resource-cache.d.ts +14 -0
- package/dist/providers/resource-cache.d.ts.map +1 -0
- package/dist/providers/transaction-request/blob-transaction-request.d.ts +48 -0
- package/dist/providers/transaction-request/blob-transaction-request.d.ts.map +1 -0
- package/dist/providers/transaction-request/index.d.ts +1 -0
- package/dist/providers/transaction-request/index.d.ts.map +1 -1
- package/dist/providers/transaction-request/transaction-request.d.ts +4 -3
- package/dist/providers/transaction-request/transaction-request.d.ts.map +1 -1
- package/dist/providers/transaction-request/types.d.ts +5 -2
- package/dist/providers/transaction-request/types.d.ts.map +1 -1
- package/dist/providers/transaction-request/utils.d.ts +9 -0
- package/dist/providers/transaction-request/utils.d.ts.map +1 -1
- package/dist/providers/transaction-response/transaction-response.d.ts +10 -5
- package/dist/providers/transaction-response/transaction-response.d.ts.map +1 -1
- package/dist/providers/transaction-summary/assemble-transaction-summary.d.ts +1 -1
- package/dist/providers/transaction-summary/assemble-transaction-summary.d.ts.map +1 -1
- package/dist/providers/transaction-summary/call.d.ts +4 -3
- package/dist/providers/transaction-summary/call.d.ts.map +1 -1
- package/dist/providers/transaction-summary/get-transaction-summary.d.ts.map +1 -1
- package/dist/providers/transaction-summary/input.d.ts +6 -1
- package/dist/providers/transaction-summary/input.d.ts.map +1 -1
- package/dist/providers/transaction-summary/operations.d.ts +4 -2
- package/dist/providers/transaction-summary/operations.d.ts.map +1 -1
- package/dist/providers/transaction-summary/types.d.ts +5 -2
- package/dist/providers/transaction-summary/types.d.ts.map +1 -1
- package/dist/providers/utils/gas.d.ts +6 -0
- package/dist/providers/utils/gas.d.ts.map +1 -1
- package/dist/test-utils/launchNode.d.ts +0 -18
- package/dist/test-utils/launchNode.d.ts.map +1 -1
- package/dist/test-utils/setup-test-provider-and-wallets.d.ts.map +1 -1
- package/dist/test-utils/test-asset-id.d.ts +8 -0
- package/dist/test-utils/test-asset-id.d.ts.map +1 -0
- package/dist/test-utils/test-message.d.ts +4 -2
- package/dist/test-utils/test-message.d.ts.map +1 -1
- package/dist/test-utils/wallet-config.d.ts +3 -3
- package/dist/test-utils/wallet-config.d.ts.map +1 -1
- package/dist/test-utils.d.ts +1 -3
- package/dist/test-utils.d.ts.map +1 -1
- package/dist/test-utils.global.js +40829 -40167
- package/dist/test-utils.global.js.map +1 -1
- package/dist/test-utils.js +1500 -1200
- package/dist/test-utils.js.map +1 -1
- package/dist/test-utils.mjs +1209 -910
- package/dist/test-utils.mjs.map +1 -1
- package/dist/wallet/keystore-wallet.d.ts.map +1 -1
- package/package.json +17 -19
- package/dist/providers/memory-cache.d.ts +0 -11
- package/dist/providers/memory-cache.d.ts.map +0 -1
- package/dist/test-utils/asset-id.d.ts +0 -8
- package/dist/test-utils/asset-id.d.ts.map +0 -1
- package/dist/test-utils/generateTestWallet.d.ts +0 -4
- package/dist/test-utils/generateTestWallet.d.ts.map +0 -1
- package/dist/test-utils/seedTestWallet.d.ts +0 -4
- package/dist/test-utils/seedTestWallet.d.ts.map +0 -1
@@ -50,6 +50,10 @@ export type Scalars = {
|
|
50
50
|
input: string;
|
51
51
|
output: string;
|
52
52
|
};
|
53
|
+
BlobId: {
|
54
|
+
input: any;
|
55
|
+
output: any;
|
56
|
+
};
|
53
57
|
BlockId: {
|
54
58
|
input: string;
|
55
59
|
output: string;
|
@@ -322,6 +326,7 @@ export type GqlFailureStatus = {
|
|
322
326
|
time: Scalars['Tai64Timestamp']['output'];
|
323
327
|
totalFee: Scalars['U64']['output'];
|
324
328
|
totalGas: Scalars['U64']['output'];
|
329
|
+
transaction: GqlTransaction;
|
325
330
|
transactionId: Scalars['TransactionId']['output'];
|
326
331
|
};
|
327
332
|
export type GqlFeeParameters = {
|
@@ -342,6 +347,8 @@ export type GqlGasCosts = {
|
|
342
347
|
bal: Scalars['U64']['output'];
|
343
348
|
bhei: Scalars['U64']['output'];
|
344
349
|
bhsh: Scalars['U64']['output'];
|
350
|
+
bldd?: Maybe<GqlDependentCost>;
|
351
|
+
bsiz?: Maybe<GqlDependentCost>;
|
345
352
|
burn: Scalars['U64']['output'];
|
346
353
|
call: GqlDependentCost;
|
347
354
|
cb: Scalars['U64']['output'];
|
@@ -358,6 +365,7 @@ export type GqlGasCosts = {
|
|
358
365
|
eck1: Scalars['U64']['output'];
|
359
366
|
ecr1: Scalars['U64']['output'];
|
360
367
|
ed19: Scalars['U64']['output'];
|
368
|
+
ed19DependentCost: GqlDependentCost;
|
361
369
|
eq: Scalars['U64']['output'];
|
362
370
|
exp: Scalars['U64']['output'];
|
363
371
|
expi: Scalars['U64']['output'];
|
@@ -1016,9 +1024,11 @@ export type GqlSuccessStatus = {
|
|
1016
1024
|
time: Scalars['Tai64Timestamp']['output'];
|
1017
1025
|
totalFee: Scalars['U64']['output'];
|
1018
1026
|
totalGas: Scalars['U64']['output'];
|
1027
|
+
transaction: GqlTransaction;
|
1019
1028
|
transactionId: Scalars['TransactionId']['output'];
|
1020
1029
|
};
|
1021
1030
|
export type GqlTransaction = {
|
1031
|
+
blobId?: Maybe<Scalars['BlobId']['output']>;
|
1022
1032
|
bytecodeRoot?: Maybe<Scalars['Bytes32']['output']>;
|
1023
1033
|
bytecodeWitnessIndex?: Maybe<Scalars['U16']['output']>;
|
1024
1034
|
id: Scalars['TransactionId']['output'];
|
@@ -1026,6 +1036,7 @@ export type GqlTransaction = {
|
|
1026
1036
|
inputContract?: Maybe<GqlInputContract>;
|
1027
1037
|
inputContracts?: Maybe<Array<Scalars['ContractId']['output']>>;
|
1028
1038
|
inputs?: Maybe<Array<GqlInput>>;
|
1039
|
+
isBlob: Scalars['Boolean']['output'];
|
1029
1040
|
isCreate: Scalars['Boolean']['output'];
|
1030
1041
|
isMint: Scalars['Boolean']['output'];
|
1031
1042
|
isScript: Scalars['Boolean']['output'];
|
@@ -1271,18 +1282,207 @@ type GqlTransactionStatusFragment_SuccessStatus = {
|
|
1271
1282
|
}>;
|
1272
1283
|
};
|
1273
1284
|
export type GqlTransactionStatusFragment = GqlTransactionStatusFragment_FailureStatus | GqlTransactionStatusFragment_SqueezedOutStatus | GqlTransactionStatusFragment_SubmittedStatus | GqlTransactionStatusFragment_SuccessStatus;
|
1285
|
+
export type GqlMalleableTransactionFieldsFragment = {
|
1286
|
+
receiptsRoot?: string | null;
|
1287
|
+
inputs?: Array<{
|
1288
|
+
txPointer: string;
|
1289
|
+
type: 'InputCoin';
|
1290
|
+
} | {
|
1291
|
+
txPointer: string;
|
1292
|
+
type: 'InputContract';
|
1293
|
+
} | {
|
1294
|
+
type: 'InputMessage';
|
1295
|
+
}> | null;
|
1296
|
+
outputs: Array<{
|
1297
|
+
to: string;
|
1298
|
+
amount: string;
|
1299
|
+
assetId: string;
|
1300
|
+
type: 'ChangeOutput';
|
1301
|
+
} | {
|
1302
|
+
to: string;
|
1303
|
+
amount: string;
|
1304
|
+
assetId: string;
|
1305
|
+
type: 'CoinOutput';
|
1306
|
+
} | {
|
1307
|
+
contract: string;
|
1308
|
+
stateRoot: string;
|
1309
|
+
type: 'ContractCreated';
|
1310
|
+
} | {
|
1311
|
+
inputIndex: string;
|
1312
|
+
balanceRoot: string;
|
1313
|
+
stateRoot: string;
|
1314
|
+
type: 'ContractOutput';
|
1315
|
+
} | {
|
1316
|
+
to: string;
|
1317
|
+
amount: string;
|
1318
|
+
assetId: string;
|
1319
|
+
type: 'VariableOutput';
|
1320
|
+
}>;
|
1321
|
+
};
|
1274
1322
|
type GqlTransactionStatusSubscriptionFragment_FailureStatus = {
|
1323
|
+
totalGas: string;
|
1324
|
+
totalFee: string;
|
1325
|
+
time: string;
|
1326
|
+
reason: string;
|
1275
1327
|
type: 'FailureStatus';
|
1328
|
+
transaction: {
|
1329
|
+
receiptsRoot?: string | null;
|
1330
|
+
inputs?: Array<{
|
1331
|
+
txPointer: string;
|
1332
|
+
type: 'InputCoin';
|
1333
|
+
} | {
|
1334
|
+
txPointer: string;
|
1335
|
+
type: 'InputContract';
|
1336
|
+
} | {
|
1337
|
+
type: 'InputMessage';
|
1338
|
+
}> | null;
|
1339
|
+
outputs: Array<{
|
1340
|
+
to: string;
|
1341
|
+
amount: string;
|
1342
|
+
assetId: string;
|
1343
|
+
type: 'ChangeOutput';
|
1344
|
+
} | {
|
1345
|
+
to: string;
|
1346
|
+
amount: string;
|
1347
|
+
assetId: string;
|
1348
|
+
type: 'CoinOutput';
|
1349
|
+
} | {
|
1350
|
+
contract: string;
|
1351
|
+
stateRoot: string;
|
1352
|
+
type: 'ContractCreated';
|
1353
|
+
} | {
|
1354
|
+
inputIndex: string;
|
1355
|
+
balanceRoot: string;
|
1356
|
+
stateRoot: string;
|
1357
|
+
type: 'ContractOutput';
|
1358
|
+
} | {
|
1359
|
+
to: string;
|
1360
|
+
amount: string;
|
1361
|
+
assetId: string;
|
1362
|
+
type: 'VariableOutput';
|
1363
|
+
}>;
|
1364
|
+
};
|
1365
|
+
block: {
|
1366
|
+
id: string;
|
1367
|
+
};
|
1368
|
+
receipts: Array<{
|
1369
|
+
id?: string | null;
|
1370
|
+
pc?: string | null;
|
1371
|
+
is?: string | null;
|
1372
|
+
to?: string | null;
|
1373
|
+
toAddress?: string | null;
|
1374
|
+
amount?: string | null;
|
1375
|
+
assetId?: string | null;
|
1376
|
+
gas?: string | null;
|
1377
|
+
param1?: string | null;
|
1378
|
+
param2?: string | null;
|
1379
|
+
val?: string | null;
|
1380
|
+
ptr?: string | null;
|
1381
|
+
digest?: string | null;
|
1382
|
+
reason?: string | null;
|
1383
|
+
ra?: string | null;
|
1384
|
+
rb?: string | null;
|
1385
|
+
rc?: string | null;
|
1386
|
+
rd?: string | null;
|
1387
|
+
len?: string | null;
|
1388
|
+
receiptType: GqlReceiptType;
|
1389
|
+
result?: string | null;
|
1390
|
+
gasUsed?: string | null;
|
1391
|
+
data?: string | null;
|
1392
|
+
sender?: string | null;
|
1393
|
+
recipient?: string | null;
|
1394
|
+
nonce?: string | null;
|
1395
|
+
contractId?: string | null;
|
1396
|
+
subId?: string | null;
|
1397
|
+
}>;
|
1276
1398
|
};
|
1277
1399
|
type GqlTransactionStatusSubscriptionFragment_SqueezedOutStatus = {
|
1278
1400
|
reason: string;
|
1279
1401
|
type: 'SqueezedOutStatus';
|
1280
1402
|
};
|
1281
1403
|
type GqlTransactionStatusSubscriptionFragment_SubmittedStatus = {
|
1404
|
+
time: string;
|
1282
1405
|
type: 'SubmittedStatus';
|
1283
1406
|
};
|
1284
1407
|
type GqlTransactionStatusSubscriptionFragment_SuccessStatus = {
|
1408
|
+
time: string;
|
1409
|
+
totalGas: string;
|
1410
|
+
totalFee: string;
|
1285
1411
|
type: 'SuccessStatus';
|
1412
|
+
transaction: {
|
1413
|
+
receiptsRoot?: string | null;
|
1414
|
+
inputs?: Array<{
|
1415
|
+
txPointer: string;
|
1416
|
+
type: 'InputCoin';
|
1417
|
+
} | {
|
1418
|
+
txPointer: string;
|
1419
|
+
type: 'InputContract';
|
1420
|
+
} | {
|
1421
|
+
type: 'InputMessage';
|
1422
|
+
}> | null;
|
1423
|
+
outputs: Array<{
|
1424
|
+
to: string;
|
1425
|
+
amount: string;
|
1426
|
+
assetId: string;
|
1427
|
+
type: 'ChangeOutput';
|
1428
|
+
} | {
|
1429
|
+
to: string;
|
1430
|
+
amount: string;
|
1431
|
+
assetId: string;
|
1432
|
+
type: 'CoinOutput';
|
1433
|
+
} | {
|
1434
|
+
contract: string;
|
1435
|
+
stateRoot: string;
|
1436
|
+
type: 'ContractCreated';
|
1437
|
+
} | {
|
1438
|
+
inputIndex: string;
|
1439
|
+
balanceRoot: string;
|
1440
|
+
stateRoot: string;
|
1441
|
+
type: 'ContractOutput';
|
1442
|
+
} | {
|
1443
|
+
to: string;
|
1444
|
+
amount: string;
|
1445
|
+
assetId: string;
|
1446
|
+
type: 'VariableOutput';
|
1447
|
+
}>;
|
1448
|
+
};
|
1449
|
+
block: {
|
1450
|
+
id: string;
|
1451
|
+
};
|
1452
|
+
programState?: {
|
1453
|
+
returnType: GqlReturnType;
|
1454
|
+
data: string;
|
1455
|
+
} | null;
|
1456
|
+
receipts: Array<{
|
1457
|
+
id?: string | null;
|
1458
|
+
pc?: string | null;
|
1459
|
+
is?: string | null;
|
1460
|
+
to?: string | null;
|
1461
|
+
toAddress?: string | null;
|
1462
|
+
amount?: string | null;
|
1463
|
+
assetId?: string | null;
|
1464
|
+
gas?: string | null;
|
1465
|
+
param1?: string | null;
|
1466
|
+
param2?: string | null;
|
1467
|
+
val?: string | null;
|
1468
|
+
ptr?: string | null;
|
1469
|
+
digest?: string | null;
|
1470
|
+
reason?: string | null;
|
1471
|
+
ra?: string | null;
|
1472
|
+
rb?: string | null;
|
1473
|
+
rc?: string | null;
|
1474
|
+
rd?: string | null;
|
1475
|
+
len?: string | null;
|
1476
|
+
receiptType: GqlReceiptType;
|
1477
|
+
result?: string | null;
|
1478
|
+
gasUsed?: string | null;
|
1479
|
+
data?: string | null;
|
1480
|
+
sender?: string | null;
|
1481
|
+
recipient?: string | null;
|
1482
|
+
nonce?: string | null;
|
1483
|
+
contractId?: string | null;
|
1484
|
+
subId?: string | null;
|
1485
|
+
}>;
|
1286
1486
|
};
|
1287
1487
|
export type GqlTransactionStatusSubscriptionFragment = GqlTransactionStatusSubscriptionFragment_FailureStatus | GqlTransactionStatusSubscriptionFragment_SqueezedOutStatus | GqlTransactionStatusSubscriptionFragment_SubmittedStatus | GqlTransactionStatusSubscriptionFragment_SuccessStatus;
|
1288
1488
|
export type GqlTransactionFragment = {
|
@@ -1742,6 +1942,24 @@ export type GqlGasCostsFragment = {
|
|
1742
1942
|
unitsPerGas: string;
|
1743
1943
|
type: 'LightOperation';
|
1744
1944
|
};
|
1945
|
+
bldd?: {
|
1946
|
+
base: string;
|
1947
|
+
gasPerUnit: string;
|
1948
|
+
type: 'HeavyOperation';
|
1949
|
+
} | {
|
1950
|
+
base: string;
|
1951
|
+
unitsPerGas: string;
|
1952
|
+
type: 'LightOperation';
|
1953
|
+
} | null;
|
1954
|
+
bsiz?: {
|
1955
|
+
base: string;
|
1956
|
+
gasPerUnit: string;
|
1957
|
+
type: 'HeavyOperation';
|
1958
|
+
} | {
|
1959
|
+
base: string;
|
1960
|
+
unitsPerGas: string;
|
1961
|
+
type: 'LightOperation';
|
1962
|
+
} | null;
|
1745
1963
|
cfe: {
|
1746
1964
|
base: string;
|
1747
1965
|
gasPerUnit: string;
|
@@ -1796,6 +2014,15 @@ export type GqlGasCostsFragment = {
|
|
1796
2014
|
unitsPerGas: string;
|
1797
2015
|
type: 'LightOperation';
|
1798
2016
|
};
|
2017
|
+
ed19DependentCost: {
|
2018
|
+
base: string;
|
2019
|
+
gasPerUnit: string;
|
2020
|
+
type: 'HeavyOperation';
|
2021
|
+
} | {
|
2022
|
+
base: string;
|
2023
|
+
unitsPerGas: string;
|
2024
|
+
type: 'LightOperation';
|
2025
|
+
};
|
1799
2026
|
k256: {
|
1800
2027
|
base: string;
|
1801
2028
|
gasPerUnit: string;
|
@@ -2085,6 +2312,24 @@ export type GqlConsensusParametersFragment = {
|
|
2085
2312
|
unitsPerGas: string;
|
2086
2313
|
type: 'LightOperation';
|
2087
2314
|
};
|
2315
|
+
bldd?: {
|
2316
|
+
base: string;
|
2317
|
+
gasPerUnit: string;
|
2318
|
+
type: 'HeavyOperation';
|
2319
|
+
} | {
|
2320
|
+
base: string;
|
2321
|
+
unitsPerGas: string;
|
2322
|
+
type: 'LightOperation';
|
2323
|
+
} | null;
|
2324
|
+
bsiz?: {
|
2325
|
+
base: string;
|
2326
|
+
gasPerUnit: string;
|
2327
|
+
type: 'HeavyOperation';
|
2328
|
+
} | {
|
2329
|
+
base: string;
|
2330
|
+
unitsPerGas: string;
|
2331
|
+
type: 'LightOperation';
|
2332
|
+
} | null;
|
2088
2333
|
cfe: {
|
2089
2334
|
base: string;
|
2090
2335
|
gasPerUnit: string;
|
@@ -2139,6 +2384,15 @@ export type GqlConsensusParametersFragment = {
|
|
2139
2384
|
unitsPerGas: string;
|
2140
2385
|
type: 'LightOperation';
|
2141
2386
|
};
|
2387
|
+
ed19DependentCost: {
|
2388
|
+
base: string;
|
2389
|
+
gasPerUnit: string;
|
2390
|
+
type: 'HeavyOperation';
|
2391
|
+
} | {
|
2392
|
+
base: string;
|
2393
|
+
unitsPerGas: string;
|
2394
|
+
type: 'LightOperation';
|
2395
|
+
};
|
2142
2396
|
k256: {
|
2143
2397
|
base: string;
|
2144
2398
|
gasPerUnit: string;
|
@@ -2442,6 +2696,24 @@ export type GqlChainInfoFragment = {
|
|
2442
2696
|
unitsPerGas: string;
|
2443
2697
|
type: 'LightOperation';
|
2444
2698
|
};
|
2699
|
+
bldd?: {
|
2700
|
+
base: string;
|
2701
|
+
gasPerUnit: string;
|
2702
|
+
type: 'HeavyOperation';
|
2703
|
+
} | {
|
2704
|
+
base: string;
|
2705
|
+
unitsPerGas: string;
|
2706
|
+
type: 'LightOperation';
|
2707
|
+
} | null;
|
2708
|
+
bsiz?: {
|
2709
|
+
base: string;
|
2710
|
+
gasPerUnit: string;
|
2711
|
+
type: 'HeavyOperation';
|
2712
|
+
} | {
|
2713
|
+
base: string;
|
2714
|
+
unitsPerGas: string;
|
2715
|
+
type: 'LightOperation';
|
2716
|
+
} | null;
|
2445
2717
|
cfe: {
|
2446
2718
|
base: string;
|
2447
2719
|
gasPerUnit: string;
|
@@ -2496,6 +2768,15 @@ export type GqlChainInfoFragment = {
|
|
2496
2768
|
unitsPerGas: string;
|
2497
2769
|
type: 'LightOperation';
|
2498
2770
|
};
|
2771
|
+
ed19DependentCost: {
|
2772
|
+
base: string;
|
2773
|
+
gasPerUnit: string;
|
2774
|
+
type: 'HeavyOperation';
|
2775
|
+
} | {
|
2776
|
+
base: string;
|
2777
|
+
unitsPerGas: string;
|
2778
|
+
type: 'LightOperation';
|
2779
|
+
};
|
2499
2780
|
k256: {
|
2500
2781
|
base: string;
|
2501
2782
|
gasPerUnit: string;
|
@@ -2846,6 +3127,24 @@ export type GqlGetChainQuery = {
|
|
2846
3127
|
unitsPerGas: string;
|
2847
3128
|
type: 'LightOperation';
|
2848
3129
|
};
|
3130
|
+
bldd?: {
|
3131
|
+
base: string;
|
3132
|
+
gasPerUnit: string;
|
3133
|
+
type: 'HeavyOperation';
|
3134
|
+
} | {
|
3135
|
+
base: string;
|
3136
|
+
unitsPerGas: string;
|
3137
|
+
type: 'LightOperation';
|
3138
|
+
} | null;
|
3139
|
+
bsiz?: {
|
3140
|
+
base: string;
|
3141
|
+
gasPerUnit: string;
|
3142
|
+
type: 'HeavyOperation';
|
3143
|
+
} | {
|
3144
|
+
base: string;
|
3145
|
+
unitsPerGas: string;
|
3146
|
+
type: 'LightOperation';
|
3147
|
+
} | null;
|
2849
3148
|
cfe: {
|
2850
3149
|
base: string;
|
2851
3150
|
gasPerUnit: string;
|
@@ -2900,6 +3199,15 @@ export type GqlGetChainQuery = {
|
|
2900
3199
|
unitsPerGas: string;
|
2901
3200
|
type: 'LightOperation';
|
2902
3201
|
};
|
3202
|
+
ed19DependentCost: {
|
3203
|
+
base: string;
|
3204
|
+
gasPerUnit: string;
|
3205
|
+
type: 'HeavyOperation';
|
3206
|
+
} | {
|
3207
|
+
base: string;
|
3208
|
+
unitsPerGas: string;
|
3209
|
+
type: 'LightOperation';
|
3210
|
+
};
|
2903
3211
|
k256: {
|
2904
3212
|
base: string;
|
2905
3213
|
gasPerUnit: string;
|
@@ -3960,14 +4268,166 @@ export type GqlSubmitAndAwaitSubscriptionVariables = Exact<{
|
|
3960
4268
|
}>;
|
3961
4269
|
export type GqlSubmitAndAwaitSubscription = {
|
3962
4270
|
submitAndAwait: {
|
4271
|
+
totalGas: string;
|
4272
|
+
totalFee: string;
|
4273
|
+
time: string;
|
4274
|
+
reason: string;
|
3963
4275
|
type: 'FailureStatus';
|
4276
|
+
transaction: {
|
4277
|
+
receiptsRoot?: string | null;
|
4278
|
+
inputs?: Array<{
|
4279
|
+
txPointer: string;
|
4280
|
+
type: 'InputCoin';
|
4281
|
+
} | {
|
4282
|
+
txPointer: string;
|
4283
|
+
type: 'InputContract';
|
4284
|
+
} | {
|
4285
|
+
type: 'InputMessage';
|
4286
|
+
}> | null;
|
4287
|
+
outputs: Array<{
|
4288
|
+
to: string;
|
4289
|
+
amount: string;
|
4290
|
+
assetId: string;
|
4291
|
+
type: 'ChangeOutput';
|
4292
|
+
} | {
|
4293
|
+
to: string;
|
4294
|
+
amount: string;
|
4295
|
+
assetId: string;
|
4296
|
+
type: 'CoinOutput';
|
4297
|
+
} | {
|
4298
|
+
contract: string;
|
4299
|
+
stateRoot: string;
|
4300
|
+
type: 'ContractCreated';
|
4301
|
+
} | {
|
4302
|
+
inputIndex: string;
|
4303
|
+
balanceRoot: string;
|
4304
|
+
stateRoot: string;
|
4305
|
+
type: 'ContractOutput';
|
4306
|
+
} | {
|
4307
|
+
to: string;
|
4308
|
+
amount: string;
|
4309
|
+
assetId: string;
|
4310
|
+
type: 'VariableOutput';
|
4311
|
+
}>;
|
4312
|
+
};
|
4313
|
+
block: {
|
4314
|
+
id: string;
|
4315
|
+
};
|
4316
|
+
receipts: Array<{
|
4317
|
+
id?: string | null;
|
4318
|
+
pc?: string | null;
|
4319
|
+
is?: string | null;
|
4320
|
+
to?: string | null;
|
4321
|
+
toAddress?: string | null;
|
4322
|
+
amount?: string | null;
|
4323
|
+
assetId?: string | null;
|
4324
|
+
gas?: string | null;
|
4325
|
+
param1?: string | null;
|
4326
|
+
param2?: string | null;
|
4327
|
+
val?: string | null;
|
4328
|
+
ptr?: string | null;
|
4329
|
+
digest?: string | null;
|
4330
|
+
reason?: string | null;
|
4331
|
+
ra?: string | null;
|
4332
|
+
rb?: string | null;
|
4333
|
+
rc?: string | null;
|
4334
|
+
rd?: string | null;
|
4335
|
+
len?: string | null;
|
4336
|
+
receiptType: GqlReceiptType;
|
4337
|
+
result?: string | null;
|
4338
|
+
gasUsed?: string | null;
|
4339
|
+
data?: string | null;
|
4340
|
+
sender?: string | null;
|
4341
|
+
recipient?: string | null;
|
4342
|
+
nonce?: string | null;
|
4343
|
+
contractId?: string | null;
|
4344
|
+
subId?: string | null;
|
4345
|
+
}>;
|
3964
4346
|
} | {
|
3965
4347
|
reason: string;
|
3966
4348
|
type: 'SqueezedOutStatus';
|
3967
4349
|
} | {
|
4350
|
+
time: string;
|
3968
4351
|
type: 'SubmittedStatus';
|
3969
4352
|
} | {
|
4353
|
+
time: string;
|
4354
|
+
totalGas: string;
|
4355
|
+
totalFee: string;
|
3970
4356
|
type: 'SuccessStatus';
|
4357
|
+
transaction: {
|
4358
|
+
receiptsRoot?: string | null;
|
4359
|
+
inputs?: Array<{
|
4360
|
+
txPointer: string;
|
4361
|
+
type: 'InputCoin';
|
4362
|
+
} | {
|
4363
|
+
txPointer: string;
|
4364
|
+
type: 'InputContract';
|
4365
|
+
} | {
|
4366
|
+
type: 'InputMessage';
|
4367
|
+
}> | null;
|
4368
|
+
outputs: Array<{
|
4369
|
+
to: string;
|
4370
|
+
amount: string;
|
4371
|
+
assetId: string;
|
4372
|
+
type: 'ChangeOutput';
|
4373
|
+
} | {
|
4374
|
+
to: string;
|
4375
|
+
amount: string;
|
4376
|
+
assetId: string;
|
4377
|
+
type: 'CoinOutput';
|
4378
|
+
} | {
|
4379
|
+
contract: string;
|
4380
|
+
stateRoot: string;
|
4381
|
+
type: 'ContractCreated';
|
4382
|
+
} | {
|
4383
|
+
inputIndex: string;
|
4384
|
+
balanceRoot: string;
|
4385
|
+
stateRoot: string;
|
4386
|
+
type: 'ContractOutput';
|
4387
|
+
} | {
|
4388
|
+
to: string;
|
4389
|
+
amount: string;
|
4390
|
+
assetId: string;
|
4391
|
+
type: 'VariableOutput';
|
4392
|
+
}>;
|
4393
|
+
};
|
4394
|
+
block: {
|
4395
|
+
id: string;
|
4396
|
+
};
|
4397
|
+
programState?: {
|
4398
|
+
returnType: GqlReturnType;
|
4399
|
+
data: string;
|
4400
|
+
} | null;
|
4401
|
+
receipts: Array<{
|
4402
|
+
id?: string | null;
|
4403
|
+
pc?: string | null;
|
4404
|
+
is?: string | null;
|
4405
|
+
to?: string | null;
|
4406
|
+
toAddress?: string | null;
|
4407
|
+
amount?: string | null;
|
4408
|
+
assetId?: string | null;
|
4409
|
+
gas?: string | null;
|
4410
|
+
param1?: string | null;
|
4411
|
+
param2?: string | null;
|
4412
|
+
val?: string | null;
|
4413
|
+
ptr?: string | null;
|
4414
|
+
digest?: string | null;
|
4415
|
+
reason?: string | null;
|
4416
|
+
ra?: string | null;
|
4417
|
+
rb?: string | null;
|
4418
|
+
rc?: string | null;
|
4419
|
+
rd?: string | null;
|
4420
|
+
len?: string | null;
|
4421
|
+
receiptType: GqlReceiptType;
|
4422
|
+
result?: string | null;
|
4423
|
+
gasUsed?: string | null;
|
4424
|
+
data?: string | null;
|
4425
|
+
sender?: string | null;
|
4426
|
+
recipient?: string | null;
|
4427
|
+
nonce?: string | null;
|
4428
|
+
contractId?: string | null;
|
4429
|
+
subId?: string | null;
|
4430
|
+
}>;
|
3971
4431
|
};
|
3972
4432
|
};
|
3973
4433
|
export type GqlStatusChangeSubscriptionVariables = Exact<{
|
@@ -3975,22 +4435,175 @@ export type GqlStatusChangeSubscriptionVariables = Exact<{
|
|
3975
4435
|
}>;
|
3976
4436
|
export type GqlStatusChangeSubscription = {
|
3977
4437
|
statusChange: {
|
4438
|
+
totalGas: string;
|
4439
|
+
totalFee: string;
|
4440
|
+
time: string;
|
4441
|
+
reason: string;
|
3978
4442
|
type: 'FailureStatus';
|
4443
|
+
transaction: {
|
4444
|
+
receiptsRoot?: string | null;
|
4445
|
+
inputs?: Array<{
|
4446
|
+
txPointer: string;
|
4447
|
+
type: 'InputCoin';
|
4448
|
+
} | {
|
4449
|
+
txPointer: string;
|
4450
|
+
type: 'InputContract';
|
4451
|
+
} | {
|
4452
|
+
type: 'InputMessage';
|
4453
|
+
}> | null;
|
4454
|
+
outputs: Array<{
|
4455
|
+
to: string;
|
4456
|
+
amount: string;
|
4457
|
+
assetId: string;
|
4458
|
+
type: 'ChangeOutput';
|
4459
|
+
} | {
|
4460
|
+
to: string;
|
4461
|
+
amount: string;
|
4462
|
+
assetId: string;
|
4463
|
+
type: 'CoinOutput';
|
4464
|
+
} | {
|
4465
|
+
contract: string;
|
4466
|
+
stateRoot: string;
|
4467
|
+
type: 'ContractCreated';
|
4468
|
+
} | {
|
4469
|
+
inputIndex: string;
|
4470
|
+
balanceRoot: string;
|
4471
|
+
stateRoot: string;
|
4472
|
+
type: 'ContractOutput';
|
4473
|
+
} | {
|
4474
|
+
to: string;
|
4475
|
+
amount: string;
|
4476
|
+
assetId: string;
|
4477
|
+
type: 'VariableOutput';
|
4478
|
+
}>;
|
4479
|
+
};
|
4480
|
+
block: {
|
4481
|
+
id: string;
|
4482
|
+
};
|
4483
|
+
receipts: Array<{
|
4484
|
+
id?: string | null;
|
4485
|
+
pc?: string | null;
|
4486
|
+
is?: string | null;
|
4487
|
+
to?: string | null;
|
4488
|
+
toAddress?: string | null;
|
4489
|
+
amount?: string | null;
|
4490
|
+
assetId?: string | null;
|
4491
|
+
gas?: string | null;
|
4492
|
+
param1?: string | null;
|
4493
|
+
param2?: string | null;
|
4494
|
+
val?: string | null;
|
4495
|
+
ptr?: string | null;
|
4496
|
+
digest?: string | null;
|
4497
|
+
reason?: string | null;
|
4498
|
+
ra?: string | null;
|
4499
|
+
rb?: string | null;
|
4500
|
+
rc?: string | null;
|
4501
|
+
rd?: string | null;
|
4502
|
+
len?: string | null;
|
4503
|
+
receiptType: GqlReceiptType;
|
4504
|
+
result?: string | null;
|
4505
|
+
gasUsed?: string | null;
|
4506
|
+
data?: string | null;
|
4507
|
+
sender?: string | null;
|
4508
|
+
recipient?: string | null;
|
4509
|
+
nonce?: string | null;
|
4510
|
+
contractId?: string | null;
|
4511
|
+
subId?: string | null;
|
4512
|
+
}>;
|
3979
4513
|
} | {
|
3980
4514
|
reason: string;
|
3981
4515
|
type: 'SqueezedOutStatus';
|
3982
4516
|
} | {
|
4517
|
+
time: string;
|
3983
4518
|
type: 'SubmittedStatus';
|
3984
4519
|
} | {
|
4520
|
+
time: string;
|
4521
|
+
totalGas: string;
|
4522
|
+
totalFee: string;
|
3985
4523
|
type: 'SuccessStatus';
|
4524
|
+
transaction: {
|
4525
|
+
receiptsRoot?: string | null;
|
4526
|
+
inputs?: Array<{
|
4527
|
+
txPointer: string;
|
4528
|
+
type: 'InputCoin';
|
4529
|
+
} | {
|
4530
|
+
txPointer: string;
|
4531
|
+
type: 'InputContract';
|
4532
|
+
} | {
|
4533
|
+
type: 'InputMessage';
|
4534
|
+
}> | null;
|
4535
|
+
outputs: Array<{
|
4536
|
+
to: string;
|
4537
|
+
amount: string;
|
4538
|
+
assetId: string;
|
4539
|
+
type: 'ChangeOutput';
|
4540
|
+
} | {
|
4541
|
+
to: string;
|
4542
|
+
amount: string;
|
4543
|
+
assetId: string;
|
4544
|
+
type: 'CoinOutput';
|
4545
|
+
} | {
|
4546
|
+
contract: string;
|
4547
|
+
stateRoot: string;
|
4548
|
+
type: 'ContractCreated';
|
4549
|
+
} | {
|
4550
|
+
inputIndex: string;
|
4551
|
+
balanceRoot: string;
|
4552
|
+
stateRoot: string;
|
4553
|
+
type: 'ContractOutput';
|
4554
|
+
} | {
|
4555
|
+
to: string;
|
4556
|
+
amount: string;
|
4557
|
+
assetId: string;
|
4558
|
+
type: 'VariableOutput';
|
4559
|
+
}>;
|
4560
|
+
};
|
4561
|
+
block: {
|
4562
|
+
id: string;
|
4563
|
+
};
|
4564
|
+
programState?: {
|
4565
|
+
returnType: GqlReturnType;
|
4566
|
+
data: string;
|
4567
|
+
} | null;
|
4568
|
+
receipts: Array<{
|
4569
|
+
id?: string | null;
|
4570
|
+
pc?: string | null;
|
4571
|
+
is?: string | null;
|
4572
|
+
to?: string | null;
|
4573
|
+
toAddress?: string | null;
|
4574
|
+
amount?: string | null;
|
4575
|
+
assetId?: string | null;
|
4576
|
+
gas?: string | null;
|
4577
|
+
param1?: string | null;
|
4578
|
+
param2?: string | null;
|
4579
|
+
val?: string | null;
|
4580
|
+
ptr?: string | null;
|
4581
|
+
digest?: string | null;
|
4582
|
+
reason?: string | null;
|
4583
|
+
ra?: string | null;
|
4584
|
+
rb?: string | null;
|
4585
|
+
rc?: string | null;
|
4586
|
+
rd?: string | null;
|
4587
|
+
len?: string | null;
|
4588
|
+
receiptType: GqlReceiptType;
|
4589
|
+
result?: string | null;
|
4590
|
+
gasUsed?: string | null;
|
4591
|
+
data?: string | null;
|
4592
|
+
sender?: string | null;
|
4593
|
+
recipient?: string | null;
|
4594
|
+
nonce?: string | null;
|
4595
|
+
contractId?: string | null;
|
4596
|
+
subId?: string | null;
|
4597
|
+
}>;
|
3986
4598
|
};
|
3987
4599
|
};
|
3988
|
-
export declare const TransactionStatusSubscriptionFragmentDoc: DocumentNode;
|
3989
4600
|
export declare const SubmittedStatusFragmentDoc: DocumentNode;
|
3990
4601
|
export declare const ReceiptFragmentDoc: DocumentNode;
|
3991
4602
|
export declare const SuccessStatusFragmentDoc: DocumentNode;
|
4603
|
+
export declare const MalleableTransactionFieldsFragmentDoc: DocumentNode;
|
3992
4604
|
export declare const FailureStatusFragmentDoc: DocumentNode;
|
3993
4605
|
export declare const SqueezedOutStatusFragmentDoc: DocumentNode;
|
4606
|
+
export declare const TransactionStatusSubscriptionFragmentDoc: DocumentNode;
|
3994
4607
|
export declare const TransactionStatusFragmentDoc: DocumentNode;
|
3995
4608
|
export declare const TransactionFragmentDoc: DocumentNode;
|
3996
4609
|
export declare const InputEstimatePredicatesFragmentDoc: DocumentNode;
|