-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgql.ts
More file actions
401 lines (396 loc) · 158 KB
/
Copy pathgql.ts
File metadata and controls
401 lines (396 loc) · 158 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
/* eslint-disable */
import * as types from './graphql';
import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
/**
* Map of all GraphQL operations in the project.
*
* This map has several performance disadvantages:
* 1. It is not tree-shakeable, so it will include all operations in the project.
* 2. It is not minifiable, so the string of a GraphQL query will be multiple times inside the bundle.
* 3. It does not support dead code elimination, so it will add unused operations.
*
* Therefore it is highly recommended to use the babel or swc plugin for production.
* Learn more about it here: https://the-guild.dev/graphql/codegen/plugins/presets/preset-client#reducing-bundle-size
*/
type Documents = {
'\n query GetAccounts(\n $limit: Int\n $offset: Int\n $orderBy: [AccountOrderByInput!]\n ) {\n accounts(limit: $limit, offset: $offset, orderBy: $orderBy) {\n id\n free\n frozen\n reserved\n }\n meta: accountsConnection(orderBy: id_ASC) {\n totalCount\n }\n }\n ': typeof types.GetAccountsDocument;
'\n query GetAccountById($id: String!, $limit: Int!) {\n account: accountById(id: $id) {\n id\n free\n frozen\n reserved\n }\n transactions: transfersConnection(\n orderBy: timestamp_DESC\n first: $limit\n where: {\n extrinsic_isNull: false\n AND: { from: { id_eq: $id }, OR: { to: { id_eq: $id } } }\n }\n ) {\n edges {\n node {\n fee\n extrinsic {\n id\n pallet\n call\n }\n block {\n height\n }\n amount\n timestamp\n from {\n id\n }\n to {\n id\n }\n }\n }\n\n totalCount\n }\n scheduledReversibleTransactions: scheduledReversibleTransfersConnection(\n orderBy: timestamp_DESC\n first: $limit\n where: { from: { id_eq: $id }, OR: { to: { id_eq: $id } } }\n ) {\n edges {\n node {\n extrinsic {\n id\n pallet\n call\n }\n timestamp\n amount\n timestamp\n scheduledAt\n txId\n fee\n block {\n height\n }\n from {\n id\n }\n to {\n id\n }\n }\n }\n totalCount\n }\n executedReversibleTransactions: executedReversibleTransfersConnection(\n orderBy: timestamp_DESC\n first: $limit\n where: {\n scheduledTransfer: {\n from: { id_eq: $id }\n OR: { to: { id_eq: $id } }\n }\n }\n ) {\n edges {\n node {\n timestamp\n txId\n block {\n height\n }\n scheduledTransfer {\n extrinsic {\n id\n pallet\n call\n }\n amount\n timestamp\n scheduledAt\n txId\n fee\n block {\n height\n }\n from {\n id\n }\n to {\n id\n }\n }\n }\n }\n totalCount\n }\n cancelledReversibleTransactions: cancelledReversibleTransfersConnection(\n orderBy: timestamp_DESC\n first: $limit\n where: {\n scheduledTransfer: {\n from: { id_eq: $id }\n OR: { to: { id_eq: $id } }\n }\n OR: { cancelledBy: { id_eq: $id } }\n }\n ) {\n edges {\n node {\n timestamp\n txId\n block {\n height\n }\n cancelledBy {\n id\n }\n scheduledTransfer {\n extrinsic {\n id\n pallet\n call\n }\n amount\n timestamp\n scheduledAt\n txId\n fee\n block {\n height\n }\n from {\n id\n }\n to {\n id\n }\n }\n }\n }\n totalCount\n }\n minerRewards: minerRewardsConnection(\n orderBy: timestamp_DESC\n first: $limit\n where: { miner: { id_eq: $id } }\n ) {\n edges {\n node {\n block {\n height\n hash\n }\n reward\n miner {\n id\n }\n timestamp\n }\n }\n\n totalCount\n }\n guardian: highSecuritySetsConnection(\n orderBy: timestamp_DESC\n first: $limit\n where: { who: { id_eq: $id } }\n ) {\n edges {\n node {\n timestamp\n block {\n height\n }\n interceptor {\n id\n free\n frozen\n reserved\n }\n }\n }\n\n totalCount\n }\n beneficiaries: highSecuritySetsConnection(\n orderBy: timestamp_DESC\n first: $limit\n where: { interceptor: { id_eq: $id } }\n ) {\n edges {\n node {\n timestamp\n block {\n height\n }\n who {\n id\n free\n frozen\n reserved\n }\n }\n }\n\n totalCount\n }\n wormholeOutputs: wormholeOutputs(\n orderBy: wormholeExtrinsic_timestamp_DESC\n limit: $limit\n where: { exitAccount: { id_eq: $id } }\n ) {\n id\n amount\n exitAccount {\n id\n }\n wormholeExtrinsic {\n id\n extrinsic {\n id\n pallet\n call\n }\n totalAmount\n outputCount\n timestamp\n block {\n height\n }\n outputs {\n id\n exitAccount {\n id\n }\n amount\n }\n }\n }\n }\n ': typeof types.GetAccountByIdDocument;
'\n query GetAccountsStats($startDate: DateTime!, $endDate: DateTime!) {\n all: accountsConnection(orderBy: id_ASC) {\n totalCount\n }\n recentlyActive: accountsConnection(\n orderBy: id_ASC\n where: {\n transfersFrom_some: {\n timestamp_gte: $startDate\n timestamp_lte: $endDate\n }\n }\n ) {\n totalCount\n }\n recentlyDeposited: accountsConnection(\n orderBy: id_ASC\n where: {\n transfersTo_some: {\n timestamp_gte: $startDate\n timestamp_lte: $endDate\n }\n }\n ) {\n totalCount\n }\n }\n ': typeof types.GetAccountsStatsDocument;
'\n query GetBlocks(\n $limit: Int\n $offset: Int\n $orderBy: [BlockOrderByInput!]!\n $where: BlockWhereInput\n ) {\n blocks(\n limit: $limit\n offset: $offset\n orderBy: $orderBy\n where: $where\n ) {\n id\n hash\n height\n reward\n timestamp\n extrinsics {\n id\n }\n }\n meta: blocksConnection(orderBy: id_ASC) {\n totalCount\n }\n }\n ': typeof types.GetBlocksDocument;
'\n query GetRecentBlocks(\n $limit: Int\n $offset: Int\n $orderBy: [BlockOrderByInput!]\n ) {\n blocks(limit: $limit, offset: $offset, orderBy: $orderBy) {\n id\n hash\n height\n reward\n timestamp\n extrinsics {\n id\n }\n }\n }\n ': typeof types.GetRecentBlocksDocument;
'\n query GetBlockById($height: Int!, $hash: String!, $limit: Int!) {\n blocks(where: { height_eq: $height, OR: { hash_eq: $hash } }) {\n id\n hash\n height\n reward\n timestamp\n extrinsics(orderBy: indexInBlock_ASC) {\n id\n pallet\n call\n success\n fee\n timestamp\n indexInBlock\n signer {\n id\n }\n }\n }\n minerRewards(\n where: {\n block: { height_eq: $height }\n OR: { block: { hash_eq: $hash } }\n }\n ) {\n reward\n timestamp\n miner {\n id\n }\n block {\n height\n hash\n }\n }\n transactions: transfersConnection(\n orderBy: timestamp_DESC\n first: $limit\n where: {\n extrinsic_isNull: false\n AND: {\n block: { height_eq: $height }\n OR: { block: { hash_eq: $hash } }\n }\n }\n ) {\n edges {\n node {\n fee\n extrinsic {\n id\n pallet\n call\n }\n block {\n height\n }\n amount\n timestamp\n from {\n id\n }\n to {\n id\n }\n }\n }\n\n totalCount\n }\n scheduledReversibleTransactions: scheduledReversibleTransfersConnection(\n orderBy: timestamp_DESC\n first: $limit\n where: {\n block: { height_eq: $height }\n OR: { block: { hash_eq: $hash } }\n }\n ) {\n edges {\n node {\n extrinsic {\n id\n pallet\n call\n }\n timestamp\n amount\n timestamp\n scheduledAt\n txId\n fee\n block {\n height\n }\n from {\n id\n }\n to {\n id\n }\n }\n }\n totalCount\n }\n executedReversibleTransactions: executedReversibleTransfersConnection(\n orderBy: timestamp_DESC\n first: $limit\n where: {\n block: { height_eq: $height }\n OR: { block: { hash_eq: $hash } }\n }\n ) {\n edges {\n node {\n timestamp\n txId\n block {\n height\n }\n scheduledTransfer {\n extrinsic {\n id\n pallet\n call\n }\n amount\n timestamp\n scheduledAt\n txId\n fee\n block {\n height\n }\n from {\n id\n }\n to {\n id\n }\n }\n }\n }\n totalCount\n }\n cancelledReversibleTransactions: cancelledReversibleTransfersConnection(\n orderBy: timestamp_DESC\n first: $limit\n where: {\n block: { height_eq: $height }\n OR: { block: { hash_eq: $hash } }\n }\n ) {\n edges {\n node {\n timestamp\n txId\n block {\n height\n }\n cancelledBy {\n id\n }\n scheduledTransfer {\n extrinsic {\n id\n pallet\n call\n }\n amount\n timestamp\n scheduledAt\n txId\n fee\n block {\n height\n }\n from {\n id\n }\n to {\n id\n }\n }\n }\n }\n totalCount\n }\n highSecuritySets: highSecuritySetsConnection(\n orderBy: timestamp_DESC\n first: $limit\n where: {\n block: { height_eq: $height }\n OR: { block: { hash_eq: $hash } }\n }\n ) {\n edges {\n node {\n extrinsic {\n id\n pallet\n call\n }\n timestamp\n delay\n block {\n height\n }\n who {\n id\n }\n interceptor {\n id\n }\n }\n }\n\n totalCount\n }\n errorEvents: errorEventsConnection(\n orderBy: timestamp_DESC\n first: $limit\n where: {\n block: { height_eq: $height }\n OR: { block: { hash_eq: $hash } }\n }\n ) {\n edges {\n node {\n errorDocs\n errorModule\n errorName\n errorType\n extrinsic {\n id\n pallet\n call\n }\n timestamp\n block {\n height\n }\n }\n }\n\n totalCount\n }\n wormholeExtrinsics(\n orderBy: timestamp_DESC\n limit: $limit\n where: {\n block: { height_eq: $height }\n OR: { block: { hash_eq: $hash } }\n }\n ) {\n id\n extrinsic {\n id\n pallet\n call\n }\n totalAmount\n outputCount\n timestamp\n block {\n height\n }\n outputs {\n id\n exitAccount {\n id\n }\n amount\n }\n }\n }\n ': typeof types.GetBlockByIdDocument;
'\n query GetCancelledReversibleTransactions(\n $limit: Int\n $offset: Int\n $orderBy: [CancelledReversibleTransferOrderByInput!]\n $where: CancelledReversibleTransferWhereInput\n ) {\n cancelledReversibleTransactions: cancelledReversibleTransfers(\n limit: $limit\n offset: $offset\n orderBy: $orderBy\n where: $where\n ) {\n timestamp\n txId\n block {\n height\n }\n cancelledBy {\n id\n }\n scheduledTransfer {\n extrinsic {\n id\n pallet\n call\n }\n amount\n timestamp\n scheduledAt\n txId\n fee\n block {\n height\n }\n from {\n id\n }\n to {\n id\n }\n }\n }\n meta: cancelledReversibleTransfersConnection(\n orderBy: id_ASC\n where: $where\n ) {\n totalCount\n }\n }\n ': typeof types.GetCancelledReversibleTransactionsDocument;
'\n query GetRecentCancelledReversibleTransactions(\n $limit: Int\n $offset: Int\n $orderBy: [CancelledReversibleTransferOrderByInput!]\n ) {\n cancelledReversibleTransactions: cancelledReversibleTransfers(\n limit: $limit\n offset: $offset\n orderBy: $orderBy\n ) {\n timestamp\n txId\n block {\n height\n }\n cancelledBy {\n id\n }\n scheduledTransfer {\n extrinsic {\n id\n pallet\n call\n }\n amount\n timestamp\n scheduledAt\n txId\n fee\n block {\n height\n }\n from {\n id\n }\n to {\n id\n }\n }\n }\n }\n ': typeof types.GetRecentCancelledReversibleTransactionsDocument;
'\n query GetCancelledReversibleTransactionsStats(\n $startDate: DateTime!\n $endDate: DateTime!\n ) {\n last24Hour: cancelledReversibleTransfersConnection(\n orderBy: id_ASC\n where: { timestamp_gte: $startDate, timestamp_lte: $endDate }\n ) {\n totalCount\n }\n allTime: cancelledReversibleTransfersConnection(orderBy: id_ASC) {\n totalCount\n }\n }\n ': typeof types.GetCancelledReversibleTransactionsStatsDocument;
'\n query GetCancelledReversibleTransactionByTxId($txId: String!) {\n cancelledReversibleTransactions: cancelledReversibleTransfers(\n where: { txId_eq: $txId }\n ) {\n timestamp\n txId\n block {\n height\n }\n cancelledBy {\n id\n }\n extrinsic {\n id\n pallet\n call\n }\n scheduledTransfer {\n amount\n scheduledAt\n fee\n from {\n id\n }\n to {\n id\n }\n }\n }\n }\n ': typeof types.GetCancelledReversibleTransactionByTxIdDocument;
'\n query GetStatus(\n $beginningDate: DateTime!\n $todayDate: DateTime!\n $endDate: DateTime!\n ) {\n transactions: transfersConnection(\n orderBy: id_ASC\n where: { extrinsic_isNull: false }\n ) {\n totalCount\n }\n scheduledReversibleTransactions: scheduledReversibleTransfersConnection(\n orderBy: id_ASC\n ) {\n totalCount\n }\n executedReversibleTransactions: executedReversibleTransfersConnection(\n orderBy: id_ASC\n ) {\n totalCount\n }\n cancelledReversibleTransactions: cancelledReversibleTransfersConnection(\n orderBy: id_ASC\n ) {\n totalCount\n }\n status: squidStatus {\n hash\n height\n finalizedHeight\n finalizedHash\n }\n minedBlocks24Hours: blocksConnection(\n orderBy: id_ASC\n where: { timestamp_gte: $todayDate, timestamp_lte: $endDate }\n ) {\n totalCount\n }\n allActiveAccounts: accountsConnection(\n orderBy: id_ASC\n where: {\n transfersFrom_some: {\n timestamp_gte: $beginningDate\n timestamp_lte: $endDate\n }\n }\n ) {\n totalCount\n }\n allDepositAccounts: accountsConnection(\n orderBy: id_ASC\n where: {\n transfersTo_some: {\n timestamp_gte: $beginningDate\n timestamp_lte: $endDate\n }\n }\n ) {\n totalCount\n }\n }\n ': typeof types.GetStatusDocument;
'\n query GetErrorEvents(\n $limit: Int\n $offset: Int\n $orderBy: [ErrorEventOrderByInput!]\n $where: ErrorEventWhereInput\n ) {\n errorEvents(\n limit: $limit\n offset: $offset\n orderBy: $orderBy\n where: $where\n ) {\n errorDocs\n errorModule\n errorName\n errorType\n extrinsic {\n id\n pallet\n call\n }\n id\n timestamp\n block {\n height\n }\n }\n meta: errorEventsConnection(orderBy: id_ASC, where: $where) {\n totalCount\n }\n }\n ': typeof types.GetErrorEventsDocument;
'\n query GetRecentErrorEvents(\n $limit: Int\n $offset: Int\n $orderBy: [ErrorEventOrderByInput!]\n $where: ErrorEventWhereInput\n ) {\n errorEvents(\n limit: $limit\n offset: $offset\n orderBy: $orderBy\n where: $where\n ) {\n errorDocs\n errorModule\n errorName\n errorType\n extrinsic {\n id\n pallet\n call\n }\n id\n timestamp\n block {\n height\n }\n }\n }\n ': typeof types.GetRecentErrorEventsDocument;
'\n query GetErrorEventsStats($startDate: DateTime!, $endDate: DateTime!) {\n last24Hour: errorEventsConnection(\n orderBy: id_ASC\n where: { timestamp_gte: $startDate, timestamp_lte: $endDate }\n ) {\n totalCount\n }\n allTime: errorEventsConnection(orderBy: id_ASC) {\n totalCount\n }\n }\n ': typeof types.GetErrorEventsStatsDocument;
'\n query GetErrorEventByHash($hash: String!) {\n errorEvents: errorEvents(where: { extrinsic: { id_eq: $hash } }) {\n errorDocs\n errorModule\n errorName\n errorType\n extrinsic {\n id\n pallet\n call\n }\n id\n timestamp\n block {\n height\n }\n }\n }\n ': typeof types.GetErrorEventByHashDocument;
'\n query GetExecutedReversibleTransactions(\n $limit: Int\n $offset: Int\n $orderBy: [ExecutedReversibleTransferOrderByInput!]\n $where: ExecutedReversibleTransferWhereInput\n ) {\n executedReversibleTransactions: executedReversibleTransfers(\n limit: $limit\n offset: $offset\n orderBy: $orderBy\n where: $where\n ) {\n timestamp\n txId\n block {\n height\n }\n scheduledTransfer {\n extrinsic {\n id\n pallet\n call\n }\n amount\n timestamp\n scheduledAt\n txId\n fee\n block {\n height\n }\n from {\n id\n }\n to {\n id\n }\n }\n }\n meta: executedReversibleTransfersConnection(\n orderBy: id_ASC\n where: $where\n ) {\n totalCount\n }\n }\n ': typeof types.GetExecutedReversibleTransactionsDocument;
'\n query GetRecentExecutedReversibleTransactions(\n $limit: Int\n $offset: Int\n $orderBy: [ExecutedReversibleTransferOrderByInput!]\n ) {\n executedReversibleTransactions: executedReversibleTransfers(\n limit: $limit\n offset: $offset\n orderBy: $orderBy\n ) {\n timestamp\n txId\n block {\n height\n }\n scheduledTransfer {\n extrinsic {\n id\n pallet\n call\n }\n amount\n timestamp\n scheduledAt\n txId\n fee\n block {\n height\n }\n from {\n id\n }\n to {\n id\n }\n }\n }\n }\n ': typeof types.GetRecentExecutedReversibleTransactionsDocument;
'\n query GetExecutedReversibleTransactionsStats(\n $startDate: DateTime!\n $endDate: DateTime!\n ) {\n last24Hour: executedReversibleTransfersConnection(\n orderBy: id_ASC\n where: { timestamp_gte: $startDate, timestamp_lte: $endDate }\n ) {\n totalCount\n }\n allTime: executedReversibleTransfersConnection(orderBy: id_ASC) {\n totalCount\n }\n }\n ': typeof types.GetExecutedReversibleTransactionsStatsDocument;
'\n query GetExecutedReversibleTransactionByTxId($txId: String!) {\n executedReversibleTransactions: executedReversibleTransfers(\n where: { txId_eq: $txId }\n ) {\n timestamp\n txId\n block {\n height\n }\n scheduledTransfer {\n amount\n scheduledAt\n fee\n from {\n id\n }\n to {\n id\n }\n }\n }\n }\n ': typeof types.GetExecutedReversibleTransactionByTxIdDocument;
'\n query GetHighSecuritySets(\n $limit: Int\n $offset: Int\n $orderBy: [HighSecuritySetOrderByInput!]\n $where: HighSecuritySetWhereInput\n ) {\n highSecuritySets(\n limit: $limit\n offset: $offset\n orderBy: $orderBy\n where: $where\n ) {\n id\n extrinsic {\n id\n pallet\n call\n }\n who {\n id\n }\n interceptor {\n id\n }\n timestamp\n delay\n block {\n height\n }\n }\n meta: highSecuritySetsConnection(orderBy: id_ASC, where: $where) {\n totalCount\n }\n }\n ': typeof types.GetHighSecuritySetsDocument;
'\n query GetRecentHighSecuritySets(\n $limit: Int\n $offset: Int\n $orderBy: [HighSecuritySetOrderByInput!]\n $where: HighSecuritySetWhereInput\n ) {\n highSecuritySets(\n limit: $limit\n offset: $offset\n orderBy: $orderBy\n where: $where\n ) {\n id\n extrinsic {\n id\n pallet\n call\n }\n who {\n id\n }\n interceptor {\n id\n }\n timestamp\n delay\n block {\n height\n }\n }\n }\n ': typeof types.GetRecentHighSecuritySetsDocument;
'\n query GetHighSecuritySetsStats(\n $startDate: DateTime!\n $endDate: DateTime!\n ) {\n last24Hour: highSecuritySetsConnection(\n orderBy: id_ASC\n where: { timestamp_gte: $startDate, timestamp_lte: $endDate }\n ) {\n totalCount\n }\n allTime: highSecuritySetsConnection(orderBy: id_ASC) {\n totalCount\n }\n }\n ': typeof types.GetHighSecuritySetsStatsDocument;
'\n query GetHighSecuritySetByHash($hash: String!) {\n highSecuritySets(where: { extrinsic: { id_eq: $hash } }) {\n id\n extrinsic {\n id\n pallet\n call\n }\n who {\n id\n }\n interceptor {\n id\n }\n timestamp\n delay\n block {\n height\n }\n }\n }\n ': typeof types.GetHighSecuritySetByHashDocument;
'\n query GetMinerLeaderboard($limit: Int, $offset: Int) {\n leaderboardEntries: minerStats(\n limit: $limit\n offset: $offset\n orderBy: totalMinedBlocks_DESC\n ) {\n id\n totalMinedBlocks\n totalRewards\n }\n meta: minerStatsConnection(orderBy: id_ASC) {\n totalCount\n }\n }\n ': typeof types.GetMinerLeaderboardDocument;
'\n query GetMinerRewards(\n $limit: Int\n $offset: Int\n $orderBy: [MinerRewardOrderByInput!]\n $where: MinerRewardWhereInput\n ) {\n minerRewards(\n limit: $limit\n offset: $offset\n orderBy: $orderBy\n where: $where\n ) {\n block {\n height\n hash\n }\n reward\n miner {\n id\n }\n timestamp\n }\n meta: minerRewardsConnection(orderBy: id_ASC, where: $where) {\n totalCount\n }\n }\n ': typeof types.GetMinerRewardsDocument;
'\n query GetRecentMinerRewards(\n $limit: Int\n $offset: Int\n $orderBy: [MinerRewardOrderByInput!]\n $where: MinerRewardWhereInput\n ) {\n minerRewards(\n limit: $limit\n offset: $offset\n orderBy: $orderBy\n where: $where\n ) {\n block {\n height\n hash\n }\n reward\n miner {\n id\n }\n timestamp\n }\n }\n ': typeof types.GetRecentMinerRewardsDocument;
'\n query GetMinerRewardsStats($startDate: DateTime!, $endDate: DateTime!) {\n last24Hour: minerRewardsConnection(\n orderBy: id_ASC\n where: { timestamp_gte: $startDate, timestamp_lte: $endDate }\n ) {\n totalCount\n }\n allTime: minerRewardsConnection(orderBy: id_ASC) {\n totalCount\n }\n }\n ': typeof types.GetMinerRewardsStatsDocument;
'\n query GetMinerRewardByHash($hash: String!) {\n minerRewards(where: { block: { hash_eq: $hash } }) {\n block {\n height\n hash\n }\n reward\n miner {\n id\n }\n timestamp\n }\n }\n ': typeof types.GetMinerRewardByHashDocument;
'\n query GetScheduledReversibleTransactions(\n $limit: Int\n $offset: Int\n $orderBy: [ScheduledReversibleTransferOrderByInput!]\n $where: ScheduledReversibleTransferWhereInput\n ) {\n scheduledReversibleTransactions: scheduledReversibleTransfers(\n limit: $limit\n offset: $offset\n orderBy: $orderBy\n where: $where\n ) {\n extrinsic {\n id\n pallet\n call\n }\n amount\n timestamp\n scheduledAt\n txId\n fee\n block {\n height\n }\n from {\n id\n }\n to {\n id\n }\n }\n meta: scheduledReversibleTransfersConnection(\n orderBy: id_ASC\n where: $where\n ) {\n totalCount\n }\n }\n ': typeof types.GetScheduledReversibleTransactionsDocument;
'\n query GetRecentScheduledReversibleTransactions(\n $limit: Int\n $offset: Int\n $orderBy: [ScheduledReversibleTransferOrderByInput!]\n ) {\n scheduledReversibleTransactions: scheduledReversibleTransfers(\n limit: $limit\n offset: $offset\n orderBy: $orderBy\n ) {\n extrinsic {\n id\n pallet\n call\n }\n amount\n timestamp\n scheduledAt\n txId\n fee\n block {\n height\n }\n from {\n id\n }\n to {\n id\n }\n }\n }\n ': typeof types.GetRecentScheduledReversibleTransactionsDocument;
'\n query GetScheduledReversibleTransactionsStats(\n $startDate: DateTime!\n $endDate: DateTime!\n ) {\n last24Hour: scheduledReversibleTransfersConnection(\n orderBy: id_ASC\n where: { timestamp_gte: $startDate, timestamp_lte: $endDate }\n ) {\n totalCount\n }\n allTime: scheduledReversibleTransfersConnection(orderBy: id_ASC) {\n totalCount\n }\n }\n ': typeof types.GetScheduledReversibleTransactionsStatsDocument;
'\n query GetScheduledReversibleTransactionByTxId($txId: String!) {\n scheduledReversibleTransactions: scheduledReversibleTransfers(\n where: { txId_eq: $txId }\n ) {\n extrinsic {\n id\n pallet\n call\n }\n amount\n timestamp\n scheduledAt\n txId\n fee\n block {\n height\n }\n from {\n id\n }\n to {\n id\n }\n }\n }\n ': typeof types.GetScheduledReversibleTransactionByTxIdDocument;
'\n query SearchAll($keyword: String, $keyword_number: Int, $limit: Int) {\n transactions: transfers(\n limit: $limit\n where: { extrinsic: { id_startsWith: $keyword } }\n ) {\n extrinsic {\n id\n pallet\n call\n }\n }\n scheduledReversibleTransactions: scheduledReversibleTransfers(\n limit: $limit\n where: { txId_startsWith: $keyword }\n ) {\n extrinsic {\n id\n pallet\n call\n }\n txId\n }\n executedReversibleTransactions: executedReversibleTransfers(\n limit: $limit\n where: { txId_startsWith: $keyword }\n ) {\n txId\n }\n cancelledReversibleTransactions: cancelledReversibleTransfers(\n limit: $limit\n where: { txId_startsWith: $keyword }\n ) {\n txId\n }\n accounts(limit: $limit, where: { id_startsWith: $keyword }) {\n id\n }\n blocks(\n limit: $limit\n where: {\n hash_startsWith: $keyword\n OR: { height_eq: $keyword_number }\n }\n ) {\n height\n }\n highSecuritySets(\n limit: $limit\n where: { extrinsic: { id_startsWith: $keyword } }\n ) {\n extrinsic {\n id\n pallet\n call\n }\n }\n minerRewards(\n limit: $limit\n where: { block: { hash_startsWith: $keyword } }\n ) {\n block {\n height\n hash\n }\n reward\n miner {\n id\n }\n timestamp\n }\n errorEvents(\n limit: $limit\n where: {\n errorType_containsInsensitive: $keyword\n OR: { errorName_containsInsensitive: $keyword }\n }\n ) {\n extrinsic {\n id\n pallet\n call\n }\n }\n }\n ': typeof types.SearchAllDocument;
'\n query GetTransactions(\n $limit: Int\n $offset: Int\n $orderBy: [TransferOrderByInput!]\n $where: TransferWhereInput\n ) {\n transactions: transfers(\n limit: $limit\n offset: $offset\n orderBy: $orderBy\n where: $where\n ) {\n fee\n extrinsic {\n id\n pallet\n call\n }\n block {\n height\n }\n amount\n timestamp\n from {\n id\n }\n to {\n id\n }\n }\n meta: transfersConnection(orderBy: id_ASC, where: $where) {\n totalCount\n }\n }\n ': typeof types.GetTransactionsDocument;
'\n query GetRecentTransactions(\n $limit: Int\n $offset: Int\n $orderBy: [TransferOrderByInput!]\n $where: TransferWhereInput\n ) {\n transactions: transfers(\n limit: $limit\n offset: $offset\n orderBy: $orderBy\n where: $where\n ) {\n fee\n extrinsic {\n id\n pallet\n call\n }\n block {\n height\n }\n amount\n timestamp\n from {\n id\n }\n to {\n id\n }\n }\n }\n ': typeof types.GetRecentTransactionsDocument;
'\n query GetTransactionsStats($startDate: DateTime!, $endDate: DateTime!) {\n last24Hour: transfersConnection(\n orderBy: id_ASC\n where: {\n timestamp_gte: $startDate\n timestamp_lte: $endDate\n extrinsic_isNull: false\n }\n ) {\n totalCount\n }\n allTime: transfersConnection(\n orderBy: id_ASC\n where: { extrinsic_isNull: false }\n ) {\n totalCount\n }\n allTime: transfersConnection(\n orderBy: id_ASC\n where: { extrinsic_isNull: false }\n ) {\n totalCount\n }\n }\n ': typeof types.GetTransactionsStatsDocument;
'\n query GetExtrinsicByHash($hash: String!) {\n extrinsics(where: { id_eq: $hash }) {\n id\n pallet\n call\n success\n fee\n timestamp\n indexInBlock\n signer {\n id\n }\n block {\n height\n }\n }\n transfers(\n where: { extrinsic: { id_eq: $hash } }\n orderBy: timestamp_ASC\n ) {\n id\n amount\n timestamp\n from {\n id\n }\n to {\n id\n }\n }\n }\n ': typeof types.GetExtrinsicByHashDocument;
'\n query GetWormholeExtrinsics(\n $limit: Int\n $offset: Int\n $orderBy: [WormholeExtrinsicOrderByInput!]!\n $where: WormholeExtrinsicWhereInput\n ) {\n wormholeExtrinsics(\n limit: $limit\n offset: $offset\n orderBy: $orderBy\n where: $where\n ) {\n id\n extrinsic {\n id\n pallet\n call\n }\n totalAmount\n outputCount\n timestamp\n privacyScore\n privacyLabel\n block {\n height\n }\n }\n meta: wormholeExtrinsicsConnection(orderBy: id_ASC) {\n totalCount\n }\n }\n': typeof types.GetWormholeExtrinsicsDocument;
'\n query GetWormholeExtrinsicById($id: String!) {\n wormholeExtrinsicById(id: $id) {\n id\n extrinsic {\n id\n pallet\n call\n }\n totalAmount\n outputCount\n timestamp\n privacyScore\n privacyScore01Pct\n privacyScore1Pct\n privacyScore5Pct\n privacyLabel\n poolSnapshot\n block {\n id\n height\n hash\n timestamp\n }\n outputs {\n id\n exitAccount {\n id\n }\n amount\n }\n }\n wormholeNullifiers(\n where: { wormholeExtrinsic: { extrinsic: { id_eq: $id } } }\n ) {\n nullifier\n nullifierHash\n }\n }\n': typeof types.GetWormholeExtrinsicByIdDocument;
'\n query GetDepositPoolStats {\n depositPoolStatsById(id: "global") {\n lastUpdatedBlock\n buckets\n }\n }\n': typeof types.GetDepositPoolStatsDocument;
};
const documents: Documents = {
'\n query GetAccounts(\n $limit: Int\n $offset: Int\n $orderBy: [AccountOrderByInput!]\n ) {\n accounts(limit: $limit, offset: $offset, orderBy: $orderBy) {\n id\n free\n frozen\n reserved\n }\n meta: accountsConnection(orderBy: id_ASC) {\n totalCount\n }\n }\n ':
types.GetAccountsDocument,
'\n query GetAccountById($id: String!, $limit: Int!) {\n account: accountById(id: $id) {\n id\n free\n frozen\n reserved\n }\n transactions: transfersConnection(\n orderBy: timestamp_DESC\n first: $limit\n where: {\n extrinsic_isNull: false\n AND: { from: { id_eq: $id }, OR: { to: { id_eq: $id } } }\n }\n ) {\n edges {\n node {\n fee\n extrinsic {\n id\n pallet\n call\n }\n block {\n height\n }\n amount\n timestamp\n from {\n id\n }\n to {\n id\n }\n }\n }\n\n totalCount\n }\n scheduledReversibleTransactions: scheduledReversibleTransfersConnection(\n orderBy: timestamp_DESC\n first: $limit\n where: { from: { id_eq: $id }, OR: { to: { id_eq: $id } } }\n ) {\n edges {\n node {\n extrinsic {\n id\n pallet\n call\n }\n timestamp\n amount\n timestamp\n scheduledAt\n txId\n fee\n block {\n height\n }\n from {\n id\n }\n to {\n id\n }\n }\n }\n totalCount\n }\n executedReversibleTransactions: executedReversibleTransfersConnection(\n orderBy: timestamp_DESC\n first: $limit\n where: {\n scheduledTransfer: {\n from: { id_eq: $id }\n OR: { to: { id_eq: $id } }\n }\n }\n ) {\n edges {\n node {\n timestamp\n txId\n block {\n height\n }\n scheduledTransfer {\n extrinsic {\n id\n pallet\n call\n }\n amount\n timestamp\n scheduledAt\n txId\n fee\n block {\n height\n }\n from {\n id\n }\n to {\n id\n }\n }\n }\n }\n totalCount\n }\n cancelledReversibleTransactions: cancelledReversibleTransfersConnection(\n orderBy: timestamp_DESC\n first: $limit\n where: {\n scheduledTransfer: {\n from: { id_eq: $id }\n OR: { to: { id_eq: $id } }\n }\n OR: { cancelledBy: { id_eq: $id } }\n }\n ) {\n edges {\n node {\n timestamp\n txId\n block {\n height\n }\n cancelledBy {\n id\n }\n scheduledTransfer {\n extrinsic {\n id\n pallet\n call\n }\n amount\n timestamp\n scheduledAt\n txId\n fee\n block {\n height\n }\n from {\n id\n }\n to {\n id\n }\n }\n }\n }\n totalCount\n }\n minerRewards: minerRewardsConnection(\n orderBy: timestamp_DESC\n first: $limit\n where: { miner: { id_eq: $id } }\n ) {\n edges {\n node {\n block {\n height\n hash\n }\n reward\n miner {\n id\n }\n timestamp\n }\n }\n\n totalCount\n }\n guardian: highSecuritySetsConnection(\n orderBy: timestamp_DESC\n first: $limit\n where: { who: { id_eq: $id } }\n ) {\n edges {\n node {\n timestamp\n block {\n height\n }\n interceptor {\n id\n free\n frozen\n reserved\n }\n }\n }\n\n totalCount\n }\n beneficiaries: highSecuritySetsConnection(\n orderBy: timestamp_DESC\n first: $limit\n where: { interceptor: { id_eq: $id } }\n ) {\n edges {\n node {\n timestamp\n block {\n height\n }\n who {\n id\n free\n frozen\n reserved\n }\n }\n }\n\n totalCount\n }\n wormholeOutputs: wormholeOutputs(\n orderBy: wormholeExtrinsic_timestamp_DESC\n limit: $limit\n where: { exitAccount: { id_eq: $id } }\n ) {\n id\n amount\n exitAccount {\n id\n }\n wormholeExtrinsic {\n id\n extrinsic {\n id\n pallet\n call\n }\n totalAmount\n outputCount\n timestamp\n block {\n height\n }\n outputs {\n id\n exitAccount {\n id\n }\n amount\n }\n }\n }\n }\n ':
types.GetAccountByIdDocument,
'\n query GetAccountsStats($startDate: DateTime!, $endDate: DateTime!) {\n all: accountsConnection(orderBy: id_ASC) {\n totalCount\n }\n recentlyActive: accountsConnection(\n orderBy: id_ASC\n where: {\n transfersFrom_some: {\n timestamp_gte: $startDate\n timestamp_lte: $endDate\n }\n }\n ) {\n totalCount\n }\n recentlyDeposited: accountsConnection(\n orderBy: id_ASC\n where: {\n transfersTo_some: {\n timestamp_gte: $startDate\n timestamp_lte: $endDate\n }\n }\n ) {\n totalCount\n }\n }\n ':
types.GetAccountsStatsDocument,
'\n query GetBlocks(\n $limit: Int\n $offset: Int\n $orderBy: [BlockOrderByInput!]!\n $where: BlockWhereInput\n ) {\n blocks(\n limit: $limit\n offset: $offset\n orderBy: $orderBy\n where: $where\n ) {\n id\n hash\n height\n reward\n timestamp\n extrinsics {\n id\n }\n }\n meta: blocksConnection(orderBy: id_ASC) {\n totalCount\n }\n }\n ':
types.GetBlocksDocument,
'\n query GetRecentBlocks(\n $limit: Int\n $offset: Int\n $orderBy: [BlockOrderByInput!]\n ) {\n blocks(limit: $limit, offset: $offset, orderBy: $orderBy) {\n id\n hash\n height\n reward\n timestamp\n extrinsics {\n id\n }\n }\n }\n ':
types.GetRecentBlocksDocument,
'\n query GetBlockById($height: Int!, $hash: String!, $limit: Int!) {\n blocks(where: { height_eq: $height, OR: { hash_eq: $hash } }) {\n id\n hash\n height\n reward\n timestamp\n extrinsics(orderBy: indexInBlock_ASC) {\n id\n pallet\n call\n success\n fee\n timestamp\n indexInBlock\n signer {\n id\n }\n }\n }\n minerRewards(\n where: {\n block: { height_eq: $height }\n OR: { block: { hash_eq: $hash } }\n }\n ) {\n reward\n timestamp\n miner {\n id\n }\n block {\n height\n hash\n }\n }\n transactions: transfersConnection(\n orderBy: timestamp_DESC\n first: $limit\n where: {\n extrinsic_isNull: false\n AND: {\n block: { height_eq: $height }\n OR: { block: { hash_eq: $hash } }\n }\n }\n ) {\n edges {\n node {\n fee\n extrinsic {\n id\n pallet\n call\n }\n block {\n height\n }\n amount\n timestamp\n from {\n id\n }\n to {\n id\n }\n }\n }\n\n totalCount\n }\n scheduledReversibleTransactions: scheduledReversibleTransfersConnection(\n orderBy: timestamp_DESC\n first: $limit\n where: {\n block: { height_eq: $height }\n OR: { block: { hash_eq: $hash } }\n }\n ) {\n edges {\n node {\n extrinsic {\n id\n pallet\n call\n }\n timestamp\n amount\n timestamp\n scheduledAt\n txId\n fee\n block {\n height\n }\n from {\n id\n }\n to {\n id\n }\n }\n }\n totalCount\n }\n executedReversibleTransactions: executedReversibleTransfersConnection(\n orderBy: timestamp_DESC\n first: $limit\n where: {\n block: { height_eq: $height }\n OR: { block: { hash_eq: $hash } }\n }\n ) {\n edges {\n node {\n timestamp\n txId\n block {\n height\n }\n scheduledTransfer {\n extrinsic {\n id\n pallet\n call\n }\n amount\n timestamp\n scheduledAt\n txId\n fee\n block {\n height\n }\n from {\n id\n }\n to {\n id\n }\n }\n }\n }\n totalCount\n }\n cancelledReversibleTransactions: cancelledReversibleTransfersConnection(\n orderBy: timestamp_DESC\n first: $limit\n where: {\n block: { height_eq: $height }\n OR: { block: { hash_eq: $hash } }\n }\n ) {\n edges {\n node {\n timestamp\n txId\n block {\n height\n }\n cancelledBy {\n id\n }\n scheduledTransfer {\n extrinsic {\n id\n pallet\n call\n }\n amount\n timestamp\n scheduledAt\n txId\n fee\n block {\n height\n }\n from {\n id\n }\n to {\n id\n }\n }\n }\n }\n totalCount\n }\n highSecuritySets: highSecuritySetsConnection(\n orderBy: timestamp_DESC\n first: $limit\n where: {\n block: { height_eq: $height }\n OR: { block: { hash_eq: $hash } }\n }\n ) {\n edges {\n node {\n extrinsic {\n id\n pallet\n call\n }\n timestamp\n delay\n block {\n height\n }\n who {\n id\n }\n interceptor {\n id\n }\n }\n }\n\n totalCount\n }\n errorEvents: errorEventsConnection(\n orderBy: timestamp_DESC\n first: $limit\n where: {\n block: { height_eq: $height }\n OR: { block: { hash_eq: $hash } }\n }\n ) {\n edges {\n node {\n errorDocs\n errorModule\n errorName\n errorType\n extrinsic {\n id\n pallet\n call\n }\n timestamp\n block {\n height\n }\n }\n }\n\n totalCount\n }\n wormholeExtrinsics(\n orderBy: timestamp_DESC\n limit: $limit\n where: {\n block: { height_eq: $height }\n OR: { block: { hash_eq: $hash } }\n }\n ) {\n id\n extrinsic {\n id\n pallet\n call\n }\n totalAmount\n outputCount\n timestamp\n block {\n height\n }\n outputs {\n id\n exitAccount {\n id\n }\n amount\n }\n }\n }\n ':
types.GetBlockByIdDocument,
'\n query GetCancelledReversibleTransactions(\n $limit: Int\n $offset: Int\n $orderBy: [CancelledReversibleTransferOrderByInput!]\n $where: CancelledReversibleTransferWhereInput\n ) {\n cancelledReversibleTransactions: cancelledReversibleTransfers(\n limit: $limit\n offset: $offset\n orderBy: $orderBy\n where: $where\n ) {\n timestamp\n txId\n block {\n height\n }\n cancelledBy {\n id\n }\n scheduledTransfer {\n extrinsic {\n id\n pallet\n call\n }\n amount\n timestamp\n scheduledAt\n txId\n fee\n block {\n height\n }\n from {\n id\n }\n to {\n id\n }\n }\n }\n meta: cancelledReversibleTransfersConnection(\n orderBy: id_ASC\n where: $where\n ) {\n totalCount\n }\n }\n ':
types.GetCancelledReversibleTransactionsDocument,
'\n query GetRecentCancelledReversibleTransactions(\n $limit: Int\n $offset: Int\n $orderBy: [CancelledReversibleTransferOrderByInput!]\n ) {\n cancelledReversibleTransactions: cancelledReversibleTransfers(\n limit: $limit\n offset: $offset\n orderBy: $orderBy\n ) {\n timestamp\n txId\n block {\n height\n }\n cancelledBy {\n id\n }\n scheduledTransfer {\n extrinsic {\n id\n pallet\n call\n }\n amount\n timestamp\n scheduledAt\n txId\n fee\n block {\n height\n }\n from {\n id\n }\n to {\n id\n }\n }\n }\n }\n ':
types.GetRecentCancelledReversibleTransactionsDocument,
'\n query GetCancelledReversibleTransactionsStats(\n $startDate: DateTime!\n $endDate: DateTime!\n ) {\n last24Hour: cancelledReversibleTransfersConnection(\n orderBy: id_ASC\n where: { timestamp_gte: $startDate, timestamp_lte: $endDate }\n ) {\n totalCount\n }\n allTime: cancelledReversibleTransfersConnection(orderBy: id_ASC) {\n totalCount\n }\n }\n ':
types.GetCancelledReversibleTransactionsStatsDocument,
'\n query GetCancelledReversibleTransactionByTxId($txId: String!) {\n cancelledReversibleTransactions: cancelledReversibleTransfers(\n where: { txId_eq: $txId }\n ) {\n timestamp\n txId\n block {\n height\n }\n cancelledBy {\n id\n }\n extrinsic {\n id\n pallet\n call\n }\n scheduledTransfer {\n amount\n scheduledAt\n fee\n from {\n id\n }\n to {\n id\n }\n }\n }\n }\n ':
types.GetCancelledReversibleTransactionByTxIdDocument,
'\n query GetStatus(\n $beginningDate: DateTime!\n $todayDate: DateTime!\n $endDate: DateTime!\n ) {\n transactions: transfersConnection(\n orderBy: id_ASC\n where: { extrinsic_isNull: false }\n ) {\n totalCount\n }\n scheduledReversibleTransactions: scheduledReversibleTransfersConnection(\n orderBy: id_ASC\n ) {\n totalCount\n }\n executedReversibleTransactions: executedReversibleTransfersConnection(\n orderBy: id_ASC\n ) {\n totalCount\n }\n cancelledReversibleTransactions: cancelledReversibleTransfersConnection(\n orderBy: id_ASC\n ) {\n totalCount\n }\n status: squidStatus {\n hash\n height\n finalizedHeight\n finalizedHash\n }\n minedBlocks24Hours: blocksConnection(\n orderBy: id_ASC\n where: { timestamp_gte: $todayDate, timestamp_lte: $endDate }\n ) {\n totalCount\n }\n allActiveAccounts: accountsConnection(\n orderBy: id_ASC\n where: {\n transfersFrom_some: {\n timestamp_gte: $beginningDate\n timestamp_lte: $endDate\n }\n }\n ) {\n totalCount\n }\n allDepositAccounts: accountsConnection(\n orderBy: id_ASC\n where: {\n transfersTo_some: {\n timestamp_gte: $beginningDate\n timestamp_lte: $endDate\n }\n }\n ) {\n totalCount\n }\n }\n ':
types.GetStatusDocument,
'\n query GetErrorEvents(\n $limit: Int\n $offset: Int\n $orderBy: [ErrorEventOrderByInput!]\n $where: ErrorEventWhereInput\n ) {\n errorEvents(\n limit: $limit\n offset: $offset\n orderBy: $orderBy\n where: $where\n ) {\n errorDocs\n errorModule\n errorName\n errorType\n extrinsic {\n id\n pallet\n call\n }\n id\n timestamp\n block {\n height\n }\n }\n meta: errorEventsConnection(orderBy: id_ASC, where: $where) {\n totalCount\n }\n }\n ':
types.GetErrorEventsDocument,
'\n query GetRecentErrorEvents(\n $limit: Int\n $offset: Int\n $orderBy: [ErrorEventOrderByInput!]\n $where: ErrorEventWhereInput\n ) {\n errorEvents(\n limit: $limit\n offset: $offset\n orderBy: $orderBy\n where: $where\n ) {\n errorDocs\n errorModule\n errorName\n errorType\n extrinsic {\n id\n pallet\n call\n }\n id\n timestamp\n block {\n height\n }\n }\n }\n ':
types.GetRecentErrorEventsDocument,
'\n query GetErrorEventsStats($startDate: DateTime!, $endDate: DateTime!) {\n last24Hour: errorEventsConnection(\n orderBy: id_ASC\n where: { timestamp_gte: $startDate, timestamp_lte: $endDate }\n ) {\n totalCount\n }\n allTime: errorEventsConnection(orderBy: id_ASC) {\n totalCount\n }\n }\n ':
types.GetErrorEventsStatsDocument,
'\n query GetErrorEventByHash($hash: String!) {\n errorEvents: errorEvents(where: { extrinsic: { id_eq: $hash } }) {\n errorDocs\n errorModule\n errorName\n errorType\n extrinsic {\n id\n pallet\n call\n }\n id\n timestamp\n block {\n height\n }\n }\n }\n ':
types.GetErrorEventByHashDocument,
'\n query GetExecutedReversibleTransactions(\n $limit: Int\n $offset: Int\n $orderBy: [ExecutedReversibleTransferOrderByInput!]\n $where: ExecutedReversibleTransferWhereInput\n ) {\n executedReversibleTransactions: executedReversibleTransfers(\n limit: $limit\n offset: $offset\n orderBy: $orderBy\n where: $where\n ) {\n timestamp\n txId\n block {\n height\n }\n scheduledTransfer {\n extrinsic {\n id\n pallet\n call\n }\n amount\n timestamp\n scheduledAt\n txId\n fee\n block {\n height\n }\n from {\n id\n }\n to {\n id\n }\n }\n }\n meta: executedReversibleTransfersConnection(\n orderBy: id_ASC\n where: $where\n ) {\n totalCount\n }\n }\n ':
types.GetExecutedReversibleTransactionsDocument,
'\n query GetRecentExecutedReversibleTransactions(\n $limit: Int\n $offset: Int\n $orderBy: [ExecutedReversibleTransferOrderByInput!]\n ) {\n executedReversibleTransactions: executedReversibleTransfers(\n limit: $limit\n offset: $offset\n orderBy: $orderBy\n ) {\n timestamp\n txId\n block {\n height\n }\n scheduledTransfer {\n extrinsic {\n id\n pallet\n call\n }\n amount\n timestamp\n scheduledAt\n txId\n fee\n block {\n height\n }\n from {\n id\n }\n to {\n id\n }\n }\n }\n }\n ':
types.GetRecentExecutedReversibleTransactionsDocument,
'\n query GetExecutedReversibleTransactionsStats(\n $startDate: DateTime!\n $endDate: DateTime!\n ) {\n last24Hour: executedReversibleTransfersConnection(\n orderBy: id_ASC\n where: { timestamp_gte: $startDate, timestamp_lte: $endDate }\n ) {\n totalCount\n }\n allTime: executedReversibleTransfersConnection(orderBy: id_ASC) {\n totalCount\n }\n }\n ':
types.GetExecutedReversibleTransactionsStatsDocument,
'\n query GetExecutedReversibleTransactionByTxId($txId: String!) {\n executedReversibleTransactions: executedReversibleTransfers(\n where: { txId_eq: $txId }\n ) {\n timestamp\n txId\n block {\n height\n }\n scheduledTransfer {\n amount\n scheduledAt\n fee\n from {\n id\n }\n to {\n id\n }\n }\n }\n }\n ':
types.GetExecutedReversibleTransactionByTxIdDocument,
'\n query GetHighSecuritySets(\n $limit: Int\n $offset: Int\n $orderBy: [HighSecuritySetOrderByInput!]\n $where: HighSecuritySetWhereInput\n ) {\n highSecuritySets(\n limit: $limit\n offset: $offset\n orderBy: $orderBy\n where: $where\n ) {\n id\n extrinsic {\n id\n pallet\n call\n }\n who {\n id\n }\n interceptor {\n id\n }\n timestamp\n delay\n block {\n height\n }\n }\n meta: highSecuritySetsConnection(orderBy: id_ASC, where: $where) {\n totalCount\n }\n }\n ':
types.GetHighSecuritySetsDocument,
'\n query GetRecentHighSecuritySets(\n $limit: Int\n $offset: Int\n $orderBy: [HighSecuritySetOrderByInput!]\n $where: HighSecuritySetWhereInput\n ) {\n highSecuritySets(\n limit: $limit\n offset: $offset\n orderBy: $orderBy\n where: $where\n ) {\n id\n extrinsic {\n id\n pallet\n call\n }\n who {\n id\n }\n interceptor {\n id\n }\n timestamp\n delay\n block {\n height\n }\n }\n }\n ':
types.GetRecentHighSecuritySetsDocument,
'\n query GetHighSecuritySetsStats(\n $startDate: DateTime!\n $endDate: DateTime!\n ) {\n last24Hour: highSecuritySetsConnection(\n orderBy: id_ASC\n where: { timestamp_gte: $startDate, timestamp_lte: $endDate }\n ) {\n totalCount\n }\n allTime: highSecuritySetsConnection(orderBy: id_ASC) {\n totalCount\n }\n }\n ':
types.GetHighSecuritySetsStatsDocument,
'\n query GetHighSecuritySetByHash($hash: String!) {\n highSecuritySets(where: { extrinsic: { id_eq: $hash } }) {\n id\n extrinsic {\n id\n pallet\n call\n }\n who {\n id\n }\n interceptor {\n id\n }\n timestamp\n delay\n block {\n height\n }\n }\n }\n ':
types.GetHighSecuritySetByHashDocument,
'\n query GetMinerLeaderboard($limit: Int, $offset: Int) {\n leaderboardEntries: minerStats(\n limit: $limit\n offset: $offset\n orderBy: totalMinedBlocks_DESC\n ) {\n id\n totalMinedBlocks\n totalRewards\n }\n meta: minerStatsConnection(orderBy: id_ASC) {\n totalCount\n }\n }\n ':
types.GetMinerLeaderboardDocument,
'\n query GetMinerRewards(\n $limit: Int\n $offset: Int\n $orderBy: [MinerRewardOrderByInput!]\n $where: MinerRewardWhereInput\n ) {\n minerRewards(\n limit: $limit\n offset: $offset\n orderBy: $orderBy\n where: $where\n ) {\n block {\n height\n hash\n }\n reward\n miner {\n id\n }\n timestamp\n }\n meta: minerRewardsConnection(orderBy: id_ASC, where: $where) {\n totalCount\n }\n }\n ':
types.GetMinerRewardsDocument,
'\n query GetRecentMinerRewards(\n $limit: Int\n $offset: Int\n $orderBy: [MinerRewardOrderByInput!]\n $where: MinerRewardWhereInput\n ) {\n minerRewards(\n limit: $limit\n offset: $offset\n orderBy: $orderBy\n where: $where\n ) {\n block {\n height\n hash\n }\n reward\n miner {\n id\n }\n timestamp\n }\n }\n ':
types.GetRecentMinerRewardsDocument,
'\n query GetMinerRewardsStats($startDate: DateTime!, $endDate: DateTime!) {\n last24Hour: minerRewardsConnection(\n orderBy: id_ASC\n where: { timestamp_gte: $startDate, timestamp_lte: $endDate }\n ) {\n totalCount\n }\n allTime: minerRewardsConnection(orderBy: id_ASC) {\n totalCount\n }\n }\n ':
types.GetMinerRewardsStatsDocument,
'\n query GetMinerRewardByHash($hash: String!) {\n minerRewards(where: { block: { hash_eq: $hash } }) {\n block {\n height\n hash\n }\n reward\n miner {\n id\n }\n timestamp\n }\n }\n ':
types.GetMinerRewardByHashDocument,
'\n query GetScheduledReversibleTransactions(\n $limit: Int\n $offset: Int\n $orderBy: [ScheduledReversibleTransferOrderByInput!]\n $where: ScheduledReversibleTransferWhereInput\n ) {\n scheduledReversibleTransactions: scheduledReversibleTransfers(\n limit: $limit\n offset: $offset\n orderBy: $orderBy\n where: $where\n ) {\n extrinsic {\n id\n pallet\n call\n }\n amount\n timestamp\n scheduledAt\n txId\n fee\n block {\n height\n }\n from {\n id\n }\n to {\n id\n }\n }\n meta: scheduledReversibleTransfersConnection(\n orderBy: id_ASC\n where: $where\n ) {\n totalCount\n }\n }\n ':
types.GetScheduledReversibleTransactionsDocument,
'\n query GetRecentScheduledReversibleTransactions(\n $limit: Int\n $offset: Int\n $orderBy: [ScheduledReversibleTransferOrderByInput!]\n ) {\n scheduledReversibleTransactions: scheduledReversibleTransfers(\n limit: $limit\n offset: $offset\n orderBy: $orderBy\n ) {\n extrinsic {\n id\n pallet\n call\n }\n amount\n timestamp\n scheduledAt\n txId\n fee\n block {\n height\n }\n from {\n id\n }\n to {\n id\n }\n }\n }\n ':
types.GetRecentScheduledReversibleTransactionsDocument,
'\n query GetScheduledReversibleTransactionsStats(\n $startDate: DateTime!\n $endDate: DateTime!\n ) {\n last24Hour: scheduledReversibleTransfersConnection(\n orderBy: id_ASC\n where: { timestamp_gte: $startDate, timestamp_lte: $endDate }\n ) {\n totalCount\n }\n allTime: scheduledReversibleTransfersConnection(orderBy: id_ASC) {\n totalCount\n }\n }\n ':
types.GetScheduledReversibleTransactionsStatsDocument,
'\n query GetScheduledReversibleTransactionByTxId($txId: String!) {\n scheduledReversibleTransactions: scheduledReversibleTransfers(\n where: { txId_eq: $txId }\n ) {\n extrinsic {\n id\n pallet\n call\n }\n amount\n timestamp\n scheduledAt\n txId\n fee\n block {\n height\n }\n from {\n id\n }\n to {\n id\n }\n }\n }\n ':
types.GetScheduledReversibleTransactionByTxIdDocument,
'\n query SearchAll($keyword: String, $keyword_number: Int, $limit: Int) {\n transactions: transfers(\n limit: $limit\n where: { extrinsic: { id_startsWith: $keyword } }\n ) {\n extrinsic {\n id\n pallet\n call\n }\n }\n scheduledReversibleTransactions: scheduledReversibleTransfers(\n limit: $limit\n where: { txId_startsWith: $keyword }\n ) {\n extrinsic {\n id\n pallet\n call\n }\n txId\n }\n executedReversibleTransactions: executedReversibleTransfers(\n limit: $limit\n where: { txId_startsWith: $keyword }\n ) {\n txId\n }\n cancelledReversibleTransactions: cancelledReversibleTransfers(\n limit: $limit\n where: { txId_startsWith: $keyword }\n ) {\n txId\n }\n accounts(limit: $limit, where: { id_startsWith: $keyword }) {\n id\n }\n blocks(\n limit: $limit\n where: {\n hash_startsWith: $keyword\n OR: { height_eq: $keyword_number }\n }\n ) {\n height\n }\n highSecuritySets(\n limit: $limit\n where: { extrinsic: { id_startsWith: $keyword } }\n ) {\n extrinsic {\n id\n pallet\n call\n }\n }\n minerRewards(\n limit: $limit\n where: { block: { hash_startsWith: $keyword } }\n ) {\n block {\n height\n hash\n }\n reward\n miner {\n id\n }\n timestamp\n }\n errorEvents(\n limit: $limit\n where: {\n errorType_containsInsensitive: $keyword\n OR: { errorName_containsInsensitive: $keyword }\n }\n ) {\n extrinsic {\n id\n pallet\n call\n }\n }\n }\n ':
types.SearchAllDocument,
'\n query GetTransactions(\n $limit: Int\n $offset: Int\n $orderBy: [TransferOrderByInput!]\n $where: TransferWhereInput\n ) {\n transactions: transfers(\n limit: $limit\n offset: $offset\n orderBy: $orderBy\n where: $where\n ) {\n fee\n extrinsic {\n id\n pallet\n call\n }\n block {\n height\n }\n amount\n timestamp\n from {\n id\n }\n to {\n id\n }\n }\n meta: transfersConnection(orderBy: id_ASC, where: $where) {\n totalCount\n }\n }\n ':
types.GetTransactionsDocument,
'\n query GetRecentTransactions(\n $limit: Int\n $offset: Int\n $orderBy: [TransferOrderByInput!]\n $where: TransferWhereInput\n ) {\n transactions: transfers(\n limit: $limit\n offset: $offset\n orderBy: $orderBy\n where: $where\n ) {\n fee\n extrinsic {\n id\n pallet\n call\n }\n block {\n height\n }\n amount\n timestamp\n from {\n id\n }\n to {\n id\n }\n }\n }\n ':
types.GetRecentTransactionsDocument,
'\n query GetTransactionsStats($startDate: DateTime!, $endDate: DateTime!) {\n last24Hour: transfersConnection(\n orderBy: id_ASC\n where: {\n timestamp_gte: $startDate\n timestamp_lte: $endDate\n extrinsic_isNull: false\n }\n ) {\n totalCount\n }\n allTime: transfersConnection(\n orderBy: id_ASC\n where: { extrinsic_isNull: false }\n ) {\n totalCount\n }\n allTime: transfersConnection(\n orderBy: id_ASC\n where: { extrinsic_isNull: false }\n ) {\n totalCount\n }\n }\n ':
types.GetTransactionsStatsDocument,
'\n query GetExtrinsicByHash($hash: String!) {\n extrinsics(where: { id_eq: $hash }) {\n id\n pallet\n call\n success\n fee\n timestamp\n indexInBlock\n signer {\n id\n }\n block {\n height\n }\n }\n transfers(\n where: { extrinsic: { id_eq: $hash } }\n orderBy: timestamp_ASC\n ) {\n id\n amount\n timestamp\n from {\n id\n }\n to {\n id\n }\n }\n }\n ':
types.GetExtrinsicByHashDocument,
'\n query GetWormholeExtrinsics(\n $limit: Int\n $offset: Int\n $orderBy: [WormholeExtrinsicOrderByInput!]!\n $where: WormholeExtrinsicWhereInput\n ) {\n wormholeExtrinsics(\n limit: $limit\n offset: $offset\n orderBy: $orderBy\n where: $where\n ) {\n id\n extrinsic {\n id\n pallet\n call\n }\n totalAmount\n outputCount\n timestamp\n privacyScore\n privacyLabel\n block {\n height\n }\n }\n meta: wormholeExtrinsicsConnection(orderBy: id_ASC) {\n totalCount\n }\n }\n':
types.GetWormholeExtrinsicsDocument,
'\n query GetWormholeExtrinsicById($id: String!) {\n wormholeExtrinsicById(id: $id) {\n id\n extrinsic {\n id\n pallet\n call\n }\n totalAmount\n outputCount\n timestamp\n privacyScore\n privacyScore01Pct\n privacyScore1Pct\n privacyScore5Pct\n privacyLabel\n poolSnapshot\n block {\n id\n height\n hash\n timestamp\n }\n outputs {\n id\n exitAccount {\n id\n }\n amount\n }\n }\n wormholeNullifiers(\n where: { wormholeExtrinsic: { extrinsic: { id_eq: $id } } }\n ) {\n nullifier\n nullifierHash\n }\n }\n':
types.GetWormholeExtrinsicByIdDocument,
'\n query GetDepositPoolStats {\n depositPoolStatsById(id: "global") {\n lastUpdatedBlock\n buckets\n }\n }\n':
types.GetDepositPoolStatsDocument
};
/**
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
*
*
* @example
* ```ts
* const query = gql(`query GetUser($id: ID!) { user(id: $id) { name } }`);
* ```
*
* The query argument is unknown!
* Please regenerate the types.
*/
export function gql(source: string): unknown;
/**
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
*/
export function gql(
source: '\n query GetAccounts(\n $limit: Int\n $offset: Int\n $orderBy: [AccountOrderByInput!]\n ) {\n accounts(limit: $limit, offset: $offset, orderBy: $orderBy) {\n id\n free\n frozen\n reserved\n }\n meta: accountsConnection(orderBy: id_ASC) {\n totalCount\n }\n }\n '
): (typeof documents)['\n query GetAccounts(\n $limit: Int\n $offset: Int\n $orderBy: [AccountOrderByInput!]\n ) {\n accounts(limit: $limit, offset: $offset, orderBy: $orderBy) {\n id\n free\n frozen\n reserved\n }\n meta: accountsConnection(orderBy: id_ASC) {\n totalCount\n }\n }\n '];
/**
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
*/
export function gql(
source: '\n query GetAccountById($id: String!, $limit: Int!) {\n account: accountById(id: $id) {\n id\n free\n frozen\n reserved\n }\n transactions: transfersConnection(\n orderBy: timestamp_DESC\n first: $limit\n where: {\n extrinsic_isNull: false\n AND: { from: { id_eq: $id }, OR: { to: { id_eq: $id } } }\n }\n ) {\n edges {\n node {\n fee\n extrinsic {\n id\n pallet\n call\n }\n block {\n height\n }\n amount\n timestamp\n from {\n id\n }\n to {\n id\n }\n }\n }\n\n totalCount\n }\n scheduledReversibleTransactions: scheduledReversibleTransfersConnection(\n orderBy: timestamp_DESC\n first: $limit\n where: { from: { id_eq: $id }, OR: { to: { id_eq: $id } } }\n ) {\n edges {\n node {\n extrinsic {\n id\n pallet\n call\n }\n timestamp\n amount\n timestamp\n scheduledAt\n txId\n fee\n block {\n height\n }\n from {\n id\n }\n to {\n id\n }\n }\n }\n totalCount\n }\n executedReversibleTransactions: executedReversibleTransfersConnection(\n orderBy: timestamp_DESC\n first: $limit\n where: {\n scheduledTransfer: {\n from: { id_eq: $id }\n OR: { to: { id_eq: $id } }\n }\n }\n ) {\n edges {\n node {\n timestamp\n txId\n block {\n height\n }\n scheduledTransfer {\n extrinsic {\n id\n pallet\n call\n }\n amount\n timestamp\n scheduledAt\n txId\n fee\n block {\n height\n }\n from {\n id\n }\n to {\n id\n }\n }\n }\n }\n totalCount\n }\n cancelledReversibleTransactions: cancelledReversibleTransfersConnection(\n orderBy: timestamp_DESC\n first: $limit\n where: {\n scheduledTransfer: {\n from: { id_eq: $id }\n OR: { to: { id_eq: $id } }\n }\n OR: { cancelledBy: { id_eq: $id } }\n }\n ) {\n edges {\n node {\n timestamp\n txId\n block {\n height\n }\n cancelledBy {\n id\n }\n scheduledTransfer {\n extrinsic {\n id\n pallet\n call\n }\n amount\n timestamp\n scheduledAt\n txId\n fee\n block {\n height\n }\n from {\n id\n }\n to {\n id\n }\n }\n }\n }\n totalCount\n }\n minerRewards: minerRewardsConnection(\n orderBy: timestamp_DESC\n first: $limit\n where: { miner: { id_eq: $id } }\n ) {\n edges {\n node {\n block {\n height\n hash\n }\n reward\n miner {\n id\n }\n timestamp\n }\n }\n\n totalCount\n }\n guardian: highSecuritySetsConnection(\n orderBy: timestamp_DESC\n first: $limit\n where: { who: { id_eq: $id } }\n ) {\n edges {\n node {\n timestamp\n block {\n height\n }\n interceptor {\n id\n free\n frozen\n reserved\n }\n }\n }\n\n totalCount\n }\n beneficiaries: highSecuritySetsConnection(\n orderBy: timestamp_DESC\n first: $limit\n where: { interceptor: { id_eq: $id } }\n ) {\n edges {\n node {\n timestamp\n block {\n height\n }\n who {\n id\n free\n frozen\n reserved\n }\n }\n }\n\n totalCount\n }\n wormholeOutputs: wormholeOutputs(\n orderBy: wormholeExtrinsic_timestamp_DESC\n limit: $limit\n where: { exitAccount: { id_eq: $id } }\n ) {\n id\n amount\n exitAccount {\n id\n }\n wormholeExtrinsic {\n id\n extrinsic {\n id\n pallet\n call\n }\n totalAmount\n outputCount\n timestamp\n block {\n height\n }\n outputs {\n id\n exitAccount {\n id\n }\n amount\n }\n }\n }\n }\n '
): (typeof documents)['\n query GetAccountById($id: String!, $limit: Int!) {\n account: accountById(id: $id) {\n id\n free\n frozen\n reserved\n }\n transactions: transfersConnection(\n orderBy: timestamp_DESC\n first: $limit\n where: {\n extrinsic_isNull: false\n AND: { from: { id_eq: $id }, OR: { to: { id_eq: $id } } }\n }\n ) {\n edges {\n node {\n fee\n extrinsic {\n id\n pallet\n call\n }\n block {\n height\n }\n amount\n timestamp\n from {\n id\n }\n to {\n id\n }\n }\n }\n\n totalCount\n }\n scheduledReversibleTransactions: scheduledReversibleTransfersConnection(\n orderBy: timestamp_DESC\n first: $limit\n where: { from: { id_eq: $id }, OR: { to: { id_eq: $id } } }\n ) {\n edges {\n node {\n extrinsic {\n id\n pallet\n call\n }\n timestamp\n amount\n timestamp\n scheduledAt\n txId\n fee\n block {\n height\n }\n from {\n id\n }\n to {\n id\n }\n }\n }\n totalCount\n }\n executedReversibleTransactions: executedReversibleTransfersConnection(\n orderBy: timestamp_DESC\n first: $limit\n where: {\n scheduledTransfer: {\n from: { id_eq: $id }\n OR: { to: { id_eq: $id } }\n }\n }\n ) {\n edges {\n node {\n timestamp\n txId\n block {\n height\n }\n scheduledTransfer {\n extrinsic {\n id\n pallet\n call\n }\n amount\n timestamp\n scheduledAt\n txId\n fee\n block {\n height\n }\n from {\n id\n }\n to {\n id\n }\n }\n }\n }\n totalCount\n }\n cancelledReversibleTransactions: cancelledReversibleTransfersConnection(\n orderBy: timestamp_DESC\n first: $limit\n where: {\n scheduledTransfer: {\n from: { id_eq: $id }\n OR: { to: { id_eq: $id } }\n }\n OR: { cancelledBy: { id_eq: $id } }\n }\n ) {\n edges {\n node {\n timestamp\n txId\n block {\n height\n }\n cancelledBy {\n id\n }\n scheduledTransfer {\n extrinsic {\n id\n pallet\n call\n }\n amount\n timestamp\n scheduledAt\n txId\n fee\n block {\n height\n }\n from {\n id\n }\n to {\n id\n }\n }\n }\n }\n totalCount\n }\n minerRewards: minerRewardsConnection(\n orderBy: timestamp_DESC\n first: $limit\n where: { miner: { id_eq: $id } }\n ) {\n edges {\n node {\n block {\n height\n hash\n }\n reward\n miner {\n id\n }\n timestamp\n }\n }\n\n totalCount\n }\n guardian: highSecuritySetsConnection(\n orderBy: timestamp_DESC\n first: $limit\n where: { who: { id_eq: $id } }\n ) {\n edges {\n node {\n timestamp\n block {\n height\n }\n interceptor {\n id\n free\n frozen\n reserved\n }\n }\n }\n\n totalCount\n }\n beneficiaries: highSecuritySetsConnection(\n orderBy: timestamp_DESC\n first: $limit\n where: { interceptor: { id_eq: $id } }\n ) {\n edges {\n node {\n timestamp\n block {\n height\n }\n who {\n id\n free\n frozen\n reserved\n }\n }\n }\n\n totalCount\n }\n wormholeOutputs: wormholeOutputs(\n orderBy: wormholeExtrinsic_timestamp_DESC\n limit: $limit\n where: { exitAccount: { id_eq: $id } }\n ) {\n id\n amount\n exitAccount {\n id\n }\n wormholeExtrinsic {\n id\n extrinsic {\n id\n pallet\n call\n }\n totalAmount\n outputCount\n timestamp\n block {\n height\n }\n outputs {\n id\n exitAccount {\n id\n }\n amount\n }\n }\n }\n }\n '];
/**
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
*/
export function gql(
source: '\n query GetAccountsStats($startDate: DateTime!, $endDate: DateTime!) {\n all: accountsConnection(orderBy: id_ASC) {\n totalCount\n }\n recentlyActive: accountsConnection(\n orderBy: id_ASC\n where: {\n transfersFrom_some: {\n timestamp_gte: $startDate\n timestamp_lte: $endDate\n }\n }\n ) {\n totalCount\n }\n recentlyDeposited: accountsConnection(\n orderBy: id_ASC\n where: {\n transfersTo_some: {\n timestamp_gte: $startDate\n timestamp_lte: $endDate\n }\n }\n ) {\n totalCount\n }\n }\n '
): (typeof documents)['\n query GetAccountsStats($startDate: DateTime!, $endDate: DateTime!) {\n all: accountsConnection(orderBy: id_ASC) {\n totalCount\n }\n recentlyActive: accountsConnection(\n orderBy: id_ASC\n where: {\n transfersFrom_some: {\n timestamp_gte: $startDate\n timestamp_lte: $endDate\n }\n }\n ) {\n totalCount\n }\n recentlyDeposited: accountsConnection(\n orderBy: id_ASC\n where: {\n transfersTo_some: {\n timestamp_gte: $startDate\n timestamp_lte: $endDate\n }\n }\n ) {\n totalCount\n }\n }\n '];
/**
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
*/
export function gql(
source: '\n query GetBlocks(\n $limit: Int\n $offset: Int\n $orderBy: [BlockOrderByInput!]!\n $where: BlockWhereInput\n ) {\n blocks(\n limit: $limit\n offset: $offset\n orderBy: $orderBy\n where: $where\n ) {\n id\n hash\n height\n reward\n timestamp\n extrinsics {\n id\n }\n }\n meta: blocksConnection(orderBy: id_ASC) {\n totalCount\n }\n }\n '
): (typeof documents)['\n query GetBlocks(\n $limit: Int\n $offset: Int\n $orderBy: [BlockOrderByInput!]!\n $where: BlockWhereInput\n ) {\n blocks(\n limit: $limit\n offset: $offset\n orderBy: $orderBy\n where: $where\n ) {\n id\n hash\n height\n reward\n timestamp\n extrinsics {\n id\n }\n }\n meta: blocksConnection(orderBy: id_ASC) {\n totalCount\n }\n }\n '];
/**
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
*/
export function gql(
source: '\n query GetRecentBlocks(\n $limit: Int\n $offset: Int\n $orderBy: [BlockOrderByInput!]\n ) {\n blocks(limit: $limit, offset: $offset, orderBy: $orderBy) {\n id\n hash\n height\n reward\n timestamp\n extrinsics {\n id\n }\n }\n }\n '
): (typeof documents)['\n query GetRecentBlocks(\n $limit: Int\n $offset: Int\n $orderBy: [BlockOrderByInput!]\n ) {\n blocks(limit: $limit, offset: $offset, orderBy: $orderBy) {\n id\n hash\n height\n reward\n timestamp\n extrinsics {\n id\n }\n }\n }\n '];
/**
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
*/
export function gql(
source: '\n query GetBlockById($height: Int!, $hash: String!, $limit: Int!) {\n blocks(where: { height_eq: $height, OR: { hash_eq: $hash } }) {\n id\n hash\n height\n reward\n timestamp\n extrinsics(orderBy: indexInBlock_ASC) {\n id\n pallet\n call\n success\n fee\n timestamp\n indexInBlock\n signer {\n id\n }\n }\n }\n minerRewards(\n where: {\n block: { height_eq: $height }\n OR: { block: { hash_eq: $hash } }\n }\n ) {\n reward\n timestamp\n miner {\n id\n }\n block {\n height\n hash\n }\n }\n transactions: transfersConnection(\n orderBy: timestamp_DESC\n first: $limit\n where: {\n extrinsic_isNull: false\n AND: {\n block: { height_eq: $height }\n OR: { block: { hash_eq: $hash } }\n }\n }\n ) {\n edges {\n node {\n fee\n extrinsic {\n id\n pallet\n call\n }\n block {\n height\n }\n amount\n timestamp\n from {\n id\n }\n to {\n id\n }\n }\n }\n\n totalCount\n }\n scheduledReversibleTransactions: scheduledReversibleTransfersConnection(\n orderBy: timestamp_DESC\n first: $limit\n where: {\n block: { height_eq: $height }\n OR: { block: { hash_eq: $hash } }\n }\n ) {\n edges {\n node {\n extrinsic {\n id\n pallet\n call\n }\n timestamp\n amount\n timestamp\n scheduledAt\n txId\n fee\n block {\n height\n }\n from {\n id\n }\n to {\n id\n }\n }\n }\n totalCount\n }\n executedReversibleTransactions: executedReversibleTransfersConnection(\n orderBy: timestamp_DESC\n first: $limit\n where: {\n block: { height_eq: $height }\n OR: { block: { hash_eq: $hash } }\n }\n ) {\n edges {\n node {\n timestamp\n txId\n block {\n height\n }\n scheduledTransfer {\n extrinsic {\n id\n pallet\n call\n }\n amount\n timestamp\n scheduledAt\n txId\n fee\n block {\n height\n }\n from {\n id\n }\n to {\n id\n }\n }\n }\n }\n totalCount\n }\n cancelledReversibleTransactions: cancelledReversibleTransfersConnection(\n orderBy: timestamp_DESC\n first: $limit\n where: {\n block: { height_eq: $height }\n OR: { block: { hash_eq: $hash } }\n }\n ) {\n edges {\n node {\n timestamp\n txId\n block {\n height\n }\n cancelledBy {\n id\n }\n scheduledTransfer {\n extrinsic {\n id\n pallet\n call\n }\n amount\n timestamp\n scheduledAt\n txId\n fee\n block {\n height\n }\n from {\n id\n }\n to {\n id\n }\n }\n }\n }\n totalCount\n }\n highSecuritySets: highSecuritySetsConnection(\n orderBy: timestamp_DESC\n first: $limit\n where: {\n block: { height_eq: $height }\n OR: { block: { hash_eq: $hash } }\n }\n ) {\n edges {\n node {\n extrinsic {\n id\n pallet\n call\n }\n timestamp\n delay\n block {\n height\n }\n who {\n id\n }\n interceptor {\n id\n }\n }\n }\n\n totalCount\n }\n errorEvents: errorEventsConnection(\n orderBy: timestamp_DESC\n first: $limit\n where: {\n block: { height_eq: $height }\n OR: { block: { hash_eq: $hash } }\n }\n ) {\n edges {\n node {\n errorDocs\n errorModule\n errorName\n errorType\n extrinsic {\n id\n pallet\n call\n }\n timestamp\n block {\n height\n }\n }\n }\n\n totalCount\n }\n wormholeExtrinsics(\n orderBy: timestamp_DESC\n limit: $limit\n where: {\n block: { height_eq: $height }\n OR: { block: { hash_eq: $hash } }\n }\n ) {\n id\n extrinsic {\n id\n pallet\n call\n }\n totalAmount\n outputCount\n timestamp\n block {\n height\n }\n outputs {\n id\n exitAccount {\n id\n }\n amount\n }\n }\n }\n '
): (typeof documents)['\n query GetBlockById($height: Int!, $hash: String!, $limit: Int!) {\n blocks(where: { height_eq: $height, OR: { hash_eq: $hash } }) {\n id\n hash\n height\n reward\n timestamp\n extrinsics(orderBy: indexInBlock_ASC) {\n id\n pallet\n call\n success\n fee\n timestamp\n indexInBlock\n signer {\n id\n }\n }\n }\n minerRewards(\n where: {\n block: { height_eq: $height }\n OR: { block: { hash_eq: $hash } }\n }\n ) {\n reward\n timestamp\n miner {\n id\n }\n block {\n height\n hash\n }\n }\n transactions: transfersConnection(\n orderBy: timestamp_DESC\n first: $limit\n where: {\n extrinsic_isNull: false\n AND: {\n block: { height_eq: $height }\n OR: { block: { hash_eq: $hash } }\n }\n }\n ) {\n edges {\n node {\n fee\n extrinsic {\n id\n pallet\n call\n }\n block {\n height\n }\n amount\n timestamp\n from {\n id\n }\n to {\n id\n }\n }\n }\n\n totalCount\n }\n scheduledReversibleTransactions: scheduledReversibleTransfersConnection(\n orderBy: timestamp_DESC\n first: $limit\n where: {\n block: { height_eq: $height }\n OR: { block: { hash_eq: $hash } }\n }\n ) {\n edges {\n node {\n extrinsic {\n id\n pallet\n call\n }\n timestamp\n amount\n timestamp\n scheduledAt\n txId\n fee\n block {\n height\n }\n from {\n id\n }\n to {\n id\n }\n }\n }\n totalCount\n }\n executedReversibleTransactions: executedReversibleTransfersConnection(\n orderBy: timestamp_DESC\n first: $limit\n where: {\n block: { height_eq: $height }\n OR: { block: { hash_eq: $hash } }\n }\n ) {\n edges {\n node {\n timestamp\n txId\n block {\n height\n }\n scheduledTransfer {\n extrinsic {\n id\n pallet\n call\n }\n amount\n timestamp\n scheduledAt\n txId\n fee\n block {\n height\n }\n from {\n id\n }\n to {\n id\n }\n }\n }\n }\n totalCount\n }\n cancelledReversibleTransactions: cancelledReversibleTransfersConnection(\n orderBy: timestamp_DESC\n first: $limit\n where: {\n block: { height_eq: $height }\n OR: { block: { hash_eq: $hash } }\n }\n ) {\n edges {\n node {\n timestamp\n txId\n block {\n height\n }\n cancelledBy {\n id\n }\n scheduledTransfer {\n extrinsic {\n id\n pallet\n call\n }\n amount\n timestamp\n scheduledAt\n txId\n fee\n block {\n height\n }\n from {\n id\n }\n to {\n id\n }\n }\n }\n }\n totalCount\n }\n highSecuritySets: highSecuritySetsConnection(\n orderBy: timestamp_DESC\n first: $limit\n where: {\n block: { height_eq: $height }\n OR: { block: { hash_eq: $hash } }\n }\n ) {\n edges {\n node {\n extrinsic {\n id\n pallet\n call\n }\n timestamp\n delay\n block {\n height\n }\n who {\n id\n }\n interceptor {\n id\n }\n }\n }\n\n totalCount\n }\n errorEvents: errorEventsConnection(\n orderBy: timestamp_DESC\n first: $limit\n where: {\n block: { height_eq: $height }\n OR: { block: { hash_eq: $hash } }\n }\n ) {\n edges {\n node {\n errorDocs\n errorModule\n errorName\n errorType\n extrinsic {\n id\n pallet\n call\n }\n timestamp\n block {\n height\n }\n }\n }\n\n totalCount\n }\n wormholeExtrinsics(\n orderBy: timestamp_DESC\n limit: $limit\n where: {\n block: { height_eq: $height }\n OR: { block: { hash_eq: $hash } }\n }\n ) {\n id\n extrinsic {\n id\n pallet\n call\n }\n totalAmount\n outputCount\n timestamp\n block {\n height\n }\n outputs {\n id\n exitAccount {\n id\n }\n amount\n }\n }\n }\n '];
/**
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
*/
export function gql(
source: '\n query GetCancelledReversibleTransactions(\n $limit: Int\n $offset: Int\n $orderBy: [CancelledReversibleTransferOrderByInput!]\n $where: CancelledReversibleTransferWhereInput\n ) {\n cancelledReversibleTransactions: cancelledReversibleTransfers(\n limit: $limit\n offset: $offset\n orderBy: $orderBy\n where: $where\n ) {\n timestamp\n txId\n block {\n height\n }\n cancelledBy {\n id\n }\n scheduledTransfer {\n extrinsic {\n id\n pallet\n call\n }\n amount\n timestamp\n scheduledAt\n txId\n fee\n block {\n height\n }\n from {\n id\n }\n to {\n id\n }\n }\n }\n meta: cancelledReversibleTransfersConnection(\n orderBy: id_ASC\n where: $where\n ) {\n totalCount\n }\n }\n '
): (typeof documents)['\n query GetCancelledReversibleTransactions(\n $limit: Int\n $offset: Int\n $orderBy: [CancelledReversibleTransferOrderByInput!]\n $where: CancelledReversibleTransferWhereInput\n ) {\n cancelledReversibleTransactions: cancelledReversibleTransfers(\n limit: $limit\n offset: $offset\n orderBy: $orderBy\n where: $where\n ) {\n timestamp\n txId\n block {\n height\n }\n cancelledBy {\n id\n }\n scheduledTransfer {\n extrinsic {\n id\n pallet\n call\n }\n amount\n timestamp\n scheduledAt\n txId\n fee\n block {\n height\n }\n from {\n id\n }\n to {\n id\n }\n }\n }\n meta: cancelledReversibleTransfersConnection(\n orderBy: id_ASC\n where: $where\n ) {\n totalCount\n }\n }\n '];
/**
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
*/
export function gql(
source: '\n query GetRecentCancelledReversibleTransactions(\n $limit: Int\n $offset: Int\n $orderBy: [CancelledReversibleTransferOrderByInput!]\n ) {\n cancelledReversibleTransactions: cancelledReversibleTransfers(\n limit: $limit\n offset: $offset\n orderBy: $orderBy\n ) {\n timestamp\n txId\n block {\n height\n }\n cancelledBy {\n id\n }\n scheduledTransfer {\n extrinsic {\n id\n pallet\n call\n }\n amount\n timestamp\n scheduledAt\n txId\n fee\n block {\n height\n }\n from {\n id\n }\n to {\n id\n }\n }\n }\n }\n '
): (typeof documents)['\n query GetRecentCancelledReversibleTransactions(\n $limit: Int\n $offset: Int\n $orderBy: [CancelledReversibleTransferOrderByInput!]\n ) {\n cancelledReversibleTransactions: cancelledReversibleTransfers(\n limit: $limit\n offset: $offset\n orderBy: $orderBy\n ) {\n timestamp\n txId\n block {\n height\n }\n cancelledBy {\n id\n }\n scheduledTransfer {\n extrinsic {\n id\n pallet\n call\n }\n amount\n timestamp\n scheduledAt\n txId\n fee\n block {\n height\n }\n from {\n id\n }\n to {\n id\n }\n }\n }\n }\n '];
/**
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
*/
export function gql(
source: '\n query GetCancelledReversibleTransactionsStats(\n $startDate: DateTime!\n $endDate: DateTime!\n ) {\n last24Hour: cancelledReversibleTransfersConnection(\n orderBy: id_ASC\n where: { timestamp_gte: $startDate, timestamp_lte: $endDate }\n ) {\n totalCount\n }\n allTime: cancelledReversibleTransfersConnection(orderBy: id_ASC) {\n totalCount\n }\n }\n '
): (typeof documents)['\n query GetCancelledReversibleTransactionsStats(\n $startDate: DateTime!\n $endDate: DateTime!\n ) {\n last24Hour: cancelledReversibleTransfersConnection(\n orderBy: id_ASC\n where: { timestamp_gte: $startDate, timestamp_lte: $endDate }\n ) {\n totalCount\n }\n allTime: cancelledReversibleTransfersConnection(orderBy: id_ASC) {\n totalCount\n }\n }\n '];
/**
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
*/
export function gql(
source: '\n query GetCancelledReversibleTransactionByTxId($txId: String!) {\n cancelledReversibleTransactions: cancelledReversibleTransfers(\n where: { txId_eq: $txId }\n ) {\n timestamp\n txId\n block {\n height\n }\n cancelledBy {\n id\n }\n extrinsic {\n id\n pallet\n call\n }\n scheduledTransfer {\n amount\n scheduledAt\n fee\n from {\n id\n }\n to {\n id\n }\n }\n }\n }\n '
): (typeof documents)['\n query GetCancelledReversibleTransactionByTxId($txId: String!) {\n cancelledReversibleTransactions: cancelledReversibleTransfers(\n where: { txId_eq: $txId }\n ) {\n timestamp\n txId\n block {\n height\n }\n cancelledBy {\n id\n }\n extrinsic {\n id\n pallet\n call\n }\n scheduledTransfer {\n amount\n scheduledAt\n fee\n from {\n id\n }\n to {\n id\n }\n }\n }\n }\n '];
/**
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
*/
export function gql(
source: '\n query GetStatus(\n $beginningDate: DateTime!\n $todayDate: DateTime!\n $endDate: DateTime!\n ) {\n transactions: transfersConnection(\n orderBy: id_ASC\n where: { extrinsic_isNull: false }\n ) {\n totalCount\n }\n scheduledReversibleTransactions: scheduledReversibleTransfersConnection(\n orderBy: id_ASC\n ) {\n totalCount\n }\n executedReversibleTransactions: executedReversibleTransfersConnection(\n orderBy: id_ASC\n ) {\n totalCount\n }\n cancelledReversibleTransactions: cancelledReversibleTransfersConnection(\n orderBy: id_ASC\n ) {\n totalCount\n }\n status: squidStatus {\n hash\n height\n finalizedHeight\n finalizedHash\n }\n minedBlocks24Hours: blocksConnection(\n orderBy: id_ASC\n where: { timestamp_gte: $todayDate, timestamp_lte: $endDate }\n ) {\n totalCount\n }\n allActiveAccounts: accountsConnection(\n orderBy: id_ASC\n where: {\n transfersFrom_some: {\n timestamp_gte: $beginningDate\n timestamp_lte: $endDate\n }\n }\n ) {\n totalCount\n }\n allDepositAccounts: accountsConnection(\n orderBy: id_ASC\n where: {\n transfersTo_some: {\n timestamp_gte: $beginningDate\n timestamp_lte: $endDate\n }\n }\n ) {\n totalCount\n }\n }\n '
): (typeof documents)['\n query GetStatus(\n $beginningDate: DateTime!\n $todayDate: DateTime!\n $endDate: DateTime!\n ) {\n transactions: transfersConnection(\n orderBy: id_ASC\n where: { extrinsic_isNull: false }\n ) {\n totalCount\n }\n scheduledReversibleTransactions: scheduledReversibleTransfersConnection(\n orderBy: id_ASC\n ) {\n totalCount\n }\n executedReversibleTransactions: executedReversibleTransfersConnection(\n orderBy: id_ASC\n ) {\n totalCount\n }\n cancelledReversibleTransactions: cancelledReversibleTransfersConnection(\n orderBy: id_ASC\n ) {\n totalCount\n }\n status: squidStatus {\n hash\n height\n finalizedHeight\n finalizedHash\n }\n minedBlocks24Hours: blocksConnection(\n orderBy: id_ASC\n where: { timestamp_gte: $todayDate, timestamp_lte: $endDate }\n ) {\n totalCount\n }\n allActiveAccounts: accountsConnection(\n orderBy: id_ASC\n where: {\n transfersFrom_some: {\n timestamp_gte: $beginningDate\n timestamp_lte: $endDate\n }\n }\n ) {\n totalCount\n }\n allDepositAccounts: accountsConnection(\n orderBy: id_ASC\n where: {\n transfersTo_some: {\n timestamp_gte: $beginningDate\n timestamp_lte: $endDate\n }\n }\n ) {\n totalCount\n }\n }\n '];
/**
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
*/
export function gql(
source: '\n query GetErrorEvents(\n $limit: Int\n $offset: Int\n $orderBy: [ErrorEventOrderByInput!]\n $where: ErrorEventWhereInput\n ) {\n errorEvents(\n limit: $limit\n offset: $offset\n orderBy: $orderBy\n where: $where\n ) {\n errorDocs\n errorModule\n errorName\n errorType\n extrinsic {\n id\n pallet\n call\n }\n id\n timestamp\n block {\n height\n }\n }\n meta: errorEventsConnection(orderBy: id_ASC, where: $where) {\n totalCount\n }\n }\n '
): (typeof documents)['\n query GetErrorEvents(\n $limit: Int\n $offset: Int\n $orderBy: [ErrorEventOrderByInput!]\n $where: ErrorEventWhereInput\n ) {\n errorEvents(\n limit: $limit\n offset: $offset\n orderBy: $orderBy\n where: $where\n ) {\n errorDocs\n errorModule\n errorName\n errorType\n extrinsic {\n id\n pallet\n call\n }\n id\n timestamp\n block {\n height\n }\n }\n meta: errorEventsConnection(orderBy: id_ASC, where: $where) {\n totalCount\n }\n }\n '];
/**
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
*/
export function gql(
source: '\n query GetRecentErrorEvents(\n $limit: Int\n $offset: Int\n $orderBy: [ErrorEventOrderByInput!]\n $where: ErrorEventWhereInput\n ) {\n errorEvents(\n limit: $limit\n offset: $offset\n orderBy: $orderBy\n where: $where\n ) {\n errorDocs\n errorModule\n errorName\n errorType\n extrinsic {\n id\n pallet\n call\n }\n id\n timestamp\n block {\n height\n }\n }\n }\n '
): (typeof documents)['\n query GetRecentErrorEvents(\n $limit: Int\n $offset: Int\n $orderBy: [ErrorEventOrderByInput!]\n $where: ErrorEventWhereInput\n ) {\n errorEvents(\n limit: $limit\n offset: $offset\n orderBy: $orderBy\n where: $where\n ) {\n errorDocs\n errorModule\n errorName\n errorType\n extrinsic {\n id\n pallet\n call\n }\n id\n timestamp\n block {\n height\n }\n }\n }\n '];
/**
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
*/
export function gql(
source: '\n query GetErrorEventsStats($startDate: DateTime!, $endDate: DateTime!) {\n last24Hour: errorEventsConnection(\n orderBy: id_ASC\n where: { timestamp_gte: $startDate, timestamp_lte: $endDate }\n ) {\n totalCount\n }\n allTime: errorEventsConnection(orderBy: id_ASC) {\n totalCount\n }\n }\n '
): (typeof documents)['\n query GetErrorEventsStats($startDate: DateTime!, $endDate: DateTime!) {\n last24Hour: errorEventsConnection(\n orderBy: id_ASC\n where: { timestamp_gte: $startDate, timestamp_lte: $endDate }\n ) {\n totalCount\n }\n allTime: errorEventsConnection(orderBy: id_ASC) {\n totalCount\n }\n }\n '];
/**
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
*/
export function gql(
source: '\n query GetErrorEventByHash($hash: String!) {\n errorEvents: errorEvents(where: { extrinsic: { id_eq: $hash } }) {\n errorDocs\n errorModule\n errorName\n errorType\n extrinsic {\n id\n pallet\n call\n }\n id\n timestamp\n block {\n height\n }\n }\n }\n '
): (typeof documents)['\n query GetErrorEventByHash($hash: String!) {\n errorEvents: errorEvents(where: { extrinsic: { id_eq: $hash } }) {\n errorDocs\n errorModule\n errorName\n errorType\n extrinsic {\n id\n pallet\n call\n }\n id\n timestamp\n block {\n height\n }\n }\n }\n '];
/**
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
*/
export function gql(
source: '\n query GetExecutedReversibleTransactions(\n $limit: Int\n $offset: Int\n $orderBy: [ExecutedReversibleTransferOrderByInput!]\n $where: ExecutedReversibleTransferWhereInput\n ) {\n executedReversibleTransactions: executedReversibleTransfers(\n limit: $limit\n offset: $offset\n orderBy: $orderBy\n where: $where\n ) {\n timestamp\n txId\n block {\n height\n }\n scheduledTransfer {\n extrinsic {\n id\n pallet\n call\n }\n amount\n timestamp\n scheduledAt\n txId\n fee\n block {\n height\n }\n from {\n id\n }\n to {\n id\n }\n }\n }\n meta: executedReversibleTransfersConnection(\n orderBy: id_ASC\n where: $where\n ) {\n totalCount\n }\n }\n '
): (typeof documents)['\n query GetExecutedReversibleTransactions(\n $limit: Int\n $offset: Int\n $orderBy: [ExecutedReversibleTransferOrderByInput!]\n $where: ExecutedReversibleTransferWhereInput\n ) {\n executedReversibleTransactions: executedReversibleTransfers(\n limit: $limit\n offset: $offset\n orderBy: $orderBy\n where: $where\n ) {\n timestamp\n txId\n block {\n height\n }\n scheduledTransfer {\n extrinsic {\n id\n pallet\n call\n }\n amount\n timestamp\n scheduledAt\n txId\n fee\n block {\n height\n }\n from {\n id\n }\n to {\n id\n }\n }\n }\n meta: executedReversibleTransfersConnection(\n orderBy: id_ASC\n where: $where\n ) {\n totalCount\n }\n }\n '];
/**
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
*/
export function gql(
source: '\n query GetRecentExecutedReversibleTransactions(\n $limit: Int\n $offset: Int\n $orderBy: [ExecutedReversibleTransferOrderByInput!]\n ) {\n executedReversibleTransactions: executedReversibleTransfers(\n limit: $limit\n offset: $offset\n orderBy: $orderBy\n ) {\n timestamp\n txId\n block {\n height\n }\n scheduledTransfer {\n extrinsic {\n id\n pallet\n call\n }\n amount\n timestamp\n scheduledAt\n txId\n fee\n block {\n height\n }\n from {\n id\n }\n to {\n id\n }\n }\n }\n }\n '
): (typeof documents)['\n query GetRecentExecutedReversibleTransactions(\n $limit: Int\n $offset: Int\n $orderBy: [ExecutedReversibleTransferOrderByInput!]\n ) {\n executedReversibleTransactions: executedReversibleTransfers(\n limit: $limit\n offset: $offset\n orderBy: $orderBy\n ) {\n timestamp\n txId\n block {\n height\n }\n scheduledTransfer {\n extrinsic {\n id\n pallet\n call\n }\n amount\n timestamp\n scheduledAt\n txId\n fee\n block {\n height\n }\n from {\n id\n }\n to {\n id\n }\n }\n }\n }\n '];
/**
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
*/
export function gql(
source: '\n query GetExecutedReversibleTransactionsStats(\n $startDate: DateTime!\n $endDate: DateTime!\n ) {\n last24Hour: executedReversibleTransfersConnection(\n orderBy: id_ASC\n where: { timestamp_gte: $startDate, timestamp_lte: $endDate }\n ) {\n totalCount\n }\n allTime: executedReversibleTransfersConnection(orderBy: id_ASC) {\n totalCount\n }\n }\n '
): (typeof documents)['\n query GetExecutedReversibleTransactionsStats(\n $startDate: DateTime!\n $endDate: DateTime!\n ) {\n last24Hour: executedReversibleTransfersConnection(\n orderBy: id_ASC\n where: { timestamp_gte: $startDate, timestamp_lte: $endDate }\n ) {\n totalCount\n }\n allTime: executedReversibleTransfersConnection(orderBy: id_ASC) {\n totalCount\n }\n }\n '];
/**
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
*/
export function gql(
source: '\n query GetExecutedReversibleTransactionByTxId($txId: String!) {\n executedReversibleTransactions: executedReversibleTransfers(\n where: { txId_eq: $txId }\n ) {\n timestamp\n txId\n block {\n height\n }\n scheduledTransfer {\n amount\n scheduledAt\n fee\n from {\n id\n }\n to {\n id\n }\n }\n }\n }\n '
): (typeof documents)['\n query GetExecutedReversibleTransactionByTxId($txId: String!) {\n executedReversibleTransactions: executedReversibleTransfers(\n where: { txId_eq: $txId }\n ) {\n timestamp\n txId\n block {\n height\n }\n scheduledTransfer {\n amount\n scheduledAt\n fee\n from {\n id\n }\n to {\n id\n }\n }\n }\n }\n '];
/**
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
*/
export function gql(
source: '\n query GetHighSecuritySets(\n $limit: Int\n $offset: Int\n $orderBy: [HighSecuritySetOrderByInput!]\n $where: HighSecuritySetWhereInput\n ) {\n highSecuritySets(\n limit: $limit\n offset: $offset\n orderBy: $orderBy\n where: $where\n ) {\n id\n extrinsic {\n id\n pallet\n call\n }\n who {\n id\n }\n interceptor {\n id\n }\n timestamp\n delay\n block {\n height\n }\n }\n meta: highSecuritySetsConnection(orderBy: id_ASC, where: $where) {\n totalCount\n }\n }\n '
): (typeof documents)['\n query GetHighSecuritySets(\n $limit: Int\n $offset: Int\n $orderBy: [HighSecuritySetOrderByInput!]\n $where: HighSecuritySetWhereInput\n ) {\n highSecuritySets(\n limit: $limit\n offset: $offset\n orderBy: $orderBy\n where: $where\n ) {\n id\n extrinsic {\n id\n pallet\n call\n }\n who {\n id\n }\n interceptor {\n id\n }\n timestamp\n delay\n block {\n height\n }\n }\n meta: highSecuritySetsConnection(orderBy: id_ASC, where: $where) {\n totalCount\n }\n }\n '];
/**
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
*/
export function gql(
source: '\n query GetRecentHighSecuritySets(\n $limit: Int\n $offset: Int\n $orderBy: [HighSecuritySetOrderByInput!]\n $where: HighSecuritySetWhereInput\n ) {\n highSecuritySets(\n limit: $limit\n offset: $offset\n orderBy: $orderBy\n where: $where\n ) {\n id\n extrinsic {\n id\n pallet\n call\n }\n who {\n id\n }\n interceptor {\n id\n }\n timestamp\n delay\n block {\n height\n }\n }\n }\n '
): (typeof documents)['\n query GetRecentHighSecuritySets(\n $limit: Int\n $offset: Int\n $orderBy: [HighSecuritySetOrderByInput!]\n $where: HighSecuritySetWhereInput\n ) {\n highSecuritySets(\n limit: $limit\n offset: $offset\n orderBy: $orderBy\n where: $where\n ) {\n id\n extrinsic {\n id\n pallet\n call\n }\n who {\n id\n }\n interceptor {\n id\n }\n timestamp\n delay\n block {\n height\n }\n }\n }\n '];
/**
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
*/
export function gql(
source: '\n query GetHighSecuritySetsStats(\n $startDate: DateTime!\n $endDate: DateTime!\n ) {\n last24Hour: highSecuritySetsConnection(\n orderBy: id_ASC\n where: { timestamp_gte: $startDate, timestamp_lte: $endDate }\n ) {\n totalCount\n }\n allTime: highSecuritySetsConnection(orderBy: id_ASC) {\n totalCount\n }\n }\n '
): (typeof documents)['\n query GetHighSecuritySetsStats(\n $startDate: DateTime!\n $endDate: DateTime!\n ) {\n last24Hour: highSecuritySetsConnection(\n orderBy: id_ASC\n where: { timestamp_gte: $startDate, timestamp_lte: $endDate }\n ) {\n totalCount\n }\n allTime: highSecuritySetsConnection(orderBy: id_ASC) {\n totalCount\n }\n }\n '];
/**
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
*/
export function gql(
source: '\n query GetHighSecuritySetByHash($hash: String!) {\n highSecuritySets(where: { extrinsic: { id_eq: $hash } }) {\n id\n extrinsic {\n id\n pallet\n call\n }\n who {\n id\n }\n interceptor {\n id\n }\n timestamp\n delay\n block {\n height\n }\n }\n }\n '
): (typeof documents)['\n query GetHighSecuritySetByHash($hash: String!) {\n highSecuritySets(where: { extrinsic: { id_eq: $hash } }) {\n id\n extrinsic {\n id\n pallet\n call\n }\n who {\n id\n }\n interceptor {\n id\n }\n timestamp\n delay\n block {\n height\n }\n }\n }\n '];
/**
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
*/
export function gql(
source: '\n query GetMinerLeaderboard($limit: Int, $offset: Int) {\n leaderboardEntries: minerStats(\n limit: $limit\n offset: $offset\n orderBy: totalMinedBlocks_DESC\n ) {\n id\n totalMinedBlocks\n totalRewards\n }\n meta: minerStatsConnection(orderBy: id_ASC) {\n totalCount\n }\n }\n '
): (typeof documents)['\n query GetMinerLeaderboard($limit: Int, $offset: Int) {\n leaderboardEntries: minerStats(\n limit: $limit\n offset: $offset\n orderBy: totalMinedBlocks_DESC\n ) {\n id\n totalMinedBlocks\n totalRewards\n }\n meta: minerStatsConnection(orderBy: id_ASC) {\n totalCount\n }\n }\n '];
/**
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
*/
export function gql(
source: '\n query GetMinerRewards(\n $limit: Int\n $offset: Int\n $orderBy: [MinerRewardOrderByInput!]\n $where: MinerRewardWhereInput\n ) {\n minerRewards(\n limit: $limit\n offset: $offset\n orderBy: $orderBy\n where: $where\n ) {\n block {\n height\n hash\n }\n reward\n miner {\n id\n }\n timestamp\n }\n meta: minerRewardsConnection(orderBy: id_ASC, where: $where) {\n totalCount\n }\n }\n '
): (typeof documents)['\n query GetMinerRewards(\n $limit: Int\n $offset: Int\n $orderBy: [MinerRewardOrderByInput!]\n $where: MinerRewardWhereInput\n ) {\n minerRewards(\n limit: $limit\n offset: $offset\n orderBy: $orderBy\n where: $where\n ) {\n block {\n height\n hash\n }\n reward\n miner {\n id\n }\n timestamp\n }\n meta: minerRewardsConnection(orderBy: id_ASC, where: $where) {\n totalCount\n }\n }\n '];
/**
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
*/
export function gql(
source: '\n query GetRecentMinerRewards(\n $limit: Int\n $offset: Int\n $orderBy: [MinerRewardOrderByInput!]\n $where: MinerRewardWhereInput\n ) {\n minerRewards(\n limit: $limit\n offset: $offset\n orderBy: $orderBy\n where: $where\n ) {\n block {\n height\n hash\n }\n reward\n miner {\n id\n }\n timestamp\n }\n }\n '
): (typeof documents)['\n query GetRecentMinerRewards(\n $limit: Int\n $offset: Int\n $orderBy: [MinerRewardOrderByInput!]\n $where: MinerRewardWhereInput\n ) {\n minerRewards(\n limit: $limit\n offset: $offset\n orderBy: $orderBy\n where: $where\n ) {\n block {\n height\n hash\n }\n reward\n miner {\n id\n }\n timestamp\n }\n }\n '];
/**
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
*/
export function gql(
source: '\n query GetMinerRewardsStats($startDate: DateTime!, $endDate: DateTime!) {\n last24Hour: minerRewardsConnection(\n orderBy: id_ASC\n where: { timestamp_gte: $startDate, timestamp_lte: $endDate }\n ) {\n totalCount\n }\n allTime: minerRewardsConnection(orderBy: id_ASC) {\n totalCount\n }\n }\n '
): (typeof documents)['\n query GetMinerRewardsStats($startDate: DateTime!, $endDate: DateTime!) {\n last24Hour: minerRewardsConnection(\n orderBy: id_ASC\n where: { timestamp_gte: $startDate, timestamp_lte: $endDate }\n ) {\n totalCount\n }\n allTime: minerRewardsConnection(orderBy: id_ASC) {\n totalCount\n }\n }\n '];
/**
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
*/
export function gql(
source: '\n query GetMinerRewardByHash($hash: String!) {\n minerRewards(where: { block: { hash_eq: $hash } }) {\n block {\n height\n hash\n }\n reward\n miner {\n id\n }\n timestamp\n }\n }\n '
): (typeof documents)['\n query GetMinerRewardByHash($hash: String!) {\n minerRewards(where: { block: { hash_eq: $hash } }) {\n block {\n height\n hash\n }\n reward\n miner {\n id\n }\n timestamp\n }\n }\n '];
/**
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
*/
export function gql(
source: '\n query GetScheduledReversibleTransactions(\n $limit: Int\n $offset: Int\n $orderBy: [ScheduledReversibleTransferOrderByInput!]\n $where: ScheduledReversibleTransferWhereInput\n ) {\n scheduledReversibleTransactions: scheduledReversibleTransfers(\n limit: $limit\n offset: $offset\n orderBy: $orderBy\n where: $where\n ) {\n extrinsic {\n id\n pallet\n call\n }\n amount\n timestamp\n scheduledAt\n txId\n fee\n block {\n height\n }\n from {\n id\n }\n to {\n id\n }\n }\n meta: scheduledReversibleTransfersConnection(\n orderBy: id_ASC\n where: $where\n ) {\n totalCount\n }\n }\n '
): (typeof documents)['\n query GetScheduledReversibleTransactions(\n $limit: Int\n $offset: Int\n $orderBy: [ScheduledReversibleTransferOrderByInput!]\n $where: ScheduledReversibleTransferWhereInput\n ) {\n scheduledReversibleTransactions: scheduledReversibleTransfers(\n limit: $limit\n offset: $offset\n orderBy: $orderBy\n where: $where\n ) {\n extrinsic {\n id\n pallet\n call\n }\n amount\n timestamp\n scheduledAt\n txId\n fee\n block {\n height\n }\n from {\n id\n }\n to {\n id\n }\n }\n meta: scheduledReversibleTransfersConnection(\n orderBy: id_ASC\n where: $where\n ) {\n totalCount\n }\n }\n '];
/**
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
*/
export function gql(
source: '\n query GetRecentScheduledReversibleTransactions(\n $limit: Int\n $offset: Int\n $orderBy: [ScheduledReversibleTransferOrderByInput!]\n ) {\n scheduledReversibleTransactions: scheduledReversibleTransfers(\n limit: $limit\n offset: $offset\n orderBy: $orderBy\n ) {\n extrinsic {\n id\n pallet\n call\n }\n amount\n timestamp\n scheduledAt\n txId\n fee\n block {\n height\n }\n from {\n id\n }\n to {\n id\n }\n }\n }\n '
): (typeof documents)['\n query GetRecentScheduledReversibleTransactions(\n $limit: Int\n $offset: Int\n $orderBy: [ScheduledReversibleTransferOrderByInput!]\n ) {\n scheduledReversibleTransactions: scheduledReversibleTransfers(\n limit: $limit\n offset: $offset\n orderBy: $orderBy\n ) {\n extrinsic {\n id\n pallet\n call\n }\n amount\n timestamp\n scheduledAt\n txId\n fee\n block {\n height\n }\n from {\n id\n }\n to {\n id\n }\n }\n }\n '];
/**
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
*/
export function gql(
source: '\n query GetScheduledReversibleTransactionsStats(\n $startDate: DateTime!\n $endDate: DateTime!\n ) {\n last24Hour: scheduledReversibleTransfersConnection(\n orderBy: id_ASC\n where: { timestamp_gte: $startDate, timestamp_lte: $endDate }\n ) {\n totalCount\n }\n allTime: scheduledReversibleTransfersConnection(orderBy: id_ASC) {\n totalCount\n }\n }\n '
): (typeof documents)['\n query GetScheduledReversibleTransactionsStats(\n $startDate: DateTime!\n $endDate: DateTime!\n ) {\n last24Hour: scheduledReversibleTransfersConnection(\n orderBy: id_ASC\n where: { timestamp_gte: $startDate, timestamp_lte: $endDate }\n ) {\n totalCount\n }\n allTime: scheduledReversibleTransfersConnection(orderBy: id_ASC) {\n totalCount\n }\n }\n '];
/**
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
*/
export function gql(
source: '\n query GetScheduledReversibleTransactionByTxId($txId: String!) {\n scheduledReversibleTransactions: scheduledReversibleTransfers(\n where: { txId_eq: $txId }\n ) {\n extrinsic {\n id\n pallet\n call\n }\n amount\n timestamp\n scheduledAt\n txId\n fee\n block {\n height\n }\n from {\n id\n }\n to {\n id\n }\n }\n }\n '
): (typeof documents)['\n query GetScheduledReversibleTransactionByTxId($txId: String!) {\n scheduledReversibleTransactions: scheduledReversibleTransfers(\n where: { txId_eq: $txId }\n ) {\n extrinsic {\n id\n pallet\n call\n }\n amount\n timestamp\n scheduledAt\n txId\n fee\n block {\n height\n }\n from {\n id\n }\n to {\n id\n }\n }\n }\n '];
/**
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
*/
export function gql(
source: '\n query SearchAll($keyword: String, $keyword_number: Int, $limit: Int) {\n transactions: transfers(\n limit: $limit\n where: { extrinsic: { id_startsWith: $keyword } }\n ) {\n extrinsic {\n id\n pallet\n call\n }\n }\n scheduledReversibleTransactions: scheduledReversibleTransfers(\n limit: $limit\n where: { txId_startsWith: $keyword }\n ) {\n extrinsic {\n id\n pallet\n call\n }\n txId\n }\n executedReversibleTransactions: executedReversibleTransfers(\n limit: $limit\n where: { txId_startsWith: $keyword }\n ) {\n txId\n }\n cancelledReversibleTransactions: cancelledReversibleTransfers(\n limit: $limit\n where: { txId_startsWith: $keyword }\n ) {\n txId\n }\n accounts(limit: $limit, where: { id_startsWith: $keyword }) {\n id\n }\n blocks(\n limit: $limit\n where: {\n hash_startsWith: $keyword\n OR: { height_eq: $keyword_number }\n }\n ) {\n height\n }\n highSecuritySets(\n limit: $limit\n where: { extrinsic: { id_startsWith: $keyword } }\n ) {\n extrinsic {\n id\n pallet\n call\n }\n }\n minerRewards(\n limit: $limit\n where: { block: { hash_startsWith: $keyword } }\n ) {\n block {\n height\n hash\n }\n reward\n miner {\n id\n }\n timestamp\n }\n errorEvents(\n limit: $limit\n where: {\n errorType_containsInsensitive: $keyword\n OR: { errorName_containsInsensitive: $keyword }\n }\n ) {\n extrinsic {\n id\n pallet\n call\n }\n }\n }\n '
): (typeof documents)['\n query SearchAll($keyword: String, $keyword_number: Int, $limit: Int) {\n transactions: transfers(\n limit: $limit\n where: { extrinsic: { id_startsWith: $keyword } }\n ) {\n extrinsic {\n id\n pallet\n call\n }\n }\n scheduledReversibleTransactions: scheduledReversibleTransfers(\n limit: $limit\n where: { txId_startsWith: $keyword }\n ) {\n extrinsic {\n id\n pallet\n call\n }\n txId\n }\n executedReversibleTransactions: executedReversibleTransfers(\n limit: $limit\n where: { txId_startsWith: $keyword }\n ) {\n txId\n }\n cancelledReversibleTransactions: cancelledReversibleTransfers(\n limit: $limit\n where: { txId_startsWith: $keyword }\n ) {\n txId\n }\n accounts(limit: $limit, where: { id_startsWith: $keyword }) {\n id\n }\n blocks(\n limit: $limit\n where: {\n hash_startsWith: $keyword\n OR: { height_eq: $keyword_number }\n }\n ) {\n height\n }\n highSecuritySets(\n limit: $limit\n where: { extrinsic: { id_startsWith: $keyword } }\n ) {\n extrinsic {\n id\n pallet\n call\n }\n }\n minerRewards(\n limit: $limit\n where: { block: { hash_startsWith: $keyword } }\n ) {\n block {\n height\n hash\n }\n reward\n miner {\n id\n }\n timestamp\n }\n errorEvents(\n limit: $limit\n where: {\n errorType_containsInsensitive: $keyword\n OR: { errorName_containsInsensitive: $keyword }\n }\n ) {\n extrinsic {\n id\n pallet\n call\n }\n }\n }\n '];
/**
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
*/
export function gql(
source: '\n query GetTransactions(\n $limit: Int\n $offset: Int\n $orderBy: [TransferOrderByInput!]\n $where: TransferWhereInput\n ) {\n transactions: transfers(\n limit: $limit\n offset: $offset\n orderBy: $orderBy\n where: $where\n ) {\n fee\n extrinsic {\n id\n pallet\n call\n }\n block {\n height\n }\n amount\n timestamp\n from {\n id\n }\n to {\n id\n }\n }\n meta: transfersConnection(orderBy: id_ASC, where: $where) {\n totalCount\n }\n }\n '
): (typeof documents)['\n query GetTransactions(\n $limit: Int\n $offset: Int\n $orderBy: [TransferOrderByInput!]\n $where: TransferWhereInput\n ) {\n transactions: transfers(\n limit: $limit\n offset: $offset\n orderBy: $orderBy\n where: $where\n ) {\n fee\n extrinsic {\n id\n pallet\n call\n }\n block {\n height\n }\n amount\n timestamp\n from {\n id\n }\n to {\n id\n }\n }\n meta: transfersConnection(orderBy: id_ASC, where: $where) {\n totalCount\n }\n }\n '];
/**
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
*/
export function gql(
source: '\n query GetRecentTransactions(\n $limit: Int\n $offset: Int\n $orderBy: [TransferOrderByInput!]\n $where: TransferWhereInput\n ) {\n transactions: transfers(\n limit: $limit\n offset: $offset\n orderBy: $orderBy\n where: $where\n ) {\n fee\n extrinsic {\n id\n pallet\n call\n }\n block {\n height\n }\n amount\n timestamp\n from {\n id\n }\n to {\n id\n }\n }\n }\n '
): (typeof documents)['\n query GetRecentTransactions(\n $limit: Int\n $offset: Int\n $orderBy: [TransferOrderByInput!]\n $where: TransferWhereInput\n ) {\n transactions: transfers(\n limit: $limit\n offset: $offset\n orderBy: $orderBy\n where: $where\n ) {\n fee\n extrinsic {\n id\n pallet\n call\n }\n block {\n height\n }\n amount\n timestamp\n from {\n id\n }\n to {\n id\n }\n }\n }\n '];
/**
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
*/
export function gql(
source: '\n query GetTransactionsStats($startDate: DateTime!, $endDate: DateTime!) {\n last24Hour: transfersConnection(\n orderBy: id_ASC\n where: {\n timestamp_gte: $startDate\n timestamp_lte: $endDate\n extrinsic_isNull: false\n }\n ) {\n totalCount\n }\n allTime: transfersConnection(\n orderBy: id_ASC\n where: { extrinsic_isNull: false }\n ) {\n totalCount\n }\n allTime: transfersConnection(\n orderBy: id_ASC\n where: { extrinsic_isNull: false }\n ) {\n totalCount\n }\n }\n '
): (typeof documents)['\n query GetTransactionsStats($startDate: DateTime!, $endDate: DateTime!) {\n last24Hour: transfersConnection(\n orderBy: id_ASC\n where: {\n timestamp_gte: $startDate\n timestamp_lte: $endDate\n extrinsic_isNull: false\n }\n ) {\n totalCount\n }\n allTime: transfersConnection(\n orderBy: id_ASC\n where: { extrinsic_isNull: false }\n ) {\n totalCount\n }\n allTime: transfersConnection(\n orderBy: id_ASC\n where: { extrinsic_isNull: false }\n ) {\n totalCount\n }\n }\n '];
/**
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
*/
export function gql(
source: '\n query GetExtrinsicByHash($hash: String!) {\n extrinsics(where: { id_eq: $hash }) {\n id\n pallet\n call\n success\n fee\n timestamp\n indexInBlock\n signer {\n id\n }\n block {\n height\n }\n }\n transfers(\n where: { extrinsic: { id_eq: $hash } }\n orderBy: timestamp_ASC\n ) {\n id\n amount\n timestamp\n from {\n id\n }\n to {\n id\n }\n }\n }\n '
): (typeof documents)['\n query GetExtrinsicByHash($hash: String!) {\n extrinsics(where: { id_eq: $hash }) {\n id\n pallet\n call\n success\n fee\n timestamp\n indexInBlock\n signer {\n id\n }\n block {\n height\n }\n }\n transfers(\n where: { extrinsic: { id_eq: $hash } }\n orderBy: timestamp_ASC\n ) {\n id\n amount\n timestamp\n from {\n id\n }\n to {\n id\n }\n }\n }\n '];
/**
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
*/
export function gql(
source: '\n query GetWormholeExtrinsics(\n $limit: Int\n $offset: Int\n $orderBy: [WormholeExtrinsicOrderByInput!]!\n $where: WormholeExtrinsicWhereInput\n ) {\n wormholeExtrinsics(\n limit: $limit\n offset: $offset\n orderBy: $orderBy\n where: $where\n ) {\n id\n extrinsic {\n id\n pallet\n call\n }\n totalAmount\n outputCount\n timestamp\n privacyScore\n privacyLabel\n block {\n height\n }\n }\n meta: wormholeExtrinsicsConnection(orderBy: id_ASC) {\n totalCount\n }\n }\n'
): (typeof documents)['\n query GetWormholeExtrinsics(\n $limit: Int\n $offset: Int\n $orderBy: [WormholeExtrinsicOrderByInput!]!\n $where: WormholeExtrinsicWhereInput\n ) {\n wormholeExtrinsics(\n limit: $limit\n offset: $offset\n orderBy: $orderBy\n where: $where\n ) {\n id\n extrinsic {\n id\n pallet\n call\n }\n totalAmount\n outputCount\n timestamp\n privacyScore\n privacyLabel\n block {\n height\n }\n }\n meta: wormholeExtrinsicsConnection(orderBy: id_ASC) {\n totalCount\n }\n }\n'];
/**
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
*/
export function gql(
source: '\n query GetWormholeExtrinsicById($id: String!) {\n wormholeExtrinsicById(id: $id) {\n id\n extrinsic {\n id\n pallet\n call\n }\n totalAmount\n outputCount\n timestamp\n privacyScore\n privacyScore01Pct\n privacyScore1Pct\n privacyScore5Pct\n privacyLabel\n poolSnapshot\n block {\n id\n height\n hash\n timestamp\n }\n outputs {\n id\n exitAccount {\n id\n }\n amount\n }\n }\n wormholeNullifiers(\n where: { wormholeExtrinsic: { extrinsic: { id_eq: $id } } }\n ) {\n nullifier\n nullifierHash\n }\n }\n'
): (typeof documents)['\n query GetWormholeExtrinsicById($id: String!) {\n wormholeExtrinsicById(id: $id) {\n id\n extrinsic {\n id\n pallet\n call\n }\n totalAmount\n outputCount\n timestamp\n privacyScore\n privacyScore01Pct\n privacyScore1Pct\n privacyScore5Pct\n privacyLabel\n poolSnapshot\n block {\n id\n height\n hash\n timestamp\n }\n outputs {\n id\n exitAccount {\n id\n }\n amount\n }\n }\n wormholeNullifiers(\n where: { wormholeExtrinsic: { extrinsic: { id_eq: $id } } }\n ) {\n nullifier\n nullifierHash\n }\n }\n'];
/**
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
*/
export function gql(
source: '\n query GetDepositPoolStats {\n depositPoolStatsById(id: "global") {\n lastUpdatedBlock\n buckets\n }\n }\n'
): (typeof documents)['\n query GetDepositPoolStats {\n depositPoolStatsById(id: "global") {\n lastUpdatedBlock\n buckets\n }\n }\n'];
export function gql(source: string) {
return (documents as any)[source] ?? {};
}
export type DocumentType<TDocumentNode extends DocumentNode<any, any>> =
TDocumentNode extends DocumentNode<infer TType, any> ? TType : never;