@fuel-ts/account 0.89.2 → 0.91.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/dist/account.d.ts +8 -0
- package/dist/account.d.ts.map +1 -1
- package/dist/configs.d.ts +3 -1
- package/dist/configs.d.ts.map +1 -1
- package/dist/configs.global.js +4 -2
- package/dist/configs.global.js.map +1 -1
- package/dist/configs.js +10 -4
- package/dist/configs.js.map +1 -1
- package/dist/configs.mjs +7 -3
- package/dist/configs.mjs.map +1 -1
- package/dist/index.global.js +3228 -2762
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +246 -178
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +150 -81
- package/dist/index.mjs.map +1 -1
- package/dist/predicate/predicate.d.ts +8 -0
- package/dist/predicate/predicate.d.ts.map +1 -1
- package/dist/providers/__generated__/operations.d.ts +711 -505
- package/dist/providers/__generated__/operations.d.ts.map +1 -1
- package/dist/providers/assets/utils/network.d.ts.map +1 -1
- package/dist/providers/chains.d.ts +1 -1
- package/dist/providers/provider.d.ts +12 -2
- package/dist/providers/provider.d.ts.map +1 -1
- package/dist/providers/utils/auto-retry-fetch.d.ts.map +1 -1
- package/dist/providers/utils/extract-tx-error.d.ts +2 -8
- package/dist/providers/utils/extract-tx-error.d.ts.map +1 -1
- package/dist/providers/utils/index.d.ts +0 -1
- package/dist/providers/utils/index.d.ts.map +1 -1
- package/dist/test-utils/asset-id.d.ts +8 -0
- package/dist/test-utils/asset-id.d.ts.map +1 -0
- package/dist/test-utils/launchNode.d.ts +10 -5
- package/dist/test-utils/launchNode.d.ts.map +1 -1
- package/dist/test-utils/setup-test-provider-and-wallets.d.ts +34 -0
- package/dist/test-utils/setup-test-provider-and-wallets.d.ts.map +1 -0
- package/dist/test-utils/test-message.d.ts +29 -0
- package/dist/test-utils/test-message.d.ts.map +1 -0
- package/dist/test-utils/wallet-config.d.ts +55 -0
- package/dist/test-utils/wallet-config.d.ts.map +1 -0
- package/dist/test-utils.d.ts +8 -0
- package/dist/test-utils.d.ts.map +1 -0
- package/dist/test-utils.global.js +2277 -1467
- package/dist/test-utils.global.js.map +1 -1
- package/dist/test-utils.js +546 -234
- package/dist/test-utils.js.map +1 -1
- package/dist/test-utils.mjs +452 -144
- package/dist/test-utils.mjs.map +1 -1
- package/dist/wallet/base-wallet-unlocked.d.ts +1 -1
- package/package.json +26 -25
- package/dist/providers/utils/sleep.d.ts +0 -3
- package/dist/providers/utils/sleep.d.ts.map +0 -1
- package/dist/test-utils/index.d.ts +0 -4
- package/dist/test-utils/index.d.ts.map +0 -1
@@ -12,35 +12,109 @@ export type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
|
|
12
12
|
export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
|
13
13
|
[SubKey in K]: Maybe<T[SubKey]>;
|
14
14
|
};
|
15
|
+
export type MakeEmpty<T extends {
|
16
|
+
[key: string]: unknown;
|
17
|
+
}, K extends keyof T> = {
|
18
|
+
[_ in K]?: never;
|
19
|
+
};
|
20
|
+
export type Incremental<T> = T | {
|
21
|
+
[P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never;
|
22
|
+
};
|
15
23
|
/** All built-in and custom scalars, mapped to their actual values */
|
16
24
|
export type Scalars = {
|
17
|
-
ID:
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
25
|
+
ID: {
|
26
|
+
input: string;
|
27
|
+
output: string;
|
28
|
+
};
|
29
|
+
String: {
|
30
|
+
input: string;
|
31
|
+
output: string;
|
32
|
+
};
|
33
|
+
Boolean: {
|
34
|
+
input: boolean;
|
35
|
+
output: boolean;
|
36
|
+
};
|
37
|
+
Int: {
|
38
|
+
input: number;
|
39
|
+
output: number;
|
40
|
+
};
|
41
|
+
Float: {
|
42
|
+
input: number;
|
43
|
+
output: number;
|
44
|
+
};
|
45
|
+
Address: {
|
46
|
+
input: string;
|
47
|
+
output: string;
|
48
|
+
};
|
49
|
+
AssetId: {
|
50
|
+
input: string;
|
51
|
+
output: string;
|
52
|
+
};
|
53
|
+
BlockId: {
|
54
|
+
input: string;
|
55
|
+
output: string;
|
56
|
+
};
|
57
|
+
Bytes32: {
|
58
|
+
input: string;
|
59
|
+
output: string;
|
60
|
+
};
|
61
|
+
ContractId: {
|
62
|
+
input: string;
|
63
|
+
output: string;
|
64
|
+
};
|
65
|
+
HexString: {
|
66
|
+
input: string;
|
67
|
+
output: string;
|
68
|
+
};
|
69
|
+
Nonce: {
|
70
|
+
input: string;
|
71
|
+
output: string;
|
72
|
+
};
|
73
|
+
RelayedTransactionId: {
|
74
|
+
input: string;
|
75
|
+
output: string;
|
76
|
+
};
|
77
|
+
Salt: {
|
78
|
+
input: string;
|
79
|
+
output: string;
|
80
|
+
};
|
81
|
+
Signature: {
|
82
|
+
input: string;
|
83
|
+
output: string;
|
84
|
+
};
|
85
|
+
Tai64Timestamp: {
|
86
|
+
input: string;
|
87
|
+
output: string;
|
88
|
+
};
|
89
|
+
TransactionId: {
|
90
|
+
input: string;
|
91
|
+
output: string;
|
92
|
+
};
|
93
|
+
TxPointer: {
|
94
|
+
input: string;
|
95
|
+
output: string;
|
96
|
+
};
|
97
|
+
U16: {
|
98
|
+
input: string;
|
99
|
+
output: string;
|
100
|
+
};
|
101
|
+
U32: {
|
102
|
+
input: string;
|
103
|
+
output: string;
|
104
|
+
};
|
105
|
+
U64: {
|
106
|
+
input: string;
|
107
|
+
output: string;
|
108
|
+
};
|
109
|
+
UtxoId: {
|
110
|
+
input: string;
|
111
|
+
output: string;
|
112
|
+
};
|
39
113
|
};
|
40
114
|
export type GqlBalance = {
|
41
|
-
amount: Scalars['U64'];
|
42
|
-
assetId: Scalars['AssetId'];
|
43
|
-
owner: Scalars['Address'];
|
115
|
+
amount: Scalars['U64']['output'];
|
116
|
+
assetId: Scalars['AssetId']['output'];
|
117
|
+
owner: Scalars['Address']['output'];
|
44
118
|
};
|
45
119
|
export type GqlBalanceConnection = {
|
46
120
|
/** A list of edges. */
|
@@ -53,20 +127,21 @@ export type GqlBalanceConnection = {
|
|
53
127
|
/** An edge in a connection. */
|
54
128
|
export type GqlBalanceEdge = {
|
55
129
|
/** A cursor for use in pagination */
|
56
|
-
cursor: Scalars['String'];
|
130
|
+
cursor: Scalars['String']['output'];
|
57
131
|
/** The item at the end of the edge */
|
58
132
|
node: GqlBalance;
|
59
133
|
};
|
60
134
|
export type GqlBalanceFilterInput = {
|
61
135
|
/** Filter coins based on the `owner` field */
|
62
|
-
owner: Scalars['Address'];
|
136
|
+
owner: Scalars['Address']['input'];
|
63
137
|
};
|
64
138
|
export type GqlBlock = {
|
65
139
|
consensus: GqlConsensus;
|
66
140
|
header: GqlHeader;
|
67
|
-
height: Scalars['U32'];
|
68
|
-
id: Scalars['BlockId'];
|
141
|
+
height: Scalars['U32']['output'];
|
142
|
+
id: Scalars['BlockId']['output'];
|
69
143
|
transactions: Array<GqlTransaction>;
|
144
|
+
version: GqlBlockVersion;
|
70
145
|
};
|
71
146
|
export type GqlBlockConnection = {
|
72
147
|
/** A list of edges. */
|
@@ -79,36 +154,39 @@ export type GqlBlockConnection = {
|
|
79
154
|
/** An edge in a connection. */
|
80
155
|
export type GqlBlockEdge = {
|
81
156
|
/** A cursor for use in pagination */
|
82
|
-
cursor: Scalars['String'];
|
157
|
+
cursor: Scalars['String']['output'];
|
83
158
|
/** The item at the end of the edge */
|
84
159
|
node: GqlBlock;
|
85
160
|
};
|
161
|
+
export declare enum GqlBlockVersion {
|
162
|
+
V1 = "V1"
|
163
|
+
}
|
86
164
|
/** Breakpoint, defined as a tuple of contract ID and relative PC offset inside it */
|
87
165
|
export type GqlBreakpoint = {
|
88
|
-
contract: Scalars['ContractId'];
|
89
|
-
pc: Scalars['U64'];
|
166
|
+
contract: Scalars['ContractId']['input'];
|
167
|
+
pc: Scalars['U64']['input'];
|
90
168
|
};
|
91
169
|
export type GqlChainInfo = {
|
92
170
|
consensusParameters: GqlConsensusParameters;
|
93
|
-
daHeight: Scalars['U64'];
|
171
|
+
daHeight: Scalars['U64']['output'];
|
94
172
|
gasCosts: GqlGasCosts;
|
95
173
|
latestBlock: GqlBlock;
|
96
|
-
name: Scalars['String'];
|
174
|
+
name: Scalars['String']['output'];
|
97
175
|
};
|
98
176
|
export type GqlChangeOutput = {
|
99
|
-
amount: Scalars['U64'];
|
100
|
-
assetId: Scalars['AssetId'];
|
101
|
-
to: Scalars['Address'];
|
177
|
+
amount: Scalars['U64']['output'];
|
178
|
+
assetId: Scalars['AssetId']['output'];
|
179
|
+
to: Scalars['Address']['output'];
|
102
180
|
};
|
103
181
|
export type GqlCoin = {
|
104
|
-
amount: Scalars['U64'];
|
105
|
-
assetId: Scalars['AssetId'];
|
182
|
+
amount: Scalars['U64']['output'];
|
183
|
+
assetId: Scalars['AssetId']['output'];
|
106
184
|
/** TxPointer - the height of the block this coin was created in */
|
107
|
-
blockCreated: Scalars['U32'];
|
108
|
-
owner: Scalars['Address'];
|
185
|
+
blockCreated: Scalars['U32']['output'];
|
186
|
+
owner: Scalars['Address']['output'];
|
109
187
|
/** TxPointer - the index of the transaction that created this coin */
|
110
|
-
txCreatedIdx: Scalars['U16'];
|
111
|
-
utxoId: Scalars['UtxoId'];
|
188
|
+
txCreatedIdx: Scalars['U16']['output'];
|
189
|
+
utxoId: Scalars['UtxoId']['output'];
|
112
190
|
};
|
113
191
|
export type GqlCoinConnection = {
|
114
192
|
/** A list of edges. */
|
@@ -121,53 +199,53 @@ export type GqlCoinConnection = {
|
|
121
199
|
/** An edge in a connection. */
|
122
200
|
export type GqlCoinEdge = {
|
123
201
|
/** A cursor for use in pagination */
|
124
|
-
cursor: Scalars['String'];
|
202
|
+
cursor: Scalars['String']['output'];
|
125
203
|
/** The item at the end of the edge */
|
126
204
|
node: GqlCoin;
|
127
205
|
};
|
128
206
|
export type GqlCoinFilterInput = {
|
129
207
|
/** Returns coins only with `asset_id`. */
|
130
|
-
assetId?: InputMaybe<Scalars['AssetId']>;
|
208
|
+
assetId?: InputMaybe<Scalars['AssetId']['input']>;
|
131
209
|
/** Returns coins owned by the `owner`. */
|
132
|
-
owner: Scalars['Address'];
|
210
|
+
owner: Scalars['Address']['input'];
|
133
211
|
};
|
134
212
|
export type GqlCoinOutput = {
|
135
|
-
amount: Scalars['U64'];
|
136
|
-
assetId: Scalars['AssetId'];
|
137
|
-
to: Scalars['Address'];
|
213
|
+
amount: Scalars['U64']['output'];
|
214
|
+
assetId: Scalars['AssetId']['output'];
|
215
|
+
to: Scalars['Address']['output'];
|
138
216
|
};
|
139
217
|
/** The schema analog of the [`coins::CoinType`]. */
|
140
218
|
export type GqlCoinType = GqlCoin | GqlMessageCoin;
|
141
219
|
export type GqlConsensus = GqlGenesis | GqlPoAConsensus;
|
142
220
|
export type GqlConsensusParameters = {
|
143
|
-
baseAssetId: Scalars['AssetId'];
|
144
|
-
blockGasLimit: Scalars['U64'];
|
145
|
-
chainId: Scalars['U64'];
|
221
|
+
baseAssetId: Scalars['AssetId']['output'];
|
222
|
+
blockGasLimit: Scalars['U64']['output'];
|
223
|
+
chainId: Scalars['U64']['output'];
|
146
224
|
contractParams: GqlContractParameters;
|
147
225
|
feeParams: GqlFeeParameters;
|
148
226
|
gasCosts: GqlGasCosts;
|
149
227
|
predicateParams: GqlPredicateParameters;
|
150
|
-
privilegedAddress: Scalars['Address'];
|
228
|
+
privilegedAddress: Scalars['Address']['output'];
|
151
229
|
scriptParams: GqlScriptParameters;
|
152
230
|
txParams: GqlTxParameters;
|
153
231
|
version: GqlConsensusParametersVersion;
|
154
232
|
};
|
155
233
|
export type GqlConsensusParametersPurpose = {
|
156
|
-
checksum: Scalars['Bytes32'];
|
157
|
-
witnessIndex: Scalars['U16'];
|
234
|
+
checksum: Scalars['Bytes32']['output'];
|
235
|
+
witnessIndex: Scalars['U16']['output'];
|
158
236
|
};
|
159
237
|
export declare enum GqlConsensusParametersVersion {
|
160
238
|
V1 = "V1"
|
161
239
|
}
|
162
240
|
export type GqlContract = {
|
163
|
-
bytecode: Scalars['HexString'];
|
164
|
-
id: Scalars['ContractId'];
|
165
|
-
salt: Scalars['Salt'];
|
241
|
+
bytecode: Scalars['HexString']['output'];
|
242
|
+
id: Scalars['ContractId']['output'];
|
243
|
+
salt: Scalars['Salt']['output'];
|
166
244
|
};
|
167
245
|
export type GqlContractBalance = {
|
168
|
-
amount: Scalars['U64'];
|
169
|
-
assetId: Scalars['AssetId'];
|
170
|
-
contract: Scalars['ContractId'];
|
246
|
+
amount: Scalars['U64']['output'];
|
247
|
+
assetId: Scalars['AssetId']['output'];
|
248
|
+
contract: Scalars['ContractId']['output'];
|
171
249
|
};
|
172
250
|
export type GqlContractBalanceConnection = {
|
173
251
|
/** A list of edges. */
|
@@ -180,26 +258,26 @@ export type GqlContractBalanceConnection = {
|
|
180
258
|
/** An edge in a connection. */
|
181
259
|
export type GqlContractBalanceEdge = {
|
182
260
|
/** A cursor for use in pagination */
|
183
|
-
cursor: Scalars['String'];
|
261
|
+
cursor: Scalars['String']['output'];
|
184
262
|
/** The item at the end of the edge */
|
185
263
|
node: GqlContractBalance;
|
186
264
|
};
|
187
265
|
export type GqlContractBalanceFilterInput = {
|
188
266
|
/** Filter assets based on the `contractId` field */
|
189
|
-
contract: Scalars['ContractId'];
|
267
|
+
contract: Scalars['ContractId']['input'];
|
190
268
|
};
|
191
269
|
export type GqlContractCreated = {
|
192
|
-
contract: Scalars['ContractId'];
|
193
|
-
stateRoot: Scalars['Bytes32'];
|
270
|
+
contract: Scalars['ContractId']['output'];
|
271
|
+
stateRoot: Scalars['Bytes32']['output'];
|
194
272
|
};
|
195
273
|
export type GqlContractOutput = {
|
196
|
-
balanceRoot: Scalars['Bytes32'];
|
197
|
-
inputIndex: Scalars['U16'];
|
198
|
-
stateRoot: Scalars['Bytes32'];
|
274
|
+
balanceRoot: Scalars['Bytes32']['output'];
|
275
|
+
inputIndex: Scalars['U16']['output'];
|
276
|
+
stateRoot: Scalars['Bytes32']['output'];
|
199
277
|
};
|
200
278
|
export type GqlContractParameters = {
|
201
|
-
contractMaxSize: Scalars['U64'];
|
202
|
-
maxStorageSlots: Scalars['U64'];
|
279
|
+
contractMaxSize: Scalars['U64']['output'];
|
280
|
+
maxStorageSlots: Scalars['U64']['output'];
|
203
281
|
version: GqlContractParametersVersion;
|
204
282
|
};
|
205
283
|
export declare enum GqlContractParametersVersion {
|
@@ -208,162 +286,165 @@ export declare enum GqlContractParametersVersion {
|
|
208
286
|
export type GqlDependentCost = GqlHeavyOperation | GqlLightOperation;
|
209
287
|
export type GqlDryRunFailureStatus = {
|
210
288
|
programState?: Maybe<GqlProgramState>;
|
211
|
-
reason: Scalars['String'];
|
289
|
+
reason: Scalars['String']['output'];
|
212
290
|
receipts: Array<GqlReceipt>;
|
213
|
-
totalFee: Scalars['U64'];
|
214
|
-
totalGas: Scalars['U64'];
|
291
|
+
totalFee: Scalars['U64']['output'];
|
292
|
+
totalGas: Scalars['U64']['output'];
|
215
293
|
};
|
216
294
|
export type GqlDryRunSuccessStatus = {
|
217
295
|
programState?: Maybe<GqlProgramState>;
|
218
296
|
receipts: Array<GqlReceipt>;
|
219
|
-
totalFee: Scalars['U64'];
|
220
|
-
totalGas: Scalars['U64'];
|
297
|
+
totalFee: Scalars['U64']['output'];
|
298
|
+
totalGas: Scalars['U64']['output'];
|
221
299
|
};
|
222
300
|
export type GqlDryRunTransactionExecutionStatus = {
|
223
|
-
id: Scalars['TransactionId'];
|
301
|
+
id: Scalars['TransactionId']['output'];
|
224
302
|
receipts: Array<GqlReceipt>;
|
225
303
|
status: GqlDryRunTransactionStatus;
|
226
304
|
};
|
227
305
|
export type GqlDryRunTransactionStatus = GqlDryRunFailureStatus | GqlDryRunSuccessStatus;
|
228
306
|
export type GqlEstimateGasPrice = {
|
229
|
-
gasPrice: Scalars['U64'];
|
307
|
+
gasPrice: Scalars['U64']['output'];
|
230
308
|
};
|
231
309
|
export type GqlExcludeInput = {
|
232
310
|
/** Messages to exclude from the selection. */
|
233
|
-
messages: Array<Scalars['Nonce']>;
|
311
|
+
messages: Array<Scalars['Nonce']['input']>;
|
234
312
|
/** Utxos to exclude from the selection. */
|
235
|
-
utxos: Array<Scalars['UtxoId']>;
|
313
|
+
utxos: Array<Scalars['UtxoId']['input']>;
|
236
314
|
};
|
237
315
|
export type GqlFailureStatus = {
|
238
316
|
block: GqlBlock;
|
239
317
|
programState?: Maybe<GqlProgramState>;
|
240
|
-
reason: Scalars['String'];
|
318
|
+
reason: Scalars['String']['output'];
|
241
319
|
receipts: Array<GqlReceipt>;
|
242
|
-
time: Scalars['Tai64Timestamp'];
|
243
|
-
totalFee: Scalars['U64'];
|
244
|
-
totalGas: Scalars['U64'];
|
245
|
-
transactionId: Scalars['TransactionId'];
|
320
|
+
time: Scalars['Tai64Timestamp']['output'];
|
321
|
+
totalFee: Scalars['U64']['output'];
|
322
|
+
totalGas: Scalars['U64']['output'];
|
323
|
+
transactionId: Scalars['TransactionId']['output'];
|
246
324
|
};
|
247
325
|
export type GqlFeeParameters = {
|
248
|
-
gasPerByte: Scalars['U64'];
|
249
|
-
gasPriceFactor: Scalars['U64'];
|
326
|
+
gasPerByte: Scalars['U64']['output'];
|
327
|
+
gasPriceFactor: Scalars['U64']['output'];
|
250
328
|
version: GqlFeeParametersVersion;
|
251
329
|
};
|
252
330
|
export declare enum GqlFeeParametersVersion {
|
253
331
|
V1 = "V1"
|
254
332
|
}
|
255
333
|
export type GqlGasCosts = {
|
256
|
-
add: Scalars['U64'];
|
257
|
-
addi: Scalars['U64'];
|
258
|
-
aloc: Scalars['U64'];
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
334
|
+
add: Scalars['U64']['output'];
|
335
|
+
addi: Scalars['U64']['output'];
|
336
|
+
aloc: Scalars['U64']['output'];
|
337
|
+
alocDependentCost: GqlDependentCost;
|
338
|
+
and: Scalars['U64']['output'];
|
339
|
+
andi: Scalars['U64']['output'];
|
340
|
+
bal: Scalars['U64']['output'];
|
341
|
+
bhei: Scalars['U64']['output'];
|
342
|
+
bhsh: Scalars['U64']['output'];
|
343
|
+
burn: Scalars['U64']['output'];
|
265
344
|
call: GqlDependentCost;
|
266
|
-
cb: Scalars['U64'];
|
345
|
+
cb: Scalars['U64']['output'];
|
267
346
|
ccp: GqlDependentCost;
|
268
|
-
|
269
|
-
|
347
|
+
cfe: GqlDependentCost;
|
348
|
+
cfei: Scalars['U64']['output'];
|
349
|
+
cfeiDependentCost: GqlDependentCost;
|
350
|
+
cfsi: Scalars['U64']['output'];
|
270
351
|
contractRoot: GqlDependentCost;
|
271
352
|
croo: GqlDependentCost;
|
272
353
|
csiz: GqlDependentCost;
|
273
|
-
div: Scalars['U64'];
|
274
|
-
divi: Scalars['U64'];
|
275
|
-
eck1: Scalars['U64'];
|
276
|
-
ecr1: Scalars['U64'];
|
277
|
-
ed19: Scalars['U64'];
|
278
|
-
eq: Scalars['U64'];
|
279
|
-
exp: Scalars['U64'];
|
280
|
-
expi: Scalars['U64'];
|
281
|
-
flag: Scalars['U64'];
|
282
|
-
gm: Scalars['U64'];
|
283
|
-
gt: Scalars['U64'];
|
284
|
-
gtf: Scalars['U64'];
|
285
|
-
ji: Scalars['U64'];
|
286
|
-
jmp: Scalars['U64'];
|
287
|
-
jmpb: Scalars['U64'];
|
288
|
-
jmpf: Scalars['U64'];
|
289
|
-
jne: Scalars['U64'];
|
290
|
-
jneb: Scalars['U64'];
|
291
|
-
jnef: Scalars['U64'];
|
292
|
-
jnei: Scalars['U64'];
|
293
|
-
jnzb: Scalars['U64'];
|
294
|
-
jnzf: Scalars['U64'];
|
295
|
-
jnzi: Scalars['U64'];
|
354
|
+
div: Scalars['U64']['output'];
|
355
|
+
divi: Scalars['U64']['output'];
|
356
|
+
eck1: Scalars['U64']['output'];
|
357
|
+
ecr1: Scalars['U64']['output'];
|
358
|
+
ed19: Scalars['U64']['output'];
|
359
|
+
eq: Scalars['U64']['output'];
|
360
|
+
exp: Scalars['U64']['output'];
|
361
|
+
expi: Scalars['U64']['output'];
|
362
|
+
flag: Scalars['U64']['output'];
|
363
|
+
gm: Scalars['U64']['output'];
|
364
|
+
gt: Scalars['U64']['output'];
|
365
|
+
gtf: Scalars['U64']['output'];
|
366
|
+
ji: Scalars['U64']['output'];
|
367
|
+
jmp: Scalars['U64']['output'];
|
368
|
+
jmpb: Scalars['U64']['output'];
|
369
|
+
jmpf: Scalars['U64']['output'];
|
370
|
+
jne: Scalars['U64']['output'];
|
371
|
+
jneb: Scalars['U64']['output'];
|
372
|
+
jnef: Scalars['U64']['output'];
|
373
|
+
jnei: Scalars['U64']['output'];
|
374
|
+
jnzb: Scalars['U64']['output'];
|
375
|
+
jnzf: Scalars['U64']['output'];
|
376
|
+
jnzi: Scalars['U64']['output'];
|
296
377
|
k256: GqlDependentCost;
|
297
|
-
lb: Scalars['U64'];
|
378
|
+
lb: Scalars['U64']['output'];
|
298
379
|
ldc: GqlDependentCost;
|
299
|
-
log: Scalars['U64'];
|
380
|
+
log: Scalars['U64']['output'];
|
300
381
|
logd: GqlDependentCost;
|
301
|
-
lt: Scalars['U64'];
|
302
|
-
lw: Scalars['U64'];
|
382
|
+
lt: Scalars['U64']['output'];
|
383
|
+
lw: Scalars['U64']['output'];
|
303
384
|
mcl: GqlDependentCost;
|
304
385
|
mcli: GqlDependentCost;
|
305
386
|
mcp: GqlDependentCost;
|
306
387
|
mcpi: GqlDependentCost;
|
307
388
|
meq: GqlDependentCost;
|
308
|
-
mint: Scalars['U64'];
|
309
|
-
mldv: Scalars['U64'];
|
310
|
-
mlog: Scalars['U64'];
|
311
|
-
modOp: Scalars['U64'];
|
312
|
-
modi: Scalars['U64'];
|
313
|
-
moveOp: Scalars['U64'];
|
314
|
-
movi: Scalars['U64'];
|
315
|
-
mroo: Scalars['U64'];
|
316
|
-
mul: Scalars['U64'];
|
317
|
-
muli: Scalars['U64'];
|
318
|
-
newStoragePerByte: Scalars['U64'];
|
319
|
-
noop: Scalars['U64'];
|
320
|
-
not: Scalars['U64'];
|
321
|
-
or: Scalars['U64'];
|
322
|
-
ori: Scalars['U64'];
|
323
|
-
poph: Scalars['U64'];
|
324
|
-
popl: Scalars['U64'];
|
325
|
-
pshh: Scalars['U64'];
|
326
|
-
pshl: Scalars['U64'];
|
327
|
-
ret: Scalars['U64'];
|
389
|
+
mint: Scalars['U64']['output'];
|
390
|
+
mldv: Scalars['U64']['output'];
|
391
|
+
mlog: Scalars['U64']['output'];
|
392
|
+
modOp: Scalars['U64']['output'];
|
393
|
+
modi: Scalars['U64']['output'];
|
394
|
+
moveOp: Scalars['U64']['output'];
|
395
|
+
movi: Scalars['U64']['output'];
|
396
|
+
mroo: Scalars['U64']['output'];
|
397
|
+
mul: Scalars['U64']['output'];
|
398
|
+
muli: Scalars['U64']['output'];
|
399
|
+
newStoragePerByte: Scalars['U64']['output'];
|
400
|
+
noop: Scalars['U64']['output'];
|
401
|
+
not: Scalars['U64']['output'];
|
402
|
+
or: Scalars['U64']['output'];
|
403
|
+
ori: Scalars['U64']['output'];
|
404
|
+
poph: Scalars['U64']['output'];
|
405
|
+
popl: Scalars['U64']['output'];
|
406
|
+
pshh: Scalars['U64']['output'];
|
407
|
+
pshl: Scalars['U64']['output'];
|
408
|
+
ret: Scalars['U64']['output'];
|
328
409
|
retd: GqlDependentCost;
|
329
|
-
rvrt: Scalars['U64'];
|
410
|
+
rvrt: Scalars['U64']['output'];
|
330
411
|
s256: GqlDependentCost;
|
331
|
-
sb: Scalars['U64'];
|
412
|
+
sb: Scalars['U64']['output'];
|
332
413
|
scwq: GqlDependentCost;
|
333
|
-
sll: Scalars['U64'];
|
334
|
-
slli: Scalars['U64'];
|
414
|
+
sll: Scalars['U64']['output'];
|
415
|
+
slli: Scalars['U64']['output'];
|
335
416
|
smo: GqlDependentCost;
|
336
|
-
srl: Scalars['U64'];
|
337
|
-
srli: Scalars['U64'];
|
338
|
-
srw: Scalars['U64'];
|
417
|
+
srl: Scalars['U64']['output'];
|
418
|
+
srli: Scalars['U64']['output'];
|
419
|
+
srw: Scalars['U64']['output'];
|
339
420
|
srwq: GqlDependentCost;
|
340
421
|
stateRoot: GqlDependentCost;
|
341
|
-
sub: Scalars['U64'];
|
342
|
-
subi: Scalars['U64'];
|
343
|
-
sw: Scalars['U64'];
|
344
|
-
sww: Scalars['U64'];
|
422
|
+
sub: Scalars['U64']['output'];
|
423
|
+
subi: Scalars['U64']['output'];
|
424
|
+
sw: Scalars['U64']['output'];
|
425
|
+
sww: Scalars['U64']['output'];
|
345
426
|
swwq: GqlDependentCost;
|
346
|
-
time: Scalars['U64'];
|
347
|
-
tr: Scalars['U64'];
|
348
|
-
tro: Scalars['U64'];
|
427
|
+
time: Scalars['U64']['output'];
|
428
|
+
tr: Scalars['U64']['output'];
|
429
|
+
tro: Scalars['U64']['output'];
|
349
430
|
version: GqlGasCostsVersion;
|
350
431
|
vmInitialization: GqlDependentCost;
|
351
|
-
wdam: Scalars['U64'];
|
352
|
-
wdcm: Scalars['U64'];
|
353
|
-
wddv: Scalars['U64'];
|
354
|
-
wdmd: Scalars['U64'];
|
355
|
-
wdml: Scalars['U64'];
|
356
|
-
wdmm: Scalars['U64'];
|
357
|
-
wdop: Scalars['U64'];
|
358
|
-
wqam: Scalars['U64'];
|
359
|
-
wqcm: Scalars['U64'];
|
360
|
-
wqdv: Scalars['U64'];
|
361
|
-
wqmd: Scalars['U64'];
|
362
|
-
wqml: Scalars['U64'];
|
363
|
-
wqmm: Scalars['U64'];
|
364
|
-
wqop: Scalars['U64'];
|
365
|
-
xor: Scalars['U64'];
|
366
|
-
xori: Scalars['U64'];
|
432
|
+
wdam: Scalars['U64']['output'];
|
433
|
+
wdcm: Scalars['U64']['output'];
|
434
|
+
wddv: Scalars['U64']['output'];
|
435
|
+
wdmd: Scalars['U64']['output'];
|
436
|
+
wdml: Scalars['U64']['output'];
|
437
|
+
wdmm: Scalars['U64']['output'];
|
438
|
+
wdop: Scalars['U64']['output'];
|
439
|
+
wqam: Scalars['U64']['output'];
|
440
|
+
wqcm: Scalars['U64']['output'];
|
441
|
+
wqdv: Scalars['U64']['output'];
|
442
|
+
wqmd: Scalars['U64']['output'];
|
443
|
+
wqml: Scalars['U64']['output'];
|
444
|
+
wqmm: Scalars['U64']['output'];
|
445
|
+
wqop: Scalars['U64']['output'];
|
446
|
+
xor: Scalars['U64']['output'];
|
447
|
+
xori: Scalars['U64']['output'];
|
367
448
|
};
|
368
449
|
export declare enum GqlGasCostsVersion {
|
369
450
|
V1 = "V1"
|
@@ -373,105 +454,110 @@ export type GqlGenesis = {
|
|
373
454
|
* The chain configs define what consensus type to use, what settlement layer to use,
|
374
455
|
* rules of block validity, etc.
|
375
456
|
*/
|
376
|
-
chainConfigHash: Scalars['Bytes32'];
|
457
|
+
chainConfigHash: Scalars['Bytes32']['output'];
|
377
458
|
/** The Binary Merkle Tree root of all genesis coins. */
|
378
|
-
coinsRoot: Scalars['Bytes32'];
|
459
|
+
coinsRoot: Scalars['Bytes32']['output'];
|
379
460
|
/** The Binary Merkle Tree root of state, balances, contracts code hash of each contract. */
|
380
|
-
contractsRoot: Scalars['Bytes32'];
|
461
|
+
contractsRoot: Scalars['Bytes32']['output'];
|
381
462
|
/** The Binary Merkle Tree root of all genesis messages. */
|
382
|
-
messagesRoot: Scalars['Bytes32'];
|
463
|
+
messagesRoot: Scalars['Bytes32']['output'];
|
383
464
|
/** The Binary Merkle Tree root of all processed transaction ids. */
|
384
|
-
transactionsRoot: Scalars['Bytes32'];
|
465
|
+
transactionsRoot: Scalars['Bytes32']['output'];
|
385
466
|
};
|
386
467
|
export type GqlHeader = {
|
387
468
|
/** Hash of the application header. */
|
388
|
-
applicationHash: Scalars['Bytes32'];
|
469
|
+
applicationHash: Scalars['Bytes32']['output'];
|
389
470
|
/** The version of the consensus parameters used to create this block. */
|
390
|
-
consensusParametersVersion: Scalars['U32'];
|
471
|
+
consensusParametersVersion: Scalars['U32']['output'];
|
391
472
|
/** The layer 1 height of messages and events to include since the last layer 1 block number. */
|
392
|
-
daHeight: Scalars['U64'];
|
473
|
+
daHeight: Scalars['U64']['output'];
|
393
474
|
/** Merkle root of inbox events in this block. */
|
394
|
-
eventInboxRoot: Scalars['Bytes32'];
|
475
|
+
eventInboxRoot: Scalars['Bytes32']['output'];
|
395
476
|
/** Fuel block height. */
|
396
|
-
height: Scalars['U32'];
|
477
|
+
height: Scalars['U32']['output'];
|
397
478
|
/** Hash of the header */
|
398
|
-
id: Scalars['BlockId'];
|
479
|
+
id: Scalars['BlockId']['output'];
|
399
480
|
/** Merkle root of message receipts in this block. */
|
400
|
-
messageOutboxRoot: Scalars['Bytes32'];
|
481
|
+
messageOutboxRoot: Scalars['Bytes32']['output'];
|
401
482
|
/** Number of message receipts in this block. */
|
402
|
-
messageReceiptCount: Scalars['U32'];
|
483
|
+
messageReceiptCount: Scalars['U32']['output'];
|
403
484
|
/** Merkle root of all previous block header hashes. */
|
404
|
-
prevRoot: Scalars['Bytes32'];
|
485
|
+
prevRoot: Scalars['Bytes32']['output'];
|
405
486
|
/** The version of the state transition bytecode used to create this block. */
|
406
|
-
stateTransitionBytecodeVersion: Scalars['U32'];
|
487
|
+
stateTransitionBytecodeVersion: Scalars['U32']['output'];
|
407
488
|
/** The block producer time. */
|
408
|
-
time: Scalars['Tai64Timestamp'];
|
489
|
+
time: Scalars['Tai64Timestamp']['output'];
|
409
490
|
/** Number of transactions in this block. */
|
410
|
-
transactionsCount: Scalars['U16'];
|
491
|
+
transactionsCount: Scalars['U16']['output'];
|
411
492
|
/** Merkle root of transactions. */
|
412
|
-
transactionsRoot: Scalars['Bytes32'];
|
493
|
+
transactionsRoot: Scalars['Bytes32']['output'];
|
494
|
+
/** Version of the header */
|
495
|
+
version: GqlHeaderVersion;
|
413
496
|
};
|
497
|
+
export declare enum GqlHeaderVersion {
|
498
|
+
V1 = "V1"
|
499
|
+
}
|
414
500
|
export type GqlHeavyOperation = {
|
415
|
-
base: Scalars['U64'];
|
416
|
-
gasPerUnit: Scalars['U64'];
|
501
|
+
base: Scalars['U64']['output'];
|
502
|
+
gasPerUnit: Scalars['U64']['output'];
|
417
503
|
};
|
418
504
|
export type GqlInput = GqlInputCoin | GqlInputContract | GqlInputMessage;
|
419
505
|
export type GqlInputCoin = {
|
420
|
-
amount: Scalars['U64'];
|
421
|
-
assetId: Scalars['AssetId'];
|
422
|
-
owner: Scalars['Address'];
|
423
|
-
predicate: Scalars['HexString'];
|
424
|
-
predicateData: Scalars['HexString'];
|
425
|
-
predicateGasUsed: Scalars['U64'];
|
426
|
-
txPointer: Scalars['TxPointer'];
|
427
|
-
utxoId: Scalars['UtxoId'];
|
428
|
-
witnessIndex: Scalars['Int'];
|
506
|
+
amount: Scalars['U64']['output'];
|
507
|
+
assetId: Scalars['AssetId']['output'];
|
508
|
+
owner: Scalars['Address']['output'];
|
509
|
+
predicate: Scalars['HexString']['output'];
|
510
|
+
predicateData: Scalars['HexString']['output'];
|
511
|
+
predicateGasUsed: Scalars['U64']['output'];
|
512
|
+
txPointer: Scalars['TxPointer']['output'];
|
513
|
+
utxoId: Scalars['UtxoId']['output'];
|
514
|
+
witnessIndex: Scalars['Int']['output'];
|
429
515
|
};
|
430
516
|
export type GqlInputContract = {
|
431
|
-
balanceRoot: Scalars['Bytes32'];
|
432
|
-
contractId: Scalars['ContractId'];
|
433
|
-
stateRoot: Scalars['Bytes32'];
|
434
|
-
txPointer: Scalars['TxPointer'];
|
435
|
-
utxoId: Scalars['UtxoId'];
|
517
|
+
balanceRoot: Scalars['Bytes32']['output'];
|
518
|
+
contractId: Scalars['ContractId']['output'];
|
519
|
+
stateRoot: Scalars['Bytes32']['output'];
|
520
|
+
txPointer: Scalars['TxPointer']['output'];
|
521
|
+
utxoId: Scalars['UtxoId']['output'];
|
436
522
|
};
|
437
523
|
export type GqlInputMessage = {
|
438
|
-
amount: Scalars['U64'];
|
439
|
-
data: Scalars['HexString'];
|
440
|
-
nonce: Scalars['Nonce'];
|
441
|
-
predicate: Scalars['HexString'];
|
442
|
-
predicateData: Scalars['HexString'];
|
443
|
-
predicateGasUsed: Scalars['U64'];
|
444
|
-
recipient: Scalars['Address'];
|
445
|
-
sender: Scalars['Address'];
|
446
|
-
witnessIndex: Scalars['U16'];
|
524
|
+
amount: Scalars['U64']['output'];
|
525
|
+
data: Scalars['HexString']['output'];
|
526
|
+
nonce: Scalars['Nonce']['output'];
|
527
|
+
predicate: Scalars['HexString']['output'];
|
528
|
+
predicateData: Scalars['HexString']['output'];
|
529
|
+
predicateGasUsed: Scalars['U64']['output'];
|
530
|
+
recipient: Scalars['Address']['output'];
|
531
|
+
sender: Scalars['Address']['output'];
|
532
|
+
witnessIndex: Scalars['U16']['output'];
|
447
533
|
};
|
448
534
|
export type GqlLatestGasPrice = {
|
449
|
-
blockHeight: Scalars['U32'];
|
450
|
-
gasPrice: Scalars['U64'];
|
535
|
+
blockHeight: Scalars['U32']['output'];
|
536
|
+
gasPrice: Scalars['U64']['output'];
|
451
537
|
};
|
452
538
|
export type GqlLightOperation = {
|
453
|
-
base: Scalars['U64'];
|
454
|
-
unitsPerGas: Scalars['U64'];
|
539
|
+
base: Scalars['U64']['output'];
|
540
|
+
unitsPerGas: Scalars['U64']['output'];
|
455
541
|
};
|
456
542
|
export type GqlMerkleProof = {
|
457
|
-
proofIndex: Scalars['U64'];
|
458
|
-
proofSet: Array<Scalars['Bytes32']>;
|
543
|
+
proofIndex: Scalars['U64']['output'];
|
544
|
+
proofSet: Array<Scalars['Bytes32']['output']>;
|
459
545
|
};
|
460
546
|
export type GqlMessage = {
|
461
|
-
amount: Scalars['U64'];
|
462
|
-
daHeight: Scalars['U64'];
|
463
|
-
data: Scalars['HexString'];
|
464
|
-
nonce: Scalars['Nonce'];
|
465
|
-
recipient: Scalars['Address'];
|
466
|
-
sender: Scalars['Address'];
|
547
|
+
amount: Scalars['U64']['output'];
|
548
|
+
daHeight: Scalars['U64']['output'];
|
549
|
+
data: Scalars['HexString']['output'];
|
550
|
+
nonce: Scalars['Nonce']['output'];
|
551
|
+
recipient: Scalars['Address']['output'];
|
552
|
+
sender: Scalars['Address']['output'];
|
467
553
|
};
|
468
554
|
export type GqlMessageCoin = {
|
469
|
-
amount: Scalars['U64'];
|
470
|
-
assetId: Scalars['AssetId'];
|
471
|
-
daHeight: Scalars['U64'];
|
472
|
-
nonce: Scalars['Nonce'];
|
473
|
-
recipient: Scalars['Address'];
|
474
|
-
sender: Scalars['Address'];
|
555
|
+
amount: Scalars['U64']['output'];
|
556
|
+
assetId: Scalars['AssetId']['output'];
|
557
|
+
daHeight: Scalars['U64']['output'];
|
558
|
+
nonce: Scalars['Nonce']['output'];
|
559
|
+
recipient: Scalars['Address']['output'];
|
560
|
+
sender: Scalars['Address']['output'];
|
475
561
|
};
|
476
562
|
export type GqlMessageConnection = {
|
477
563
|
/** A list of edges. */
|
@@ -484,20 +570,20 @@ export type GqlMessageConnection = {
|
|
484
570
|
/** An edge in a connection. */
|
485
571
|
export type GqlMessageEdge = {
|
486
572
|
/** A cursor for use in pagination */
|
487
|
-
cursor: Scalars['String'];
|
573
|
+
cursor: Scalars['String']['output'];
|
488
574
|
/** The item at the end of the edge */
|
489
575
|
node: GqlMessage;
|
490
576
|
};
|
491
577
|
export type GqlMessageProof = {
|
492
|
-
amount: Scalars['U64'];
|
578
|
+
amount: Scalars['U64']['output'];
|
493
579
|
blockProof: GqlMerkleProof;
|
494
580
|
commitBlockHeader: GqlHeader;
|
495
|
-
data: Scalars['HexString'];
|
581
|
+
data: Scalars['HexString']['output'];
|
496
582
|
messageBlockHeader: GqlHeader;
|
497
583
|
messageProof: GqlMerkleProof;
|
498
|
-
nonce: Scalars['Nonce'];
|
499
|
-
recipient: Scalars['Address'];
|
500
|
-
sender: Scalars['Address'];
|
584
|
+
nonce: Scalars['Nonce']['output'];
|
585
|
+
recipient: Scalars['Address']['output'];
|
586
|
+
sender: Scalars['Address']['output'];
|
501
587
|
};
|
502
588
|
export declare enum GqlMessageState {
|
503
589
|
NotFound = "NOT_FOUND",
|
@@ -516,29 +602,29 @@ export type GqlMutation = {
|
|
516
602
|
/** Execute a dry-run of multiple transactions using a fork of current state, no changes are committed. */
|
517
603
|
dryRun: Array<GqlDryRunTransactionExecutionStatus>;
|
518
604
|
/** End debugger session. */
|
519
|
-
endSession: Scalars['Boolean'];
|
605
|
+
endSession: Scalars['Boolean']['output'];
|
520
606
|
/** Execute a single fuel-asm instruction. */
|
521
|
-
execute: Scalars['Boolean'];
|
607
|
+
execute: Scalars['Boolean']['output'];
|
522
608
|
/**
|
523
609
|
* Sequentially produces `blocks_to_produce` blocks. The first block starts with
|
524
610
|
* `start_timestamp`. If the block production in the [`crate::service::Config`] is
|
525
611
|
* `Trigger::Interval { block_time }`, produces blocks with `block_time ` intervals between
|
526
612
|
* them. The `start_timestamp` is the timestamp in seconds.
|
527
613
|
*/
|
528
|
-
produceBlocks: Scalars['U32'];
|
614
|
+
produceBlocks: Scalars['U32']['output'];
|
529
615
|
/** Reset the VM instance to the initial state. */
|
530
|
-
reset: Scalars['Boolean'];
|
616
|
+
reset: Scalars['Boolean']['output'];
|
531
617
|
/** Set a breakpoint for a VM instance. */
|
532
|
-
setBreakpoint: Scalars['Boolean'];
|
618
|
+
setBreakpoint: Scalars['Boolean']['output'];
|
533
619
|
/** Set single-stepping mode for the VM instance. */
|
534
|
-
setSingleStepping: Scalars['Boolean'];
|
620
|
+
setSingleStepping: Scalars['Boolean']['output'];
|
535
621
|
/**
|
536
622
|
* Initialize a new debugger session, returning its ID.
|
537
623
|
* A new VM instance is spawned for each session.
|
538
624
|
* The session is run in a separate database transaction,
|
539
625
|
* on top of the most recent node state.
|
540
626
|
*/
|
541
|
-
startSession: Scalars['ID'];
|
627
|
+
startSession: Scalars['ID']['output'];
|
542
628
|
/**
|
543
629
|
* Run a single transaction in given session until it
|
544
630
|
* hits a breakpoint or completes.
|
@@ -552,48 +638,49 @@ export type GqlMutation = {
|
|
552
638
|
submit: GqlTransaction;
|
553
639
|
};
|
554
640
|
export type GqlMutationContinueTxArgs = {
|
555
|
-
id: Scalars['ID'];
|
641
|
+
id: Scalars['ID']['input'];
|
556
642
|
};
|
557
643
|
export type GqlMutationDryRunArgs = {
|
558
|
-
|
559
|
-
|
644
|
+
gasPrice?: InputMaybe<Scalars['U64']['input']>;
|
645
|
+
txs: Array<Scalars['HexString']['input']>;
|
646
|
+
utxoValidation?: InputMaybe<Scalars['Boolean']['input']>;
|
560
647
|
};
|
561
648
|
export type GqlMutationEndSessionArgs = {
|
562
|
-
id: Scalars['ID'];
|
649
|
+
id: Scalars['ID']['input'];
|
563
650
|
};
|
564
651
|
export type GqlMutationExecuteArgs = {
|
565
|
-
id: Scalars['ID'];
|
566
|
-
op: Scalars['String'];
|
652
|
+
id: Scalars['ID']['input'];
|
653
|
+
op: Scalars['String']['input'];
|
567
654
|
};
|
568
655
|
export type GqlMutationProduceBlocksArgs = {
|
569
|
-
blocksToProduce: Scalars['U32'];
|
570
|
-
startTimestamp?: InputMaybe<Scalars['Tai64Timestamp']>;
|
656
|
+
blocksToProduce: Scalars['U32']['input'];
|
657
|
+
startTimestamp?: InputMaybe<Scalars['Tai64Timestamp']['input']>;
|
571
658
|
};
|
572
659
|
export type GqlMutationResetArgs = {
|
573
|
-
id: Scalars['ID'];
|
660
|
+
id: Scalars['ID']['input'];
|
574
661
|
};
|
575
662
|
export type GqlMutationSetBreakpointArgs = {
|
576
663
|
breakpoint: GqlBreakpoint;
|
577
|
-
id: Scalars['ID'];
|
664
|
+
id: Scalars['ID']['input'];
|
578
665
|
};
|
579
666
|
export type GqlMutationSetSingleSteppingArgs = {
|
580
|
-
enable: Scalars['Boolean'];
|
581
|
-
id: Scalars['ID'];
|
667
|
+
enable: Scalars['Boolean']['input'];
|
668
|
+
id: Scalars['ID']['input'];
|
582
669
|
};
|
583
670
|
export type GqlMutationStartTxArgs = {
|
584
|
-
id: Scalars['ID'];
|
585
|
-
txJson: Scalars['String'];
|
671
|
+
id: Scalars['ID']['input'];
|
672
|
+
txJson: Scalars['String']['input'];
|
586
673
|
};
|
587
674
|
export type GqlMutationSubmitArgs = {
|
588
|
-
tx: Scalars['HexString'];
|
675
|
+
tx: Scalars['HexString']['input'];
|
589
676
|
};
|
590
677
|
export type GqlNodeInfo = {
|
591
|
-
maxDepth: Scalars['U64'];
|
592
|
-
maxTx: Scalars['U64'];
|
593
|
-
nodeVersion: Scalars['String'];
|
678
|
+
maxDepth: Scalars['U64']['output'];
|
679
|
+
maxTx: Scalars['U64']['output'];
|
680
|
+
nodeVersion: Scalars['String']['output'];
|
594
681
|
peers: Array<GqlPeerInfo>;
|
595
|
-
utxoValidation: Scalars['Boolean'];
|
596
|
-
vmBacktrace: Scalars['Boolean'];
|
682
|
+
utxoValidation: Scalars['Boolean']['output'];
|
683
|
+
vmBacktrace: Scalars['Boolean']['output'];
|
597
684
|
};
|
598
685
|
export type GqlOutput = GqlChangeOutput | GqlCoinOutput | GqlContractCreated | GqlContractOutput | GqlVariableOutput;
|
599
686
|
/**
|
@@ -601,56 +688,56 @@ export type GqlOutput = GqlChangeOutput | GqlCoinOutput | GqlContractCreated | G
|
|
601
688
|
* type cannot act as both input and output type in async-graphql
|
602
689
|
*/
|
603
690
|
export type GqlOutputBreakpoint = {
|
604
|
-
contract: Scalars['ContractId'];
|
605
|
-
pc: Scalars['U64'];
|
691
|
+
contract: Scalars['ContractId']['output'];
|
692
|
+
pc: Scalars['U64']['output'];
|
606
693
|
};
|
607
694
|
/** Information about pagination in a connection */
|
608
695
|
export type GqlPageInfo = {
|
609
696
|
/** When paginating forwards, the cursor to continue. */
|
610
|
-
endCursor?: Maybe<Scalars['String']>;
|
697
|
+
endCursor?: Maybe<Scalars['String']['output']>;
|
611
698
|
/** When paginating forwards, are there more items? */
|
612
|
-
hasNextPage: Scalars['Boolean'];
|
699
|
+
hasNextPage: Scalars['Boolean']['output'];
|
613
700
|
/** When paginating backwards, are there more items? */
|
614
|
-
hasPreviousPage: Scalars['Boolean'];
|
701
|
+
hasPreviousPage: Scalars['Boolean']['output'];
|
615
702
|
/** When paginating backwards, the cursor to continue. */
|
616
|
-
startCursor?: Maybe<Scalars['String']>;
|
703
|
+
startCursor?: Maybe<Scalars['String']['output']>;
|
617
704
|
};
|
618
705
|
export type GqlPeerInfo = {
|
619
706
|
/** The advertised multi-addrs that can be used to connect to this peer */
|
620
|
-
addresses: Array<Scalars['String']>;
|
707
|
+
addresses: Array<Scalars['String']['output']>;
|
621
708
|
/** The internal fuel p2p reputation of this peer */
|
622
|
-
appScore: Scalars['Float'];
|
709
|
+
appScore: Scalars['Float']['output'];
|
623
710
|
/** The last reported height of the peer */
|
624
|
-
blockHeight?: Maybe<Scalars['U32']>;
|
711
|
+
blockHeight?: Maybe<Scalars['U32']['output']>;
|
625
712
|
/** The self-reported version of the client the peer is using */
|
626
|
-
clientVersion?: Maybe<Scalars['String']>;
|
713
|
+
clientVersion?: Maybe<Scalars['String']['output']>;
|
627
714
|
/** The libp2p peer id */
|
628
|
-
id: Scalars['String'];
|
715
|
+
id: Scalars['String']['output'];
|
629
716
|
/** The last heartbeat from this peer in unix epoch time ms */
|
630
|
-
lastHeartbeatMs: Scalars['U64'];
|
717
|
+
lastHeartbeatMs: Scalars['U64']['output'];
|
631
718
|
};
|
632
719
|
export type GqlPoAConsensus = {
|
633
720
|
/** Gets the signature of the block produced by `PoA` consensus. */
|
634
|
-
signature: Scalars['Signature'];
|
721
|
+
signature: Scalars['Signature']['output'];
|
635
722
|
};
|
636
723
|
export type GqlPolicies = {
|
637
|
-
maturity?: Maybe<Scalars['U32']>;
|
638
|
-
maxFee?: Maybe<Scalars['U64']>;
|
639
|
-
tip?: Maybe<Scalars['U64']>;
|
640
|
-
witnessLimit?: Maybe<Scalars['U64']>;
|
724
|
+
maturity?: Maybe<Scalars['U32']['output']>;
|
725
|
+
maxFee?: Maybe<Scalars['U64']['output']>;
|
726
|
+
tip?: Maybe<Scalars['U64']['output']>;
|
727
|
+
witnessLimit?: Maybe<Scalars['U64']['output']>;
|
641
728
|
};
|
642
729
|
export type GqlPredicateParameters = {
|
643
|
-
maxGasPerPredicate: Scalars['U64'];
|
644
|
-
maxMessageDataLength: Scalars['U64'];
|
645
|
-
maxPredicateDataLength: Scalars['U64'];
|
646
|
-
maxPredicateLength: Scalars['U64'];
|
730
|
+
maxGasPerPredicate: Scalars['U64']['output'];
|
731
|
+
maxMessageDataLength: Scalars['U64']['output'];
|
732
|
+
maxPredicateDataLength: Scalars['U64']['output'];
|
733
|
+
maxPredicateLength: Scalars['U64']['output'];
|
647
734
|
version: GqlPredicateParametersVersion;
|
648
735
|
};
|
649
736
|
export declare enum GqlPredicateParametersVersion {
|
650
737
|
V1 = "V1"
|
651
738
|
}
|
652
739
|
export type GqlProgramState = {
|
653
|
-
data: Scalars['HexString'];
|
740
|
+
data: Scalars['HexString']['output'];
|
654
741
|
returnType: GqlReturnType;
|
655
742
|
};
|
656
743
|
export type GqlQuery = {
|
@@ -683,155 +770,155 @@ export type GqlQuery = {
|
|
683
770
|
/** Estimate the predicate gas for the provided transaction */
|
684
771
|
estimatePredicates: GqlTransaction;
|
685
772
|
/** Returns true when the GraphQL API is serving requests. */
|
686
|
-
health: Scalars['Boolean'];
|
773
|
+
health: Scalars['Boolean']['output'];
|
687
774
|
latestGasPrice: GqlLatestGasPrice;
|
688
775
|
/** Read read a range of memory bytes. */
|
689
|
-
memory: Scalars['String'];
|
776
|
+
memory: Scalars['String']['output'];
|
690
777
|
message?: Maybe<GqlMessage>;
|
691
778
|
messageProof?: Maybe<GqlMessageProof>;
|
692
779
|
messageStatus: GqlMessageStatus;
|
693
780
|
messages: GqlMessageConnection;
|
694
781
|
nodeInfo: GqlNodeInfo;
|
695
782
|
/** Read register value by index. */
|
696
|
-
register: Scalars['U64'];
|
783
|
+
register: Scalars['U64']['output'];
|
697
784
|
relayedTransactionStatus?: Maybe<GqlRelayedTransactionStatus>;
|
698
785
|
transaction?: Maybe<GqlTransaction>;
|
699
786
|
transactions: GqlTransactionConnection;
|
700
787
|
transactionsByOwner: GqlTransactionConnection;
|
701
788
|
};
|
702
789
|
export type GqlQueryBalanceArgs = {
|
703
|
-
assetId: Scalars['AssetId'];
|
704
|
-
owner: Scalars['Address'];
|
790
|
+
assetId: Scalars['AssetId']['input'];
|
791
|
+
owner: Scalars['Address']['input'];
|
705
792
|
};
|
706
793
|
export type GqlQueryBalancesArgs = {
|
707
|
-
after?: InputMaybe<Scalars['String']>;
|
708
|
-
before?: InputMaybe<Scalars['String']>;
|
794
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
795
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
709
796
|
filter: GqlBalanceFilterInput;
|
710
|
-
first?: InputMaybe<Scalars['Int']>;
|
711
|
-
last?: InputMaybe<Scalars['Int']>;
|
797
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
798
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
712
799
|
};
|
713
800
|
export type GqlQueryBlockArgs = {
|
714
|
-
height?: InputMaybe<Scalars['U32']>;
|
715
|
-
id?: InputMaybe<Scalars['BlockId']>;
|
801
|
+
height?: InputMaybe<Scalars['U32']['input']>;
|
802
|
+
id?: InputMaybe<Scalars['BlockId']['input']>;
|
716
803
|
};
|
717
804
|
export type GqlQueryBlocksArgs = {
|
718
|
-
after?: InputMaybe<Scalars['String']>;
|
719
|
-
before?: InputMaybe<Scalars['String']>;
|
720
|
-
first?: InputMaybe<Scalars['Int']>;
|
721
|
-
last?: InputMaybe<Scalars['Int']>;
|
805
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
806
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
807
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
808
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
722
809
|
};
|
723
810
|
export type GqlQueryCoinArgs = {
|
724
|
-
utxoId: Scalars['UtxoId'];
|
811
|
+
utxoId: Scalars['UtxoId']['input'];
|
725
812
|
};
|
726
813
|
export type GqlQueryCoinsArgs = {
|
727
|
-
after?: InputMaybe<Scalars['String']>;
|
728
|
-
before?: InputMaybe<Scalars['String']>;
|
814
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
815
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
729
816
|
filter: GqlCoinFilterInput;
|
730
|
-
first?: InputMaybe<Scalars['Int']>;
|
731
|
-
last?: InputMaybe<Scalars['Int']>;
|
817
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
818
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
732
819
|
};
|
733
820
|
export type GqlQueryCoinsToSpendArgs = {
|
734
821
|
excludedIds?: InputMaybe<GqlExcludeInput>;
|
735
|
-
owner: Scalars['Address'];
|
822
|
+
owner: Scalars['Address']['input'];
|
736
823
|
queryPerAsset: Array<GqlSpendQueryElementInput>;
|
737
824
|
};
|
738
825
|
export type GqlQueryContractArgs = {
|
739
|
-
id: Scalars['ContractId'];
|
826
|
+
id: Scalars['ContractId']['input'];
|
740
827
|
};
|
741
828
|
export type GqlQueryContractBalanceArgs = {
|
742
|
-
asset: Scalars['AssetId'];
|
743
|
-
contract: Scalars['ContractId'];
|
829
|
+
asset: Scalars['AssetId']['input'];
|
830
|
+
contract: Scalars['ContractId']['input'];
|
744
831
|
};
|
745
832
|
export type GqlQueryContractBalancesArgs = {
|
746
|
-
after?: InputMaybe<Scalars['String']>;
|
747
|
-
before?: InputMaybe<Scalars['String']>;
|
833
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
834
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
748
835
|
filter: GqlContractBalanceFilterInput;
|
749
|
-
first?: InputMaybe<Scalars['Int']>;
|
750
|
-
last?: InputMaybe<Scalars['Int']>;
|
836
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
837
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
751
838
|
};
|
752
839
|
export type GqlQueryEstimateGasPriceArgs = {
|
753
|
-
blockHorizon?: InputMaybe<Scalars['U32']>;
|
840
|
+
blockHorizon?: InputMaybe<Scalars['U32']['input']>;
|
754
841
|
};
|
755
842
|
export type GqlQueryEstimatePredicatesArgs = {
|
756
|
-
tx: Scalars['HexString'];
|
843
|
+
tx: Scalars['HexString']['input'];
|
757
844
|
};
|
758
845
|
export type GqlQueryMemoryArgs = {
|
759
|
-
id: Scalars['ID'];
|
760
|
-
size: Scalars['U32'];
|
761
|
-
start: Scalars['U32'];
|
846
|
+
id: Scalars['ID']['input'];
|
847
|
+
size: Scalars['U32']['input'];
|
848
|
+
start: Scalars['U32']['input'];
|
762
849
|
};
|
763
850
|
export type GqlQueryMessageArgs = {
|
764
|
-
nonce: Scalars['Nonce'];
|
851
|
+
nonce: Scalars['Nonce']['input'];
|
765
852
|
};
|
766
853
|
export type GqlQueryMessageProofArgs = {
|
767
|
-
commitBlockHeight?: InputMaybe<Scalars['U32']>;
|
768
|
-
commitBlockId?: InputMaybe<Scalars['BlockId']>;
|
769
|
-
nonce: Scalars['Nonce'];
|
770
|
-
transactionId: Scalars['TransactionId'];
|
854
|
+
commitBlockHeight?: InputMaybe<Scalars['U32']['input']>;
|
855
|
+
commitBlockId?: InputMaybe<Scalars['BlockId']['input']>;
|
856
|
+
nonce: Scalars['Nonce']['input'];
|
857
|
+
transactionId: Scalars['TransactionId']['input'];
|
771
858
|
};
|
772
859
|
export type GqlQueryMessageStatusArgs = {
|
773
|
-
nonce: Scalars['Nonce'];
|
860
|
+
nonce: Scalars['Nonce']['input'];
|
774
861
|
};
|
775
862
|
export type GqlQueryMessagesArgs = {
|
776
|
-
after?: InputMaybe<Scalars['String']>;
|
777
|
-
before?: InputMaybe<Scalars['String']>;
|
778
|
-
first?: InputMaybe<Scalars['Int']>;
|
779
|
-
last?: InputMaybe<Scalars['Int']>;
|
780
|
-
owner?: InputMaybe<Scalars['Address']>;
|
863
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
864
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
865
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
866
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
867
|
+
owner?: InputMaybe<Scalars['Address']['input']>;
|
781
868
|
};
|
782
869
|
export type GqlQueryRegisterArgs = {
|
783
|
-
id: Scalars['ID'];
|
784
|
-
register: Scalars['U32'];
|
870
|
+
id: Scalars['ID']['input'];
|
871
|
+
register: Scalars['U32']['input'];
|
785
872
|
};
|
786
873
|
export type GqlQueryRelayedTransactionStatusArgs = {
|
787
|
-
id: Scalars['RelayedTransactionId'];
|
874
|
+
id: Scalars['RelayedTransactionId']['input'];
|
788
875
|
};
|
789
876
|
export type GqlQueryTransactionArgs = {
|
790
|
-
id: Scalars['TransactionId'];
|
877
|
+
id: Scalars['TransactionId']['input'];
|
791
878
|
};
|
792
879
|
export type GqlQueryTransactionsArgs = {
|
793
|
-
after?: InputMaybe<Scalars['String']>;
|
794
|
-
before?: InputMaybe<Scalars['String']>;
|
795
|
-
first?: InputMaybe<Scalars['Int']>;
|
796
|
-
last?: InputMaybe<Scalars['Int']>;
|
880
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
881
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
882
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
883
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
797
884
|
};
|
798
885
|
export type GqlQueryTransactionsByOwnerArgs = {
|
799
|
-
after?: InputMaybe<Scalars['String']>;
|
800
|
-
before?: InputMaybe<Scalars['String']>;
|
801
|
-
first?: InputMaybe<Scalars['Int']>;
|
802
|
-
last?: InputMaybe<Scalars['Int']>;
|
803
|
-
owner: Scalars['Address'];
|
886
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
887
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
888
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
889
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
890
|
+
owner: Scalars['Address']['input'];
|
804
891
|
};
|
805
892
|
export type GqlReceipt = {
|
806
|
-
amount?: Maybe<Scalars['U64']>;
|
807
|
-
assetId?: Maybe<Scalars['AssetId']>;
|
893
|
+
amount?: Maybe<Scalars['U64']['output']>;
|
894
|
+
assetId?: Maybe<Scalars['AssetId']['output']>;
|
808
895
|
/** Set in the case of a Panic receipt to indicate a missing contract input id */
|
809
|
-
contractId?: Maybe<Scalars['ContractId']>;
|
810
|
-
data?: Maybe<Scalars['HexString']>;
|
811
|
-
digest?: Maybe<Scalars['Bytes32']>;
|
812
|
-
gas?: Maybe<Scalars['U64']>;
|
813
|
-
gasUsed?: Maybe<Scalars['U64']>;
|
814
|
-
id?: Maybe<Scalars['ContractId']>;
|
815
|
-
is?: Maybe<Scalars['U64']>;
|
816
|
-
len?: Maybe<Scalars['U64']>;
|
817
|
-
nonce?: Maybe<Scalars['Nonce']>;
|
818
|
-
param1?: Maybe<Scalars['U64']>;
|
819
|
-
param2?: Maybe<Scalars['U64']>;
|
820
|
-
pc?: Maybe<Scalars['U64']>;
|
821
|
-
ptr?: Maybe<Scalars['U64']>;
|
822
|
-
ra?: Maybe<Scalars['U64']>;
|
823
|
-
rb?: Maybe<Scalars['U64']>;
|
824
|
-
rc?: Maybe<Scalars['U64']>;
|
825
|
-
rd?: Maybe<Scalars['U64']>;
|
826
|
-
reason?: Maybe<Scalars['U64']>;
|
896
|
+
contractId?: Maybe<Scalars['ContractId']['output']>;
|
897
|
+
data?: Maybe<Scalars['HexString']['output']>;
|
898
|
+
digest?: Maybe<Scalars['Bytes32']['output']>;
|
899
|
+
gas?: Maybe<Scalars['U64']['output']>;
|
900
|
+
gasUsed?: Maybe<Scalars['U64']['output']>;
|
901
|
+
id?: Maybe<Scalars['ContractId']['output']>;
|
902
|
+
is?: Maybe<Scalars['U64']['output']>;
|
903
|
+
len?: Maybe<Scalars['U64']['output']>;
|
904
|
+
nonce?: Maybe<Scalars['Nonce']['output']>;
|
905
|
+
param1?: Maybe<Scalars['U64']['output']>;
|
906
|
+
param2?: Maybe<Scalars['U64']['output']>;
|
907
|
+
pc?: Maybe<Scalars['U64']['output']>;
|
908
|
+
ptr?: Maybe<Scalars['U64']['output']>;
|
909
|
+
ra?: Maybe<Scalars['U64']['output']>;
|
910
|
+
rb?: Maybe<Scalars['U64']['output']>;
|
911
|
+
rc?: Maybe<Scalars['U64']['output']>;
|
912
|
+
rd?: Maybe<Scalars['U64']['output']>;
|
913
|
+
reason?: Maybe<Scalars['U64']['output']>;
|
827
914
|
receiptType: GqlReceiptType;
|
828
|
-
recipient?: Maybe<Scalars['Address']>;
|
829
|
-
result?: Maybe<Scalars['U64']>;
|
830
|
-
sender?: Maybe<Scalars['Address']>;
|
831
|
-
subId?: Maybe<Scalars['Bytes32']>;
|
832
|
-
to?: Maybe<Scalars['ContractId']>;
|
833
|
-
toAddress?: Maybe<Scalars['Address']>;
|
834
|
-
val?: Maybe<Scalars['U64']>;
|
915
|
+
recipient?: Maybe<Scalars['Address']['output']>;
|
916
|
+
result?: Maybe<Scalars['U64']['output']>;
|
917
|
+
sender?: Maybe<Scalars['Address']['output']>;
|
918
|
+
subId?: Maybe<Scalars['Bytes32']['output']>;
|
919
|
+
to?: Maybe<Scalars['ContractId']['output']>;
|
920
|
+
toAddress?: Maybe<Scalars['Address']['output']>;
|
921
|
+
val?: Maybe<Scalars['U64']['output']>;
|
835
922
|
};
|
836
923
|
export declare enum GqlReceiptType {
|
837
924
|
Burn = "BURN",
|
@@ -849,8 +936,8 @@ export declare enum GqlReceiptType {
|
|
849
936
|
TransferOut = "TRANSFER_OUT"
|
850
937
|
}
|
851
938
|
export type GqlRelayedTransactionFailed = {
|
852
|
-
blockHeight: Scalars['U32'];
|
853
|
-
failure: Scalars['String'];
|
939
|
+
blockHeight: Scalars['U32']['output'];
|
940
|
+
failure: Scalars['String']['output'];
|
854
941
|
};
|
855
942
|
export type GqlRelayedTransactionStatus = GqlRelayedTransactionFailed;
|
856
943
|
export declare enum GqlReturnType {
|
@@ -860,7 +947,7 @@ export declare enum GqlReturnType {
|
|
860
947
|
}
|
861
948
|
export type GqlRunResult = {
|
862
949
|
breakpoint?: Maybe<GqlOutputBreakpoint>;
|
863
|
-
jsonReceipts: Array<Scalars['String']>;
|
950
|
+
jsonReceipts: Array<Scalars['String']['output']>;
|
864
951
|
state: GqlRunState;
|
865
952
|
};
|
866
953
|
export declare enum GqlRunState {
|
@@ -870,8 +957,8 @@ export declare enum GqlRunState {
|
|
870
957
|
Completed = "COMPLETED"
|
871
958
|
}
|
872
959
|
export type GqlScriptParameters = {
|
873
|
-
maxScriptDataLength: Scalars['U64'];
|
874
|
-
maxScriptLength: Scalars['U64'];
|
960
|
+
maxScriptDataLength: Scalars['U64']['output'];
|
961
|
+
maxScriptLength: Scalars['U64']['output'];
|
875
962
|
version: GqlScriptParametersVersion;
|
876
963
|
};
|
877
964
|
export declare enum GqlScriptParametersVersion {
|
@@ -879,20 +966,20 @@ export declare enum GqlScriptParametersVersion {
|
|
879
966
|
}
|
880
967
|
export type GqlSpendQueryElementInput = {
|
881
968
|
/** Target amount for the query. */
|
882
|
-
amount: Scalars['U64'];
|
969
|
+
amount: Scalars['U64']['input'];
|
883
970
|
/** Identifier of the asset to spend. */
|
884
|
-
assetId: Scalars['AssetId'];
|
971
|
+
assetId: Scalars['AssetId']['input'];
|
885
972
|
/** The maximum number of currencies for selection. */
|
886
|
-
max?: InputMaybe<Scalars['U32']>;
|
973
|
+
max?: InputMaybe<Scalars['U32']['input']>;
|
887
974
|
};
|
888
975
|
export type GqlSqueezedOutStatus = {
|
889
|
-
reason: Scalars['String'];
|
976
|
+
reason: Scalars['String']['output'];
|
890
977
|
};
|
891
978
|
export type GqlStateTransitionPurpose = {
|
892
|
-
root: Scalars['Bytes32'];
|
979
|
+
root: Scalars['Bytes32']['output'];
|
893
980
|
};
|
894
981
|
export type GqlSubmittedStatus = {
|
895
|
-
time: Scalars['Tai64Timestamp'];
|
982
|
+
time: Scalars['Tai64Timestamp']['output'];
|
896
983
|
};
|
897
984
|
export type GqlSubscription = {
|
898
985
|
/**
|
@@ -914,55 +1001,55 @@ export type GqlSubscription = {
|
|
914
1001
|
submitAndAwait: GqlTransactionStatus;
|
915
1002
|
};
|
916
1003
|
export type GqlSubscriptionStatusChangeArgs = {
|
917
|
-
id: Scalars['TransactionId'];
|
1004
|
+
id: Scalars['TransactionId']['input'];
|
918
1005
|
};
|
919
1006
|
export type GqlSubscriptionSubmitAndAwaitArgs = {
|
920
|
-
tx: Scalars['HexString'];
|
1007
|
+
tx: Scalars['HexString']['input'];
|
921
1008
|
};
|
922
1009
|
export type GqlSuccessStatus = {
|
923
1010
|
block: GqlBlock;
|
924
1011
|
programState?: Maybe<GqlProgramState>;
|
925
1012
|
receipts: Array<GqlReceipt>;
|
926
|
-
time: Scalars['Tai64Timestamp'];
|
927
|
-
totalFee: Scalars['U64'];
|
928
|
-
totalGas: Scalars['U64'];
|
929
|
-
transactionId: Scalars['TransactionId'];
|
1013
|
+
time: Scalars['Tai64Timestamp']['output'];
|
1014
|
+
totalFee: Scalars['U64']['output'];
|
1015
|
+
totalGas: Scalars['U64']['output'];
|
1016
|
+
transactionId: Scalars['TransactionId']['output'];
|
930
1017
|
};
|
931
1018
|
export type GqlTransaction = {
|
932
|
-
bytecodeRoot?: Maybe<Scalars['Bytes32']>;
|
933
|
-
bytecodeWitnessIndex?: Maybe<Scalars['U16']>;
|
934
|
-
id: Scalars['TransactionId'];
|
935
|
-
inputAssetIds?: Maybe<Array<Scalars['AssetId']>>;
|
1019
|
+
bytecodeRoot?: Maybe<Scalars['Bytes32']['output']>;
|
1020
|
+
bytecodeWitnessIndex?: Maybe<Scalars['U16']['output']>;
|
1021
|
+
id: Scalars['TransactionId']['output'];
|
1022
|
+
inputAssetIds?: Maybe<Array<Scalars['AssetId']['output']>>;
|
936
1023
|
inputContract?: Maybe<GqlInputContract>;
|
937
|
-
inputContracts?: Maybe<Array<Scalars['ContractId']>>;
|
1024
|
+
inputContracts?: Maybe<Array<Scalars['ContractId']['output']>>;
|
938
1025
|
inputs?: Maybe<Array<GqlInput>>;
|
939
|
-
isCreate: Scalars['Boolean'];
|
940
|
-
isMint: Scalars['Boolean'];
|
941
|
-
isScript: Scalars['Boolean'];
|
942
|
-
isUpgrade: Scalars['Boolean'];
|
943
|
-
isUpload: Scalars['Boolean'];
|
944
|
-
maturity?: Maybe<Scalars['U32']>;
|
945
|
-
mintAmount?: Maybe<Scalars['U64']>;
|
946
|
-
mintAssetId?: Maybe<Scalars['AssetId']>;
|
947
|
-
mintGasPrice?: Maybe<Scalars['U64']>;
|
1026
|
+
isCreate: Scalars['Boolean']['output'];
|
1027
|
+
isMint: Scalars['Boolean']['output'];
|
1028
|
+
isScript: Scalars['Boolean']['output'];
|
1029
|
+
isUpgrade: Scalars['Boolean']['output'];
|
1030
|
+
isUpload: Scalars['Boolean']['output'];
|
1031
|
+
maturity?: Maybe<Scalars['U32']['output']>;
|
1032
|
+
mintAmount?: Maybe<Scalars['U64']['output']>;
|
1033
|
+
mintAssetId?: Maybe<Scalars['AssetId']['output']>;
|
1034
|
+
mintGasPrice?: Maybe<Scalars['U64']['output']>;
|
948
1035
|
outputContract?: Maybe<GqlContractOutput>;
|
949
1036
|
outputs: Array<GqlOutput>;
|
950
1037
|
policies?: Maybe<GqlPolicies>;
|
951
|
-
proofSet?: Maybe<Array<Scalars['Bytes32']>>;
|
1038
|
+
proofSet?: Maybe<Array<Scalars['Bytes32']['output']>>;
|
952
1039
|
/** Return the transaction bytes using canonical encoding */
|
953
|
-
rawPayload: Scalars['HexString'];
|
954
|
-
receiptsRoot?: Maybe<Scalars['Bytes32']>;
|
955
|
-
salt?: Maybe<Scalars['Salt']>;
|
956
|
-
script?: Maybe<Scalars['HexString']>;
|
957
|
-
scriptData?: Maybe<Scalars['HexString']>;
|
958
|
-
scriptGasLimit?: Maybe<Scalars['U64']>;
|
1040
|
+
rawPayload: Scalars['HexString']['output'];
|
1041
|
+
receiptsRoot?: Maybe<Scalars['Bytes32']['output']>;
|
1042
|
+
salt?: Maybe<Scalars['Salt']['output']>;
|
1043
|
+
script?: Maybe<Scalars['HexString']['output']>;
|
1044
|
+
scriptData?: Maybe<Scalars['HexString']['output']>;
|
1045
|
+
scriptGasLimit?: Maybe<Scalars['U64']['output']>;
|
959
1046
|
status?: Maybe<GqlTransactionStatus>;
|
960
|
-
storageSlots?: Maybe<Array<Scalars['HexString']>>;
|
961
|
-
subsectionIndex?: Maybe<Scalars['U16']>;
|
962
|
-
subsectionsNumber?: Maybe<Scalars['U16']>;
|
963
|
-
txPointer?: Maybe<Scalars['TxPointer']>;
|
1047
|
+
storageSlots?: Maybe<Array<Scalars['HexString']['output']>>;
|
1048
|
+
subsectionIndex?: Maybe<Scalars['U16']['output']>;
|
1049
|
+
subsectionsNumber?: Maybe<Scalars['U16']['output']>;
|
1050
|
+
txPointer?: Maybe<Scalars['TxPointer']['output']>;
|
964
1051
|
upgradePurpose?: Maybe<GqlUpgradePurpose>;
|
965
|
-
witnesses?: Maybe<Array<Scalars['HexString']>>;
|
1052
|
+
witnesses?: Maybe<Array<Scalars['HexString']['output']>>;
|
966
1053
|
};
|
967
1054
|
export type GqlTransactionConnection = {
|
968
1055
|
/** A list of edges. */
|
@@ -975,18 +1062,18 @@ export type GqlTransactionConnection = {
|
|
975
1062
|
/** An edge in a connection. */
|
976
1063
|
export type GqlTransactionEdge = {
|
977
1064
|
/** A cursor for use in pagination */
|
978
|
-
cursor: Scalars['String'];
|
1065
|
+
cursor: Scalars['String']['output'];
|
979
1066
|
/** The item at the end of the edge */
|
980
1067
|
node: GqlTransaction;
|
981
1068
|
};
|
982
1069
|
export type GqlTransactionStatus = GqlFailureStatus | GqlSqueezedOutStatus | GqlSubmittedStatus | GqlSuccessStatus;
|
983
1070
|
export type GqlTxParameters = {
|
984
|
-
maxBytecodeSubsections: Scalars['U16'];
|
985
|
-
maxGasPerTx: Scalars['U64'];
|
986
|
-
maxInputs: Scalars['U16'];
|
987
|
-
maxOutputs: Scalars['U16'];
|
988
|
-
maxSize: Scalars['U64'];
|
989
|
-
maxWitnesses: Scalars['U32'];
|
1071
|
+
maxBytecodeSubsections: Scalars['U16']['output'];
|
1072
|
+
maxGasPerTx: Scalars['U64']['output'];
|
1073
|
+
maxInputs: Scalars['U16']['output'];
|
1074
|
+
maxOutputs: Scalars['U16']['output'];
|
1075
|
+
maxSize: Scalars['U64']['output'];
|
1076
|
+
maxWitnesses: Scalars['U32']['output'];
|
990
1077
|
version: GqlTxParametersVersion;
|
991
1078
|
};
|
992
1079
|
export declare enum GqlTxParametersVersion {
|
@@ -994,9 +1081,9 @@ export declare enum GqlTxParametersVersion {
|
|
994
1081
|
}
|
995
1082
|
export type GqlUpgradePurpose = GqlConsensusParametersPurpose | GqlStateTransitionPurpose;
|
996
1083
|
export type GqlVariableOutput = {
|
997
|
-
amount: Scalars['U64'];
|
998
|
-
assetId: Scalars['AssetId'];
|
999
|
-
to: Scalars['Address'];
|
1084
|
+
amount: Scalars['U64']['output'];
|
1085
|
+
assetId: Scalars['AssetId']['output'];
|
1086
|
+
to: Scalars['Address']['output'];
|
1000
1087
|
};
|
1001
1088
|
export type GqlSubmittedStatusFragment = {
|
1002
1089
|
time: string;
|
@@ -1089,7 +1176,7 @@ export type GqlSqueezedOutStatusFragment = {
|
|
1089
1176
|
reason: string;
|
1090
1177
|
type: 'SqueezedOutStatus';
|
1091
1178
|
};
|
1092
|
-
type
|
1179
|
+
type GqlTransactionStatusFragment_FailureStatus = {
|
1093
1180
|
totalGas: string;
|
1094
1181
|
totalFee: string;
|
1095
1182
|
time: string;
|
@@ -1129,15 +1216,15 @@ type GqlTransactionStatusFragment_FailureStatus_ = {
|
|
1129
1216
|
subId?: string | null;
|
1130
1217
|
}>;
|
1131
1218
|
};
|
1132
|
-
type
|
1219
|
+
type GqlTransactionStatusFragment_SqueezedOutStatus = {
|
1133
1220
|
reason: string;
|
1134
1221
|
type: 'SqueezedOutStatus';
|
1135
1222
|
};
|
1136
|
-
type
|
1223
|
+
type GqlTransactionStatusFragment_SubmittedStatus = {
|
1137
1224
|
time: string;
|
1138
1225
|
type: 'SubmittedStatus';
|
1139
1226
|
};
|
1140
|
-
type
|
1227
|
+
type GqlTransactionStatusFragment_SuccessStatus = {
|
1141
1228
|
time: string;
|
1142
1229
|
totalGas: string;
|
1143
1230
|
totalFee: string;
|
@@ -1180,21 +1267,21 @@ type GqlTransactionStatusFragment_SuccessStatus_ = {
|
|
1180
1267
|
subId?: string | null;
|
1181
1268
|
}>;
|
1182
1269
|
};
|
1183
|
-
export type GqlTransactionStatusFragment =
|
1184
|
-
type
|
1270
|
+
export type GqlTransactionStatusFragment = GqlTransactionStatusFragment_FailureStatus | GqlTransactionStatusFragment_SqueezedOutStatus | GqlTransactionStatusFragment_SubmittedStatus | GqlTransactionStatusFragment_SuccessStatus;
|
1271
|
+
type GqlTransactionStatusSubscriptionFragment_FailureStatus = {
|
1185
1272
|
type: 'FailureStatus';
|
1186
1273
|
};
|
1187
|
-
type
|
1274
|
+
type GqlTransactionStatusSubscriptionFragment_SqueezedOutStatus = {
|
1188
1275
|
reason: string;
|
1189
1276
|
type: 'SqueezedOutStatus';
|
1190
1277
|
};
|
1191
|
-
type
|
1278
|
+
type GqlTransactionStatusSubscriptionFragment_SubmittedStatus = {
|
1192
1279
|
type: 'SubmittedStatus';
|
1193
1280
|
};
|
1194
|
-
type
|
1281
|
+
type GqlTransactionStatusSubscriptionFragment_SuccessStatus = {
|
1195
1282
|
type: 'SuccessStatus';
|
1196
1283
|
};
|
1197
|
-
export type GqlTransactionStatusSubscriptionFragment =
|
1284
|
+
export type GqlTransactionStatusSubscriptionFragment = GqlTransactionStatusSubscriptionFragment_FailureStatus | GqlTransactionStatusSubscriptionFragment_SqueezedOutStatus | GqlTransactionStatusSubscriptionFragment_SubmittedStatus | GqlTransactionStatusSubscriptionFragment_SuccessStatus;
|
1198
1285
|
export type GqlTransactionFragment = {
|
1199
1286
|
id: string;
|
1200
1287
|
rawPayload: string;
|
@@ -1287,14 +1374,14 @@ export type GqlTransactionFragment = {
|
|
1287
1374
|
}>;
|
1288
1375
|
} | null;
|
1289
1376
|
};
|
1290
|
-
type
|
1377
|
+
type GqlInputEstimatePredicatesFragment_InputCoin = {
|
1291
1378
|
predicateGasUsed: string;
|
1292
1379
|
};
|
1293
|
-
type
|
1294
|
-
type
|
1380
|
+
type GqlInputEstimatePredicatesFragment_InputContract = {};
|
1381
|
+
type GqlInputEstimatePredicatesFragment_InputMessage = {
|
1295
1382
|
predicateGasUsed: string;
|
1296
1383
|
};
|
1297
|
-
export type GqlInputEstimatePredicatesFragment =
|
1384
|
+
export type GqlInputEstimatePredicatesFragment = GqlInputEstimatePredicatesFragment_InputCoin | GqlInputEstimatePredicatesFragment_InputContract | GqlInputEstimatePredicatesFragment_InputMessage;
|
1298
1385
|
export type GqlTransactionEstimatePredicatesFragment = {
|
1299
1386
|
inputs?: Array<{
|
1300
1387
|
predicateGasUsed: string;
|
@@ -1351,7 +1438,7 @@ export type GqlReceiptFragment = {
|
|
1351
1438
|
contractId?: string | null;
|
1352
1439
|
subId?: string | null;
|
1353
1440
|
};
|
1354
|
-
type
|
1441
|
+
type GqlDryRunTransactionStatusFragment_DryRunFailureStatus = {
|
1355
1442
|
totalGas: string;
|
1356
1443
|
totalFee: string;
|
1357
1444
|
reason: string;
|
@@ -1361,7 +1448,7 @@ type GqlDryRunTransactionStatusFragment_DryRunFailureStatus_ = {
|
|
1361
1448
|
data: string;
|
1362
1449
|
} | null;
|
1363
1450
|
};
|
1364
|
-
type
|
1451
|
+
type GqlDryRunTransactionStatusFragment_DryRunSuccessStatus = {
|
1365
1452
|
totalGas: string;
|
1366
1453
|
totalFee: string;
|
1367
1454
|
type: 'DryRunSuccessStatus';
|
@@ -1370,7 +1457,7 @@ type GqlDryRunTransactionStatusFragment_DryRunSuccessStatus_ = {
|
|
1370
1457
|
data: string;
|
1371
1458
|
} | null;
|
1372
1459
|
};
|
1373
|
-
export type GqlDryRunTransactionStatusFragment =
|
1460
|
+
export type GqlDryRunTransactionStatusFragment = GqlDryRunTransactionStatusFragment_DryRunFailureStatus | GqlDryRunTransactionStatusFragment_DryRunSuccessStatus;
|
1374
1461
|
export type GqlDryRunTransactionExecutionStatusFragment = {
|
1375
1462
|
id: string;
|
1376
1463
|
status: {
|
@@ -1473,6 +1560,7 @@ export type GqlMessageProofFragment = {
|
|
1473
1560
|
proofIndex: string;
|
1474
1561
|
};
|
1475
1562
|
messageBlockHeader: {
|
1563
|
+
version: GqlHeaderVersion;
|
1476
1564
|
id: string;
|
1477
1565
|
daHeight: string;
|
1478
1566
|
consensusParametersVersion: string;
|
@@ -1488,6 +1576,7 @@ export type GqlMessageProofFragment = {
|
|
1488
1576
|
applicationHash: string;
|
1489
1577
|
};
|
1490
1578
|
commitBlockHeader: {
|
1579
|
+
version: GqlHeaderVersion;
|
1491
1580
|
id: string;
|
1492
1581
|
daHeight: string;
|
1493
1582
|
consensusParametersVersion: string;
|
@@ -1539,17 +1628,17 @@ export type GqlFeeParametersFragment = {
|
|
1539
1628
|
gasPriceFactor: string;
|
1540
1629
|
gasPerByte: string;
|
1541
1630
|
};
|
1542
|
-
type
|
1631
|
+
type GqlDependentCostFragment_HeavyOperation = {
|
1543
1632
|
base: string;
|
1544
1633
|
gasPerUnit: string;
|
1545
1634
|
type: 'HeavyOperation';
|
1546
1635
|
};
|
1547
|
-
type
|
1636
|
+
type GqlDependentCostFragment_LightOperation = {
|
1548
1637
|
base: string;
|
1549
1638
|
unitsPerGas: string;
|
1550
1639
|
type: 'LightOperation';
|
1551
1640
|
};
|
1552
|
-
export type GqlDependentCostFragment =
|
1641
|
+
export type GqlDependentCostFragment = GqlDependentCostFragment_HeavyOperation | GqlDependentCostFragment_LightOperation;
|
1553
1642
|
export type GqlGasCostsFragment = {
|
1554
1643
|
version: GqlGasCostsVersion;
|
1555
1644
|
add: string;
|
@@ -1641,6 +1730,33 @@ export type GqlGasCostsFragment = {
|
|
1641
1730
|
xor: string;
|
1642
1731
|
xori: string;
|
1643
1732
|
newStoragePerByte: string;
|
1733
|
+
alocDependentCost: {
|
1734
|
+
base: string;
|
1735
|
+
gasPerUnit: string;
|
1736
|
+
type: 'HeavyOperation';
|
1737
|
+
} | {
|
1738
|
+
base: string;
|
1739
|
+
unitsPerGas: string;
|
1740
|
+
type: 'LightOperation';
|
1741
|
+
};
|
1742
|
+
cfe: {
|
1743
|
+
base: string;
|
1744
|
+
gasPerUnit: string;
|
1745
|
+
type: 'HeavyOperation';
|
1746
|
+
} | {
|
1747
|
+
base: string;
|
1748
|
+
unitsPerGas: string;
|
1749
|
+
type: 'LightOperation';
|
1750
|
+
};
|
1751
|
+
cfeiDependentCost: {
|
1752
|
+
base: string;
|
1753
|
+
gasPerUnit: string;
|
1754
|
+
type: 'HeavyOperation';
|
1755
|
+
} | {
|
1756
|
+
base: string;
|
1757
|
+
unitsPerGas: string;
|
1758
|
+
type: 'LightOperation';
|
1759
|
+
};
|
1644
1760
|
call: {
|
1645
1761
|
base: string;
|
1646
1762
|
gasPerUnit: string;
|
@@ -1957,6 +2073,33 @@ export type GqlConsensusParametersFragment = {
|
|
1957
2073
|
xor: string;
|
1958
2074
|
xori: string;
|
1959
2075
|
newStoragePerByte: string;
|
2076
|
+
alocDependentCost: {
|
2077
|
+
base: string;
|
2078
|
+
gasPerUnit: string;
|
2079
|
+
type: 'HeavyOperation';
|
2080
|
+
} | {
|
2081
|
+
base: string;
|
2082
|
+
unitsPerGas: string;
|
2083
|
+
type: 'LightOperation';
|
2084
|
+
};
|
2085
|
+
cfe: {
|
2086
|
+
base: string;
|
2087
|
+
gasPerUnit: string;
|
2088
|
+
type: 'HeavyOperation';
|
2089
|
+
} | {
|
2090
|
+
base: string;
|
2091
|
+
unitsPerGas: string;
|
2092
|
+
type: 'LightOperation';
|
2093
|
+
};
|
2094
|
+
cfeiDependentCost: {
|
2095
|
+
base: string;
|
2096
|
+
gasPerUnit: string;
|
2097
|
+
type: 'HeavyOperation';
|
2098
|
+
} | {
|
2099
|
+
base: string;
|
2100
|
+
unitsPerGas: string;
|
2101
|
+
type: 'LightOperation';
|
2102
|
+
};
|
1960
2103
|
call: {
|
1961
2104
|
base: string;
|
1962
2105
|
gasPerUnit: string;
|
@@ -2287,6 +2430,33 @@ export type GqlChainInfoFragment = {
|
|
2287
2430
|
xor: string;
|
2288
2431
|
xori: string;
|
2289
2432
|
newStoragePerByte: string;
|
2433
|
+
alocDependentCost: {
|
2434
|
+
base: string;
|
2435
|
+
gasPerUnit: string;
|
2436
|
+
type: 'HeavyOperation';
|
2437
|
+
} | {
|
2438
|
+
base: string;
|
2439
|
+
unitsPerGas: string;
|
2440
|
+
type: 'LightOperation';
|
2441
|
+
};
|
2442
|
+
cfe: {
|
2443
|
+
base: string;
|
2444
|
+
gasPerUnit: string;
|
2445
|
+
type: 'HeavyOperation';
|
2446
|
+
} | {
|
2447
|
+
base: string;
|
2448
|
+
unitsPerGas: string;
|
2449
|
+
type: 'LightOperation';
|
2450
|
+
};
|
2451
|
+
cfeiDependentCost: {
|
2452
|
+
base: string;
|
2453
|
+
gasPerUnit: string;
|
2454
|
+
type: 'HeavyOperation';
|
2455
|
+
} | {
|
2456
|
+
base: string;
|
2457
|
+
unitsPerGas: string;
|
2458
|
+
type: 'LightOperation';
|
2459
|
+
};
|
2290
2460
|
call: {
|
2291
2461
|
base: string;
|
2292
2462
|
gasPerUnit: string;
|
@@ -2664,6 +2834,33 @@ export type GqlGetChainQuery = {
|
|
2664
2834
|
xor: string;
|
2665
2835
|
xori: string;
|
2666
2836
|
newStoragePerByte: string;
|
2837
|
+
alocDependentCost: {
|
2838
|
+
base: string;
|
2839
|
+
gasPerUnit: string;
|
2840
|
+
type: 'HeavyOperation';
|
2841
|
+
} | {
|
2842
|
+
base: string;
|
2843
|
+
unitsPerGas: string;
|
2844
|
+
type: 'LightOperation';
|
2845
|
+
};
|
2846
|
+
cfe: {
|
2847
|
+
base: string;
|
2848
|
+
gasPerUnit: string;
|
2849
|
+
type: 'HeavyOperation';
|
2850
|
+
} | {
|
2851
|
+
base: string;
|
2852
|
+
unitsPerGas: string;
|
2853
|
+
type: 'LightOperation';
|
2854
|
+
};
|
2855
|
+
cfeiDependentCost: {
|
2856
|
+
base: string;
|
2857
|
+
gasPerUnit: string;
|
2858
|
+
type: 'HeavyOperation';
|
2859
|
+
} | {
|
2860
|
+
base: string;
|
2861
|
+
unitsPerGas: string;
|
2862
|
+
type: 'LightOperation';
|
2863
|
+
};
|
2667
2864
|
call: {
|
2668
2865
|
base: string;
|
2669
2866
|
gasPerUnit: string;
|
@@ -2858,7 +3055,7 @@ export type GqlGetChainQuery = {
|
|
2858
3055
|
};
|
2859
3056
|
};
|
2860
3057
|
export type GqlGetTransactionQueryVariables = Exact<{
|
2861
|
-
transactionId: Scalars['TransactionId'];
|
3058
|
+
transactionId: Scalars['TransactionId']['input'];
|
2862
3059
|
}>;
|
2863
3060
|
export type GqlGetTransactionQuery = {
|
2864
3061
|
transaction?: {
|
@@ -2955,7 +3152,7 @@ export type GqlGetTransactionQuery = {
|
|
2955
3152
|
} | null;
|
2956
3153
|
};
|
2957
3154
|
export type GqlGetTransactionWithReceiptsQueryVariables = Exact<{
|
2958
|
-
transactionId: Scalars['TransactionId'];
|
3155
|
+
transactionId: Scalars['TransactionId']['input'];
|
2959
3156
|
}>;
|
2960
3157
|
export type GqlGetTransactionWithReceiptsQuery = {
|
2961
3158
|
transaction?: {
|
@@ -3052,10 +3249,10 @@ export type GqlGetTransactionWithReceiptsQuery = {
|
|
3052
3249
|
} | null;
|
3053
3250
|
};
|
3054
3251
|
export type GqlGetTransactionsQueryVariables = Exact<{
|
3055
|
-
after?: InputMaybe<Scalars['String']>;
|
3056
|
-
before?: InputMaybe<Scalars['String']>;
|
3057
|
-
first?: InputMaybe<Scalars['Int']>;
|
3058
|
-
last?: InputMaybe<Scalars['Int']>;
|
3252
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
3253
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
3254
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
3255
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
3059
3256
|
}>;
|
3060
3257
|
export type GqlGetTransactionsQuery = {
|
3061
3258
|
transactions: {
|
@@ -3153,14 +3350,20 @@ export type GqlGetTransactionsQuery = {
|
|
3153
3350
|
} | null;
|
3154
3351
|
};
|
3155
3352
|
}>;
|
3353
|
+
pageInfo: {
|
3354
|
+
hasPreviousPage: boolean;
|
3355
|
+
hasNextPage: boolean;
|
3356
|
+
startCursor?: string | null;
|
3357
|
+
endCursor?: string | null;
|
3358
|
+
};
|
3156
3359
|
};
|
3157
3360
|
};
|
3158
3361
|
export type GqlGetTransactionsByOwnerQueryVariables = Exact<{
|
3159
|
-
owner: Scalars['Address'];
|
3160
|
-
after?: InputMaybe<Scalars['String']>;
|
3161
|
-
before?: InputMaybe<Scalars['String']>;
|
3162
|
-
first?: InputMaybe<Scalars['Int']>;
|
3163
|
-
last?: InputMaybe<Scalars['Int']>;
|
3362
|
+
owner: Scalars['Address']['input'];
|
3363
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
3364
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
3365
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
3366
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
3164
3367
|
}>;
|
3165
3368
|
export type GqlGetTransactionsByOwnerQuery = {
|
3166
3369
|
transactionsByOwner: {
|
@@ -3267,7 +3470,7 @@ export type GqlGetTransactionsByOwnerQuery = {
|
|
3267
3470
|
};
|
3268
3471
|
};
|
3269
3472
|
export type GqlEstimatePredicatesQueryVariables = Exact<{
|
3270
|
-
encodedTransaction: Scalars['HexString'];
|
3473
|
+
encodedTransaction: Scalars['HexString']['input'];
|
3271
3474
|
}>;
|
3272
3475
|
export type GqlEstimatePredicatesQuery = {
|
3273
3476
|
estimatePredicates: {
|
@@ -3279,8 +3482,8 @@ export type GqlEstimatePredicatesQuery = {
|
|
3279
3482
|
};
|
3280
3483
|
};
|
3281
3484
|
export type GqlGetBlockQueryVariables = Exact<{
|
3282
|
-
blockId?: InputMaybe<Scalars['BlockId']>;
|
3283
|
-
height?: InputMaybe<Scalars['U32']>;
|
3485
|
+
blockId?: InputMaybe<Scalars['BlockId']['input']>;
|
3486
|
+
height?: InputMaybe<Scalars['U32']['input']>;
|
3284
3487
|
}>;
|
3285
3488
|
export type GqlGetBlockQuery = {
|
3286
3489
|
block?: {
|
@@ -3295,8 +3498,8 @@ export type GqlGetBlockQuery = {
|
|
3295
3498
|
} | null;
|
3296
3499
|
};
|
3297
3500
|
export type GqlGetBlockWithTransactionsQueryVariables = Exact<{
|
3298
|
-
blockId?: InputMaybe<Scalars['BlockId']>;
|
3299
|
-
blockHeight?: InputMaybe<Scalars['U32']>;
|
3501
|
+
blockId?: InputMaybe<Scalars['BlockId']['input']>;
|
3502
|
+
blockHeight?: InputMaybe<Scalars['U32']['input']>;
|
3300
3503
|
}>;
|
3301
3504
|
export type GqlGetBlockWithTransactionsQuery = {
|
3302
3505
|
block?: {
|
@@ -3400,10 +3603,10 @@ export type GqlGetBlockWithTransactionsQuery = {
|
|
3400
3603
|
} | null;
|
3401
3604
|
};
|
3402
3605
|
export type GqlGetBlocksQueryVariables = Exact<{
|
3403
|
-
after?: InputMaybe<Scalars['String']>;
|
3404
|
-
before?: InputMaybe<Scalars['String']>;
|
3405
|
-
first?: InputMaybe<Scalars['Int']>;
|
3406
|
-
last?: InputMaybe<Scalars['Int']>;
|
3606
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
3607
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
3608
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
3609
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
3407
3610
|
}>;
|
3408
3611
|
export type GqlGetBlocksQuery = {
|
3409
3612
|
blocks: {
|
@@ -3422,7 +3625,7 @@ export type GqlGetBlocksQuery = {
|
|
3422
3625
|
};
|
3423
3626
|
};
|
3424
3627
|
export type GqlGetCoinQueryVariables = Exact<{
|
3425
|
-
coinId: Scalars['UtxoId'];
|
3628
|
+
coinId: Scalars['UtxoId']['input'];
|
3426
3629
|
}>;
|
3427
3630
|
export type GqlGetCoinQuery = {
|
3428
3631
|
coin?: {
|
@@ -3437,10 +3640,10 @@ export type GqlGetCoinQuery = {
|
|
3437
3640
|
};
|
3438
3641
|
export type GqlGetCoinsQueryVariables = Exact<{
|
3439
3642
|
filter: GqlCoinFilterInput;
|
3440
|
-
after?: InputMaybe<Scalars['String']>;
|
3441
|
-
before?: InputMaybe<Scalars['String']>;
|
3442
|
-
first?: InputMaybe<Scalars['Int']>;
|
3443
|
-
last?: InputMaybe<Scalars['Int']>;
|
3643
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
3644
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
3645
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
3646
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
3444
3647
|
}>;
|
3445
3648
|
export type GqlGetCoinsQuery = {
|
3446
3649
|
coins: {
|
@@ -3458,7 +3661,7 @@ export type GqlGetCoinsQuery = {
|
|
3458
3661
|
};
|
3459
3662
|
};
|
3460
3663
|
export type GqlGetCoinsToSpendQueryVariables = Exact<{
|
3461
|
-
owner: Scalars['Address'];
|
3664
|
+
owner: Scalars['Address']['input'];
|
3462
3665
|
queryPerAsset: Array<GqlSpendQueryElementInput> | GqlSpendQueryElementInput;
|
3463
3666
|
excludedIds?: InputMaybe<GqlExcludeInput>;
|
3464
3667
|
}>;
|
@@ -3482,7 +3685,7 @@ export type GqlGetCoinsToSpendQuery = {
|
|
3482
3685
|
}>>;
|
3483
3686
|
};
|
3484
3687
|
export type GqlGetContractQueryVariables = Exact<{
|
3485
|
-
contractId: Scalars['ContractId'];
|
3688
|
+
contractId: Scalars['ContractId']['input'];
|
3486
3689
|
}>;
|
3487
3690
|
export type GqlGetContractQuery = {
|
3488
3691
|
contract?: {
|
@@ -3491,8 +3694,8 @@ export type GqlGetContractQuery = {
|
|
3491
3694
|
} | null;
|
3492
3695
|
};
|
3493
3696
|
export type GqlGetContractBalanceQueryVariables = Exact<{
|
3494
|
-
contract: Scalars['ContractId'];
|
3495
|
-
asset: Scalars['AssetId'];
|
3697
|
+
contract: Scalars['ContractId']['input'];
|
3698
|
+
asset: Scalars['AssetId']['input'];
|
3496
3699
|
}>;
|
3497
3700
|
export type GqlGetContractBalanceQuery = {
|
3498
3701
|
contractBalance: {
|
@@ -3502,8 +3705,8 @@ export type GqlGetContractBalanceQuery = {
|
|
3502
3705
|
};
|
3503
3706
|
};
|
3504
3707
|
export type GqlGetBalanceQueryVariables = Exact<{
|
3505
|
-
owner: Scalars['Address'];
|
3506
|
-
assetId: Scalars['AssetId'];
|
3708
|
+
owner: Scalars['Address']['input'];
|
3709
|
+
assetId: Scalars['AssetId']['input'];
|
3507
3710
|
}>;
|
3508
3711
|
export type GqlGetBalanceQuery = {
|
3509
3712
|
balance: {
|
@@ -3521,7 +3724,7 @@ export type GqlGetLatestGasPriceQuery = {
|
|
3521
3724
|
};
|
3522
3725
|
};
|
3523
3726
|
export type GqlEstimateGasPriceQueryVariables = Exact<{
|
3524
|
-
blockHorizon: Scalars['U32'];
|
3727
|
+
blockHorizon: Scalars['U32']['input'];
|
3525
3728
|
}>;
|
3526
3729
|
export type GqlEstimateGasPriceQuery = {
|
3527
3730
|
estimateGasPrice: {
|
@@ -3530,10 +3733,10 @@ export type GqlEstimateGasPriceQuery = {
|
|
3530
3733
|
};
|
3531
3734
|
export type GqlGetBalancesQueryVariables = Exact<{
|
3532
3735
|
filter: GqlBalanceFilterInput;
|
3533
|
-
after?: InputMaybe<Scalars['String']>;
|
3534
|
-
before?: InputMaybe<Scalars['String']>;
|
3535
|
-
first?: InputMaybe<Scalars['Int']>;
|
3536
|
-
last?: InputMaybe<Scalars['Int']>;
|
3736
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
3737
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
3738
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
3739
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
3537
3740
|
}>;
|
3538
3741
|
export type GqlGetBalancesQuery = {
|
3539
3742
|
balances: {
|
@@ -3547,11 +3750,11 @@ export type GqlGetBalancesQuery = {
|
|
3547
3750
|
};
|
3548
3751
|
};
|
3549
3752
|
export type GqlGetMessagesQueryVariables = Exact<{
|
3550
|
-
owner: Scalars['Address'];
|
3551
|
-
after?: InputMaybe<Scalars['String']>;
|
3552
|
-
before?: InputMaybe<Scalars['String']>;
|
3553
|
-
first?: InputMaybe<Scalars['Int']>;
|
3554
|
-
last?: InputMaybe<Scalars['Int']>;
|
3753
|
+
owner: Scalars['Address']['input'];
|
3754
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
3755
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
3756
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
3757
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
3555
3758
|
}>;
|
3556
3759
|
export type GqlGetMessagesQuery = {
|
3557
3760
|
messages: {
|
@@ -3568,10 +3771,10 @@ export type GqlGetMessagesQuery = {
|
|
3568
3771
|
};
|
3569
3772
|
};
|
3570
3773
|
export type GqlGetMessageProofQueryVariables = Exact<{
|
3571
|
-
transactionId: Scalars['TransactionId'];
|
3572
|
-
nonce: Scalars['Nonce'];
|
3573
|
-
commitBlockId?: InputMaybe<Scalars['BlockId']>;
|
3574
|
-
commitBlockHeight?: InputMaybe<Scalars['U32']>;
|
3774
|
+
transactionId: Scalars['TransactionId']['input'];
|
3775
|
+
nonce: Scalars['Nonce']['input'];
|
3776
|
+
commitBlockId?: InputMaybe<Scalars['BlockId']['input']>;
|
3777
|
+
commitBlockHeight?: InputMaybe<Scalars['U32']['input']>;
|
3575
3778
|
}>;
|
3576
3779
|
export type GqlGetMessageProofQuery = {
|
3577
3780
|
messageProof?: {
|
@@ -3589,6 +3792,7 @@ export type GqlGetMessageProofQuery = {
|
|
3589
3792
|
proofIndex: string;
|
3590
3793
|
};
|
3591
3794
|
messageBlockHeader: {
|
3795
|
+
version: GqlHeaderVersion;
|
3592
3796
|
id: string;
|
3593
3797
|
daHeight: string;
|
3594
3798
|
consensusParametersVersion: string;
|
@@ -3604,6 +3808,7 @@ export type GqlGetMessageProofQuery = {
|
|
3604
3808
|
applicationHash: string;
|
3605
3809
|
};
|
3606
3810
|
commitBlockHeader: {
|
3811
|
+
version: GqlHeaderVersion;
|
3607
3812
|
id: string;
|
3608
3813
|
daHeight: string;
|
3609
3814
|
consensusParametersVersion: string;
|
@@ -3621,7 +3826,7 @@ export type GqlGetMessageProofQuery = {
|
|
3621
3826
|
} | null;
|
3622
3827
|
};
|
3623
3828
|
export type GqlGetMessageStatusQueryVariables = Exact<{
|
3624
|
-
nonce: Scalars['Nonce'];
|
3829
|
+
nonce: Scalars['Nonce']['input'];
|
3625
3830
|
}>;
|
3626
3831
|
export type GqlGetMessageStatusQuery = {
|
3627
3832
|
messageStatus: {
|
@@ -3629,7 +3834,7 @@ export type GqlGetMessageStatusQuery = {
|
|
3629
3834
|
};
|
3630
3835
|
};
|
3631
3836
|
export type GqlGetRelayedTransactionStatusQueryVariables = Exact<{
|
3632
|
-
relayedTransactionId: Scalars['RelayedTransactionId'];
|
3837
|
+
relayedTransactionId: Scalars['RelayedTransactionId']['input'];
|
3633
3838
|
}>;
|
3634
3839
|
export type GqlGetRelayedTransactionStatusQuery = {
|
3635
3840
|
relayedTransactionStatus?: {
|
@@ -3638,8 +3843,9 @@ export type GqlGetRelayedTransactionStatusQuery = {
|
|
3638
3843
|
} | null;
|
3639
3844
|
};
|
3640
3845
|
export type GqlDryRunMutationVariables = Exact<{
|
3641
|
-
encodedTransactions: Array<Scalars['HexString']> | Scalars['HexString'];
|
3642
|
-
utxoValidation?: InputMaybe<Scalars['Boolean']>;
|
3846
|
+
encodedTransactions: Array<Scalars['HexString']['input']> | Scalars['HexString']['input'];
|
3847
|
+
utxoValidation?: InputMaybe<Scalars['Boolean']['input']>;
|
3848
|
+
gasPrice?: InputMaybe<Scalars['U64']['input']>;
|
3643
3849
|
}>;
|
3644
3850
|
export type GqlDryRunMutation = {
|
3645
3851
|
dryRun: Array<{
|
@@ -3695,7 +3901,7 @@ export type GqlDryRunMutation = {
|
|
3695
3901
|
}>;
|
3696
3902
|
};
|
3697
3903
|
export type GqlSubmitMutationVariables = Exact<{
|
3698
|
-
encodedTransaction: Scalars['HexString'];
|
3904
|
+
encodedTransaction: Scalars['HexString']['input'];
|
3699
3905
|
}>;
|
3700
3906
|
export type GqlSubmitMutation = {
|
3701
3907
|
submit: {
|
@@ -3703,14 +3909,14 @@ export type GqlSubmitMutation = {
|
|
3703
3909
|
};
|
3704
3910
|
};
|
3705
3911
|
export type GqlProduceBlocksMutationVariables = Exact<{
|
3706
|
-
startTimestamp?: InputMaybe<Scalars['Tai64Timestamp']>;
|
3707
|
-
blocksToProduce: Scalars['U32'];
|
3912
|
+
startTimestamp?: InputMaybe<Scalars['Tai64Timestamp']['input']>;
|
3913
|
+
blocksToProduce: Scalars['U32']['input'];
|
3708
3914
|
}>;
|
3709
3915
|
export type GqlProduceBlocksMutation = {
|
3710
3916
|
produceBlocks: string;
|
3711
3917
|
};
|
3712
3918
|
export type GqlGetMessageByNonceQueryVariables = Exact<{
|
3713
|
-
nonce: Scalars['Nonce'];
|
3919
|
+
nonce: Scalars['Nonce']['input'];
|
3714
3920
|
}>;
|
3715
3921
|
export type GqlGetMessageByNonceQuery = {
|
3716
3922
|
message?: {
|
@@ -3723,7 +3929,7 @@ export type GqlGetMessageByNonceQuery = {
|
|
3723
3929
|
} | null;
|
3724
3930
|
};
|
3725
3931
|
export type GqlSubmitAndAwaitSubscriptionVariables = Exact<{
|
3726
|
-
encodedTransaction: Scalars['HexString'];
|
3932
|
+
encodedTransaction: Scalars['HexString']['input'];
|
3727
3933
|
}>;
|
3728
3934
|
export type GqlSubmitAndAwaitSubscription = {
|
3729
3935
|
submitAndAwait: {
|
@@ -3738,7 +3944,7 @@ export type GqlSubmitAndAwaitSubscription = {
|
|
3738
3944
|
};
|
3739
3945
|
};
|
3740
3946
|
export type GqlStatusChangeSubscriptionVariables = Exact<{
|
3741
|
-
transactionId: Scalars['TransactionId'];
|
3947
|
+
transactionId: Scalars['TransactionId']['input'];
|
3742
3948
|
}>;
|
3743
3949
|
export type GqlStatusChangeSubscription = {
|
3744
3950
|
statusChange: {
|
@@ -3815,8 +4021,8 @@ export declare const ProduceBlocksDocument: DocumentNode;
|
|
3815
4021
|
export declare const GetMessageByNonceDocument: DocumentNode;
|
3816
4022
|
export declare const SubmitAndAwaitDocument: DocumentNode;
|
3817
4023
|
export declare const StatusChangeDocument: DocumentNode;
|
3818
|
-
export type Requester<C = {}
|
3819
|
-
export declare function getSdk<C
|
4024
|
+
export type Requester<C = {}> = <R, V>(doc: DocumentNode, vars?: V, options?: C) => Promise<R> | AsyncIterable<R>;
|
4025
|
+
export declare function getSdk<C>(requester: Requester<C>): {
|
3820
4026
|
getVersion(variables?: GqlGetVersionQueryVariables, options?: C): Promise<GqlGetVersionQuery>;
|
3821
4027
|
getNodeInfo(variables?: GqlGetNodeInfoQueryVariables, options?: C): Promise<GqlGetNodeInfoQuery>;
|
3822
4028
|
getChain(variables?: GqlGetChainQueryVariables, options?: C): Promise<GqlGetChainQuery>;
|