@fuel-ts/account 0.96.1 → 0.97.0
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/dist/account.d.ts +6 -0
- package/dist/account.d.ts.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.global.js +563 -298
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +594 -320
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +600 -327
- package/dist/index.mjs.map +1 -1
- package/dist/predicate/predicate.d.ts +16 -11
- package/dist/predicate/predicate.d.ts.map +1 -1
- package/dist/providers/__generated__/operations.d.ts +94 -126
- package/dist/providers/__generated__/operations.d.ts.map +1 -1
- package/dist/providers/provider.d.ts +5 -8
- package/dist/providers/provider.d.ts.map +1 -1
- package/dist/providers/transaction-request/blob-transaction-request.d.ts +2 -2
- package/dist/providers/transaction-request/blob-transaction-request.d.ts.map +1 -1
- package/dist/providers/transaction-summary/get-transaction-summary.d.ts +3 -2
- package/dist/providers/transaction-summary/get-transaction-summary.d.ts.map +1 -1
- package/dist/providers/transaction-summary/types.d.ts +38 -8
- package/dist/providers/transaction-summary/types.d.ts.map +1 -1
- package/dist/providers/utils/handle-gql-error-message.d.ts +2 -1
- package/dist/providers/utils/handle-gql-error-message.d.ts.map +1 -1
- package/dist/providers/utils/receipts.d.ts.map +1 -1
- package/dist/providers/utils/validate-pagination-args.d.ts +9 -0
- package/dist/providers/utils/validate-pagination-args.d.ts.map +1 -0
- package/dist/test-utils.global.js +302 -237
- package/dist/test-utils.global.js.map +1 -1
- package/dist/test-utils.js +276 -211
- package/dist/test-utils.js.map +1 -1
- package/dist/test-utils.mjs +287 -222
- package/dist/test-utils.mjs.map +1 -1
- package/dist/utils/deployScriptOrPredicate.d.ts +14 -0
- package/dist/utils/deployScriptOrPredicate.d.ts.map +1 -0
- package/dist/utils/formatTransferToContractScriptData.d.ts +7 -7
- package/dist/utils/formatTransferToContractScriptData.d.ts.map +1 -1
- package/dist/utils/predicate-script-loader-instructions.d.ts +9 -0
- package/dist/utils/predicate-script-loader-instructions.d.ts.map +1 -0
- package/package.json +17 -17
@@ -11,10 +11,9 @@ export type PredicateParams<TData extends InputValue[] = InputValue[], TConfigur
|
|
11
11
|
}> = {
|
12
12
|
bytecode: BytesLike;
|
13
13
|
provider: Provider;
|
14
|
-
abi
|
14
|
+
abi: JsonAbi;
|
15
15
|
data?: TData;
|
16
16
|
configurableConstants?: TConfigurables;
|
17
|
-
loaderBytecode?: BytesLike;
|
18
17
|
};
|
19
18
|
/**
|
20
19
|
* `Predicate` provides methods to populate transaction data with predicate information and sending transactions with them.
|
@@ -26,8 +25,7 @@ export declare class Predicate<TData extends InputValue[] = InputValue[], TConfi
|
|
26
25
|
}> extends Account {
|
27
26
|
bytes: Uint8Array;
|
28
27
|
predicateData: TData;
|
29
|
-
interface
|
30
|
-
loaderBytecode: BytesLike;
|
28
|
+
interface: Interface;
|
31
29
|
/**
|
32
30
|
* Creates an instance of the Predicate class.
|
33
31
|
*
|
@@ -37,13 +35,7 @@ export declare class Predicate<TData extends InputValue[] = InputValue[], TConfi
|
|
37
35
|
* @param data - The predicate input data (optional).
|
38
36
|
* @param configurableConstants - Optional configurable constants for the predicate.
|
39
37
|
*/
|
40
|
-
constructor({ bytecode, abi, provider, data, configurableConstants,
|
41
|
-
/**
|
42
|
-
* TODO: Implement a getBytes method within the Predicate class. This method should return the loaderBytecode if it is set.
|
43
|
-
* The getBytes method should be used in all places where we use this.bytes.
|
44
|
-
* Note: Do not set loaderBytecode to a default string here; it should remain undefined when not provided.
|
45
|
-
*/
|
46
|
-
loaderBytecode, }: PredicateParams<TData, TConfigurables>);
|
38
|
+
constructor({ bytecode, abi, provider, data, configurableConstants, }: PredicateParams<TData, TConfigurables>);
|
47
39
|
/**
|
48
40
|
* Populates the transaction data with predicate data.
|
49
41
|
*
|
@@ -106,5 +98,18 @@ export declare class Predicate<TData extends InputValue[] = InputValue[], TConfi
|
|
106
98
|
* @returns The index of the witness placeholder, or -1 if there is no witness placeholder.
|
107
99
|
*/
|
108
100
|
private getIndexFromPlaceholderWitness;
|
101
|
+
/**
|
102
|
+
*
|
103
|
+
* @param account - The account used to pay the deployment costs.
|
104
|
+
* @returns The _blobId_ and a _waitForResult_ callback that returns the deployed predicate
|
105
|
+
* once the blob deployment transaction finishes.
|
106
|
+
*
|
107
|
+
* The returned loader predicate will have the same configurable constants
|
108
|
+
* as the original predicate which was used to generate the loader predicate.
|
109
|
+
*/
|
110
|
+
deploy<T = this>(account: Account): Promise<{
|
111
|
+
waitForResult: () => Promise<T>;
|
112
|
+
blobId: string;
|
113
|
+
}>;
|
109
114
|
}
|
110
115
|
//# sourceMappingURL=predicate.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"predicate.d.ts","sourceRoot":"","sources":["../../src/predicate/predicate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAC9D,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAG/C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAGrD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAOrC,OAAO,KAAK,EACV,UAAU,EACV,gBAAgB,EAChB,sBAAsB,EACtB,QAAQ,EACR,QAAQ,EACR,kBAAkB,EAClB,sBAAsB,EACtB,mBAAmB,EACpB,MAAM,cAAc,CAAC;
|
1
|
+
{"version":3,"file":"predicate.d.ts","sourceRoot":"","sources":["../../src/predicate/predicate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAC9D,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAG/C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAGrD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAOrC,OAAO,KAAK,EACV,UAAU,EACV,gBAAgB,EAChB,sBAAsB,EACtB,QAAQ,EACR,QAAQ,EACR,kBAAkB,EAClB,sBAAsB,EACtB,mBAAmB,EACpB,MAAM,cAAc,CAAC;AAKtB,MAAM,MAAM,eAAe,CACzB,KAAK,SAAS,UAAU,EAAE,GAAG,UAAU,EAAE,EACzC,cAAc,SAAS;IAAE,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAA;CAAE,GAAG,SAAS,GAAG;IAAE,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAA;CAAE,IAC1F;IACF,QAAQ,EAAE,SAAS,CAAC;IACpB,QAAQ,EAAE,QAAQ,CAAC;IACnB,GAAG,EAAE,OAAO,CAAC;IACb,IAAI,CAAC,EAAE,KAAK,CAAC;IACb,qBAAqB,CAAC,EAAE,cAAc,CAAC;CACxC,CAAC;AAEF;;GAEG;AACH,qBAAa,SAAS,CACpB,KAAK,SAAS,UAAU,EAAE,GAAG,UAAU,EAAE,EACzC,cAAc,SAAS;IAAE,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAA;CAAE,GAAG,SAAS,GAAG;IAAE,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAA;CAAE,CAC5F,SAAQ,OAAO;IACf,KAAK,EAAE,UAAU,CAAC;IAClB,aAAa,EAAE,KAAK,CAA0B;IAC9C,SAAS,EAAE,SAAS,CAAC;IAErB;;;;;;;;OAQG;gBACS,EACV,QAAQ,EACR,GAAG,EACH,QAAQ,EACR,IAAI,EACJ,qBAAqB,GACtB,EAAE,eAAe,CAAC,KAAK,EAAE,cAAc,CAAC;IAgBzC;;;;;OAKG;IACH,gCAAgC,CAAC,CAAC,SAAS,kBAAkB,EAC3D,sBAAsB,EAAE,sBAAsB;IAwBhD;;;;;OAKG;IACH,eAAe,CAAC,sBAAsB,EAAE,sBAAsB,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAM7F;;;;;OAKG;IACH,mBAAmB,CAAC,sBAAsB,EAAE,sBAAsB,GAAG,OAAO,CAAC,UAAU,CAAC;IAKxF,OAAO,CAAC,gBAAgB;IASxB;;;;;;;OAOG;IACH,OAAO,CAAC,MAAM,CAAC,oBAAoB;IA6BnC;;;;;;OAMG;IACG,mBAAmB,CACvB,UAAU,EAAE,gBAAgB,EAAE,CAAC,8BAA8B,EAC7D,WAAW,CAAC,EAAE,sBAAsB,GACnC,OAAO,CAAC,QAAQ,EAAE,CAAC;IAatB;;;;;OAKG;IACH,qBAAqB,CAAC,KAAK,EAAE,aAAa,EAAE,GAAG,KAAK,CAAC,QAAQ,CAAC;IAQ9D;;;;;;;OAOG;IACH,OAAO,CAAC,MAAM,CAAC,wBAAwB;IAuCvC;;;;;OAKG;IACH,OAAO,CAAC,8BAA8B;IAiCtC;;;;;;;;OAQG;IACG,MAAM,CAAC,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,OAAO;;;;CAcxC"}
|
@@ -1146,6 +1146,46 @@ export type GqlSubmittedStatusFragment = {
|
|
1146
1146
|
type: 'SubmittedStatus';
|
1147
1147
|
};
|
1148
1148
|
export type GqlSuccessStatusFragment = {
|
1149
|
+
time: string;
|
1150
|
+
totalGas: string;
|
1151
|
+
totalFee: string;
|
1152
|
+
type: 'SuccessStatus';
|
1153
|
+
programState?: {
|
1154
|
+
returnType: GqlReturnType;
|
1155
|
+
data: string;
|
1156
|
+
} | null;
|
1157
|
+
receipts: Array<{
|
1158
|
+
id?: string | null;
|
1159
|
+
pc?: string | null;
|
1160
|
+
is?: string | null;
|
1161
|
+
to?: string | null;
|
1162
|
+
toAddress?: string | null;
|
1163
|
+
amount?: string | null;
|
1164
|
+
assetId?: string | null;
|
1165
|
+
gas?: string | null;
|
1166
|
+
param1?: string | null;
|
1167
|
+
param2?: string | null;
|
1168
|
+
val?: string | null;
|
1169
|
+
ptr?: string | null;
|
1170
|
+
digest?: string | null;
|
1171
|
+
reason?: string | null;
|
1172
|
+
ra?: string | null;
|
1173
|
+
rb?: string | null;
|
1174
|
+
rc?: string | null;
|
1175
|
+
rd?: string | null;
|
1176
|
+
len?: string | null;
|
1177
|
+
receiptType: GqlReceiptType;
|
1178
|
+
result?: string | null;
|
1179
|
+
gasUsed?: string | null;
|
1180
|
+
data?: string | null;
|
1181
|
+
sender?: string | null;
|
1182
|
+
recipient?: string | null;
|
1183
|
+
nonce?: string | null;
|
1184
|
+
contractId?: string | null;
|
1185
|
+
subId?: string | null;
|
1186
|
+
}>;
|
1187
|
+
};
|
1188
|
+
export type GqlSuccessStatusWithBlockIdFragment = {
|
1149
1189
|
time: string;
|
1150
1190
|
totalGas: string;
|
1151
1191
|
totalFee: string;
|
@@ -1189,6 +1229,43 @@ export type GqlSuccessStatusFragment = {
|
|
1189
1229
|
}>;
|
1190
1230
|
};
|
1191
1231
|
export type GqlFailureStatusFragment = {
|
1232
|
+
totalGas: string;
|
1233
|
+
totalFee: string;
|
1234
|
+
time: string;
|
1235
|
+
reason: string;
|
1236
|
+
type: 'FailureStatus';
|
1237
|
+
receipts: Array<{
|
1238
|
+
id?: string | null;
|
1239
|
+
pc?: string | null;
|
1240
|
+
is?: string | null;
|
1241
|
+
to?: string | null;
|
1242
|
+
toAddress?: string | null;
|
1243
|
+
amount?: string | null;
|
1244
|
+
assetId?: string | null;
|
1245
|
+
gas?: string | null;
|
1246
|
+
param1?: string | null;
|
1247
|
+
param2?: string | null;
|
1248
|
+
val?: string | null;
|
1249
|
+
ptr?: string | null;
|
1250
|
+
digest?: string | null;
|
1251
|
+
reason?: string | null;
|
1252
|
+
ra?: string | null;
|
1253
|
+
rb?: string | null;
|
1254
|
+
rc?: string | null;
|
1255
|
+
rd?: string | null;
|
1256
|
+
len?: string | null;
|
1257
|
+
receiptType: GqlReceiptType;
|
1258
|
+
result?: string | null;
|
1259
|
+
gasUsed?: string | null;
|
1260
|
+
data?: string | null;
|
1261
|
+
sender?: string | null;
|
1262
|
+
recipient?: string | null;
|
1263
|
+
nonce?: string | null;
|
1264
|
+
contractId?: string | null;
|
1265
|
+
subId?: string | null;
|
1266
|
+
}>;
|
1267
|
+
};
|
1268
|
+
export type GqlFailureStatusWithBlockIdFragment = {
|
1192
1269
|
totalGas: string;
|
1193
1270
|
totalFee: string;
|
1194
1271
|
time: string;
|
@@ -1238,9 +1315,6 @@ type GqlTransactionStatusFragment_FailureStatus = {
|
|
1238
1315
|
time: string;
|
1239
1316
|
reason: string;
|
1240
1317
|
type: 'FailureStatus';
|
1241
|
-
block: {
|
1242
|
-
id: string;
|
1243
|
-
};
|
1244
1318
|
receipts: Array<{
|
1245
1319
|
id?: string | null;
|
1246
1320
|
pc?: string | null;
|
@@ -1285,9 +1359,6 @@ type GqlTransactionStatusFragment_SuccessStatus = {
|
|
1285
1359
|
totalGas: string;
|
1286
1360
|
totalFee: string;
|
1287
1361
|
type: 'SuccessStatus';
|
1288
|
-
block: {
|
1289
|
-
id: string;
|
1290
|
-
};
|
1291
1362
|
programState?: {
|
1292
1363
|
returnType: GqlReturnType;
|
1293
1364
|
data: string;
|
@@ -1536,9 +1607,6 @@ export type GqlTransactionFragment = {
|
|
1536
1607
|
time: string;
|
1537
1608
|
reason: string;
|
1538
1609
|
type: 'FailureStatus';
|
1539
|
-
block: {
|
1540
|
-
id: string;
|
1541
|
-
};
|
1542
1610
|
receipts: Array<{
|
1543
1611
|
id?: string | null;
|
1544
1612
|
pc?: string | null;
|
@@ -1580,9 +1648,6 @@ export type GqlTransactionFragment = {
|
|
1580
1648
|
totalGas: string;
|
1581
1649
|
totalFee: string;
|
1582
1650
|
type: 'SuccessStatus';
|
1583
|
-
block: {
|
1584
|
-
id: string;
|
1585
|
-
};
|
1586
1651
|
programState?: {
|
1587
1652
|
returnType: GqlReturnType;
|
1588
1653
|
data: string;
|
@@ -1619,6 +1684,10 @@ export type GqlTransactionFragment = {
|
|
1619
1684
|
}>;
|
1620
1685
|
} | null;
|
1621
1686
|
};
|
1687
|
+
export type GqlTransactionRawPayloadFragment = {
|
1688
|
+
id: string;
|
1689
|
+
rawPayload: string;
|
1690
|
+
};
|
1622
1691
|
type GqlInputEstimatePredicatesFragment_InputCoin = {
|
1623
1692
|
predicateGasUsed: string;
|
1624
1693
|
};
|
@@ -1774,7 +1843,6 @@ export type GqlBlockFragment = {
|
|
1774
1843
|
};
|
1775
1844
|
export type GqlCoinFragment = {
|
1776
1845
|
utxoId: string;
|
1777
|
-
owner: string;
|
1778
1846
|
amount: string;
|
1779
1847
|
assetId: string;
|
1780
1848
|
blockCreated: string;
|
@@ -1795,13 +1863,19 @@ export type GqlMessageFragment = {
|
|
1795
1863
|
sender: string;
|
1796
1864
|
recipient: string;
|
1797
1865
|
data: string;
|
1866
|
+
daHeight: string;
|
1867
|
+
};
|
1868
|
+
export type GqlGetMessageFragment = {
|
1798
1869
|
nonce: string;
|
1870
|
+
amount: string;
|
1871
|
+
sender: string;
|
1872
|
+
recipient: string;
|
1873
|
+
data: string;
|
1799
1874
|
daHeight: string;
|
1800
1875
|
};
|
1801
1876
|
export type GqlMessageProofFragment = {
|
1802
1877
|
sender: string;
|
1803
1878
|
recipient: string;
|
1804
|
-
nonce: string;
|
1805
1879
|
amount: string;
|
1806
1880
|
data: string;
|
1807
1881
|
messageProof: {
|
@@ -2315,9 +2389,6 @@ export type GqlGetTransactionQuery = {
|
|
2315
2389
|
time: string;
|
2316
2390
|
reason: string;
|
2317
2391
|
type: 'FailureStatus';
|
2318
|
-
block: {
|
2319
|
-
id: string;
|
2320
|
-
};
|
2321
2392
|
receipts: Array<{
|
2322
2393
|
id?: string | null;
|
2323
2394
|
pc?: string | null;
|
@@ -2359,9 +2430,6 @@ export type GqlGetTransactionQuery = {
|
|
2359
2430
|
totalGas: string;
|
2360
2431
|
totalFee: string;
|
2361
2432
|
type: 'SuccessStatus';
|
2362
|
-
block: {
|
2363
|
-
id: string;
|
2364
|
-
};
|
2365
2433
|
programState?: {
|
2366
2434
|
returnType: GqlReturnType;
|
2367
2435
|
data: string;
|
@@ -2506,96 +2574,7 @@ export type GqlGetTransactionsQuery = {
|
|
2506
2574
|
transactions: {
|
2507
2575
|
edges: Array<{
|
2508
2576
|
node: {
|
2509
|
-
id: string;
|
2510
2577
|
rawPayload: string;
|
2511
|
-
status?: {
|
2512
|
-
totalGas: string;
|
2513
|
-
totalFee: string;
|
2514
|
-
time: string;
|
2515
|
-
reason: string;
|
2516
|
-
type: 'FailureStatus';
|
2517
|
-
block: {
|
2518
|
-
id: string;
|
2519
|
-
};
|
2520
|
-
receipts: Array<{
|
2521
|
-
id?: string | null;
|
2522
|
-
pc?: string | null;
|
2523
|
-
is?: string | null;
|
2524
|
-
to?: string | null;
|
2525
|
-
toAddress?: string | null;
|
2526
|
-
amount?: string | null;
|
2527
|
-
assetId?: string | null;
|
2528
|
-
gas?: string | null;
|
2529
|
-
param1?: string | null;
|
2530
|
-
param2?: string | null;
|
2531
|
-
val?: string | null;
|
2532
|
-
ptr?: string | null;
|
2533
|
-
digest?: string | null;
|
2534
|
-
reason?: string | null;
|
2535
|
-
ra?: string | null;
|
2536
|
-
rb?: string | null;
|
2537
|
-
rc?: string | null;
|
2538
|
-
rd?: string | null;
|
2539
|
-
len?: string | null;
|
2540
|
-
receiptType: GqlReceiptType;
|
2541
|
-
result?: string | null;
|
2542
|
-
gasUsed?: string | null;
|
2543
|
-
data?: string | null;
|
2544
|
-
sender?: string | null;
|
2545
|
-
recipient?: string | null;
|
2546
|
-
nonce?: string | null;
|
2547
|
-
contractId?: string | null;
|
2548
|
-
subId?: string | null;
|
2549
|
-
}>;
|
2550
|
-
} | {
|
2551
|
-
reason: string;
|
2552
|
-
type: 'SqueezedOutStatus';
|
2553
|
-
} | {
|
2554
|
-
time: string;
|
2555
|
-
type: 'SubmittedStatus';
|
2556
|
-
} | {
|
2557
|
-
time: string;
|
2558
|
-
totalGas: string;
|
2559
|
-
totalFee: string;
|
2560
|
-
type: 'SuccessStatus';
|
2561
|
-
block: {
|
2562
|
-
id: string;
|
2563
|
-
};
|
2564
|
-
programState?: {
|
2565
|
-
returnType: GqlReturnType;
|
2566
|
-
data: string;
|
2567
|
-
} | null;
|
2568
|
-
receipts: Array<{
|
2569
|
-
id?: string | null;
|
2570
|
-
pc?: string | null;
|
2571
|
-
is?: string | null;
|
2572
|
-
to?: string | null;
|
2573
|
-
toAddress?: string | null;
|
2574
|
-
amount?: string | null;
|
2575
|
-
assetId?: string | null;
|
2576
|
-
gas?: string | null;
|
2577
|
-
param1?: string | null;
|
2578
|
-
param2?: string | null;
|
2579
|
-
val?: string | null;
|
2580
|
-
ptr?: string | null;
|
2581
|
-
digest?: string | null;
|
2582
|
-
reason?: string | null;
|
2583
|
-
ra?: string | null;
|
2584
|
-
rb?: string | null;
|
2585
|
-
rc?: string | null;
|
2586
|
-
rd?: string | null;
|
2587
|
-
len?: string | null;
|
2588
|
-
receiptType: GqlReceiptType;
|
2589
|
-
result?: string | null;
|
2590
|
-
gasUsed?: string | null;
|
2591
|
-
data?: string | null;
|
2592
|
-
sender?: string | null;
|
2593
|
-
recipient?: string | null;
|
2594
|
-
nonce?: string | null;
|
2595
|
-
contractId?: string | null;
|
2596
|
-
subId?: string | null;
|
2597
|
-
}>;
|
2598
|
-
} | null;
|
2599
2578
|
};
|
2600
2579
|
}>;
|
2601
2580
|
pageInfo: {
|
@@ -2631,9 +2610,6 @@ export type GqlGetTransactionsByOwnerQuery = {
|
|
2631
2610
|
time: string;
|
2632
2611
|
reason: string;
|
2633
2612
|
type: 'FailureStatus';
|
2634
|
-
block: {
|
2635
|
-
id: string;
|
2636
|
-
};
|
2637
2613
|
receipts: Array<{
|
2638
2614
|
id?: string | null;
|
2639
2615
|
pc?: string | null;
|
@@ -2675,9 +2651,6 @@ export type GqlGetTransactionsByOwnerQuery = {
|
|
2675
2651
|
totalGas: string;
|
2676
2652
|
totalFee: string;
|
2677
2653
|
type: 'SuccessStatus';
|
2678
|
-
block: {
|
2679
|
-
id: string;
|
2680
|
-
};
|
2681
2654
|
programState?: {
|
2682
2655
|
returnType: GqlReturnType;
|
2683
2656
|
data: string;
|
@@ -2849,17 +2822,13 @@ export type GqlGetBlocksQuery = {
|
|
2849
2822
|
}>;
|
2850
2823
|
};
|
2851
2824
|
};
|
2852
|
-
export type GqlTransactionRawPayloadFragment = {
|
2853
|
-
id: string;
|
2854
|
-
rawPayload: string;
|
2855
|
-
};
|
2856
2825
|
export type GqlGetCoinQueryVariables = Exact<{
|
2857
2826
|
coinId: Scalars['UtxoId']['input'];
|
2858
2827
|
}>;
|
2859
2828
|
export type GqlGetCoinQuery = {
|
2860
2829
|
coin?: {
|
2861
|
-
utxoId: string;
|
2862
2830
|
owner: string;
|
2831
|
+
utxoId: string;
|
2863
2832
|
amount: string;
|
2864
2833
|
assetId: string;
|
2865
2834
|
blockCreated: string;
|
@@ -2885,7 +2854,6 @@ export type GqlGetCoinsQuery = {
|
|
2885
2854
|
edges: Array<{
|
2886
2855
|
node: {
|
2887
2856
|
utxoId: string;
|
2888
|
-
owner: string;
|
2889
2857
|
amount: string;
|
2890
2858
|
assetId: string;
|
2891
2859
|
blockCreated: string;
|
@@ -2903,7 +2871,6 @@ export type GqlGetCoinsToSpendQueryVariables = Exact<{
|
|
2903
2871
|
export type GqlGetCoinsToSpendQuery = {
|
2904
2872
|
coinsToSpend: Array<Array<{
|
2905
2873
|
utxoId: string;
|
2906
|
-
owner: string;
|
2907
2874
|
amount: string;
|
2908
2875
|
assetId: string;
|
2909
2876
|
blockCreated: string;
|
@@ -3004,11 +2971,11 @@ export type GqlGetMessagesQuery = {
|
|
3004
2971
|
};
|
3005
2972
|
edges: Array<{
|
3006
2973
|
node: {
|
2974
|
+
nonce: string;
|
3007
2975
|
amount: string;
|
3008
2976
|
sender: string;
|
3009
2977
|
recipient: string;
|
3010
2978
|
data: string;
|
3011
|
-
nonce: string;
|
3012
2979
|
daHeight: string;
|
3013
2980
|
};
|
3014
2981
|
}>;
|
@@ -3024,7 +2991,6 @@ export type GqlGetMessageProofQuery = {
|
|
3024
2991
|
messageProof?: {
|
3025
2992
|
sender: string;
|
3026
2993
|
recipient: string;
|
3027
|
-
nonce: string;
|
3028
2994
|
amount: string;
|
3029
2995
|
data: string;
|
3030
2996
|
messageProof: {
|
@@ -3168,7 +3134,6 @@ export type GqlGetMessageByNonceQuery = {
|
|
3168
3134
|
sender: string;
|
3169
3135
|
recipient: string;
|
3170
3136
|
data: string;
|
3171
|
-
nonce: string;
|
3172
3137
|
daHeight: string;
|
3173
3138
|
} | null;
|
3174
3139
|
};
|
@@ -3704,12 +3669,15 @@ export type GqlStatusChangeSubscription = {
|
|
3704
3669
|
export declare const SubmittedStatusFragmentDoc: DocumentNode;
|
3705
3670
|
export declare const ReceiptFragmentDoc: DocumentNode;
|
3706
3671
|
export declare const SuccessStatusFragmentDoc: DocumentNode;
|
3672
|
+
export declare const SuccessStatusWithBlockIdFragmentDoc: DocumentNode;
|
3707
3673
|
export declare const MalleableTransactionFieldsFragmentDoc: DocumentNode;
|
3708
3674
|
export declare const FailureStatusFragmentDoc: DocumentNode;
|
3675
|
+
export declare const FailureStatusWithBlockIdFragmentDoc: DocumentNode;
|
3709
3676
|
export declare const SqueezedOutStatusFragmentDoc: DocumentNode;
|
3710
3677
|
export declare const TransactionStatusSubscriptionFragmentDoc: DocumentNode;
|
3711
3678
|
export declare const TransactionStatusFragmentDoc: DocumentNode;
|
3712
3679
|
export declare const TransactionFragmentDoc: DocumentNode;
|
3680
|
+
export declare const TransactionRawPayloadFragmentDoc: DocumentNode;
|
3713
3681
|
export declare const InputEstimatePredicatesFragmentDoc: DocumentNode;
|
3714
3682
|
export declare const TransactionEstimatePredicatesFragmentDoc: DocumentNode;
|
3715
3683
|
export declare const DryRunFailureStatusFragmentDoc: DocumentNode;
|
@@ -3720,6 +3688,7 @@ export declare const BlockFragmentDoc: DocumentNode;
|
|
3720
3688
|
export declare const CoinFragmentDoc: DocumentNode;
|
3721
3689
|
export declare const MessageCoinFragmentDoc: DocumentNode;
|
3722
3690
|
export declare const MessageFragmentDoc: DocumentNode;
|
3691
|
+
export declare const GetMessageFragmentDoc: DocumentNode;
|
3723
3692
|
export declare const MessageProofFragmentDoc: DocumentNode;
|
3724
3693
|
export declare const TxParametersFragmentDoc: DocumentNode;
|
3725
3694
|
export declare const PredicateParametersFragmentDoc: DocumentNode;
|
@@ -3734,7 +3703,6 @@ export declare const ContractBalanceFragmentDoc: DocumentNode;
|
|
3734
3703
|
export declare const PageInfoFragmentDoc: DocumentNode;
|
3735
3704
|
export declare const NodeInfoFragmentDoc: DocumentNode;
|
3736
3705
|
export declare const RelayedTransactionStatusFragmentDoc: DocumentNode;
|
3737
|
-
export declare const TransactionRawPayloadFragmentDoc: DocumentNode;
|
3738
3706
|
export declare const GetVersionDocument: DocumentNode;
|
3739
3707
|
export declare const GetNodeInfoDocument: DocumentNode;
|
3740
3708
|
export declare const GetChainDocument: DocumentNode;
|