@fuel-ts/account 0.83.0 → 0.85.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.
Potentially problematic release.
This version of @fuel-ts/account might be problematic. Click here for more details.
- package/README.md +15 -12
- package/dist/account.d.ts +6 -6
- package/dist/account.d.ts.map +1 -1
- package/dist/index.global.js +1800 -1753
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +619 -414
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +520 -319
- package/dist/index.mjs.map +1 -1
- package/dist/providers/__generated__/operations.d.ts +532 -615
- package/dist/providers/__generated__/operations.d.ts.map +1 -1
- package/dist/providers/assets/assets.d.ts +9 -0
- package/dist/providers/assets/assets.d.ts.map +1 -0
- package/dist/providers/assets/index.d.ts +1 -2
- package/dist/providers/assets/index.d.ts.map +1 -1
- package/dist/providers/assets/utils/fuelAssetsBaseUrl.d.ts +2 -0
- package/dist/providers/assets/utils/fuelAssetsBaseUrl.d.ts.map +1 -0
- package/dist/providers/assets/utils/index.d.ts +1 -0
- package/dist/providers/assets/utils/index.d.ts.map +1 -1
- package/dist/providers/assets/utils/resolveIconPaths.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 +28 -31
- package/dist/providers/provider.d.ts.map +1 -1
- package/dist/providers/resource.d.ts +0 -1
- package/dist/providers/resource.d.ts.map +1 -1
- package/dist/providers/transaction-request/helpers.d.ts +8 -0
- package/dist/providers/transaction-request/helpers.d.ts.map +1 -0
- package/dist/providers/transaction-request/script-transaction-request.d.ts +2 -3
- package/dist/providers/transaction-request/script-transaction-request.d.ts.map +1 -1
- package/dist/providers/transaction-request/transaction-request.d.ts +5 -6
- package/dist/providers/transaction-request/transaction-request.d.ts.map +1 -1
- package/dist/providers/transaction-request/utils.d.ts +2 -1
- package/dist/providers/transaction-request/utils.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-tx-fee-for-summary.d.ts +20 -0
- package/dist/providers/transaction-summary/calculate-tx-fee-for-summary.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 +4 -0
- package/dist/providers/transaction-summary/operations.d.ts.map +1 -1
- package/dist/providers/transaction-summary/receipt.d.ts +2 -2
- package/dist/providers/transaction-summary/receipt.d.ts.map +1 -1
- package/dist/providers/transaction-summary/status.d.ts +5 -1
- package/dist/providers/transaction-summary/status.d.ts.map +1 -1
- package/dist/providers/transaction-summary/types.d.ts +11 -14
- package/dist/providers/transaction-summary/types.d.ts.map +1 -1
- package/dist/providers/utils/extract-tx-error.d.ts +2 -2
- package/dist/providers/utils/extract-tx-error.d.ts.map +1 -1
- package/dist/providers/utils/gas.d.ts +7 -6
- package/dist/providers/utils/gas.d.ts.map +1 -1
- package/dist/providers/utils/receipts.d.ts +2 -2
- package/dist/providers/utils/receipts.d.ts.map +1 -1
- package/dist/test-utils/launchNode.d.ts.map +1 -1
- package/dist/test-utils/resources.d.ts +4 -0
- package/dist/test-utils/resources.d.ts.map +1 -0
- package/dist/test-utils/transactionRequest.d.ts +5 -0
- package/dist/test-utils/transactionRequest.d.ts.map +1 -0
- package/dist/test-utils.global.js +1826 -1756
- package/dist/test-utils.global.js.map +1 -1
- package/dist/test-utils.js +609 -398
- package/dist/test-utils.js.map +1 -1
- package/dist/test-utils.mjs +521 -310
- package/dist/test-utils.mjs.map +1 -1
- package/package.json +17 -17
- package/dist/providers/transaction-summary/calculate-transaction-fee.d.ts +0 -22
- package/dist/providers/transaction-summary/calculate-transaction-fee.d.ts.map +0 -1
@@ -26,24 +26,23 @@ export type Scalars = {
|
|
26
26
|
ContractId: string;
|
27
27
|
HexString: string;
|
28
28
|
Nonce: string;
|
29
|
+
RelayedTransactionId: string;
|
29
30
|
Salt: string;
|
30
|
-
Signature:
|
31
|
+
Signature: string;
|
31
32
|
Tai64Timestamp: string;
|
32
33
|
TransactionId: string;
|
33
|
-
TxPointer:
|
34
|
-
U16:
|
35
|
-
U32:
|
34
|
+
TxPointer: string;
|
35
|
+
U16: string;
|
36
|
+
U32: string;
|
36
37
|
U64: string;
|
37
38
|
UtxoId: string;
|
38
39
|
};
|
39
40
|
export type GqlBalance = {
|
40
|
-
__typename: 'Balance';
|
41
41
|
amount: Scalars['U64'];
|
42
42
|
assetId: Scalars['AssetId'];
|
43
43
|
owner: Scalars['Address'];
|
44
44
|
};
|
45
45
|
export type GqlBalanceConnection = {
|
46
|
-
__typename: 'BalanceConnection';
|
47
46
|
/** A list of edges. */
|
48
47
|
edges: Array<GqlBalanceEdge>;
|
49
48
|
/** A list of nodes. */
|
@@ -53,7 +52,6 @@ export type GqlBalanceConnection = {
|
|
53
52
|
};
|
54
53
|
/** An edge in a connection. */
|
55
54
|
export type GqlBalanceEdge = {
|
56
|
-
__typename: 'BalanceEdge';
|
57
55
|
/** A cursor for use in pagination */
|
58
56
|
cursor: Scalars['String'];
|
59
57
|
/** The item at the end of the edge */
|
@@ -64,7 +62,6 @@ export type GqlBalanceFilterInput = {
|
|
64
62
|
owner: Scalars['Address'];
|
65
63
|
};
|
66
64
|
export type GqlBlock = {
|
67
|
-
__typename: 'Block';
|
68
65
|
consensus: GqlConsensus;
|
69
66
|
header: GqlHeader;
|
70
67
|
height: Scalars['U32'];
|
@@ -72,7 +69,6 @@ export type GqlBlock = {
|
|
72
69
|
transactions: Array<GqlTransaction>;
|
73
70
|
};
|
74
71
|
export type GqlBlockConnection = {
|
75
|
-
__typename: 'BlockConnection';
|
76
72
|
/** A list of edges. */
|
77
73
|
edges: Array<GqlBlockEdge>;
|
78
74
|
/** A list of nodes. */
|
@@ -82,7 +78,6 @@ export type GqlBlockConnection = {
|
|
82
78
|
};
|
83
79
|
/** An edge in a connection. */
|
84
80
|
export type GqlBlockEdge = {
|
85
|
-
__typename: 'BlockEdge';
|
86
81
|
/** A cursor for use in pagination */
|
87
82
|
cursor: Scalars['String'];
|
88
83
|
/** The item at the end of the edge */
|
@@ -94,7 +89,6 @@ export type GqlBreakpoint = {
|
|
94
89
|
pc: Scalars['U64'];
|
95
90
|
};
|
96
91
|
export type GqlChainInfo = {
|
97
|
-
__typename: 'ChainInfo';
|
98
92
|
consensusParameters: GqlConsensusParameters;
|
99
93
|
daHeight: Scalars['U64'];
|
100
94
|
gasCosts: GqlGasCosts;
|
@@ -102,13 +96,11 @@ export type GqlChainInfo = {
|
|
102
96
|
name: Scalars['String'];
|
103
97
|
};
|
104
98
|
export type GqlChangeOutput = {
|
105
|
-
__typename: 'ChangeOutput';
|
106
99
|
amount: Scalars['U64'];
|
107
100
|
assetId: Scalars['AssetId'];
|
108
101
|
to: Scalars['Address'];
|
109
102
|
};
|
110
103
|
export type GqlCoin = {
|
111
|
-
__typename: 'Coin';
|
112
104
|
amount: Scalars['U64'];
|
113
105
|
assetId: Scalars['AssetId'];
|
114
106
|
/** TxPointer - the height of the block this coin was created in */
|
@@ -119,7 +111,6 @@ export type GqlCoin = {
|
|
119
111
|
utxoId: Scalars['UtxoId'];
|
120
112
|
};
|
121
113
|
export type GqlCoinConnection = {
|
122
|
-
__typename: 'CoinConnection';
|
123
114
|
/** A list of edges. */
|
124
115
|
edges: Array<GqlCoinEdge>;
|
125
116
|
/** A list of nodes. */
|
@@ -129,7 +120,6 @@ export type GqlCoinConnection = {
|
|
129
120
|
};
|
130
121
|
/** An edge in a connection. */
|
131
122
|
export type GqlCoinEdge = {
|
132
|
-
__typename: 'CoinEdge';
|
133
123
|
/** A cursor for use in pagination */
|
134
124
|
cursor: Scalars['String'];
|
135
125
|
/** The item at the end of the edge */
|
@@ -142,7 +132,6 @@ export type GqlCoinFilterInput = {
|
|
142
132
|
owner: Scalars['Address'];
|
143
133
|
};
|
144
134
|
export type GqlCoinOutput = {
|
145
|
-
__typename: 'CoinOutput';
|
146
135
|
amount: Scalars['U64'];
|
147
136
|
assetId: Scalars['AssetId'];
|
148
137
|
to: Scalars['Address'];
|
@@ -151,7 +140,6 @@ export type GqlCoinOutput = {
|
|
151
140
|
export type GqlCoinType = GqlCoin | GqlMessageCoin;
|
152
141
|
export type GqlConsensus = GqlGenesis | GqlPoAConsensus;
|
153
142
|
export type GqlConsensusParameters = {
|
154
|
-
__typename: 'ConsensusParameters';
|
155
143
|
baseAssetId: Scalars['AssetId'];
|
156
144
|
blockGasLimit: Scalars['U64'];
|
157
145
|
chainId: Scalars['U64'];
|
@@ -164,23 +152,24 @@ export type GqlConsensusParameters = {
|
|
164
152
|
txParams: GqlTxParameters;
|
165
153
|
version: GqlConsensusParametersVersion;
|
166
154
|
};
|
155
|
+
export type GqlConsensusParametersPurpose = {
|
156
|
+
checksum: Scalars['Bytes32'];
|
157
|
+
witnessIndex: Scalars['U16'];
|
158
|
+
};
|
167
159
|
export declare enum GqlConsensusParametersVersion {
|
168
160
|
V1 = "V1"
|
169
161
|
}
|
170
162
|
export type GqlContract = {
|
171
|
-
__typename: 'Contract';
|
172
163
|
bytecode: Scalars['HexString'];
|
173
164
|
id: Scalars['ContractId'];
|
174
165
|
salt: Scalars['Salt'];
|
175
166
|
};
|
176
167
|
export type GqlContractBalance = {
|
177
|
-
__typename: 'ContractBalance';
|
178
168
|
amount: Scalars['U64'];
|
179
169
|
assetId: Scalars['AssetId'];
|
180
170
|
contract: Scalars['ContractId'];
|
181
171
|
};
|
182
172
|
export type GqlContractBalanceConnection = {
|
183
|
-
__typename: 'ContractBalanceConnection';
|
184
173
|
/** A list of edges. */
|
185
174
|
edges: Array<GqlContractBalanceEdge>;
|
186
175
|
/** A list of nodes. */
|
@@ -190,7 +179,6 @@ export type GqlContractBalanceConnection = {
|
|
190
179
|
};
|
191
180
|
/** An edge in a connection. */
|
192
181
|
export type GqlContractBalanceEdge = {
|
193
|
-
__typename: 'ContractBalanceEdge';
|
194
182
|
/** A cursor for use in pagination */
|
195
183
|
cursor: Scalars['String'];
|
196
184
|
/** The item at the end of the edge */
|
@@ -201,18 +189,15 @@ export type GqlContractBalanceFilterInput = {
|
|
201
189
|
contract: Scalars['ContractId'];
|
202
190
|
};
|
203
191
|
export type GqlContractCreated = {
|
204
|
-
__typename: 'ContractCreated';
|
205
192
|
contract: Scalars['ContractId'];
|
206
193
|
stateRoot: Scalars['Bytes32'];
|
207
194
|
};
|
208
195
|
export type GqlContractOutput = {
|
209
|
-
__typename: 'ContractOutput';
|
210
196
|
balanceRoot: Scalars['Bytes32'];
|
211
197
|
inputIndex: Scalars['U16'];
|
212
198
|
stateRoot: Scalars['Bytes32'];
|
213
199
|
};
|
214
200
|
export type GqlContractParameters = {
|
215
|
-
__typename: 'ContractParameters';
|
216
201
|
contractMaxSize: Scalars['U64'];
|
217
202
|
maxStorageSlots: Scalars['U64'];
|
218
203
|
version: GqlContractParametersVersion;
|
@@ -222,25 +207,25 @@ export declare enum GqlContractParametersVersion {
|
|
222
207
|
}
|
223
208
|
export type GqlDependentCost = GqlHeavyOperation | GqlLightOperation;
|
224
209
|
export type GqlDryRunFailureStatus = {
|
225
|
-
__typename: 'DryRunFailureStatus';
|
226
210
|
programState?: Maybe<GqlProgramState>;
|
227
211
|
reason: Scalars['String'];
|
228
212
|
receipts: Array<GqlReceipt>;
|
213
|
+
totalFee: Scalars['U64'];
|
214
|
+
totalGas: Scalars['U64'];
|
229
215
|
};
|
230
216
|
export type GqlDryRunSuccessStatus = {
|
231
|
-
__typename: 'DryRunSuccessStatus';
|
232
217
|
programState?: Maybe<GqlProgramState>;
|
233
218
|
receipts: Array<GqlReceipt>;
|
219
|
+
totalFee: Scalars['U64'];
|
220
|
+
totalGas: Scalars['U64'];
|
234
221
|
};
|
235
222
|
export type GqlDryRunTransactionExecutionStatus = {
|
236
|
-
__typename: 'DryRunTransactionExecutionStatus';
|
237
223
|
id: Scalars['TransactionId'];
|
238
224
|
receipts: Array<GqlReceipt>;
|
239
225
|
status: GqlDryRunTransactionStatus;
|
240
226
|
};
|
241
227
|
export type GqlDryRunTransactionStatus = GqlDryRunFailureStatus | GqlDryRunSuccessStatus;
|
242
228
|
export type GqlEstimateGasPrice = {
|
243
|
-
__typename: 'EstimateGasPrice';
|
244
229
|
gasPrice: Scalars['U64'];
|
245
230
|
};
|
246
231
|
export type GqlExcludeInput = {
|
@@ -250,16 +235,16 @@ export type GqlExcludeInput = {
|
|
250
235
|
utxos: Array<Scalars['UtxoId']>;
|
251
236
|
};
|
252
237
|
export type GqlFailureStatus = {
|
253
|
-
__typename: 'FailureStatus';
|
254
238
|
block: GqlBlock;
|
255
239
|
programState?: Maybe<GqlProgramState>;
|
256
240
|
reason: Scalars['String'];
|
257
241
|
receipts: Array<GqlReceipt>;
|
258
242
|
time: Scalars['Tai64Timestamp'];
|
243
|
+
totalFee: Scalars['U64'];
|
244
|
+
totalGas: Scalars['U64'];
|
259
245
|
transactionId: Scalars['TransactionId'];
|
260
246
|
};
|
261
247
|
export type GqlFeeParameters = {
|
262
|
-
__typename: 'FeeParameters';
|
263
248
|
gasPerByte: Scalars['U64'];
|
264
249
|
gasPriceFactor: Scalars['U64'];
|
265
250
|
version: GqlFeeParametersVersion;
|
@@ -268,7 +253,6 @@ export declare enum GqlFeeParametersVersion {
|
|
268
253
|
V1 = "V1"
|
269
254
|
}
|
270
255
|
export type GqlGasCosts = {
|
271
|
-
__typename: 'GasCosts';
|
272
256
|
add: Scalars['U64'];
|
273
257
|
addi: Scalars['U64'];
|
274
258
|
aloc: Scalars['U64'];
|
@@ -385,7 +369,6 @@ export declare enum GqlGasCostsVersion {
|
|
385
369
|
V1 = "V1"
|
386
370
|
}
|
387
371
|
export type GqlGenesis = {
|
388
|
-
__typename: 'Genesis';
|
389
372
|
/**
|
390
373
|
* The chain configs define what consensus type to use, what settlement layer to use,
|
391
374
|
* rules of block validity, etc.
|
@@ -397,9 +380,10 @@ export type GqlGenesis = {
|
|
397
380
|
contractsRoot: Scalars['Bytes32'];
|
398
381
|
/** The Binary Merkle Tree root of all genesis messages. */
|
399
382
|
messagesRoot: Scalars['Bytes32'];
|
383
|
+
/** The Binary Merkle Tree root of all processed transaction ids. */
|
384
|
+
transactionsRoot: Scalars['Bytes32'];
|
400
385
|
};
|
401
386
|
export type GqlHeader = {
|
402
|
-
__typename: 'Header';
|
403
387
|
/** Hash of the application header. */
|
404
388
|
applicationHash: Scalars['Bytes32'];
|
405
389
|
/** The version of the consensus parameters used to create this block. */
|
@@ -415,7 +399,7 @@ export type GqlHeader = {
|
|
415
399
|
/** Merkle root of message receipts in this block. */
|
416
400
|
messageOutboxRoot: Scalars['Bytes32'];
|
417
401
|
/** Number of message receipts in this block. */
|
418
|
-
messageReceiptCount: Scalars['
|
402
|
+
messageReceiptCount: Scalars['U32'];
|
419
403
|
/** Merkle root of all previous block header hashes. */
|
420
404
|
prevRoot: Scalars['Bytes32'];
|
421
405
|
/** The version of the state transition bytecode used to create this block. */
|
@@ -423,18 +407,16 @@ export type GqlHeader = {
|
|
423
407
|
/** The block producer time. */
|
424
408
|
time: Scalars['Tai64Timestamp'];
|
425
409
|
/** Number of transactions in this block. */
|
426
|
-
transactionsCount: Scalars['
|
410
|
+
transactionsCount: Scalars['U16'];
|
427
411
|
/** Merkle root of transactions. */
|
428
412
|
transactionsRoot: Scalars['Bytes32'];
|
429
413
|
};
|
430
414
|
export type GqlHeavyOperation = {
|
431
|
-
__typename: 'HeavyOperation';
|
432
415
|
base: Scalars['U64'];
|
433
416
|
gasPerUnit: Scalars['U64'];
|
434
417
|
};
|
435
418
|
export type GqlInput = GqlInputCoin | GqlInputContract | GqlInputMessage;
|
436
419
|
export type GqlInputCoin = {
|
437
|
-
__typename: 'InputCoin';
|
438
420
|
amount: Scalars['U64'];
|
439
421
|
assetId: Scalars['AssetId'];
|
440
422
|
owner: Scalars['Address'];
|
@@ -446,7 +428,6 @@ export type GqlInputCoin = {
|
|
446
428
|
witnessIndex: Scalars['Int'];
|
447
429
|
};
|
448
430
|
export type GqlInputContract = {
|
449
|
-
__typename: 'InputContract';
|
450
431
|
balanceRoot: Scalars['Bytes32'];
|
451
432
|
contractId: Scalars['ContractId'];
|
452
433
|
stateRoot: Scalars['Bytes32'];
|
@@ -454,7 +435,6 @@ export type GqlInputContract = {
|
|
454
435
|
utxoId: Scalars['UtxoId'];
|
455
436
|
};
|
456
437
|
export type GqlInputMessage = {
|
457
|
-
__typename: 'InputMessage';
|
458
438
|
amount: Scalars['U64'];
|
459
439
|
data: Scalars['HexString'];
|
460
440
|
nonce: Scalars['Nonce'];
|
@@ -466,22 +446,18 @@ export type GqlInputMessage = {
|
|
466
446
|
witnessIndex: Scalars['U16'];
|
467
447
|
};
|
468
448
|
export type GqlLatestGasPrice = {
|
469
|
-
__typename: 'LatestGasPrice';
|
470
449
|
blockHeight: Scalars['U32'];
|
471
450
|
gasPrice: Scalars['U64'];
|
472
451
|
};
|
473
452
|
export type GqlLightOperation = {
|
474
|
-
__typename: 'LightOperation';
|
475
453
|
base: Scalars['U64'];
|
476
454
|
unitsPerGas: Scalars['U64'];
|
477
455
|
};
|
478
456
|
export type GqlMerkleProof = {
|
479
|
-
__typename: 'MerkleProof';
|
480
457
|
proofIndex: Scalars['U64'];
|
481
458
|
proofSet: Array<Scalars['Bytes32']>;
|
482
459
|
};
|
483
460
|
export type GqlMessage = {
|
484
|
-
__typename: 'Message';
|
485
461
|
amount: Scalars['U64'];
|
486
462
|
daHeight: Scalars['U64'];
|
487
463
|
data: Scalars['HexString'];
|
@@ -490,7 +466,6 @@ export type GqlMessage = {
|
|
490
466
|
sender: Scalars['Address'];
|
491
467
|
};
|
492
468
|
export type GqlMessageCoin = {
|
493
|
-
__typename: 'MessageCoin';
|
494
469
|
amount: Scalars['U64'];
|
495
470
|
assetId: Scalars['AssetId'];
|
496
471
|
daHeight: Scalars['U64'];
|
@@ -499,7 +474,6 @@ export type GqlMessageCoin = {
|
|
499
474
|
sender: Scalars['Address'];
|
500
475
|
};
|
501
476
|
export type GqlMessageConnection = {
|
502
|
-
__typename: 'MessageConnection';
|
503
477
|
/** A list of edges. */
|
504
478
|
edges: Array<GqlMessageEdge>;
|
505
479
|
/** A list of nodes. */
|
@@ -509,14 +483,12 @@ export type GqlMessageConnection = {
|
|
509
483
|
};
|
510
484
|
/** An edge in a connection. */
|
511
485
|
export type GqlMessageEdge = {
|
512
|
-
__typename: 'MessageEdge';
|
513
486
|
/** A cursor for use in pagination */
|
514
487
|
cursor: Scalars['String'];
|
515
488
|
/** The item at the end of the edge */
|
516
489
|
node: GqlMessage;
|
517
490
|
};
|
518
491
|
export type GqlMessageProof = {
|
519
|
-
__typename: 'MessageProof';
|
520
492
|
amount: Scalars['U64'];
|
521
493
|
blockProof: GqlMerkleProof;
|
522
494
|
commitBlockHeader: GqlHeader;
|
@@ -533,11 +505,9 @@ export declare enum GqlMessageState {
|
|
533
505
|
Unspent = "UNSPENT"
|
534
506
|
}
|
535
507
|
export type GqlMessageStatus = {
|
536
|
-
__typename: 'MessageStatus';
|
537
508
|
state: GqlMessageState;
|
538
509
|
};
|
539
510
|
export type GqlMutation = {
|
540
|
-
__typename: 'Mutation';
|
541
511
|
/**
|
542
512
|
* Resume execution of the VM instance after a breakpoint.
|
543
513
|
* Runs until the next breakpoint or until the transaction completes.
|
@@ -618,7 +588,6 @@ export type GqlMutationSubmitArgs = {
|
|
618
588
|
tx: Scalars['HexString'];
|
619
589
|
};
|
620
590
|
export type GqlNodeInfo = {
|
621
|
-
__typename: 'NodeInfo';
|
622
591
|
maxDepth: Scalars['U64'];
|
623
592
|
maxTx: Scalars['U64'];
|
624
593
|
nodeVersion: Scalars['String'];
|
@@ -632,13 +601,11 @@ export type GqlOutput = GqlChangeOutput | GqlCoinOutput | GqlContractCreated | G
|
|
632
601
|
* type cannot act as both input and output type in async-graphql
|
633
602
|
*/
|
634
603
|
export type GqlOutputBreakpoint = {
|
635
|
-
__typename: 'OutputBreakpoint';
|
636
604
|
contract: Scalars['ContractId'];
|
637
605
|
pc: Scalars['U64'];
|
638
606
|
};
|
639
607
|
/** Information about pagination in a connection */
|
640
608
|
export type GqlPageInfo = {
|
641
|
-
__typename: 'PageInfo';
|
642
609
|
/** When paginating forwards, the cursor to continue. */
|
643
610
|
endCursor?: Maybe<Scalars['String']>;
|
644
611
|
/** When paginating forwards, are there more items? */
|
@@ -649,7 +616,6 @@ export type GqlPageInfo = {
|
|
649
616
|
startCursor?: Maybe<Scalars['String']>;
|
650
617
|
};
|
651
618
|
export type GqlPeerInfo = {
|
652
|
-
__typename: 'PeerInfo';
|
653
619
|
/** The advertised multi-addrs that can be used to connect to this peer */
|
654
620
|
addresses: Array<Scalars['String']>;
|
655
621
|
/** The internal fuel p2p reputation of this peer */
|
@@ -664,19 +630,16 @@ export type GqlPeerInfo = {
|
|
664
630
|
lastHeartbeatMs: Scalars['U64'];
|
665
631
|
};
|
666
632
|
export type GqlPoAConsensus = {
|
667
|
-
__typename: 'PoAConsensus';
|
668
633
|
/** Gets the signature of the block produced by `PoA` consensus. */
|
669
634
|
signature: Scalars['Signature'];
|
670
635
|
};
|
671
636
|
export type GqlPolicies = {
|
672
|
-
__typename: 'Policies';
|
673
637
|
maturity?: Maybe<Scalars['U32']>;
|
674
638
|
maxFee?: Maybe<Scalars['U64']>;
|
675
639
|
tip?: Maybe<Scalars['U64']>;
|
676
640
|
witnessLimit?: Maybe<Scalars['U64']>;
|
677
641
|
};
|
678
642
|
export type GqlPredicateParameters = {
|
679
|
-
__typename: 'PredicateParameters';
|
680
643
|
maxGasPerPredicate: Scalars['U64'];
|
681
644
|
maxMessageDataLength: Scalars['U64'];
|
682
645
|
maxPredicateDataLength: Scalars['U64'];
|
@@ -687,12 +650,10 @@ export declare enum GqlPredicateParametersVersion {
|
|
687
650
|
V1 = "V1"
|
688
651
|
}
|
689
652
|
export type GqlProgramState = {
|
690
|
-
__typename: 'ProgramState';
|
691
653
|
data: Scalars['HexString'];
|
692
654
|
returnType: GqlReturnType;
|
693
655
|
};
|
694
656
|
export type GqlQuery = {
|
695
|
-
__typename: 'Query';
|
696
657
|
balance: GqlBalance;
|
697
658
|
balances: GqlBalanceConnection;
|
698
659
|
block?: Maybe<GqlBlock>;
|
@@ -733,6 +694,7 @@ export type GqlQuery = {
|
|
733
694
|
nodeInfo: GqlNodeInfo;
|
734
695
|
/** Read register value by index. */
|
735
696
|
register: Scalars['U64'];
|
697
|
+
relayedTransactionStatus?: Maybe<GqlRelayedTransactionStatus>;
|
736
698
|
transaction?: Maybe<GqlTransaction>;
|
737
699
|
transactions: GqlTransactionConnection;
|
738
700
|
transactionsByOwner: GqlTransactionConnection;
|
@@ -821,6 +783,9 @@ export type GqlQueryRegisterArgs = {
|
|
821
783
|
id: Scalars['ID'];
|
822
784
|
register: Scalars['U32'];
|
823
785
|
};
|
786
|
+
export type GqlQueryRelayedTransactionStatusArgs = {
|
787
|
+
id: Scalars['RelayedTransactionId'];
|
788
|
+
};
|
824
789
|
export type GqlQueryTransactionArgs = {
|
825
790
|
id: Scalars['TransactionId'];
|
826
791
|
};
|
@@ -838,7 +803,6 @@ export type GqlQueryTransactionsByOwnerArgs = {
|
|
838
803
|
owner: Scalars['Address'];
|
839
804
|
};
|
840
805
|
export type GqlReceipt = {
|
841
|
-
__typename: 'Receipt';
|
842
806
|
amount?: Maybe<Scalars['U64']>;
|
843
807
|
assetId?: Maybe<Scalars['AssetId']>;
|
844
808
|
/** Set in the case of a Panic receipt to indicate a missing contract input id */
|
@@ -884,13 +848,17 @@ export declare enum GqlReceiptType {
|
|
884
848
|
Transfer = "TRANSFER",
|
885
849
|
TransferOut = "TRANSFER_OUT"
|
886
850
|
}
|
851
|
+
export type GqlRelayedTransactionFailed = {
|
852
|
+
blockHeight: Scalars['U32'];
|
853
|
+
failure: Scalars['String'];
|
854
|
+
};
|
855
|
+
export type GqlRelayedTransactionStatus = GqlRelayedTransactionFailed;
|
887
856
|
export declare enum GqlReturnType {
|
888
857
|
Return = "RETURN",
|
889
858
|
ReturnData = "RETURN_DATA",
|
890
859
|
Revert = "REVERT"
|
891
860
|
}
|
892
861
|
export type GqlRunResult = {
|
893
|
-
__typename: 'RunResult';
|
894
862
|
breakpoint?: Maybe<GqlOutputBreakpoint>;
|
895
863
|
jsonReceipts: Array<Scalars['String']>;
|
896
864
|
state: GqlRunState;
|
@@ -902,7 +870,6 @@ export declare enum GqlRunState {
|
|
902
870
|
Completed = "COMPLETED"
|
903
871
|
}
|
904
872
|
export type GqlScriptParameters = {
|
905
|
-
__typename: 'ScriptParameters';
|
906
873
|
maxScriptDataLength: Scalars['U64'];
|
907
874
|
maxScriptLength: Scalars['U64'];
|
908
875
|
version: GqlScriptParametersVersion;
|
@@ -919,15 +886,15 @@ export type GqlSpendQueryElementInput = {
|
|
919
886
|
max?: InputMaybe<Scalars['U32']>;
|
920
887
|
};
|
921
888
|
export type GqlSqueezedOutStatus = {
|
922
|
-
__typename: 'SqueezedOutStatus';
|
923
889
|
reason: Scalars['String'];
|
924
890
|
};
|
891
|
+
export type GqlStateTransitionPurpose = {
|
892
|
+
root: Scalars['Bytes32'];
|
893
|
+
};
|
925
894
|
export type GqlSubmittedStatus = {
|
926
|
-
__typename: 'SubmittedStatus';
|
927
895
|
time: Scalars['Tai64Timestamp'];
|
928
896
|
};
|
929
897
|
export type GqlSubscription = {
|
930
|
-
__typename: 'Subscription';
|
931
898
|
/**
|
932
899
|
* Returns a stream of status updates for the given transaction id.
|
933
900
|
* If the current status is [`TransactionStatus::Success`], [`TransactionStatus::SqueezedOut`]
|
@@ -953,15 +920,16 @@ export type GqlSubscriptionSubmitAndAwaitArgs = {
|
|
953
920
|
tx: Scalars['HexString'];
|
954
921
|
};
|
955
922
|
export type GqlSuccessStatus = {
|
956
|
-
__typename: 'SuccessStatus';
|
957
923
|
block: GqlBlock;
|
958
924
|
programState?: Maybe<GqlProgramState>;
|
959
925
|
receipts: Array<GqlReceipt>;
|
960
926
|
time: Scalars['Tai64Timestamp'];
|
927
|
+
totalFee: Scalars['U64'];
|
928
|
+
totalGas: Scalars['U64'];
|
961
929
|
transactionId: Scalars['TransactionId'];
|
962
930
|
};
|
963
931
|
export type GqlTransaction = {
|
964
|
-
|
932
|
+
bytecodeRoot?: Maybe<Scalars['Bytes32']>;
|
965
933
|
bytecodeWitnessIndex?: Maybe<Scalars['U16']>;
|
966
934
|
id: Scalars['TransactionId'];
|
967
935
|
inputAssetIds?: Maybe<Array<Scalars['AssetId']>>;
|
@@ -971,6 +939,8 @@ export type GqlTransaction = {
|
|
971
939
|
isCreate: Scalars['Boolean'];
|
972
940
|
isMint: Scalars['Boolean'];
|
973
941
|
isScript: Scalars['Boolean'];
|
942
|
+
isUpgrade: Scalars['Boolean'];
|
943
|
+
isUpload: Scalars['Boolean'];
|
974
944
|
maturity?: Maybe<Scalars['U32']>;
|
975
945
|
mintAmount?: Maybe<Scalars['U64']>;
|
976
946
|
mintAssetId?: Maybe<Scalars['AssetId']>;
|
@@ -978,6 +948,7 @@ export type GqlTransaction = {
|
|
978
948
|
outputContract?: Maybe<GqlContractOutput>;
|
979
949
|
outputs: Array<GqlOutput>;
|
980
950
|
policies?: Maybe<GqlPolicies>;
|
951
|
+
proofSet?: Maybe<Array<Scalars['Bytes32']>>;
|
981
952
|
/** Return the transaction bytes using canonical encoding */
|
982
953
|
rawPayload: Scalars['HexString'];
|
983
954
|
receiptsRoot?: Maybe<Scalars['Bytes32']>;
|
@@ -987,11 +958,13 @@ export type GqlTransaction = {
|
|
987
958
|
scriptGasLimit?: Maybe<Scalars['U64']>;
|
988
959
|
status?: Maybe<GqlTransactionStatus>;
|
989
960
|
storageSlots?: Maybe<Array<Scalars['HexString']>>;
|
961
|
+
subsectionIndex?: Maybe<Scalars['U16']>;
|
962
|
+
subsectionsNumber?: Maybe<Scalars['U16']>;
|
990
963
|
txPointer?: Maybe<Scalars['TxPointer']>;
|
964
|
+
upgradePurpose?: Maybe<GqlUpgradePurpose>;
|
991
965
|
witnesses?: Maybe<Array<Scalars['HexString']>>;
|
992
966
|
};
|
993
967
|
export type GqlTransactionConnection = {
|
994
|
-
__typename: 'TransactionConnection';
|
995
968
|
/** A list of edges. */
|
996
969
|
edges: Array<GqlTransactionEdge>;
|
997
970
|
/** A list of nodes. */
|
@@ -1001,7 +974,6 @@ export type GqlTransactionConnection = {
|
|
1001
974
|
};
|
1002
975
|
/** An edge in a connection. */
|
1003
976
|
export type GqlTransactionEdge = {
|
1004
|
-
__typename: 'TransactionEdge';
|
1005
977
|
/** A cursor for use in pagination */
|
1006
978
|
cursor: Scalars['String'];
|
1007
979
|
/** The item at the end of the edge */
|
@@ -1009,7 +981,7 @@ export type GqlTransactionEdge = {
|
|
1009
981
|
};
|
1010
982
|
export type GqlTransactionStatus = GqlFailureStatus | GqlSqueezedOutStatus | GqlSubmittedStatus | GqlSuccessStatus;
|
1011
983
|
export type GqlTxParameters = {
|
1012
|
-
|
984
|
+
maxBytecodeSubsections: Scalars['U16'];
|
1013
985
|
maxGasPerTx: Scalars['U64'];
|
1014
986
|
maxInputs: Scalars['U16'];
|
1015
987
|
maxOutputs: Scalars['U16'];
|
@@ -1020,23 +992,69 @@ export type GqlTxParameters = {
|
|
1020
992
|
export declare enum GqlTxParametersVersion {
|
1021
993
|
V1 = "V1"
|
1022
994
|
}
|
995
|
+
export type GqlUpgradePurpose = GqlConsensusParametersPurpose | GqlStateTransitionPurpose;
|
1023
996
|
export type GqlVariableOutput = {
|
1024
|
-
__typename: 'VariableOutput';
|
1025
997
|
amount: Scalars['U64'];
|
1026
998
|
assetId: Scalars['AssetId'];
|
1027
999
|
to: Scalars['Address'];
|
1028
1000
|
};
|
1029
|
-
type
|
1030
|
-
|
1001
|
+
export type GqlSubmittedStatusFragment = {
|
1002
|
+
time: string;
|
1003
|
+
type: 'SubmittedStatus';
|
1004
|
+
};
|
1005
|
+
export type GqlSuccessStatusFragment = {
|
1006
|
+
time: string;
|
1007
|
+
totalGas: string;
|
1008
|
+
totalFee: string;
|
1009
|
+
type: 'SuccessStatus';
|
1010
|
+
block: {
|
1011
|
+
id: string;
|
1012
|
+
};
|
1013
|
+
programState?: {
|
1014
|
+
returnType: GqlReturnType;
|
1015
|
+
data: string;
|
1016
|
+
} | null;
|
1017
|
+
receipts: Array<{
|
1018
|
+
id?: string | null;
|
1019
|
+
pc?: string | null;
|
1020
|
+
is?: string | null;
|
1021
|
+
to?: string | null;
|
1022
|
+
toAddress?: string | null;
|
1023
|
+
amount?: string | null;
|
1024
|
+
assetId?: string | null;
|
1025
|
+
gas?: string | null;
|
1026
|
+
param1?: string | null;
|
1027
|
+
param2?: string | null;
|
1028
|
+
val?: string | null;
|
1029
|
+
ptr?: string | null;
|
1030
|
+
digest?: string | null;
|
1031
|
+
reason?: string | null;
|
1032
|
+
ra?: string | null;
|
1033
|
+
rb?: string | null;
|
1034
|
+
rc?: string | null;
|
1035
|
+
rd?: string | null;
|
1036
|
+
len?: string | null;
|
1037
|
+
receiptType: GqlReceiptType;
|
1038
|
+
result?: string | null;
|
1039
|
+
gasUsed?: string | null;
|
1040
|
+
data?: string | null;
|
1041
|
+
sender?: string | null;
|
1042
|
+
recipient?: string | null;
|
1043
|
+
nonce?: string | null;
|
1044
|
+
contractId?: string | null;
|
1045
|
+
subId?: string | null;
|
1046
|
+
}>;
|
1047
|
+
};
|
1048
|
+
export type GqlFailureStatusFragment = {
|
1049
|
+
totalGas: string;
|
1050
|
+
totalFee: string;
|
1031
1051
|
time: string;
|
1032
1052
|
reason: string;
|
1033
1053
|
type: 'FailureStatus';
|
1034
1054
|
block: {
|
1035
|
-
__typename: 'Block';
|
1036
1055
|
id: string;
|
1037
1056
|
};
|
1038
1057
|
receipts: Array<{
|
1039
|
-
__typename: 'Receipt';
|
1040
1058
|
id?: string | null;
|
1041
1059
|
pc?: string | null;
|
1042
1060
|
is?: string | null;
|
@@ -1067,26 +1085,20 @@ type GqlTransactionStatusFragment_FailureStatus_Fragment = {
|
|
1067
1085
|
subId?: string | null;
|
1068
1086
|
}>;
|
1069
1087
|
};
|
1070
|
-
type
|
1071
|
-
__typename: 'SqueezedOutStatus';
|
1088
|
+
export type GqlSqueezedOutStatusFragment = {
|
1072
1089
|
reason: string;
|
1073
1090
|
type: 'SqueezedOutStatus';
|
1074
1091
|
};
|
1075
|
-
type
|
1076
|
-
|
1092
|
+
type GqlTransactionStatusFragment_FailureStatus_ = {
|
1093
|
+
totalGas: string;
|
1094
|
+
totalFee: string;
|
1077
1095
|
time: string;
|
1078
|
-
|
1079
|
-
|
1080
|
-
type GqlTransactionStatusFragment_SuccessStatus_Fragment = {
|
1081
|
-
__typename: 'SuccessStatus';
|
1082
|
-
time: string;
|
1083
|
-
type: 'SuccessStatus';
|
1096
|
+
reason: string;
|
1097
|
+
type: 'FailureStatus';
|
1084
1098
|
block: {
|
1085
|
-
__typename: 'Block';
|
1086
1099
|
id: string;
|
1087
1100
|
};
|
1088
1101
|
receipts: Array<{
|
1089
|
-
__typename: 'Receipt';
|
1090
1102
|
id?: string | null;
|
1091
1103
|
pc?: string | null;
|
1092
1104
|
is?: string | null;
|
@@ -1116,46 +1128,86 @@ type GqlTransactionStatusFragment_SuccessStatus_Fragment = {
|
|
1116
1128
|
contractId?: string | null;
|
1117
1129
|
subId?: string | null;
|
1118
1130
|
}>;
|
1131
|
+
};
|
1132
|
+
type GqlTransactionStatusFragment_SqueezedOutStatus_ = {
|
1133
|
+
reason: string;
|
1134
|
+
type: 'SqueezedOutStatus';
|
1135
|
+
};
|
1136
|
+
type GqlTransactionStatusFragment_SubmittedStatus_ = {
|
1137
|
+
time: string;
|
1138
|
+
type: 'SubmittedStatus';
|
1139
|
+
};
|
1140
|
+
type GqlTransactionStatusFragment_SuccessStatus_ = {
|
1141
|
+
time: string;
|
1142
|
+
totalGas: string;
|
1143
|
+
totalFee: string;
|
1144
|
+
type: 'SuccessStatus';
|
1145
|
+
block: {
|
1146
|
+
id: string;
|
1147
|
+
};
|
1119
1148
|
programState?: {
|
1120
|
-
__typename: 'ProgramState';
|
1121
1149
|
returnType: GqlReturnType;
|
1122
1150
|
data: string;
|
1123
1151
|
} | null;
|
1152
|
+
receipts: Array<{
|
1153
|
+
id?: string | null;
|
1154
|
+
pc?: string | null;
|
1155
|
+
is?: string | null;
|
1156
|
+
to?: string | null;
|
1157
|
+
toAddress?: string | null;
|
1158
|
+
amount?: string | null;
|
1159
|
+
assetId?: string | null;
|
1160
|
+
gas?: string | null;
|
1161
|
+
param1?: string | null;
|
1162
|
+
param2?: string | null;
|
1163
|
+
val?: string | null;
|
1164
|
+
ptr?: string | null;
|
1165
|
+
digest?: string | null;
|
1166
|
+
reason?: string | null;
|
1167
|
+
ra?: string | null;
|
1168
|
+
rb?: string | null;
|
1169
|
+
rc?: string | null;
|
1170
|
+
rd?: string | null;
|
1171
|
+
len?: string | null;
|
1172
|
+
receiptType: GqlReceiptType;
|
1173
|
+
result?: string | null;
|
1174
|
+
gasUsed?: string | null;
|
1175
|
+
data?: string | null;
|
1176
|
+
sender?: string | null;
|
1177
|
+
recipient?: string | null;
|
1178
|
+
nonce?: string | null;
|
1179
|
+
contractId?: string | null;
|
1180
|
+
subId?: string | null;
|
1181
|
+
}>;
|
1124
1182
|
};
|
1125
|
-
export type
|
1126
|
-
type
|
1127
|
-
__typename: 'FailureStatus';
|
1183
|
+
export type GqlTransactionStatusFragment = GqlTransactionStatusFragment_FailureStatus_ | GqlTransactionStatusFragment_SqueezedOutStatus_ | GqlTransactionStatusFragment_SubmittedStatus_ | GqlTransactionStatusFragment_SuccessStatus_;
|
1184
|
+
type GqlTransactionStatusSubscriptionFragment_FailureStatus_ = {
|
1128
1185
|
type: 'FailureStatus';
|
1129
1186
|
};
|
1130
|
-
type
|
1131
|
-
__typename: 'SqueezedOutStatus';
|
1187
|
+
type GqlTransactionStatusSubscriptionFragment_SqueezedOutStatus_ = {
|
1132
1188
|
reason: string;
|
1133
1189
|
type: 'SqueezedOutStatus';
|
1134
1190
|
};
|
1135
|
-
type
|
1136
|
-
__typename: 'SubmittedStatus';
|
1191
|
+
type GqlTransactionStatusSubscriptionFragment_SubmittedStatus_ = {
|
1137
1192
|
type: 'SubmittedStatus';
|
1138
1193
|
};
|
1139
|
-
type
|
1140
|
-
__typename: 'SuccessStatus';
|
1194
|
+
type GqlTransactionStatusSubscriptionFragment_SuccessStatus_ = {
|
1141
1195
|
type: 'SuccessStatus';
|
1142
1196
|
};
|
1143
|
-
export type
|
1144
|
-
export type
|
1145
|
-
__typename: 'Transaction';
|
1197
|
+
export type GqlTransactionStatusSubscriptionFragment = GqlTransactionStatusSubscriptionFragment_FailureStatus_ | GqlTransactionStatusSubscriptionFragment_SqueezedOutStatus_ | GqlTransactionStatusSubscriptionFragment_SubmittedStatus_ | GqlTransactionStatusSubscriptionFragment_SuccessStatus_;
|
1198
|
+
export type GqlTransactionFragment = {
|
1146
1199
|
id: string;
|
1147
1200
|
rawPayload: string;
|
1148
1201
|
status?: {
|
1149
|
-
|
1202
|
+
totalGas: string;
|
1203
|
+
totalFee: string;
|
1150
1204
|
time: string;
|
1151
1205
|
reason: string;
|
1152
1206
|
type: 'FailureStatus';
|
1153
1207
|
block: {
|
1154
|
-
__typename: 'Block';
|
1155
1208
|
id: string;
|
1156
1209
|
};
|
1157
1210
|
receipts: Array<{
|
1158
|
-
__typename: 'Receipt';
|
1159
1211
|
id?: string | null;
|
1160
1212
|
pc?: string | null;
|
1161
1213
|
is?: string | null;
|
@@ -1186,23 +1238,24 @@ export type GqlTransactionFragmentFragment = {
|
|
1186
1238
|
subId?: string | null;
|
1187
1239
|
}>;
|
1188
1240
|
} | {
|
1189
|
-
__typename: 'SqueezedOutStatus';
|
1190
1241
|
reason: string;
|
1191
1242
|
type: 'SqueezedOutStatus';
|
1192
1243
|
} | {
|
1193
|
-
__typename: 'SubmittedStatus';
|
1194
1244
|
time: string;
|
1195
1245
|
type: 'SubmittedStatus';
|
1196
1246
|
} | {
|
1197
|
-
__typename: 'SuccessStatus';
|
1198
1247
|
time: string;
|
1248
|
+
totalGas: string;
|
1249
|
+
totalFee: string;
|
1199
1250
|
type: 'SuccessStatus';
|
1200
1251
|
block: {
|
1201
|
-
__typename: 'Block';
|
1202
1252
|
id: string;
|
1203
1253
|
};
|
1254
|
+
programState?: {
|
1255
|
+
returnType: GqlReturnType;
|
1256
|
+
data: string;
|
1257
|
+
} | null;
|
1204
1258
|
receipts: Array<{
|
1205
|
-
__typename: 'Receipt';
|
1206
1259
|
id?: string | null;
|
1207
1260
|
pc?: string | null;
|
1208
1261
|
is?: string | null;
|
@@ -1232,56 +1285,41 @@ export type GqlTransactionFragmentFragment = {
|
|
1232
1285
|
contractId?: string | null;
|
1233
1286
|
subId?: string | null;
|
1234
1287
|
}>;
|
1235
|
-
programState?: {
|
1236
|
-
__typename: 'ProgramState';
|
1237
|
-
returnType: GqlReturnType;
|
1238
|
-
data: string;
|
1239
|
-
} | null;
|
1240
1288
|
} | null;
|
1241
1289
|
};
|
1242
|
-
type
|
1243
|
-
__typename: 'InputCoin';
|
1290
|
+
type GqlInputEstimatePredicatesFragment_InputCoin_ = {
|
1244
1291
|
predicateGasUsed: string;
|
1245
1292
|
};
|
1246
|
-
type
|
1247
|
-
|
1248
|
-
};
|
1249
|
-
type GqlInputEstimatePredicatesFragment_InputMessage_Fragment = {
|
1250
|
-
__typename: 'InputMessage';
|
1293
|
+
type GqlInputEstimatePredicatesFragment_InputContract_ = {};
|
1294
|
+
type GqlInputEstimatePredicatesFragment_InputMessage_ = {
|
1251
1295
|
predicateGasUsed: string;
|
1252
1296
|
};
|
1253
|
-
export type
|
1254
|
-
export type
|
1255
|
-
__typename: 'Transaction';
|
1297
|
+
export type GqlInputEstimatePredicatesFragment = GqlInputEstimatePredicatesFragment_InputCoin_ | GqlInputEstimatePredicatesFragment_InputContract_ | GqlInputEstimatePredicatesFragment_InputMessage_;
|
1298
|
+
export type GqlTransactionEstimatePredicatesFragment = {
|
1256
1299
|
inputs?: Array<{
|
1257
|
-
__typename: 'InputCoin';
|
1258
1300
|
predicateGasUsed: string;
|
1259
1301
|
} | {
|
1260
|
-
__typename: 'InputContract';
|
1261
|
-
} | {
|
1262
|
-
__typename: 'InputMessage';
|
1263
1302
|
predicateGasUsed: string;
|
1264
|
-
}> | null;
|
1303
|
+
} | {}> | null;
|
1265
1304
|
};
|
1266
|
-
export type
|
1267
|
-
|
1305
|
+
export type GqlDryRunFailureStatusFragment = {
|
1306
|
+
totalGas: string;
|
1307
|
+
totalFee: string;
|
1268
1308
|
reason: string;
|
1269
1309
|
programState?: {
|
1270
|
-
__typename: 'ProgramState';
|
1271
1310
|
returnType: GqlReturnType;
|
1272
1311
|
data: string;
|
1273
1312
|
} | null;
|
1274
1313
|
};
|
1275
|
-
export type
|
1276
|
-
|
1314
|
+
export type GqlDryRunSuccessStatusFragment = {
|
1315
|
+
totalGas: string;
|
1316
|
+
totalFee: string;
|
1277
1317
|
programState?: {
|
1278
|
-
__typename: 'ProgramState';
|
1279
1318
|
returnType: GqlReturnType;
|
1280
1319
|
data: string;
|
1281
1320
|
} | null;
|
1282
1321
|
};
|
1283
|
-
export type
|
1284
|
-
__typename: 'Receipt';
|
1322
|
+
export type GqlReceiptFragment = {
|
1285
1323
|
id?: string | null;
|
1286
1324
|
pc?: string | null;
|
1287
1325
|
is?: string | null;
|
@@ -1311,45 +1349,43 @@ export type GqlReceiptFragmentFragment = {
|
|
1311
1349
|
contractId?: string | null;
|
1312
1350
|
subId?: string | null;
|
1313
1351
|
};
|
1314
|
-
type
|
1315
|
-
|
1352
|
+
type GqlDryRunTransactionStatusFragment_DryRunFailureStatus_ = {
|
1353
|
+
totalGas: string;
|
1354
|
+
totalFee: string;
|
1316
1355
|
reason: string;
|
1317
1356
|
programState?: {
|
1318
|
-
__typename: 'ProgramState';
|
1319
1357
|
returnType: GqlReturnType;
|
1320
1358
|
data: string;
|
1321
1359
|
} | null;
|
1322
1360
|
};
|
1323
|
-
type
|
1324
|
-
|
1361
|
+
type GqlDryRunTransactionStatusFragment_DryRunSuccessStatus_ = {
|
1362
|
+
totalGas: string;
|
1363
|
+
totalFee: string;
|
1325
1364
|
programState?: {
|
1326
|
-
__typename: 'ProgramState';
|
1327
1365
|
returnType: GqlReturnType;
|
1328
1366
|
data: string;
|
1329
1367
|
} | null;
|
1330
1368
|
};
|
1331
|
-
export type
|
1332
|
-
export type
|
1333
|
-
__typename: 'DryRunTransactionExecutionStatus';
|
1369
|
+
export type GqlDryRunTransactionStatusFragment = GqlDryRunTransactionStatusFragment_DryRunFailureStatus_ | GqlDryRunTransactionStatusFragment_DryRunSuccessStatus_;
|
1370
|
+
export type GqlDryRunTransactionExecutionStatusFragment = {
|
1334
1371
|
id: string;
|
1335
1372
|
status: {
|
1336
|
-
|
1373
|
+
totalGas: string;
|
1374
|
+
totalFee: string;
|
1337
1375
|
reason: string;
|
1338
1376
|
programState?: {
|
1339
|
-
__typename: 'ProgramState';
|
1340
1377
|
returnType: GqlReturnType;
|
1341
1378
|
data: string;
|
1342
1379
|
} | null;
|
1343
1380
|
} | {
|
1344
|
-
|
1381
|
+
totalGas: string;
|
1382
|
+
totalFee: string;
|
1345
1383
|
programState?: {
|
1346
|
-
__typename: 'ProgramState';
|
1347
1384
|
returnType: GqlReturnType;
|
1348
1385
|
data: string;
|
1349
1386
|
} | null;
|
1350
1387
|
};
|
1351
1388
|
receipts: Array<{
|
1352
|
-
__typename: 'Receipt';
|
1353
1389
|
id?: string | null;
|
1354
1390
|
pc?: string | null;
|
1355
1391
|
is?: string | null;
|
@@ -1380,39 +1416,35 @@ export type GqlDryRunTransactionExecutionStatusFragmentFragment = {
|
|
1380
1416
|
subId?: string | null;
|
1381
1417
|
}>;
|
1382
1418
|
};
|
1383
|
-
export type
|
1384
|
-
__typename: 'Block';
|
1419
|
+
export type GqlBlockFragment = {
|
1385
1420
|
id: string;
|
1386
|
-
height:
|
1421
|
+
height: string;
|
1387
1422
|
header: {
|
1388
|
-
__typename: 'Header';
|
1389
1423
|
time: string;
|
1390
1424
|
};
|
1391
1425
|
transactions: Array<{
|
1392
|
-
__typename: 'Transaction';
|
1393
1426
|
id: string;
|
1394
1427
|
}>;
|
1395
1428
|
};
|
1396
|
-
export type
|
1397
|
-
__typename: 'Coin';
|
1429
|
+
export type GqlCoinFragment = {
|
1398
1430
|
utxoId: string;
|
1399
1431
|
owner: string;
|
1400
1432
|
amount: string;
|
1401
1433
|
assetId: string;
|
1402
|
-
blockCreated:
|
1403
|
-
txCreatedIdx:
|
1434
|
+
blockCreated: string;
|
1435
|
+
txCreatedIdx: string;
|
1436
|
+
type: 'Coin';
|
1404
1437
|
};
|
1405
|
-
export type
|
1406
|
-
__typename: 'MessageCoin';
|
1438
|
+
export type GqlMessageCoinFragment = {
|
1407
1439
|
sender: string;
|
1408
1440
|
recipient: string;
|
1409
1441
|
nonce: string;
|
1410
1442
|
amount: string;
|
1411
1443
|
assetId: string;
|
1412
1444
|
daHeight: string;
|
1445
|
+
type: 'MessageCoin';
|
1413
1446
|
};
|
1414
|
-
export type
|
1415
|
-
__typename: 'Message';
|
1447
|
+
export type GqlMessageFragment = {
|
1416
1448
|
amount: string;
|
1417
1449
|
sender: string;
|
1418
1450
|
recipient: string;
|
@@ -1420,110 +1452,99 @@ export type GqlMessageFragmentFragment = {
|
|
1420
1452
|
nonce: string;
|
1421
1453
|
daHeight: string;
|
1422
1454
|
};
|
1423
|
-
export type
|
1424
|
-
__typename: 'MessageProof';
|
1455
|
+
export type GqlMessageProofFragment = {
|
1425
1456
|
sender: string;
|
1426
1457
|
recipient: string;
|
1427
1458
|
nonce: string;
|
1428
1459
|
amount: string;
|
1429
1460
|
data: string;
|
1430
1461
|
messageProof: {
|
1431
|
-
__typename: 'MerkleProof';
|
1432
1462
|
proofSet: Array<string>;
|
1433
1463
|
proofIndex: string;
|
1434
1464
|
};
|
1435
1465
|
blockProof: {
|
1436
|
-
__typename: 'MerkleProof';
|
1437
1466
|
proofSet: Array<string>;
|
1438
1467
|
proofIndex: string;
|
1439
1468
|
};
|
1440
1469
|
messageBlockHeader: {
|
1441
|
-
__typename: 'Header';
|
1442
1470
|
id: string;
|
1443
1471
|
daHeight: string;
|
1444
|
-
consensusParametersVersion:
|
1445
|
-
stateTransitionBytecodeVersion:
|
1472
|
+
consensusParametersVersion: string;
|
1473
|
+
stateTransitionBytecodeVersion: string;
|
1446
1474
|
transactionsCount: string;
|
1447
1475
|
messageReceiptCount: string;
|
1448
1476
|
transactionsRoot: string;
|
1449
1477
|
messageOutboxRoot: string;
|
1450
1478
|
eventInboxRoot: string;
|
1451
|
-
height:
|
1479
|
+
height: string;
|
1452
1480
|
prevRoot: string;
|
1453
1481
|
time: string;
|
1454
1482
|
applicationHash: string;
|
1455
1483
|
};
|
1456
1484
|
commitBlockHeader: {
|
1457
|
-
__typename: 'Header';
|
1458
1485
|
id: string;
|
1459
1486
|
daHeight: string;
|
1460
|
-
consensusParametersVersion:
|
1461
|
-
stateTransitionBytecodeVersion:
|
1487
|
+
consensusParametersVersion: string;
|
1488
|
+
stateTransitionBytecodeVersion: string;
|
1462
1489
|
transactionsCount: string;
|
1463
1490
|
messageReceiptCount: string;
|
1464
1491
|
transactionsRoot: string;
|
1465
1492
|
messageOutboxRoot: string;
|
1466
1493
|
eventInboxRoot: string;
|
1467
|
-
height:
|
1494
|
+
height: string;
|
1468
1495
|
prevRoot: string;
|
1469
1496
|
time: string;
|
1470
1497
|
applicationHash: string;
|
1471
1498
|
};
|
1472
1499
|
};
|
1473
|
-
export type
|
1474
|
-
__typename: 'Balance';
|
1500
|
+
export type GqlBalanceFragment = {
|
1475
1501
|
owner: string;
|
1476
1502
|
amount: string;
|
1477
1503
|
assetId: string;
|
1478
1504
|
};
|
1479
|
-
export type
|
1480
|
-
__typename: 'TxParameters';
|
1505
|
+
export type GqlTxParametersFragment = {
|
1481
1506
|
version: GqlTxParametersVersion;
|
1482
|
-
maxInputs:
|
1483
|
-
maxOutputs:
|
1484
|
-
maxWitnesses:
|
1507
|
+
maxInputs: string;
|
1508
|
+
maxOutputs: string;
|
1509
|
+
maxWitnesses: string;
|
1485
1510
|
maxGasPerTx: string;
|
1486
1511
|
maxSize: string;
|
1512
|
+
maxBytecodeSubsections: string;
|
1487
1513
|
};
|
1488
|
-
export type
|
1489
|
-
__typename: 'PredicateParameters';
|
1514
|
+
export type GqlPredicateParametersFragment = {
|
1490
1515
|
version: GqlPredicateParametersVersion;
|
1491
1516
|
maxPredicateLength: string;
|
1492
1517
|
maxPredicateDataLength: string;
|
1493
1518
|
maxGasPerPredicate: string;
|
1494
1519
|
maxMessageDataLength: string;
|
1495
1520
|
};
|
1496
|
-
export type
|
1497
|
-
__typename: 'ScriptParameters';
|
1521
|
+
export type GqlScriptParametersFragment = {
|
1498
1522
|
version: GqlScriptParametersVersion;
|
1499
1523
|
maxScriptLength: string;
|
1500
1524
|
maxScriptDataLength: string;
|
1501
1525
|
};
|
1502
|
-
export type
|
1503
|
-
__typename: 'ContractParameters';
|
1526
|
+
export type GqlContractParametersFragment = {
|
1504
1527
|
version: GqlContractParametersVersion;
|
1505
1528
|
contractMaxSize: string;
|
1506
1529
|
maxStorageSlots: string;
|
1507
1530
|
};
|
1508
|
-
export type
|
1509
|
-
__typename: 'FeeParameters';
|
1531
|
+
export type GqlFeeParametersFragment = {
|
1510
1532
|
version: GqlFeeParametersVersion;
|
1511
1533
|
gasPriceFactor: string;
|
1512
1534
|
gasPerByte: string;
|
1513
1535
|
};
|
1514
|
-
type
|
1515
|
-
__typename: 'HeavyOperation';
|
1536
|
+
type GqlDependentCostFragment_HeavyOperation_ = {
|
1516
1537
|
base: string;
|
1517
1538
|
gasPerUnit: string;
|
1539
|
+
type: 'HeavyOperation';
|
1518
1540
|
};
|
1519
|
-
type
|
1520
|
-
__typename: 'LightOperation';
|
1541
|
+
type GqlDependentCostFragment_LightOperation_ = {
|
1521
1542
|
base: string;
|
1522
1543
|
unitsPerGas: string;
|
1544
|
+
type: 'LightOperation';
|
1523
1545
|
};
|
1524
|
-
export type
|
1525
|
-
export type
|
1526
|
-
__typename: 'GasCosts';
|
1546
|
+
export type GqlDependentCostFragment = GqlDependentCostFragment_HeavyOperation_ | GqlDependentCostFragment_LightOperation_;
|
1547
|
+
export type GqlGasCostsFragment = {
|
1527
1548
|
version: GqlGasCostsVersion;
|
1528
1549
|
add: string;
|
1529
1550
|
addi: string;
|
@@ -1615,211 +1636,209 @@ export type GqlGasCostsFragmentFragment = {
|
|
1615
1636
|
xori: string;
|
1616
1637
|
newStoragePerByte: string;
|
1617
1638
|
call: {
|
1618
|
-
__typename: 'HeavyOperation';
|
1619
1639
|
base: string;
|
1620
1640
|
gasPerUnit: string;
|
1641
|
+
type: 'HeavyOperation';
|
1621
1642
|
} | {
|
1622
|
-
__typename: 'LightOperation';
|
1623
1643
|
base: string;
|
1624
1644
|
unitsPerGas: string;
|
1645
|
+
type: 'LightOperation';
|
1625
1646
|
};
|
1626
1647
|
ccp: {
|
1627
|
-
__typename: 'HeavyOperation';
|
1628
1648
|
base: string;
|
1629
1649
|
gasPerUnit: string;
|
1650
|
+
type: 'HeavyOperation';
|
1630
1651
|
} | {
|
1631
|
-
__typename: 'LightOperation';
|
1632
1652
|
base: string;
|
1633
1653
|
unitsPerGas: string;
|
1654
|
+
type: 'LightOperation';
|
1634
1655
|
};
|
1635
1656
|
croo: {
|
1636
|
-
__typename: 'HeavyOperation';
|
1637
1657
|
base: string;
|
1638
1658
|
gasPerUnit: string;
|
1659
|
+
type: 'HeavyOperation';
|
1639
1660
|
} | {
|
1640
|
-
__typename: 'LightOperation';
|
1641
1661
|
base: string;
|
1642
1662
|
unitsPerGas: string;
|
1663
|
+
type: 'LightOperation';
|
1643
1664
|
};
|
1644
1665
|
csiz: {
|
1645
|
-
__typename: 'HeavyOperation';
|
1646
1666
|
base: string;
|
1647
1667
|
gasPerUnit: string;
|
1668
|
+
type: 'HeavyOperation';
|
1648
1669
|
} | {
|
1649
|
-
__typename: 'LightOperation';
|
1650
1670
|
base: string;
|
1651
1671
|
unitsPerGas: string;
|
1672
|
+
type: 'LightOperation';
|
1652
1673
|
};
|
1653
1674
|
k256: {
|
1654
|
-
__typename: 'HeavyOperation';
|
1655
1675
|
base: string;
|
1656
1676
|
gasPerUnit: string;
|
1677
|
+
type: 'HeavyOperation';
|
1657
1678
|
} | {
|
1658
|
-
__typename: 'LightOperation';
|
1659
1679
|
base: string;
|
1660
1680
|
unitsPerGas: string;
|
1681
|
+
type: 'LightOperation';
|
1661
1682
|
};
|
1662
1683
|
ldc: {
|
1663
|
-
__typename: 'HeavyOperation';
|
1664
1684
|
base: string;
|
1665
1685
|
gasPerUnit: string;
|
1686
|
+
type: 'HeavyOperation';
|
1666
1687
|
} | {
|
1667
|
-
__typename: 'LightOperation';
|
1668
1688
|
base: string;
|
1669
1689
|
unitsPerGas: string;
|
1690
|
+
type: 'LightOperation';
|
1670
1691
|
};
|
1671
1692
|
logd: {
|
1672
|
-
__typename: 'HeavyOperation';
|
1673
1693
|
base: string;
|
1674
1694
|
gasPerUnit: string;
|
1695
|
+
type: 'HeavyOperation';
|
1675
1696
|
} | {
|
1676
|
-
__typename: 'LightOperation';
|
1677
1697
|
base: string;
|
1678
1698
|
unitsPerGas: string;
|
1699
|
+
type: 'LightOperation';
|
1679
1700
|
};
|
1680
1701
|
mcl: {
|
1681
|
-
__typename: 'HeavyOperation';
|
1682
1702
|
base: string;
|
1683
1703
|
gasPerUnit: string;
|
1704
|
+
type: 'HeavyOperation';
|
1684
1705
|
} | {
|
1685
|
-
__typename: 'LightOperation';
|
1686
1706
|
base: string;
|
1687
1707
|
unitsPerGas: string;
|
1708
|
+
type: 'LightOperation';
|
1688
1709
|
};
|
1689
1710
|
mcli: {
|
1690
|
-
__typename: 'HeavyOperation';
|
1691
1711
|
base: string;
|
1692
1712
|
gasPerUnit: string;
|
1713
|
+
type: 'HeavyOperation';
|
1693
1714
|
} | {
|
1694
|
-
__typename: 'LightOperation';
|
1695
1715
|
base: string;
|
1696
1716
|
unitsPerGas: string;
|
1717
|
+
type: 'LightOperation';
|
1697
1718
|
};
|
1698
1719
|
mcp: {
|
1699
|
-
__typename: 'HeavyOperation';
|
1700
1720
|
base: string;
|
1701
1721
|
gasPerUnit: string;
|
1722
|
+
type: 'HeavyOperation';
|
1702
1723
|
} | {
|
1703
|
-
__typename: 'LightOperation';
|
1704
1724
|
base: string;
|
1705
1725
|
unitsPerGas: string;
|
1726
|
+
type: 'LightOperation';
|
1706
1727
|
};
|
1707
1728
|
mcpi: {
|
1708
|
-
__typename: 'HeavyOperation';
|
1709
1729
|
base: string;
|
1710
1730
|
gasPerUnit: string;
|
1731
|
+
type: 'HeavyOperation';
|
1711
1732
|
} | {
|
1712
|
-
__typename: 'LightOperation';
|
1713
1733
|
base: string;
|
1714
1734
|
unitsPerGas: string;
|
1735
|
+
type: 'LightOperation';
|
1715
1736
|
};
|
1716
1737
|
meq: {
|
1717
|
-
__typename: 'HeavyOperation';
|
1718
1738
|
base: string;
|
1719
1739
|
gasPerUnit: string;
|
1740
|
+
type: 'HeavyOperation';
|
1720
1741
|
} | {
|
1721
|
-
__typename: 'LightOperation';
|
1722
1742
|
base: string;
|
1723
1743
|
unitsPerGas: string;
|
1744
|
+
type: 'LightOperation';
|
1724
1745
|
};
|
1725
1746
|
retd: {
|
1726
|
-
__typename: 'HeavyOperation';
|
1727
1747
|
base: string;
|
1728
1748
|
gasPerUnit: string;
|
1749
|
+
type: 'HeavyOperation';
|
1729
1750
|
} | {
|
1730
|
-
__typename: 'LightOperation';
|
1731
1751
|
base: string;
|
1732
1752
|
unitsPerGas: string;
|
1753
|
+
type: 'LightOperation';
|
1733
1754
|
};
|
1734
1755
|
s256: {
|
1735
|
-
__typename: 'HeavyOperation';
|
1736
1756
|
base: string;
|
1737
1757
|
gasPerUnit: string;
|
1758
|
+
type: 'HeavyOperation';
|
1738
1759
|
} | {
|
1739
|
-
__typename: 'LightOperation';
|
1740
1760
|
base: string;
|
1741
1761
|
unitsPerGas: string;
|
1762
|
+
type: 'LightOperation';
|
1742
1763
|
};
|
1743
1764
|
scwq: {
|
1744
|
-
__typename: 'HeavyOperation';
|
1745
1765
|
base: string;
|
1746
1766
|
gasPerUnit: string;
|
1767
|
+
type: 'HeavyOperation';
|
1747
1768
|
} | {
|
1748
|
-
__typename: 'LightOperation';
|
1749
1769
|
base: string;
|
1750
1770
|
unitsPerGas: string;
|
1771
|
+
type: 'LightOperation';
|
1751
1772
|
};
|
1752
1773
|
smo: {
|
1753
|
-
__typename: 'HeavyOperation';
|
1754
1774
|
base: string;
|
1755
1775
|
gasPerUnit: string;
|
1776
|
+
type: 'HeavyOperation';
|
1756
1777
|
} | {
|
1757
|
-
__typename: 'LightOperation';
|
1758
1778
|
base: string;
|
1759
1779
|
unitsPerGas: string;
|
1780
|
+
type: 'LightOperation';
|
1760
1781
|
};
|
1761
1782
|
srwq: {
|
1762
|
-
__typename: 'HeavyOperation';
|
1763
1783
|
base: string;
|
1764
1784
|
gasPerUnit: string;
|
1785
|
+
type: 'HeavyOperation';
|
1765
1786
|
} | {
|
1766
|
-
__typename: 'LightOperation';
|
1767
1787
|
base: string;
|
1768
1788
|
unitsPerGas: string;
|
1789
|
+
type: 'LightOperation';
|
1769
1790
|
};
|
1770
1791
|
swwq: {
|
1771
|
-
__typename: 'HeavyOperation';
|
1772
1792
|
base: string;
|
1773
1793
|
gasPerUnit: string;
|
1794
|
+
type: 'HeavyOperation';
|
1774
1795
|
} | {
|
1775
|
-
__typename: 'LightOperation';
|
1776
1796
|
base: string;
|
1777
1797
|
unitsPerGas: string;
|
1798
|
+
type: 'LightOperation';
|
1778
1799
|
};
|
1779
1800
|
contractRoot: {
|
1780
|
-
__typename: 'HeavyOperation';
|
1781
1801
|
base: string;
|
1782
1802
|
gasPerUnit: string;
|
1803
|
+
type: 'HeavyOperation';
|
1783
1804
|
} | {
|
1784
|
-
__typename: 'LightOperation';
|
1785
1805
|
base: string;
|
1786
1806
|
unitsPerGas: string;
|
1807
|
+
type: 'LightOperation';
|
1787
1808
|
};
|
1788
1809
|
stateRoot: {
|
1789
|
-
__typename: 'HeavyOperation';
|
1790
1810
|
base: string;
|
1791
1811
|
gasPerUnit: string;
|
1812
|
+
type: 'HeavyOperation';
|
1792
1813
|
} | {
|
1793
|
-
__typename: 'LightOperation';
|
1794
1814
|
base: string;
|
1795
1815
|
unitsPerGas: string;
|
1816
|
+
type: 'LightOperation';
|
1796
1817
|
};
|
1797
1818
|
vmInitialization: {
|
1798
|
-
__typename: 'HeavyOperation';
|
1799
1819
|
base: string;
|
1800
1820
|
gasPerUnit: string;
|
1821
|
+
type: 'HeavyOperation';
|
1801
1822
|
} | {
|
1802
|
-
__typename: 'LightOperation';
|
1803
1823
|
base: string;
|
1804
1824
|
unitsPerGas: string;
|
1825
|
+
type: 'LightOperation';
|
1805
1826
|
};
|
1806
1827
|
};
|
1807
|
-
export type
|
1808
|
-
__typename: 'ConsensusParameters';
|
1828
|
+
export type GqlConsensusParametersFragment = {
|
1809
1829
|
version: GqlConsensusParametersVersion;
|
1810
1830
|
baseAssetId: string;
|
1811
1831
|
chainId: string;
|
1812
1832
|
txParams: {
|
1813
|
-
__typename: 'TxParameters';
|
1814
1833
|
version: GqlTxParametersVersion;
|
1815
|
-
maxInputs:
|
1816
|
-
maxOutputs:
|
1817
|
-
maxWitnesses:
|
1834
|
+
maxInputs: string;
|
1835
|
+
maxOutputs: string;
|
1836
|
+
maxWitnesses: string;
|
1818
1837
|
maxGasPerTx: string;
|
1819
1838
|
maxSize: string;
|
1839
|
+
maxBytecodeSubsections: string;
|
1820
1840
|
};
|
1821
1841
|
predicateParams: {
|
1822
|
-
__typename: 'PredicateParameters';
|
1823
1842
|
version: GqlPredicateParametersVersion;
|
1824
1843
|
maxPredicateLength: string;
|
1825
1844
|
maxPredicateDataLength: string;
|
@@ -1827,25 +1846,21 @@ export type GqlConsensusParametersFragmentFragment = {
|
|
1827
1846
|
maxMessageDataLength: string;
|
1828
1847
|
};
|
1829
1848
|
scriptParams: {
|
1830
|
-
__typename: 'ScriptParameters';
|
1831
1849
|
version: GqlScriptParametersVersion;
|
1832
1850
|
maxScriptLength: string;
|
1833
1851
|
maxScriptDataLength: string;
|
1834
1852
|
};
|
1835
1853
|
contractParams: {
|
1836
|
-
__typename: 'ContractParameters';
|
1837
1854
|
version: GqlContractParametersVersion;
|
1838
1855
|
contractMaxSize: string;
|
1839
1856
|
maxStorageSlots: string;
|
1840
1857
|
};
|
1841
1858
|
feeParams: {
|
1842
|
-
__typename: 'FeeParameters';
|
1843
1859
|
version: GqlFeeParametersVersion;
|
1844
1860
|
gasPriceFactor: string;
|
1845
1861
|
gasPerByte: string;
|
1846
1862
|
};
|
1847
1863
|
gasCosts: {
|
1848
|
-
__typename: 'GasCosts';
|
1849
1864
|
version: GqlGasCostsVersion;
|
1850
1865
|
add: string;
|
1851
1866
|
addi: string;
|
@@ -1937,229 +1952,223 @@ export type GqlConsensusParametersFragmentFragment = {
|
|
1937
1952
|
xori: string;
|
1938
1953
|
newStoragePerByte: string;
|
1939
1954
|
call: {
|
1940
|
-
__typename: 'HeavyOperation';
|
1941
1955
|
base: string;
|
1942
1956
|
gasPerUnit: string;
|
1957
|
+
type: 'HeavyOperation';
|
1943
1958
|
} | {
|
1944
|
-
__typename: 'LightOperation';
|
1945
1959
|
base: string;
|
1946
1960
|
unitsPerGas: string;
|
1961
|
+
type: 'LightOperation';
|
1947
1962
|
};
|
1948
1963
|
ccp: {
|
1949
|
-
__typename: 'HeavyOperation';
|
1950
1964
|
base: string;
|
1951
1965
|
gasPerUnit: string;
|
1966
|
+
type: 'HeavyOperation';
|
1952
1967
|
} | {
|
1953
|
-
__typename: 'LightOperation';
|
1954
1968
|
base: string;
|
1955
1969
|
unitsPerGas: string;
|
1970
|
+
type: 'LightOperation';
|
1956
1971
|
};
|
1957
1972
|
croo: {
|
1958
|
-
__typename: 'HeavyOperation';
|
1959
1973
|
base: string;
|
1960
1974
|
gasPerUnit: string;
|
1975
|
+
type: 'HeavyOperation';
|
1961
1976
|
} | {
|
1962
|
-
__typename: 'LightOperation';
|
1963
1977
|
base: string;
|
1964
1978
|
unitsPerGas: string;
|
1979
|
+
type: 'LightOperation';
|
1965
1980
|
};
|
1966
1981
|
csiz: {
|
1967
|
-
__typename: 'HeavyOperation';
|
1968
1982
|
base: string;
|
1969
1983
|
gasPerUnit: string;
|
1984
|
+
type: 'HeavyOperation';
|
1970
1985
|
} | {
|
1971
|
-
__typename: 'LightOperation';
|
1972
1986
|
base: string;
|
1973
1987
|
unitsPerGas: string;
|
1988
|
+
type: 'LightOperation';
|
1974
1989
|
};
|
1975
1990
|
k256: {
|
1976
|
-
__typename: 'HeavyOperation';
|
1977
1991
|
base: string;
|
1978
1992
|
gasPerUnit: string;
|
1993
|
+
type: 'HeavyOperation';
|
1979
1994
|
} | {
|
1980
|
-
__typename: 'LightOperation';
|
1981
1995
|
base: string;
|
1982
1996
|
unitsPerGas: string;
|
1997
|
+
type: 'LightOperation';
|
1983
1998
|
};
|
1984
1999
|
ldc: {
|
1985
|
-
__typename: 'HeavyOperation';
|
1986
2000
|
base: string;
|
1987
2001
|
gasPerUnit: string;
|
2002
|
+
type: 'HeavyOperation';
|
1988
2003
|
} | {
|
1989
|
-
__typename: 'LightOperation';
|
1990
2004
|
base: string;
|
1991
2005
|
unitsPerGas: string;
|
2006
|
+
type: 'LightOperation';
|
1992
2007
|
};
|
1993
2008
|
logd: {
|
1994
|
-
__typename: 'HeavyOperation';
|
1995
2009
|
base: string;
|
1996
2010
|
gasPerUnit: string;
|
2011
|
+
type: 'HeavyOperation';
|
1997
2012
|
} | {
|
1998
|
-
__typename: 'LightOperation';
|
1999
2013
|
base: string;
|
2000
2014
|
unitsPerGas: string;
|
2015
|
+
type: 'LightOperation';
|
2001
2016
|
};
|
2002
2017
|
mcl: {
|
2003
|
-
__typename: 'HeavyOperation';
|
2004
2018
|
base: string;
|
2005
2019
|
gasPerUnit: string;
|
2020
|
+
type: 'HeavyOperation';
|
2006
2021
|
} | {
|
2007
|
-
__typename: 'LightOperation';
|
2008
2022
|
base: string;
|
2009
2023
|
unitsPerGas: string;
|
2024
|
+
type: 'LightOperation';
|
2010
2025
|
};
|
2011
2026
|
mcli: {
|
2012
|
-
__typename: 'HeavyOperation';
|
2013
2027
|
base: string;
|
2014
2028
|
gasPerUnit: string;
|
2029
|
+
type: 'HeavyOperation';
|
2015
2030
|
} | {
|
2016
|
-
__typename: 'LightOperation';
|
2017
2031
|
base: string;
|
2018
2032
|
unitsPerGas: string;
|
2033
|
+
type: 'LightOperation';
|
2019
2034
|
};
|
2020
2035
|
mcp: {
|
2021
|
-
__typename: 'HeavyOperation';
|
2022
2036
|
base: string;
|
2023
2037
|
gasPerUnit: string;
|
2038
|
+
type: 'HeavyOperation';
|
2024
2039
|
} | {
|
2025
|
-
__typename: 'LightOperation';
|
2026
2040
|
base: string;
|
2027
2041
|
unitsPerGas: string;
|
2042
|
+
type: 'LightOperation';
|
2028
2043
|
};
|
2029
2044
|
mcpi: {
|
2030
|
-
__typename: 'HeavyOperation';
|
2031
2045
|
base: string;
|
2032
2046
|
gasPerUnit: string;
|
2047
|
+
type: 'HeavyOperation';
|
2033
2048
|
} | {
|
2034
|
-
__typename: 'LightOperation';
|
2035
2049
|
base: string;
|
2036
2050
|
unitsPerGas: string;
|
2051
|
+
type: 'LightOperation';
|
2037
2052
|
};
|
2038
2053
|
meq: {
|
2039
|
-
__typename: 'HeavyOperation';
|
2040
2054
|
base: string;
|
2041
2055
|
gasPerUnit: string;
|
2056
|
+
type: 'HeavyOperation';
|
2042
2057
|
} | {
|
2043
|
-
__typename: 'LightOperation';
|
2044
2058
|
base: string;
|
2045
2059
|
unitsPerGas: string;
|
2060
|
+
type: 'LightOperation';
|
2046
2061
|
};
|
2047
2062
|
retd: {
|
2048
|
-
__typename: 'HeavyOperation';
|
2049
2063
|
base: string;
|
2050
2064
|
gasPerUnit: string;
|
2065
|
+
type: 'HeavyOperation';
|
2051
2066
|
} | {
|
2052
|
-
__typename: 'LightOperation';
|
2053
2067
|
base: string;
|
2054
2068
|
unitsPerGas: string;
|
2069
|
+
type: 'LightOperation';
|
2055
2070
|
};
|
2056
2071
|
s256: {
|
2057
|
-
__typename: 'HeavyOperation';
|
2058
2072
|
base: string;
|
2059
2073
|
gasPerUnit: string;
|
2074
|
+
type: 'HeavyOperation';
|
2060
2075
|
} | {
|
2061
|
-
__typename: 'LightOperation';
|
2062
2076
|
base: string;
|
2063
2077
|
unitsPerGas: string;
|
2078
|
+
type: 'LightOperation';
|
2064
2079
|
};
|
2065
2080
|
scwq: {
|
2066
|
-
__typename: 'HeavyOperation';
|
2067
2081
|
base: string;
|
2068
2082
|
gasPerUnit: string;
|
2083
|
+
type: 'HeavyOperation';
|
2069
2084
|
} | {
|
2070
|
-
__typename: 'LightOperation';
|
2071
2085
|
base: string;
|
2072
2086
|
unitsPerGas: string;
|
2087
|
+
type: 'LightOperation';
|
2073
2088
|
};
|
2074
2089
|
smo: {
|
2075
|
-
__typename: 'HeavyOperation';
|
2076
2090
|
base: string;
|
2077
2091
|
gasPerUnit: string;
|
2092
|
+
type: 'HeavyOperation';
|
2078
2093
|
} | {
|
2079
|
-
__typename: 'LightOperation';
|
2080
2094
|
base: string;
|
2081
2095
|
unitsPerGas: string;
|
2096
|
+
type: 'LightOperation';
|
2082
2097
|
};
|
2083
2098
|
srwq: {
|
2084
|
-
__typename: 'HeavyOperation';
|
2085
2099
|
base: string;
|
2086
2100
|
gasPerUnit: string;
|
2101
|
+
type: 'HeavyOperation';
|
2087
2102
|
} | {
|
2088
|
-
__typename: 'LightOperation';
|
2089
2103
|
base: string;
|
2090
2104
|
unitsPerGas: string;
|
2105
|
+
type: 'LightOperation';
|
2091
2106
|
};
|
2092
2107
|
swwq: {
|
2093
|
-
__typename: 'HeavyOperation';
|
2094
2108
|
base: string;
|
2095
2109
|
gasPerUnit: string;
|
2110
|
+
type: 'HeavyOperation';
|
2096
2111
|
} | {
|
2097
|
-
__typename: 'LightOperation';
|
2098
2112
|
base: string;
|
2099
2113
|
unitsPerGas: string;
|
2114
|
+
type: 'LightOperation';
|
2100
2115
|
};
|
2101
2116
|
contractRoot: {
|
2102
|
-
__typename: 'HeavyOperation';
|
2103
2117
|
base: string;
|
2104
2118
|
gasPerUnit: string;
|
2119
|
+
type: 'HeavyOperation';
|
2105
2120
|
} | {
|
2106
|
-
__typename: 'LightOperation';
|
2107
2121
|
base: string;
|
2108
2122
|
unitsPerGas: string;
|
2123
|
+
type: 'LightOperation';
|
2109
2124
|
};
|
2110
2125
|
stateRoot: {
|
2111
|
-
__typename: 'HeavyOperation';
|
2112
2126
|
base: string;
|
2113
2127
|
gasPerUnit: string;
|
2128
|
+
type: 'HeavyOperation';
|
2114
2129
|
} | {
|
2115
|
-
__typename: 'LightOperation';
|
2116
2130
|
base: string;
|
2117
2131
|
unitsPerGas: string;
|
2132
|
+
type: 'LightOperation';
|
2118
2133
|
};
|
2119
2134
|
vmInitialization: {
|
2120
|
-
__typename: 'HeavyOperation';
|
2121
2135
|
base: string;
|
2122
2136
|
gasPerUnit: string;
|
2137
|
+
type: 'HeavyOperation';
|
2123
2138
|
} | {
|
2124
|
-
__typename: 'LightOperation';
|
2125
2139
|
base: string;
|
2126
2140
|
unitsPerGas: string;
|
2141
|
+
type: 'LightOperation';
|
2127
2142
|
};
|
2128
2143
|
};
|
2129
2144
|
};
|
2130
|
-
export type
|
2131
|
-
__typename: 'ChainInfo';
|
2145
|
+
export type GqlChainInfoFragment = {
|
2132
2146
|
name: string;
|
2133
2147
|
daHeight: string;
|
2134
2148
|
latestBlock: {
|
2135
|
-
__typename: 'Block';
|
2136
2149
|
id: string;
|
2137
|
-
height:
|
2150
|
+
height: string;
|
2138
2151
|
header: {
|
2139
|
-
__typename: 'Header';
|
2140
2152
|
time: string;
|
2141
2153
|
};
|
2142
2154
|
transactions: Array<{
|
2143
|
-
__typename: 'Transaction';
|
2144
2155
|
id: string;
|
2145
2156
|
}>;
|
2146
2157
|
};
|
2147
2158
|
consensusParameters: {
|
2148
|
-
__typename: 'ConsensusParameters';
|
2149
2159
|
version: GqlConsensusParametersVersion;
|
2150
2160
|
baseAssetId: string;
|
2151
2161
|
chainId: string;
|
2152
2162
|
txParams: {
|
2153
|
-
__typename: 'TxParameters';
|
2154
2163
|
version: GqlTxParametersVersion;
|
2155
|
-
maxInputs:
|
2156
|
-
maxOutputs:
|
2157
|
-
maxWitnesses:
|
2164
|
+
maxInputs: string;
|
2165
|
+
maxOutputs: string;
|
2166
|
+
maxWitnesses: string;
|
2158
2167
|
maxGasPerTx: string;
|
2159
2168
|
maxSize: string;
|
2169
|
+
maxBytecodeSubsections: string;
|
2160
2170
|
};
|
2161
2171
|
predicateParams: {
|
2162
|
-
__typename: 'PredicateParameters';
|
2163
2172
|
version: GqlPredicateParametersVersion;
|
2164
2173
|
maxPredicateLength: string;
|
2165
2174
|
maxPredicateDataLength: string;
|
@@ -2167,25 +2176,21 @@ export type GqlChainInfoFragmentFragment = {
|
|
2167
2176
|
maxMessageDataLength: string;
|
2168
2177
|
};
|
2169
2178
|
scriptParams: {
|
2170
|
-
__typename: 'ScriptParameters';
|
2171
2179
|
version: GqlScriptParametersVersion;
|
2172
2180
|
maxScriptLength: string;
|
2173
2181
|
maxScriptDataLength: string;
|
2174
2182
|
};
|
2175
2183
|
contractParams: {
|
2176
|
-
__typename: 'ContractParameters';
|
2177
2184
|
version: GqlContractParametersVersion;
|
2178
2185
|
contractMaxSize: string;
|
2179
2186
|
maxStorageSlots: string;
|
2180
2187
|
};
|
2181
2188
|
feeParams: {
|
2182
|
-
__typename: 'FeeParameters';
|
2183
2189
|
version: GqlFeeParametersVersion;
|
2184
2190
|
gasPriceFactor: string;
|
2185
2191
|
gasPerByte: string;
|
2186
2192
|
};
|
2187
2193
|
gasCosts: {
|
2188
|
-
__typename: 'GasCosts';
|
2189
2194
|
version: GqlGasCostsVersion;
|
2190
2195
|
add: string;
|
2191
2196
|
addi: string;
|
@@ -2277,205 +2282,203 @@ export type GqlChainInfoFragmentFragment = {
|
|
2277
2282
|
xori: string;
|
2278
2283
|
newStoragePerByte: string;
|
2279
2284
|
call: {
|
2280
|
-
__typename: 'HeavyOperation';
|
2281
2285
|
base: string;
|
2282
2286
|
gasPerUnit: string;
|
2287
|
+
type: 'HeavyOperation';
|
2283
2288
|
} | {
|
2284
|
-
__typename: 'LightOperation';
|
2285
2289
|
base: string;
|
2286
2290
|
unitsPerGas: string;
|
2291
|
+
type: 'LightOperation';
|
2287
2292
|
};
|
2288
2293
|
ccp: {
|
2289
|
-
__typename: 'HeavyOperation';
|
2290
2294
|
base: string;
|
2291
2295
|
gasPerUnit: string;
|
2296
|
+
type: 'HeavyOperation';
|
2292
2297
|
} | {
|
2293
|
-
__typename: 'LightOperation';
|
2294
2298
|
base: string;
|
2295
2299
|
unitsPerGas: string;
|
2300
|
+
type: 'LightOperation';
|
2296
2301
|
};
|
2297
2302
|
croo: {
|
2298
|
-
__typename: 'HeavyOperation';
|
2299
2303
|
base: string;
|
2300
2304
|
gasPerUnit: string;
|
2305
|
+
type: 'HeavyOperation';
|
2301
2306
|
} | {
|
2302
|
-
__typename: 'LightOperation';
|
2303
2307
|
base: string;
|
2304
2308
|
unitsPerGas: string;
|
2309
|
+
type: 'LightOperation';
|
2305
2310
|
};
|
2306
2311
|
csiz: {
|
2307
|
-
__typename: 'HeavyOperation';
|
2308
2312
|
base: string;
|
2309
2313
|
gasPerUnit: string;
|
2314
|
+
type: 'HeavyOperation';
|
2310
2315
|
} | {
|
2311
|
-
__typename: 'LightOperation';
|
2312
2316
|
base: string;
|
2313
2317
|
unitsPerGas: string;
|
2318
|
+
type: 'LightOperation';
|
2314
2319
|
};
|
2315
2320
|
k256: {
|
2316
|
-
__typename: 'HeavyOperation';
|
2317
2321
|
base: string;
|
2318
2322
|
gasPerUnit: string;
|
2323
|
+
type: 'HeavyOperation';
|
2319
2324
|
} | {
|
2320
|
-
__typename: 'LightOperation';
|
2321
2325
|
base: string;
|
2322
2326
|
unitsPerGas: string;
|
2327
|
+
type: 'LightOperation';
|
2323
2328
|
};
|
2324
2329
|
ldc: {
|
2325
|
-
__typename: 'HeavyOperation';
|
2326
2330
|
base: string;
|
2327
2331
|
gasPerUnit: string;
|
2332
|
+
type: 'HeavyOperation';
|
2328
2333
|
} | {
|
2329
|
-
__typename: 'LightOperation';
|
2330
2334
|
base: string;
|
2331
2335
|
unitsPerGas: string;
|
2336
|
+
type: 'LightOperation';
|
2332
2337
|
};
|
2333
2338
|
logd: {
|
2334
|
-
__typename: 'HeavyOperation';
|
2335
2339
|
base: string;
|
2336
2340
|
gasPerUnit: string;
|
2341
|
+
type: 'HeavyOperation';
|
2337
2342
|
} | {
|
2338
|
-
__typename: 'LightOperation';
|
2339
2343
|
base: string;
|
2340
2344
|
unitsPerGas: string;
|
2345
|
+
type: 'LightOperation';
|
2341
2346
|
};
|
2342
2347
|
mcl: {
|
2343
|
-
__typename: 'HeavyOperation';
|
2344
2348
|
base: string;
|
2345
2349
|
gasPerUnit: string;
|
2350
|
+
type: 'HeavyOperation';
|
2346
2351
|
} | {
|
2347
|
-
__typename: 'LightOperation';
|
2348
2352
|
base: string;
|
2349
2353
|
unitsPerGas: string;
|
2354
|
+
type: 'LightOperation';
|
2350
2355
|
};
|
2351
2356
|
mcli: {
|
2352
|
-
__typename: 'HeavyOperation';
|
2353
2357
|
base: string;
|
2354
2358
|
gasPerUnit: string;
|
2359
|
+
type: 'HeavyOperation';
|
2355
2360
|
} | {
|
2356
|
-
__typename: 'LightOperation';
|
2357
2361
|
base: string;
|
2358
2362
|
unitsPerGas: string;
|
2363
|
+
type: 'LightOperation';
|
2359
2364
|
};
|
2360
2365
|
mcp: {
|
2361
|
-
__typename: 'HeavyOperation';
|
2362
2366
|
base: string;
|
2363
2367
|
gasPerUnit: string;
|
2368
|
+
type: 'HeavyOperation';
|
2364
2369
|
} | {
|
2365
|
-
__typename: 'LightOperation';
|
2366
2370
|
base: string;
|
2367
2371
|
unitsPerGas: string;
|
2372
|
+
type: 'LightOperation';
|
2368
2373
|
};
|
2369
2374
|
mcpi: {
|
2370
|
-
__typename: 'HeavyOperation';
|
2371
2375
|
base: string;
|
2372
2376
|
gasPerUnit: string;
|
2377
|
+
type: 'HeavyOperation';
|
2373
2378
|
} | {
|
2374
|
-
__typename: 'LightOperation';
|
2375
2379
|
base: string;
|
2376
2380
|
unitsPerGas: string;
|
2381
|
+
type: 'LightOperation';
|
2377
2382
|
};
|
2378
2383
|
meq: {
|
2379
|
-
__typename: 'HeavyOperation';
|
2380
2384
|
base: string;
|
2381
2385
|
gasPerUnit: string;
|
2386
|
+
type: 'HeavyOperation';
|
2382
2387
|
} | {
|
2383
|
-
__typename: 'LightOperation';
|
2384
2388
|
base: string;
|
2385
2389
|
unitsPerGas: string;
|
2390
|
+
type: 'LightOperation';
|
2386
2391
|
};
|
2387
2392
|
retd: {
|
2388
|
-
__typename: 'HeavyOperation';
|
2389
2393
|
base: string;
|
2390
2394
|
gasPerUnit: string;
|
2395
|
+
type: 'HeavyOperation';
|
2391
2396
|
} | {
|
2392
|
-
__typename: 'LightOperation';
|
2393
2397
|
base: string;
|
2394
2398
|
unitsPerGas: string;
|
2399
|
+
type: 'LightOperation';
|
2395
2400
|
};
|
2396
2401
|
s256: {
|
2397
|
-
__typename: 'HeavyOperation';
|
2398
2402
|
base: string;
|
2399
2403
|
gasPerUnit: string;
|
2404
|
+
type: 'HeavyOperation';
|
2400
2405
|
} | {
|
2401
|
-
__typename: 'LightOperation';
|
2402
2406
|
base: string;
|
2403
2407
|
unitsPerGas: string;
|
2408
|
+
type: 'LightOperation';
|
2404
2409
|
};
|
2405
2410
|
scwq: {
|
2406
|
-
__typename: 'HeavyOperation';
|
2407
2411
|
base: string;
|
2408
2412
|
gasPerUnit: string;
|
2413
|
+
type: 'HeavyOperation';
|
2409
2414
|
} | {
|
2410
|
-
__typename: 'LightOperation';
|
2411
2415
|
base: string;
|
2412
2416
|
unitsPerGas: string;
|
2417
|
+
type: 'LightOperation';
|
2413
2418
|
};
|
2414
2419
|
smo: {
|
2415
|
-
__typename: 'HeavyOperation';
|
2416
2420
|
base: string;
|
2417
2421
|
gasPerUnit: string;
|
2422
|
+
type: 'HeavyOperation';
|
2418
2423
|
} | {
|
2419
|
-
__typename: 'LightOperation';
|
2420
2424
|
base: string;
|
2421
2425
|
unitsPerGas: string;
|
2426
|
+
type: 'LightOperation';
|
2422
2427
|
};
|
2423
2428
|
srwq: {
|
2424
|
-
__typename: 'HeavyOperation';
|
2425
2429
|
base: string;
|
2426
2430
|
gasPerUnit: string;
|
2431
|
+
type: 'HeavyOperation';
|
2427
2432
|
} | {
|
2428
|
-
__typename: 'LightOperation';
|
2429
2433
|
base: string;
|
2430
2434
|
unitsPerGas: string;
|
2435
|
+
type: 'LightOperation';
|
2431
2436
|
};
|
2432
2437
|
swwq: {
|
2433
|
-
__typename: 'HeavyOperation';
|
2434
2438
|
base: string;
|
2435
2439
|
gasPerUnit: string;
|
2440
|
+
type: 'HeavyOperation';
|
2436
2441
|
} | {
|
2437
|
-
__typename: 'LightOperation';
|
2438
2442
|
base: string;
|
2439
2443
|
unitsPerGas: string;
|
2444
|
+
type: 'LightOperation';
|
2440
2445
|
};
|
2441
2446
|
contractRoot: {
|
2442
|
-
__typename: 'HeavyOperation';
|
2443
2447
|
base: string;
|
2444
2448
|
gasPerUnit: string;
|
2449
|
+
type: 'HeavyOperation';
|
2445
2450
|
} | {
|
2446
|
-
__typename: 'LightOperation';
|
2447
2451
|
base: string;
|
2448
2452
|
unitsPerGas: string;
|
2453
|
+
type: 'LightOperation';
|
2449
2454
|
};
|
2450
2455
|
stateRoot: {
|
2451
|
-
__typename: 'HeavyOperation';
|
2452
2456
|
base: string;
|
2453
2457
|
gasPerUnit: string;
|
2458
|
+
type: 'HeavyOperation';
|
2454
2459
|
} | {
|
2455
|
-
__typename: 'LightOperation';
|
2456
2460
|
base: string;
|
2457
2461
|
unitsPerGas: string;
|
2462
|
+
type: 'LightOperation';
|
2458
2463
|
};
|
2459
2464
|
vmInitialization: {
|
2460
|
-
__typename: 'HeavyOperation';
|
2461
2465
|
base: string;
|
2462
2466
|
gasPerUnit: string;
|
2467
|
+
type: 'HeavyOperation';
|
2463
2468
|
} | {
|
2464
|
-
__typename: 'LightOperation';
|
2465
2469
|
base: string;
|
2466
2470
|
unitsPerGas: string;
|
2471
|
+
type: 'LightOperation';
|
2467
2472
|
};
|
2468
2473
|
};
|
2469
2474
|
};
|
2470
2475
|
};
|
2471
|
-
export type
|
2472
|
-
__typename: 'ContractBalance';
|
2476
|
+
export type GqlContractBalanceFragment = {
|
2473
2477
|
contract: string;
|
2474
2478
|
amount: string;
|
2475
2479
|
assetId: string;
|
2476
2480
|
};
|
2477
|
-
export type
|
2478
|
-
__typename: 'PageInfo';
|
2481
|
+
export type GqlPageInfoFragment = {
|
2479
2482
|
hasPreviousPage: boolean;
|
2480
2483
|
hasNextPage: boolean;
|
2481
2484
|
startCursor?: string | null;
|
@@ -2485,27 +2488,26 @@ export type GqlGetVersionQueryVariables = Exact<{
|
|
2485
2488
|
[key: string]: never;
|
2486
2489
|
}>;
|
2487
2490
|
export type GqlGetVersionQuery = {
|
2488
|
-
__typename: 'Query';
|
2489
2491
|
nodeInfo: {
|
2490
|
-
__typename: 'NodeInfo';
|
2491
2492
|
nodeVersion: string;
|
2492
2493
|
};
|
2493
2494
|
};
|
2494
|
-
export type
|
2495
|
-
__typename: 'NodeInfo';
|
2495
|
+
export type GqlNodeInfoFragment = {
|
2496
2496
|
utxoValidation: boolean;
|
2497
2497
|
vmBacktrace: boolean;
|
2498
2498
|
maxTx: string;
|
2499
2499
|
maxDepth: string;
|
2500
2500
|
nodeVersion: string;
|
2501
2501
|
};
|
2502
|
+
export type GqlRelayedTransactionStatusFragment = {
|
2503
|
+
blockHeight: string;
|
2504
|
+
failure: string;
|
2505
|
+
};
|
2502
2506
|
export type GqlGetNodeInfoQueryVariables = Exact<{
|
2503
2507
|
[key: string]: never;
|
2504
2508
|
}>;
|
2505
2509
|
export type GqlGetNodeInfoQuery = {
|
2506
|
-
__typename: 'Query';
|
2507
2510
|
nodeInfo: {
|
2508
|
-
__typename: 'NodeInfo';
|
2509
2511
|
utxoValidation: boolean;
|
2510
2512
|
vmBacktrace: boolean;
|
2511
2513
|
maxTx: string;
|
@@ -2517,40 +2519,33 @@ export type GqlGetChainQueryVariables = Exact<{
|
|
2517
2519
|
[key: string]: never;
|
2518
2520
|
}>;
|
2519
2521
|
export type GqlGetChainQuery = {
|
2520
|
-
__typename: 'Query';
|
2521
2522
|
chain: {
|
2522
|
-
__typename: 'ChainInfo';
|
2523
2523
|
name: string;
|
2524
2524
|
daHeight: string;
|
2525
2525
|
latestBlock: {
|
2526
|
-
__typename: 'Block';
|
2527
2526
|
id: string;
|
2528
|
-
height:
|
2527
|
+
height: string;
|
2529
2528
|
header: {
|
2530
|
-
__typename: 'Header';
|
2531
2529
|
time: string;
|
2532
2530
|
};
|
2533
2531
|
transactions: Array<{
|
2534
|
-
__typename: 'Transaction';
|
2535
2532
|
id: string;
|
2536
2533
|
}>;
|
2537
2534
|
};
|
2538
2535
|
consensusParameters: {
|
2539
|
-
__typename: 'ConsensusParameters';
|
2540
2536
|
version: GqlConsensusParametersVersion;
|
2541
2537
|
baseAssetId: string;
|
2542
2538
|
chainId: string;
|
2543
2539
|
txParams: {
|
2544
|
-
__typename: 'TxParameters';
|
2545
2540
|
version: GqlTxParametersVersion;
|
2546
|
-
maxInputs:
|
2547
|
-
maxOutputs:
|
2548
|
-
maxWitnesses:
|
2541
|
+
maxInputs: string;
|
2542
|
+
maxOutputs: string;
|
2543
|
+
maxWitnesses: string;
|
2549
2544
|
maxGasPerTx: string;
|
2550
2545
|
maxSize: string;
|
2546
|
+
maxBytecodeSubsections: string;
|
2551
2547
|
};
|
2552
2548
|
predicateParams: {
|
2553
|
-
__typename: 'PredicateParameters';
|
2554
2549
|
version: GqlPredicateParametersVersion;
|
2555
2550
|
maxPredicateLength: string;
|
2556
2551
|
maxPredicateDataLength: string;
|
@@ -2558,25 +2553,21 @@ export type GqlGetChainQuery = {
|
|
2558
2553
|
maxMessageDataLength: string;
|
2559
2554
|
};
|
2560
2555
|
scriptParams: {
|
2561
|
-
__typename: 'ScriptParameters';
|
2562
2556
|
version: GqlScriptParametersVersion;
|
2563
2557
|
maxScriptLength: string;
|
2564
2558
|
maxScriptDataLength: string;
|
2565
2559
|
};
|
2566
2560
|
contractParams: {
|
2567
|
-
__typename: 'ContractParameters';
|
2568
2561
|
version: GqlContractParametersVersion;
|
2569
2562
|
contractMaxSize: string;
|
2570
2563
|
maxStorageSlots: string;
|
2571
2564
|
};
|
2572
2565
|
feeParams: {
|
2573
|
-
__typename: 'FeeParameters';
|
2574
2566
|
version: GqlFeeParametersVersion;
|
2575
2567
|
gasPriceFactor: string;
|
2576
2568
|
gasPerByte: string;
|
2577
2569
|
};
|
2578
2570
|
gasCosts: {
|
2579
|
-
__typename: 'GasCosts';
|
2580
2571
|
version: GqlGasCostsVersion;
|
2581
2572
|
add: string;
|
2582
2573
|
addi: string;
|
@@ -2668,193 +2659,193 @@ export type GqlGetChainQuery = {
|
|
2668
2659
|
xori: string;
|
2669
2660
|
newStoragePerByte: string;
|
2670
2661
|
call: {
|
2671
|
-
__typename: 'HeavyOperation';
|
2672
2662
|
base: string;
|
2673
2663
|
gasPerUnit: string;
|
2664
|
+
type: 'HeavyOperation';
|
2674
2665
|
} | {
|
2675
|
-
__typename: 'LightOperation';
|
2676
2666
|
base: string;
|
2677
2667
|
unitsPerGas: string;
|
2668
|
+
type: 'LightOperation';
|
2678
2669
|
};
|
2679
2670
|
ccp: {
|
2680
|
-
__typename: 'HeavyOperation';
|
2681
2671
|
base: string;
|
2682
2672
|
gasPerUnit: string;
|
2673
|
+
type: 'HeavyOperation';
|
2683
2674
|
} | {
|
2684
|
-
__typename: 'LightOperation';
|
2685
2675
|
base: string;
|
2686
2676
|
unitsPerGas: string;
|
2677
|
+
type: 'LightOperation';
|
2687
2678
|
};
|
2688
2679
|
croo: {
|
2689
|
-
__typename: 'HeavyOperation';
|
2690
2680
|
base: string;
|
2691
2681
|
gasPerUnit: string;
|
2682
|
+
type: 'HeavyOperation';
|
2692
2683
|
} | {
|
2693
|
-
__typename: 'LightOperation';
|
2694
2684
|
base: string;
|
2695
2685
|
unitsPerGas: string;
|
2686
|
+
type: 'LightOperation';
|
2696
2687
|
};
|
2697
2688
|
csiz: {
|
2698
|
-
__typename: 'HeavyOperation';
|
2699
2689
|
base: string;
|
2700
2690
|
gasPerUnit: string;
|
2691
|
+
type: 'HeavyOperation';
|
2701
2692
|
} | {
|
2702
|
-
__typename: 'LightOperation';
|
2703
2693
|
base: string;
|
2704
2694
|
unitsPerGas: string;
|
2695
|
+
type: 'LightOperation';
|
2705
2696
|
};
|
2706
2697
|
k256: {
|
2707
|
-
__typename: 'HeavyOperation';
|
2708
2698
|
base: string;
|
2709
2699
|
gasPerUnit: string;
|
2700
|
+
type: 'HeavyOperation';
|
2710
2701
|
} | {
|
2711
|
-
__typename: 'LightOperation';
|
2712
2702
|
base: string;
|
2713
2703
|
unitsPerGas: string;
|
2704
|
+
type: 'LightOperation';
|
2714
2705
|
};
|
2715
2706
|
ldc: {
|
2716
|
-
__typename: 'HeavyOperation';
|
2717
2707
|
base: string;
|
2718
2708
|
gasPerUnit: string;
|
2709
|
+
type: 'HeavyOperation';
|
2719
2710
|
} | {
|
2720
|
-
__typename: 'LightOperation';
|
2721
2711
|
base: string;
|
2722
2712
|
unitsPerGas: string;
|
2713
|
+
type: 'LightOperation';
|
2723
2714
|
};
|
2724
2715
|
logd: {
|
2725
|
-
__typename: 'HeavyOperation';
|
2726
2716
|
base: string;
|
2727
2717
|
gasPerUnit: string;
|
2718
|
+
type: 'HeavyOperation';
|
2728
2719
|
} | {
|
2729
|
-
__typename: 'LightOperation';
|
2730
2720
|
base: string;
|
2731
2721
|
unitsPerGas: string;
|
2722
|
+
type: 'LightOperation';
|
2732
2723
|
};
|
2733
2724
|
mcl: {
|
2734
|
-
__typename: 'HeavyOperation';
|
2735
2725
|
base: string;
|
2736
2726
|
gasPerUnit: string;
|
2727
|
+
type: 'HeavyOperation';
|
2737
2728
|
} | {
|
2738
|
-
__typename: 'LightOperation';
|
2739
2729
|
base: string;
|
2740
2730
|
unitsPerGas: string;
|
2731
|
+
type: 'LightOperation';
|
2741
2732
|
};
|
2742
2733
|
mcli: {
|
2743
|
-
__typename: 'HeavyOperation';
|
2744
2734
|
base: string;
|
2745
2735
|
gasPerUnit: string;
|
2736
|
+
type: 'HeavyOperation';
|
2746
2737
|
} | {
|
2747
|
-
__typename: 'LightOperation';
|
2748
2738
|
base: string;
|
2749
2739
|
unitsPerGas: string;
|
2740
|
+
type: 'LightOperation';
|
2750
2741
|
};
|
2751
2742
|
mcp: {
|
2752
|
-
__typename: 'HeavyOperation';
|
2753
2743
|
base: string;
|
2754
2744
|
gasPerUnit: string;
|
2745
|
+
type: 'HeavyOperation';
|
2755
2746
|
} | {
|
2756
|
-
__typename: 'LightOperation';
|
2757
2747
|
base: string;
|
2758
2748
|
unitsPerGas: string;
|
2749
|
+
type: 'LightOperation';
|
2759
2750
|
};
|
2760
2751
|
mcpi: {
|
2761
|
-
__typename: 'HeavyOperation';
|
2762
2752
|
base: string;
|
2763
2753
|
gasPerUnit: string;
|
2754
|
+
type: 'HeavyOperation';
|
2764
2755
|
} | {
|
2765
|
-
__typename: 'LightOperation';
|
2766
2756
|
base: string;
|
2767
2757
|
unitsPerGas: string;
|
2758
|
+
type: 'LightOperation';
|
2768
2759
|
};
|
2769
2760
|
meq: {
|
2770
|
-
__typename: 'HeavyOperation';
|
2771
2761
|
base: string;
|
2772
2762
|
gasPerUnit: string;
|
2763
|
+
type: 'HeavyOperation';
|
2773
2764
|
} | {
|
2774
|
-
__typename: 'LightOperation';
|
2775
2765
|
base: string;
|
2776
2766
|
unitsPerGas: string;
|
2767
|
+
type: 'LightOperation';
|
2777
2768
|
};
|
2778
2769
|
retd: {
|
2779
|
-
__typename: 'HeavyOperation';
|
2780
2770
|
base: string;
|
2781
2771
|
gasPerUnit: string;
|
2772
|
+
type: 'HeavyOperation';
|
2782
2773
|
} | {
|
2783
|
-
__typename: 'LightOperation';
|
2784
2774
|
base: string;
|
2785
2775
|
unitsPerGas: string;
|
2776
|
+
type: 'LightOperation';
|
2786
2777
|
};
|
2787
2778
|
s256: {
|
2788
|
-
__typename: 'HeavyOperation';
|
2789
2779
|
base: string;
|
2790
2780
|
gasPerUnit: string;
|
2781
|
+
type: 'HeavyOperation';
|
2791
2782
|
} | {
|
2792
|
-
__typename: 'LightOperation';
|
2793
2783
|
base: string;
|
2794
2784
|
unitsPerGas: string;
|
2785
|
+
type: 'LightOperation';
|
2795
2786
|
};
|
2796
2787
|
scwq: {
|
2797
|
-
__typename: 'HeavyOperation';
|
2798
2788
|
base: string;
|
2799
2789
|
gasPerUnit: string;
|
2790
|
+
type: 'HeavyOperation';
|
2800
2791
|
} | {
|
2801
|
-
__typename: 'LightOperation';
|
2802
2792
|
base: string;
|
2803
2793
|
unitsPerGas: string;
|
2794
|
+
type: 'LightOperation';
|
2804
2795
|
};
|
2805
2796
|
smo: {
|
2806
|
-
__typename: 'HeavyOperation';
|
2807
2797
|
base: string;
|
2808
2798
|
gasPerUnit: string;
|
2799
|
+
type: 'HeavyOperation';
|
2809
2800
|
} | {
|
2810
|
-
__typename: 'LightOperation';
|
2811
2801
|
base: string;
|
2812
2802
|
unitsPerGas: string;
|
2803
|
+
type: 'LightOperation';
|
2813
2804
|
};
|
2814
2805
|
srwq: {
|
2815
|
-
__typename: 'HeavyOperation';
|
2816
2806
|
base: string;
|
2817
2807
|
gasPerUnit: string;
|
2808
|
+
type: 'HeavyOperation';
|
2818
2809
|
} | {
|
2819
|
-
__typename: 'LightOperation';
|
2820
2810
|
base: string;
|
2821
2811
|
unitsPerGas: string;
|
2812
|
+
type: 'LightOperation';
|
2822
2813
|
};
|
2823
2814
|
swwq: {
|
2824
|
-
__typename: 'HeavyOperation';
|
2825
2815
|
base: string;
|
2826
2816
|
gasPerUnit: string;
|
2817
|
+
type: 'HeavyOperation';
|
2827
2818
|
} | {
|
2828
|
-
__typename: 'LightOperation';
|
2829
2819
|
base: string;
|
2830
2820
|
unitsPerGas: string;
|
2821
|
+
type: 'LightOperation';
|
2831
2822
|
};
|
2832
2823
|
contractRoot: {
|
2833
|
-
__typename: 'HeavyOperation';
|
2834
2824
|
base: string;
|
2835
2825
|
gasPerUnit: string;
|
2826
|
+
type: 'HeavyOperation';
|
2836
2827
|
} | {
|
2837
|
-
__typename: 'LightOperation';
|
2838
2828
|
base: string;
|
2839
2829
|
unitsPerGas: string;
|
2830
|
+
type: 'LightOperation';
|
2840
2831
|
};
|
2841
2832
|
stateRoot: {
|
2842
|
-
__typename: 'HeavyOperation';
|
2843
2833
|
base: string;
|
2844
2834
|
gasPerUnit: string;
|
2835
|
+
type: 'HeavyOperation';
|
2845
2836
|
} | {
|
2846
|
-
__typename: 'LightOperation';
|
2847
2837
|
base: string;
|
2848
2838
|
unitsPerGas: string;
|
2839
|
+
type: 'LightOperation';
|
2849
2840
|
};
|
2850
2841
|
vmInitialization: {
|
2851
|
-
__typename: 'HeavyOperation';
|
2852
2842
|
base: string;
|
2853
2843
|
gasPerUnit: string;
|
2844
|
+
type: 'HeavyOperation';
|
2854
2845
|
} | {
|
2855
|
-
__typename: 'LightOperation';
|
2856
2846
|
base: string;
|
2857
2847
|
unitsPerGas: string;
|
2848
|
+
type: 'LightOperation';
|
2858
2849
|
};
|
2859
2850
|
};
|
2860
2851
|
};
|
@@ -2864,22 +2855,19 @@ export type GqlGetTransactionQueryVariables = Exact<{
|
|
2864
2855
|
transactionId: Scalars['TransactionId'];
|
2865
2856
|
}>;
|
2866
2857
|
export type GqlGetTransactionQuery = {
|
2867
|
-
__typename: 'Query';
|
2868
2858
|
transaction?: {
|
2869
|
-
__typename: 'Transaction';
|
2870
2859
|
id: string;
|
2871
2860
|
rawPayload: string;
|
2872
2861
|
status?: {
|
2873
|
-
|
2862
|
+
totalGas: string;
|
2863
|
+
totalFee: string;
|
2874
2864
|
time: string;
|
2875
2865
|
reason: string;
|
2876
2866
|
type: 'FailureStatus';
|
2877
2867
|
block: {
|
2878
|
-
__typename: 'Block';
|
2879
2868
|
id: string;
|
2880
2869
|
};
|
2881
2870
|
receipts: Array<{
|
2882
|
-
__typename: 'Receipt';
|
2883
2871
|
id?: string | null;
|
2884
2872
|
pc?: string | null;
|
2885
2873
|
is?: string | null;
|
@@ -2910,23 +2898,24 @@ export type GqlGetTransactionQuery = {
|
|
2910
2898
|
subId?: string | null;
|
2911
2899
|
}>;
|
2912
2900
|
} | {
|
2913
|
-
__typename: 'SqueezedOutStatus';
|
2914
2901
|
reason: string;
|
2915
2902
|
type: 'SqueezedOutStatus';
|
2916
2903
|
} | {
|
2917
|
-
__typename: 'SubmittedStatus';
|
2918
2904
|
time: string;
|
2919
2905
|
type: 'SubmittedStatus';
|
2920
2906
|
} | {
|
2921
|
-
__typename: 'SuccessStatus';
|
2922
2907
|
time: string;
|
2908
|
+
totalGas: string;
|
2909
|
+
totalFee: string;
|
2923
2910
|
type: 'SuccessStatus';
|
2924
2911
|
block: {
|
2925
|
-
__typename: 'Block';
|
2926
2912
|
id: string;
|
2927
2913
|
};
|
2914
|
+
programState?: {
|
2915
|
+
returnType: GqlReturnType;
|
2916
|
+
data: string;
|
2917
|
+
} | null;
|
2928
2918
|
receipts: Array<{
|
2929
|
-
__typename: 'Receipt';
|
2930
2919
|
id?: string | null;
|
2931
2920
|
pc?: string | null;
|
2932
2921
|
is?: string | null;
|
@@ -2956,11 +2945,6 @@ export type GqlGetTransactionQuery = {
|
|
2956
2945
|
contractId?: string | null;
|
2957
2946
|
subId?: string | null;
|
2958
2947
|
}>;
|
2959
|
-
programState?: {
|
2960
|
-
__typename: 'ProgramState';
|
2961
|
-
returnType: GqlReturnType;
|
2962
|
-
data: string;
|
2963
|
-
} | null;
|
2964
2948
|
} | null;
|
2965
2949
|
} | null;
|
2966
2950
|
};
|
@@ -2968,22 +2952,19 @@ export type GqlGetTransactionWithReceiptsQueryVariables = Exact<{
|
|
2968
2952
|
transactionId: Scalars['TransactionId'];
|
2969
2953
|
}>;
|
2970
2954
|
export type GqlGetTransactionWithReceiptsQuery = {
|
2971
|
-
__typename: 'Query';
|
2972
2955
|
transaction?: {
|
2973
|
-
__typename: 'Transaction';
|
2974
2956
|
id: string;
|
2975
2957
|
rawPayload: string;
|
2976
2958
|
status?: {
|
2977
|
-
|
2959
|
+
totalGas: string;
|
2960
|
+
totalFee: string;
|
2978
2961
|
time: string;
|
2979
2962
|
reason: string;
|
2980
2963
|
type: 'FailureStatus';
|
2981
2964
|
block: {
|
2982
|
-
__typename: 'Block';
|
2983
2965
|
id: string;
|
2984
2966
|
};
|
2985
2967
|
receipts: Array<{
|
2986
|
-
__typename: 'Receipt';
|
2987
2968
|
id?: string | null;
|
2988
2969
|
pc?: string | null;
|
2989
2970
|
is?: string | null;
|
@@ -3014,23 +2995,24 @@ export type GqlGetTransactionWithReceiptsQuery = {
|
|
3014
2995
|
subId?: string | null;
|
3015
2996
|
}>;
|
3016
2997
|
} | {
|
3017
|
-
__typename: 'SqueezedOutStatus';
|
3018
2998
|
reason: string;
|
3019
2999
|
type: 'SqueezedOutStatus';
|
3020
3000
|
} | {
|
3021
|
-
__typename: 'SubmittedStatus';
|
3022
3001
|
time: string;
|
3023
3002
|
type: 'SubmittedStatus';
|
3024
3003
|
} | {
|
3025
|
-
__typename: 'SuccessStatus';
|
3026
3004
|
time: string;
|
3005
|
+
totalGas: string;
|
3006
|
+
totalFee: string;
|
3027
3007
|
type: 'SuccessStatus';
|
3028
3008
|
block: {
|
3029
|
-
__typename: 'Block';
|
3030
3009
|
id: string;
|
3031
3010
|
};
|
3011
|
+
programState?: {
|
3012
|
+
returnType: GqlReturnType;
|
3013
|
+
data: string;
|
3014
|
+
} | null;
|
3032
3015
|
receipts: Array<{
|
3033
|
-
__typename: 'Receipt';
|
3034
3016
|
id?: string | null;
|
3035
3017
|
pc?: string | null;
|
3036
3018
|
is?: string | null;
|
@@ -3060,11 +3042,6 @@ export type GqlGetTransactionWithReceiptsQuery = {
|
|
3060
3042
|
contractId?: string | null;
|
3061
3043
|
subId?: string | null;
|
3062
3044
|
}>;
|
3063
|
-
programState?: {
|
3064
|
-
__typename: 'ProgramState';
|
3065
|
-
returnType: GqlReturnType;
|
3066
|
-
data: string;
|
3067
|
-
} | null;
|
3068
3045
|
} | null;
|
3069
3046
|
} | null;
|
3070
3047
|
};
|
@@ -3075,26 +3052,21 @@ export type GqlGetTransactionsQueryVariables = Exact<{
|
|
3075
3052
|
last?: InputMaybe<Scalars['Int']>;
|
3076
3053
|
}>;
|
3077
3054
|
export type GqlGetTransactionsQuery = {
|
3078
|
-
__typename: 'Query';
|
3079
3055
|
transactions: {
|
3080
|
-
__typename: 'TransactionConnection';
|
3081
3056
|
edges: Array<{
|
3082
|
-
__typename: 'TransactionEdge';
|
3083
3057
|
node: {
|
3084
|
-
__typename: 'Transaction';
|
3085
3058
|
id: string;
|
3086
3059
|
rawPayload: string;
|
3087
3060
|
status?: {
|
3088
|
-
|
3061
|
+
totalGas: string;
|
3062
|
+
totalFee: string;
|
3089
3063
|
time: string;
|
3090
3064
|
reason: string;
|
3091
3065
|
type: 'FailureStatus';
|
3092
3066
|
block: {
|
3093
|
-
__typename: 'Block';
|
3094
3067
|
id: string;
|
3095
3068
|
};
|
3096
3069
|
receipts: Array<{
|
3097
|
-
__typename: 'Receipt';
|
3098
3070
|
id?: string | null;
|
3099
3071
|
pc?: string | null;
|
3100
3072
|
is?: string | null;
|
@@ -3125,23 +3097,24 @@ export type GqlGetTransactionsQuery = {
|
|
3125
3097
|
subId?: string | null;
|
3126
3098
|
}>;
|
3127
3099
|
} | {
|
3128
|
-
__typename: 'SqueezedOutStatus';
|
3129
3100
|
reason: string;
|
3130
3101
|
type: 'SqueezedOutStatus';
|
3131
3102
|
} | {
|
3132
|
-
__typename: 'SubmittedStatus';
|
3133
3103
|
time: string;
|
3134
3104
|
type: 'SubmittedStatus';
|
3135
3105
|
} | {
|
3136
|
-
__typename: 'SuccessStatus';
|
3137
3106
|
time: string;
|
3107
|
+
totalGas: string;
|
3108
|
+
totalFee: string;
|
3138
3109
|
type: 'SuccessStatus';
|
3139
3110
|
block: {
|
3140
|
-
__typename: 'Block';
|
3141
3111
|
id: string;
|
3142
3112
|
};
|
3113
|
+
programState?: {
|
3114
|
+
returnType: GqlReturnType;
|
3115
|
+
data: string;
|
3116
|
+
} | null;
|
3143
3117
|
receipts: Array<{
|
3144
|
-
__typename: 'Receipt';
|
3145
3118
|
id?: string | null;
|
3146
3119
|
pc?: string | null;
|
3147
3120
|
is?: string | null;
|
@@ -3171,11 +3144,6 @@ export type GqlGetTransactionsQuery = {
|
|
3171
3144
|
contractId?: string | null;
|
3172
3145
|
subId?: string | null;
|
3173
3146
|
}>;
|
3174
|
-
programState?: {
|
3175
|
-
__typename: 'ProgramState';
|
3176
|
-
returnType: GqlReturnType;
|
3177
|
-
data: string;
|
3178
|
-
} | null;
|
3179
3147
|
} | null;
|
3180
3148
|
};
|
3181
3149
|
}>;
|
@@ -3189,33 +3157,27 @@ export type GqlGetTransactionsByOwnerQueryVariables = Exact<{
|
|
3189
3157
|
last?: InputMaybe<Scalars['Int']>;
|
3190
3158
|
}>;
|
3191
3159
|
export type GqlGetTransactionsByOwnerQuery = {
|
3192
|
-
__typename: 'Query';
|
3193
3160
|
transactionsByOwner: {
|
3194
|
-
__typename: 'TransactionConnection';
|
3195
3161
|
pageInfo: {
|
3196
|
-
__typename: 'PageInfo';
|
3197
3162
|
hasPreviousPage: boolean;
|
3198
3163
|
hasNextPage: boolean;
|
3199
3164
|
startCursor?: string | null;
|
3200
3165
|
endCursor?: string | null;
|
3201
3166
|
};
|
3202
3167
|
edges: Array<{
|
3203
|
-
__typename: 'TransactionEdge';
|
3204
3168
|
node: {
|
3205
|
-
__typename: 'Transaction';
|
3206
3169
|
id: string;
|
3207
3170
|
rawPayload: string;
|
3208
3171
|
status?: {
|
3209
|
-
|
3172
|
+
totalGas: string;
|
3173
|
+
totalFee: string;
|
3210
3174
|
time: string;
|
3211
3175
|
reason: string;
|
3212
3176
|
type: 'FailureStatus';
|
3213
3177
|
block: {
|
3214
|
-
__typename: 'Block';
|
3215
3178
|
id: string;
|
3216
3179
|
};
|
3217
3180
|
receipts: Array<{
|
3218
|
-
__typename: 'Receipt';
|
3219
3181
|
id?: string | null;
|
3220
3182
|
pc?: string | null;
|
3221
3183
|
is?: string | null;
|
@@ -3246,23 +3208,24 @@ export type GqlGetTransactionsByOwnerQuery = {
|
|
3246
3208
|
subId?: string | null;
|
3247
3209
|
}>;
|
3248
3210
|
} | {
|
3249
|
-
__typename: 'SqueezedOutStatus';
|
3250
3211
|
reason: string;
|
3251
3212
|
type: 'SqueezedOutStatus';
|
3252
3213
|
} | {
|
3253
|
-
__typename: 'SubmittedStatus';
|
3254
3214
|
time: string;
|
3255
3215
|
type: 'SubmittedStatus';
|
3256
3216
|
} | {
|
3257
|
-
__typename: 'SuccessStatus';
|
3258
3217
|
time: string;
|
3218
|
+
totalGas: string;
|
3219
|
+
totalFee: string;
|
3259
3220
|
type: 'SuccessStatus';
|
3260
3221
|
block: {
|
3261
|
-
__typename: 'Block';
|
3262
3222
|
id: string;
|
3263
3223
|
};
|
3224
|
+
programState?: {
|
3225
|
+
returnType: GqlReturnType;
|
3226
|
+
data: string;
|
3227
|
+
} | null;
|
3264
3228
|
receipts: Array<{
|
3265
|
-
__typename: 'Receipt';
|
3266
3229
|
id?: string | null;
|
3267
3230
|
pc?: string | null;
|
3268
3231
|
is?: string | null;
|
@@ -3292,11 +3255,6 @@ export type GqlGetTransactionsByOwnerQuery = {
|
|
3292
3255
|
contractId?: string | null;
|
3293
3256
|
subId?: string | null;
|
3294
3257
|
}>;
|
3295
|
-
programState?: {
|
3296
|
-
__typename: 'ProgramState';
|
3297
|
-
returnType: GqlReturnType;
|
3298
|
-
data: string;
|
3299
|
-
} | null;
|
3300
3258
|
} | null;
|
3301
3259
|
};
|
3302
3260
|
}>;
|
@@ -3306,18 +3264,12 @@ export type GqlEstimatePredicatesQueryVariables = Exact<{
|
|
3306
3264
|
encodedTransaction: Scalars['HexString'];
|
3307
3265
|
}>;
|
3308
3266
|
export type GqlEstimatePredicatesQuery = {
|
3309
|
-
__typename: 'Query';
|
3310
3267
|
estimatePredicates: {
|
3311
|
-
__typename: 'Transaction';
|
3312
3268
|
inputs?: Array<{
|
3313
|
-
__typename: 'InputCoin';
|
3314
3269
|
predicateGasUsed: string;
|
3315
3270
|
} | {
|
3316
|
-
__typename: 'InputContract';
|
3317
|
-
} | {
|
3318
|
-
__typename: 'InputMessage';
|
3319
3271
|
predicateGasUsed: string;
|
3320
|
-
}> | null;
|
3272
|
+
} | {}> | null;
|
3321
3273
|
};
|
3322
3274
|
};
|
3323
3275
|
export type GqlGetBlockQueryVariables = Exact<{
|
@@ -3325,17 +3277,13 @@ export type GqlGetBlockQueryVariables = Exact<{
|
|
3325
3277
|
height?: InputMaybe<Scalars['U32']>;
|
3326
3278
|
}>;
|
3327
3279
|
export type GqlGetBlockQuery = {
|
3328
|
-
__typename: 'Query';
|
3329
3280
|
block?: {
|
3330
|
-
__typename: 'Block';
|
3331
3281
|
id: string;
|
3332
|
-
height:
|
3282
|
+
height: string;
|
3333
3283
|
header: {
|
3334
|
-
__typename: 'Header';
|
3335
3284
|
time: string;
|
3336
3285
|
};
|
3337
3286
|
transactions: Array<{
|
3338
|
-
__typename: 'Transaction';
|
3339
3287
|
id: string;
|
3340
3288
|
}>;
|
3341
3289
|
} | null;
|
@@ -3345,26 +3293,22 @@ export type GqlGetBlockWithTransactionsQueryVariables = Exact<{
|
|
3345
3293
|
blockHeight?: InputMaybe<Scalars['U32']>;
|
3346
3294
|
}>;
|
3347
3295
|
export type GqlGetBlockWithTransactionsQuery = {
|
3348
|
-
__typename: 'Query';
|
3349
3296
|
block?: {
|
3350
|
-
__typename: 'Block';
|
3351
3297
|
id: string;
|
3352
|
-
height:
|
3298
|
+
height: string;
|
3353
3299
|
transactions: Array<{
|
3354
|
-
__typename: 'Transaction';
|
3355
3300
|
id: string;
|
3356
3301
|
rawPayload: string;
|
3357
3302
|
status?: {
|
3358
|
-
|
3303
|
+
totalGas: string;
|
3304
|
+
totalFee: string;
|
3359
3305
|
time: string;
|
3360
3306
|
reason: string;
|
3361
3307
|
type: 'FailureStatus';
|
3362
3308
|
block: {
|
3363
|
-
__typename: 'Block';
|
3364
3309
|
id: string;
|
3365
3310
|
};
|
3366
3311
|
receipts: Array<{
|
3367
|
-
__typename: 'Receipt';
|
3368
3312
|
id?: string | null;
|
3369
3313
|
pc?: string | null;
|
3370
3314
|
is?: string | null;
|
@@ -3395,23 +3339,24 @@ export type GqlGetBlockWithTransactionsQuery = {
|
|
3395
3339
|
subId?: string | null;
|
3396
3340
|
}>;
|
3397
3341
|
} | {
|
3398
|
-
__typename: 'SqueezedOutStatus';
|
3399
3342
|
reason: string;
|
3400
3343
|
type: 'SqueezedOutStatus';
|
3401
3344
|
} | {
|
3402
|
-
__typename: 'SubmittedStatus';
|
3403
3345
|
time: string;
|
3404
3346
|
type: 'SubmittedStatus';
|
3405
3347
|
} | {
|
3406
|
-
__typename: 'SuccessStatus';
|
3407
3348
|
time: string;
|
3349
|
+
totalGas: string;
|
3350
|
+
totalFee: string;
|
3408
3351
|
type: 'SuccessStatus';
|
3409
3352
|
block: {
|
3410
|
-
__typename: 'Block';
|
3411
3353
|
id: string;
|
3412
3354
|
};
|
3355
|
+
programState?: {
|
3356
|
+
returnType: GqlReturnType;
|
3357
|
+
data: string;
|
3358
|
+
} | null;
|
3413
3359
|
receipts: Array<{
|
3414
|
-
__typename: 'Receipt';
|
3415
3360
|
id?: string | null;
|
3416
3361
|
pc?: string | null;
|
3417
3362
|
is?: string | null;
|
@@ -3441,15 +3386,9 @@ export type GqlGetBlockWithTransactionsQuery = {
|
|
3441
3386
|
contractId?: string | null;
|
3442
3387
|
subId?: string | null;
|
3443
3388
|
}>;
|
3444
|
-
programState?: {
|
3445
|
-
__typename: 'ProgramState';
|
3446
|
-
returnType: GqlReturnType;
|
3447
|
-
data: string;
|
3448
|
-
} | null;
|
3449
3389
|
} | null;
|
3450
3390
|
}>;
|
3451
3391
|
header: {
|
3452
|
-
__typename: 'Header';
|
3453
3392
|
time: string;
|
3454
3393
|
};
|
3455
3394
|
} | null;
|
@@ -3461,21 +3400,15 @@ export type GqlGetBlocksQueryVariables = Exact<{
|
|
3461
3400
|
last?: InputMaybe<Scalars['Int']>;
|
3462
3401
|
}>;
|
3463
3402
|
export type GqlGetBlocksQuery = {
|
3464
|
-
__typename: 'Query';
|
3465
3403
|
blocks: {
|
3466
|
-
__typename: 'BlockConnection';
|
3467
3404
|
edges: Array<{
|
3468
|
-
__typename: 'BlockEdge';
|
3469
3405
|
node: {
|
3470
|
-
__typename: 'Block';
|
3471
3406
|
id: string;
|
3472
|
-
height:
|
3407
|
+
height: string;
|
3473
3408
|
header: {
|
3474
|
-
__typename: 'Header';
|
3475
3409
|
time: string;
|
3476
3410
|
};
|
3477
3411
|
transactions: Array<{
|
3478
|
-
__typename: 'Transaction';
|
3479
3412
|
id: string;
|
3480
3413
|
}>;
|
3481
3414
|
};
|
@@ -3486,15 +3419,14 @@ export type GqlGetCoinQueryVariables = Exact<{
|
|
3486
3419
|
coinId: Scalars['UtxoId'];
|
3487
3420
|
}>;
|
3488
3421
|
export type GqlGetCoinQuery = {
|
3489
|
-
__typename: 'Query';
|
3490
3422
|
coin?: {
|
3491
|
-
__typename: 'Coin';
|
3492
3423
|
utxoId: string;
|
3493
3424
|
owner: string;
|
3494
3425
|
amount: string;
|
3495
3426
|
assetId: string;
|
3496
|
-
blockCreated:
|
3497
|
-
txCreatedIdx:
|
3427
|
+
blockCreated: string;
|
3428
|
+
txCreatedIdx: string;
|
3429
|
+
type: 'Coin';
|
3498
3430
|
} | null;
|
3499
3431
|
};
|
3500
3432
|
export type GqlGetCoinsQueryVariables = Exact<{
|
@@ -3505,19 +3437,16 @@ export type GqlGetCoinsQueryVariables = Exact<{
|
|
3505
3437
|
last?: InputMaybe<Scalars['Int']>;
|
3506
3438
|
}>;
|
3507
3439
|
export type GqlGetCoinsQuery = {
|
3508
|
-
__typename: 'Query';
|
3509
3440
|
coins: {
|
3510
|
-
__typename: 'CoinConnection';
|
3511
3441
|
edges: Array<{
|
3512
|
-
__typename: 'CoinEdge';
|
3513
3442
|
node: {
|
3514
|
-
__typename: 'Coin';
|
3515
3443
|
utxoId: string;
|
3516
3444
|
owner: string;
|
3517
3445
|
amount: string;
|
3518
3446
|
assetId: string;
|
3519
|
-
blockCreated:
|
3520
|
-
txCreatedIdx:
|
3447
|
+
blockCreated: string;
|
3448
|
+
txCreatedIdx: string;
|
3449
|
+
type: 'Coin';
|
3521
3450
|
};
|
3522
3451
|
}>;
|
3523
3452
|
};
|
@@ -3528,32 +3457,29 @@ export type GqlGetCoinsToSpendQueryVariables = Exact<{
|
|
3528
3457
|
excludedIds?: InputMaybe<GqlExcludeInput>;
|
3529
3458
|
}>;
|
3530
3459
|
export type GqlGetCoinsToSpendQuery = {
|
3531
|
-
__typename: 'Query';
|
3532
3460
|
coinsToSpend: Array<Array<{
|
3533
|
-
__typename: 'Coin';
|
3534
3461
|
utxoId: string;
|
3535
3462
|
owner: string;
|
3536
3463
|
amount: string;
|
3537
3464
|
assetId: string;
|
3538
|
-
blockCreated:
|
3539
|
-
txCreatedIdx:
|
3465
|
+
blockCreated: string;
|
3466
|
+
txCreatedIdx: string;
|
3467
|
+
type: 'Coin';
|
3540
3468
|
} | {
|
3541
|
-
__typename: 'MessageCoin';
|
3542
3469
|
sender: string;
|
3543
3470
|
recipient: string;
|
3544
3471
|
nonce: string;
|
3545
3472
|
amount: string;
|
3546
3473
|
assetId: string;
|
3547
3474
|
daHeight: string;
|
3475
|
+
type: 'MessageCoin';
|
3548
3476
|
}>>;
|
3549
3477
|
};
|
3550
3478
|
export type GqlGetContractQueryVariables = Exact<{
|
3551
3479
|
contractId: Scalars['ContractId'];
|
3552
3480
|
}>;
|
3553
3481
|
export type GqlGetContractQuery = {
|
3554
|
-
__typename: 'Query';
|
3555
3482
|
contract?: {
|
3556
|
-
__typename: 'Contract';
|
3557
3483
|
bytecode: string;
|
3558
3484
|
id: string;
|
3559
3485
|
} | null;
|
@@ -3563,9 +3489,7 @@ export type GqlGetContractBalanceQueryVariables = Exact<{
|
|
3563
3489
|
asset: Scalars['AssetId'];
|
3564
3490
|
}>;
|
3565
3491
|
export type GqlGetContractBalanceQuery = {
|
3566
|
-
__typename: 'Query';
|
3567
3492
|
contractBalance: {
|
3568
|
-
__typename: 'ContractBalance';
|
3569
3493
|
contract: string;
|
3570
3494
|
amount: string;
|
3571
3495
|
assetId: string;
|
@@ -3576,9 +3500,7 @@ export type GqlGetBalanceQueryVariables = Exact<{
|
|
3576
3500
|
assetId: Scalars['AssetId'];
|
3577
3501
|
}>;
|
3578
3502
|
export type GqlGetBalanceQuery = {
|
3579
|
-
__typename: 'Query';
|
3580
3503
|
balance: {
|
3581
|
-
__typename: 'Balance';
|
3582
3504
|
owner: string;
|
3583
3505
|
amount: string;
|
3584
3506
|
assetId: string;
|
@@ -3588,9 +3510,7 @@ export type GqlGetLatestGasPriceQueryVariables = Exact<{
|
|
3588
3510
|
[key: string]: never;
|
3589
3511
|
}>;
|
3590
3512
|
export type GqlGetLatestGasPriceQuery = {
|
3591
|
-
__typename: 'Query';
|
3592
3513
|
latestGasPrice: {
|
3593
|
-
__typename: 'LatestGasPrice';
|
3594
3514
|
gasPrice: string;
|
3595
3515
|
};
|
3596
3516
|
};
|
@@ -3598,9 +3518,7 @@ export type GqlEstimateGasPriceQueryVariables = Exact<{
|
|
3598
3518
|
blockHorizon: Scalars['U32'];
|
3599
3519
|
}>;
|
3600
3520
|
export type GqlEstimateGasPriceQuery = {
|
3601
|
-
__typename: 'Query';
|
3602
3521
|
estimateGasPrice: {
|
3603
|
-
__typename: 'EstimateGasPrice';
|
3604
3522
|
gasPrice: string;
|
3605
3523
|
};
|
3606
3524
|
};
|
@@ -3612,13 +3530,9 @@ export type GqlGetBalancesQueryVariables = Exact<{
|
|
3612
3530
|
last?: InputMaybe<Scalars['Int']>;
|
3613
3531
|
}>;
|
3614
3532
|
export type GqlGetBalancesQuery = {
|
3615
|
-
__typename: 'Query';
|
3616
3533
|
balances: {
|
3617
|
-
__typename: 'BalanceConnection';
|
3618
3534
|
edges: Array<{
|
3619
|
-
__typename: 'BalanceEdge';
|
3620
3535
|
node: {
|
3621
|
-
__typename: 'Balance';
|
3622
3536
|
owner: string;
|
3623
3537
|
amount: string;
|
3624
3538
|
assetId: string;
|
@@ -3634,13 +3548,9 @@ export type GqlGetMessagesQueryVariables = Exact<{
|
|
3634
3548
|
last?: InputMaybe<Scalars['Int']>;
|
3635
3549
|
}>;
|
3636
3550
|
export type GqlGetMessagesQuery = {
|
3637
|
-
__typename: 'Query';
|
3638
3551
|
messages: {
|
3639
|
-
__typename: 'MessageConnection';
|
3640
3552
|
edges: Array<{
|
3641
|
-
__typename: 'MessageEdge';
|
3642
3553
|
node: {
|
3643
|
-
__typename: 'Message';
|
3644
3554
|
amount: string;
|
3645
3555
|
sender: string;
|
3646
3556
|
recipient: string;
|
@@ -3658,52 +3568,46 @@ export type GqlGetMessageProofQueryVariables = Exact<{
|
|
3658
3568
|
commitBlockHeight?: InputMaybe<Scalars['U32']>;
|
3659
3569
|
}>;
|
3660
3570
|
export type GqlGetMessageProofQuery = {
|
3661
|
-
__typename: 'Query';
|
3662
3571
|
messageProof?: {
|
3663
|
-
__typename: 'MessageProof';
|
3664
3572
|
sender: string;
|
3665
3573
|
recipient: string;
|
3666
3574
|
nonce: string;
|
3667
3575
|
amount: string;
|
3668
3576
|
data: string;
|
3669
3577
|
messageProof: {
|
3670
|
-
__typename: 'MerkleProof';
|
3671
3578
|
proofSet: Array<string>;
|
3672
3579
|
proofIndex: string;
|
3673
3580
|
};
|
3674
3581
|
blockProof: {
|
3675
|
-
__typename: 'MerkleProof';
|
3676
3582
|
proofSet: Array<string>;
|
3677
3583
|
proofIndex: string;
|
3678
3584
|
};
|
3679
3585
|
messageBlockHeader: {
|
3680
|
-
__typename: 'Header';
|
3681
3586
|
id: string;
|
3682
3587
|
daHeight: string;
|
3683
|
-
consensusParametersVersion:
|
3684
|
-
stateTransitionBytecodeVersion:
|
3588
|
+
consensusParametersVersion: string;
|
3589
|
+
stateTransitionBytecodeVersion: string;
|
3685
3590
|
transactionsCount: string;
|
3686
3591
|
messageReceiptCount: string;
|
3687
3592
|
transactionsRoot: string;
|
3688
3593
|
messageOutboxRoot: string;
|
3689
3594
|
eventInboxRoot: string;
|
3690
|
-
height:
|
3595
|
+
height: string;
|
3691
3596
|
prevRoot: string;
|
3692
3597
|
time: string;
|
3693
3598
|
applicationHash: string;
|
3694
3599
|
};
|
3695
3600
|
commitBlockHeader: {
|
3696
|
-
__typename: 'Header';
|
3697
3601
|
id: string;
|
3698
3602
|
daHeight: string;
|
3699
|
-
consensusParametersVersion:
|
3700
|
-
stateTransitionBytecodeVersion:
|
3603
|
+
consensusParametersVersion: string;
|
3604
|
+
stateTransitionBytecodeVersion: string;
|
3701
3605
|
transactionsCount: string;
|
3702
3606
|
messageReceiptCount: string;
|
3703
3607
|
transactionsRoot: string;
|
3704
3608
|
messageOutboxRoot: string;
|
3705
3609
|
eventInboxRoot: string;
|
3706
|
-
height:
|
3610
|
+
height: string;
|
3707
3611
|
prevRoot: string;
|
3708
3612
|
time: string;
|
3709
3613
|
applicationHash: string;
|
@@ -3714,39 +3618,43 @@ export type GqlGetMessageStatusQueryVariables = Exact<{
|
|
3714
3618
|
nonce: Scalars['Nonce'];
|
3715
3619
|
}>;
|
3716
3620
|
export type GqlGetMessageStatusQuery = {
|
3717
|
-
__typename: 'Query';
|
3718
3621
|
messageStatus: {
|
3719
|
-
__typename: 'MessageStatus';
|
3720
3622
|
state: GqlMessageState;
|
3721
3623
|
};
|
3722
3624
|
};
|
3625
|
+
export type GqlGetRelayedTransactionStatusQueryVariables = Exact<{
|
3626
|
+
relayedTransactionId: Scalars['RelayedTransactionId'];
|
3627
|
+
}>;
|
3628
|
+
export type GqlGetRelayedTransactionStatusQuery = {
|
3629
|
+
relayedTransactionStatus?: {
|
3630
|
+
blockHeight: string;
|
3631
|
+
failure: string;
|
3632
|
+
} | null;
|
3633
|
+
};
|
3723
3634
|
export type GqlDryRunMutationVariables = Exact<{
|
3724
3635
|
encodedTransactions: Array<Scalars['HexString']> | Scalars['HexString'];
|
3725
3636
|
utxoValidation?: InputMaybe<Scalars['Boolean']>;
|
3726
3637
|
}>;
|
3727
3638
|
export type GqlDryRunMutation = {
|
3728
|
-
__typename: 'Mutation';
|
3729
3639
|
dryRun: Array<{
|
3730
|
-
__typename: 'DryRunTransactionExecutionStatus';
|
3731
3640
|
id: string;
|
3732
3641
|
status: {
|
3733
|
-
|
3642
|
+
totalGas: string;
|
3643
|
+
totalFee: string;
|
3734
3644
|
reason: string;
|
3735
3645
|
programState?: {
|
3736
|
-
__typename: 'ProgramState';
|
3737
3646
|
returnType: GqlReturnType;
|
3738
3647
|
data: string;
|
3739
3648
|
} | null;
|
3740
3649
|
} | {
|
3741
|
-
|
3650
|
+
totalGas: string;
|
3651
|
+
totalFee: string;
|
3742
3652
|
programState?: {
|
3743
|
-
__typename: 'ProgramState';
|
3744
3653
|
returnType: GqlReturnType;
|
3745
3654
|
data: string;
|
3746
3655
|
} | null;
|
3747
3656
|
};
|
3748
3657
|
receipts: Array<{
|
3749
|
-
__typename: 'Receipt';
|
3750
3658
|
id?: string | null;
|
3751
3659
|
pc?: string | null;
|
3752
3660
|
is?: string | null;
|
@@ -3782,9 +3690,7 @@ export type GqlSubmitMutationVariables = Exact<{
|
|
3782
3690
|
encodedTransaction: Scalars['HexString'];
|
3783
3691
|
}>;
|
3784
3692
|
export type GqlSubmitMutation = {
|
3785
|
-
__typename: 'Mutation';
|
3786
3693
|
submit: {
|
3787
|
-
__typename: 'Transaction';
|
3788
3694
|
id: string;
|
3789
3695
|
};
|
3790
3696
|
};
|
@@ -3793,26 +3699,33 @@ export type GqlProduceBlocksMutationVariables = Exact<{
|
|
3793
3699
|
blocksToProduce: Scalars['U32'];
|
3794
3700
|
}>;
|
3795
3701
|
export type GqlProduceBlocksMutation = {
|
3796
|
-
|
3797
|
-
|
3702
|
+
produceBlocks: string;
|
3703
|
+
};
|
3704
|
+
export type GqlGetMessageByNonceQueryVariables = Exact<{
|
3705
|
+
nonce: Scalars['Nonce'];
|
3706
|
+
}>;
|
3707
|
+
export type GqlGetMessageByNonceQuery = {
|
3708
|
+
message?: {
|
3709
|
+
amount: string;
|
3710
|
+
sender: string;
|
3711
|
+
recipient: string;
|
3712
|
+
data: string;
|
3713
|
+
nonce: string;
|
3714
|
+
daHeight: string;
|
3715
|
+
} | null;
|
3798
3716
|
};
|
3799
3717
|
export type GqlSubmitAndAwaitSubscriptionVariables = Exact<{
|
3800
3718
|
encodedTransaction: Scalars['HexString'];
|
3801
3719
|
}>;
|
3802
3720
|
export type GqlSubmitAndAwaitSubscription = {
|
3803
|
-
__typename: 'Subscription';
|
3804
3721
|
submitAndAwait: {
|
3805
|
-
__typename: 'FailureStatus';
|
3806
3722
|
type: 'FailureStatus';
|
3807
3723
|
} | {
|
3808
|
-
__typename: 'SqueezedOutStatus';
|
3809
3724
|
reason: string;
|
3810
3725
|
type: 'SqueezedOutStatus';
|
3811
3726
|
} | {
|
3812
|
-
__typename: 'SubmittedStatus';
|
3813
3727
|
type: 'SubmittedStatus';
|
3814
3728
|
} | {
|
3815
|
-
__typename: 'SuccessStatus';
|
3816
3729
|
type: 'SuccessStatus';
|
3817
3730
|
};
|
3818
3731
|
};
|
@@ -3820,50 +3733,50 @@ export type GqlStatusChangeSubscriptionVariables = Exact<{
|
|
3820
3733
|
transactionId: Scalars['TransactionId'];
|
3821
3734
|
}>;
|
3822
3735
|
export type GqlStatusChangeSubscription = {
|
3823
|
-
__typename: 'Subscription';
|
3824
3736
|
statusChange: {
|
3825
|
-
__typename: 'FailureStatus';
|
3826
3737
|
type: 'FailureStatus';
|
3827
3738
|
} | {
|
3828
|
-
__typename: 'SqueezedOutStatus';
|
3829
3739
|
reason: string;
|
3830
3740
|
type: 'SqueezedOutStatus';
|
3831
3741
|
} | {
|
3832
|
-
__typename: 'SubmittedStatus';
|
3833
3742
|
type: 'SubmittedStatus';
|
3834
3743
|
} | {
|
3835
|
-
__typename: 'SuccessStatus';
|
3836
3744
|
type: 'SuccessStatus';
|
3837
3745
|
};
|
3838
3746
|
};
|
3839
|
-
export declare const
|
3840
|
-
export declare const
|
3841
|
-
export declare const
|
3842
|
-
export declare const
|
3843
|
-
export declare const
|
3844
|
-
export declare const
|
3845
|
-
export declare const
|
3846
|
-
export declare const
|
3847
|
-
export declare const
|
3848
|
-
export declare const
|
3849
|
-
export declare const
|
3850
|
-
export declare const
|
3851
|
-
export declare const
|
3852
|
-
export declare const
|
3853
|
-
export declare const
|
3854
|
-
export declare const
|
3855
|
-
export declare const
|
3856
|
-
export declare const
|
3857
|
-
export declare const
|
3858
|
-
export declare const
|
3859
|
-
export declare const
|
3860
|
-
export declare const
|
3861
|
-
export declare const
|
3862
|
-
export declare const
|
3863
|
-
export declare const
|
3864
|
-
export declare const
|
3865
|
-
export declare const
|
3866
|
-
export declare const
|
3747
|
+
export declare const TransactionStatusSubscriptionFragmentDoc: DocumentNode;
|
3748
|
+
export declare const SubmittedStatusFragmentDoc: DocumentNode;
|
3749
|
+
export declare const ReceiptFragmentDoc: DocumentNode;
|
3750
|
+
export declare const SuccessStatusFragmentDoc: DocumentNode;
|
3751
|
+
export declare const FailureStatusFragmentDoc: DocumentNode;
|
3752
|
+
export declare const SqueezedOutStatusFragmentDoc: DocumentNode;
|
3753
|
+
export declare const TransactionStatusFragmentDoc: DocumentNode;
|
3754
|
+
export declare const TransactionFragmentDoc: DocumentNode;
|
3755
|
+
export declare const InputEstimatePredicatesFragmentDoc: DocumentNode;
|
3756
|
+
export declare const TransactionEstimatePredicatesFragmentDoc: DocumentNode;
|
3757
|
+
export declare const DryRunFailureStatusFragmentDoc: DocumentNode;
|
3758
|
+
export declare const DryRunSuccessStatusFragmentDoc: DocumentNode;
|
3759
|
+
export declare const DryRunTransactionStatusFragmentDoc: DocumentNode;
|
3760
|
+
export declare const DryRunTransactionExecutionStatusFragmentDoc: DocumentNode;
|
3761
|
+
export declare const CoinFragmentDoc: DocumentNode;
|
3762
|
+
export declare const MessageCoinFragmentDoc: DocumentNode;
|
3763
|
+
export declare const MessageFragmentDoc: DocumentNode;
|
3764
|
+
export declare const MessageProofFragmentDoc: DocumentNode;
|
3765
|
+
export declare const BalanceFragmentDoc: DocumentNode;
|
3766
|
+
export declare const BlockFragmentDoc: DocumentNode;
|
3767
|
+
export declare const TxParametersFragmentDoc: DocumentNode;
|
3768
|
+
export declare const PredicateParametersFragmentDoc: DocumentNode;
|
3769
|
+
export declare const ScriptParametersFragmentDoc: DocumentNode;
|
3770
|
+
export declare const ContractParametersFragmentDoc: DocumentNode;
|
3771
|
+
export declare const FeeParametersFragmentDoc: DocumentNode;
|
3772
|
+
export declare const DependentCostFragmentDoc: DocumentNode;
|
3773
|
+
export declare const GasCostsFragmentDoc: DocumentNode;
|
3774
|
+
export declare const ConsensusParametersFragmentDoc: DocumentNode;
|
3775
|
+
export declare const ChainInfoFragmentDoc: DocumentNode;
|
3776
|
+
export declare const ContractBalanceFragmentDoc: DocumentNode;
|
3777
|
+
export declare const PageInfoFragmentDoc: DocumentNode;
|
3778
|
+
export declare const NodeInfoFragmentDoc: DocumentNode;
|
3779
|
+
export declare const RelayedTransactionStatusFragmentDoc: DocumentNode;
|
3867
3780
|
export declare const GetVersionDocument: DocumentNode;
|
3868
3781
|
export declare const GetNodeInfoDocument: DocumentNode;
|
3869
3782
|
export declare const GetChainDocument: DocumentNode;
|
@@ -3887,9 +3800,11 @@ export declare const GetBalancesDocument: DocumentNode;
|
|
3887
3800
|
export declare const GetMessagesDocument: DocumentNode;
|
3888
3801
|
export declare const GetMessageProofDocument: DocumentNode;
|
3889
3802
|
export declare const GetMessageStatusDocument: DocumentNode;
|
3803
|
+
export declare const GetRelayedTransactionStatusDocument: DocumentNode;
|
3890
3804
|
export declare const DryRunDocument: DocumentNode;
|
3891
3805
|
export declare const SubmitDocument: DocumentNode;
|
3892
3806
|
export declare const ProduceBlocksDocument: DocumentNode;
|
3807
|
+
export declare const GetMessageByNonceDocument: DocumentNode;
|
3893
3808
|
export declare const SubmitAndAwaitDocument: DocumentNode;
|
3894
3809
|
export declare const StatusChangeDocument: DocumentNode;
|
3895
3810
|
export type Requester<C = {}, E = unknown> = <R, V>(doc: DocumentNode, vars?: V, options?: C) => Promise<R> | AsyncIterable<R>;
|
@@ -3917,9 +3832,11 @@ export declare function getSdk<C, E>(requester: Requester<C, E>): {
|
|
3917
3832
|
getMessages(variables: GqlGetMessagesQueryVariables, options?: C): Promise<GqlGetMessagesQuery>;
|
3918
3833
|
getMessageProof(variables: GqlGetMessageProofQueryVariables, options?: C): Promise<GqlGetMessageProofQuery>;
|
3919
3834
|
getMessageStatus(variables: GqlGetMessageStatusQueryVariables, options?: C): Promise<GqlGetMessageStatusQuery>;
|
3835
|
+
getRelayedTransactionStatus(variables: GqlGetRelayedTransactionStatusQueryVariables, options?: C): Promise<GqlGetRelayedTransactionStatusQuery>;
|
3920
3836
|
dryRun(variables: GqlDryRunMutationVariables, options?: C): Promise<GqlDryRunMutation>;
|
3921
3837
|
submit(variables: GqlSubmitMutationVariables, options?: C): Promise<GqlSubmitMutation>;
|
3922
3838
|
produceBlocks(variables: GqlProduceBlocksMutationVariables, options?: C): Promise<GqlProduceBlocksMutation>;
|
3839
|
+
getMessageByNonce(variables: GqlGetMessageByNonceQueryVariables, options?: C): Promise<GqlGetMessageByNonceQuery>;
|
3923
3840
|
submitAndAwait(variables: GqlSubmitAndAwaitSubscriptionVariables, options?: C): AsyncIterable<GqlSubmitAndAwaitSubscription>;
|
3924
3841
|
statusChange(variables: GqlStatusChangeSubscriptionVariables, options?: C): AsyncIterable<GqlStatusChangeSubscription>;
|
3925
3842
|
};
|