@quicknode/sdk 1.0.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/README.md +2 -0
  2. package/cjs/index.js +443 -190
  3. package/esm/package.json +2 -1
  4. package/esm/package.json.js +3 -0
  5. package/esm/src/api/api.js +85 -0
  6. package/esm/src/api/controllers/contracts.js +34 -0
  7. package/esm/src/api/controllers/events.js +113 -0
  8. package/esm/src/api/controllers/nfts.js +227 -0
  9. package/esm/src/api/controllers/tokens.js +93 -0
  10. package/esm/src/api/controllers/transactions.js +120 -0
  11. package/esm/src/api/controllers/utils.js +53 -0
  12. package/esm/src/api/graphql/customUrqlClient.js +23 -0
  13. package/esm/src/api/graphql/generatedTypes.js +22 -0
  14. package/esm/src/api/graphql/modifyQueryForChain.js +27 -0
  15. package/esm/src/api/graphql/schema.json.js +3 -0
  16. package/esm/src/api/index.d.ts +2681 -0
  17. package/esm/src/api/index.js +2 -0
  18. package/esm/src/api/types/chains.js +7 -0
  19. package/esm/src/api/types/contracts/getContractDetails.js +12 -0
  20. package/esm/src/api/types/events/getAll.js +7 -0
  21. package/esm/src/api/types/events/getByContract.js +12 -0
  22. package/esm/src/api/types/nfts/getByContractAddress.js +10 -0
  23. package/esm/src/api/types/nfts/getByWalletAddress.js +18 -0
  24. package/esm/src/api/types/nfts/getCollectionDetails.js +11 -0
  25. package/esm/src/api/types/nfts/getCollectionEvents.js +12 -0
  26. package/esm/src/api/types/nfts/getNFTDetails.js +9 -0
  27. package/esm/src/api/types/nfts/getNFTEvents.js +13 -0
  28. package/esm/src/api/types/nfts/getTrendingCollections.js +7 -0
  29. package/esm/src/api/types/nfts/verifyOwnershipByAddress.js +12 -0
  30. package/esm/src/api/types/tokens/getBalancesByWalletAddress.js +12 -0
  31. package/esm/src/api/types/transactions/getByHash.js +11 -0
  32. package/esm/src/api/types/transactions/getBySearch.js +7 -0
  33. package/esm/src/api/types/utils/gasPrices.js +12 -0
  34. package/esm/src/api/utils/constants.js +3 -0
  35. package/esm/src/api/utils/helpers.js +11 -0
  36. package/esm/src/api/utils/isValidENSAddress.js +21 -0
  37. package/esm/src/api/utils/postQueryFormatter.js +24 -0
  38. package/esm/src/api/utils/removeNodesAndEdges.js +51 -0
  39. package/esm/src/client/client.js +9 -0
  40. package/esm/src/client/index.js +2 -0
  41. package/esm/src/core/addOns/nftTokenV2/actions.js +107 -0
  42. package/esm/src/core/addOns/nftTokenV2/types/qn_fetchNFTCollectionDetails.js +10 -0
  43. package/esm/src/core/addOns/nftTokenV2/types/qn_fetchNFTs.js +13 -0
  44. package/esm/src/core/addOns/nftTokenV2/types/qn_fetchNFTsByCollection.js +13 -0
  45. package/esm/src/core/addOns/nftTokenV2/types/qn_getTokenMetadataByContractAddress.js +10 -0
  46. package/esm/src/core/addOns/nftTokenV2/types/qn_getTokenMetadataBySymbol.js +11 -0
  47. package/esm/src/core/addOns/nftTokenV2/types/qn_getTransactionsByAddress.js +18 -0
  48. package/esm/src/core/addOns/nftTokenV2/types/qn_getTransfersByNFT.js +12 -0
  49. package/esm/src/core/addOns/nftTokenV2/types/qn_getWalletTokenBalance.js +12 -0
  50. package/esm/src/core/addOns/nftTokenV2/types/qn_getWalletTokenTransactions.js +14 -0
  51. package/esm/src/core/addOns/nftTokenV2/types/qn_verifyNFTsOwner.js +11 -0
  52. package/esm/src/core/addOns/shared/helpers.js +10 -0
  53. package/esm/src/core/chains.js +60 -0
  54. package/esm/src/core/core.js +24 -0
  55. package/esm/src/core/index.d.ts +555 -0
  56. package/esm/src/core/index.js +2 -0
  57. package/esm/src/index.js +10 -0
  58. package/esm/src/lib/errors/QNChainNotSupported.js +7 -0
  59. package/esm/src/lib/errors/QNInputValidationError.js +10 -0
  60. package/esm/src/lib/errors/QNInvalidEnpointUrl.js +7 -0
  61. package/esm/src/lib/helpers/globalFetch.js +13 -0
  62. package/esm/src/lib/validation/ValidateInput.js +35 -0
  63. package/esm/src/lib/validation/codegenDerivedValidators.js +28 -0
  64. package/esm/src/lib/validation/validators.js +105 -0
  65. package/index.d.ts +594 -41
  66. package/package.json +26 -4
  67. package/esm/index.js +0 -1160
package/esm/index.js DELETED
@@ -1,1160 +0,0 @@
1
- import fetch from 'cross-fetch';
2
- import { Client, fetchExchange } from '@urql/core';
3
- export { gql } from '@urql/core';
4
- import { cacheExchange } from '@urql/exchange-graphcache';
5
- import { __decorate, __metadata } from 'tslib';
6
- import { z } from 'zod';
7
-
8
- function isConnection(object) {
9
- return (typeof object === 'object' &&
10
- !!object &&
11
- ('edges' in object ||
12
- 'total' in object ||
13
- 'pageInfo' in object ||
14
- 'breadcrumbs' in object));
15
- }
16
- function removeNodesAndEdges(data) {
17
- const keys = Object.keys(data);
18
- const output = {};
19
- keys.forEach((key) => {
20
- const value = data[key];
21
- if (typeof value === 'string' ||
22
- typeof value === 'boolean' ||
23
- typeof value === 'number' ||
24
- value === null ||
25
- value === undefined) {
26
- return (output[key] = value);
27
- }
28
- if (Array.isArray(value)) {
29
- // An array can just be an array of strings and not edges and nodes
30
- if (value.every((val) => typeof val === 'string')) {
31
- return (output[key] = value);
32
- }
33
- return (output[key] = value.map((item) => removeNodesAndEdges(item)));
34
- }
35
- if (isConnection(value)) {
36
- if (value.breadcrumbs)
37
- output[`${key}Breadcrumbs`] = value.breadcrumbs;
38
- if (value.total)
39
- output[`${key}Total`] = value.total;
40
- if (value.viewport)
41
- output[`${key}Viewport`] = value.viewport;
42
- if (value.pageInfo) {
43
- const { ...pageInfoRest } = value.pageInfo;
44
- output[`${key}PageInfo`] = pageInfoRest;
45
- }
46
- return (output[key] = value.edges?.map((item) => {
47
- if (item.node) {
48
- return removeNodesAndEdges(item.node);
49
- }
50
- return item;
51
- }));
52
- }
53
- return (output[key] = removeNodesAndEdges(value));
54
- });
55
- return output;
56
- }
57
-
58
- class CustomUrqlClient {
59
- constructor(urqlClient) {
60
- this.urqlClient = urqlClient;
61
- }
62
- async query(options) {
63
- const { query, variables, ...additionalOptions } = options;
64
- const result = await this.urqlClient.query(query, variables, additionalOptions);
65
- const { error } = result;
66
- if (error) {
67
- console.error(error.stack);
68
- throw error;
69
- }
70
- return {
71
- ...result,
72
- data: result?.data &&
73
- removeNodesAndEdges(result.data),
74
- };
75
- }
76
- }
77
-
78
- // Below are zod enums used a validators that should be the same as the string unions generated by codegen.
79
- // There are compile-time checks to ensure that they are the same and in sync. If you are getting a
80
- // type error here, you need to update the the validator array to match the codegen type.
81
- const CONTRACT_STANDARDS = ['ERC20', 'ERC721', 'ERC1155'];
82
- const isContractStandard = z.enum(CONTRACT_STANDARDS);
83
- const MARKETPLACES = [
84
- 'BLUR',
85
- 'CRYPTOPUNKS',
86
- 'LOOKSRARE',
87
- 'NIFTY_GATEWAY',
88
- 'OPENSEA',
89
- 'SEAPORT',
90
- 'X2Y2',
91
- 'ZEROX',
92
- ];
93
- const isMarketplace = z.enum(MARKETPLACES);
94
- const TOKEN_TRANSFER_TYPES = [
95
- 'TRANSFER',
96
- 'MINT',
97
- 'SALE',
98
- 'SWAP',
99
- 'BURN',
100
- ];
101
- const isTokenTransferType = z.enum(TOKEN_TRANSFER_TYPES);
102
-
103
- const supportedChains = [
104
- 'ethereum',
105
- 'polygon',
106
- 'ethereumSepolia',
107
- ];
108
-
109
- /**
110
- * https://eips.ethereum.org/EIPS/eip-137#name-syntax
111
- *
112
- * explanation of the regex pattern:
113
- * ^ Matches the start of the string
114
- * (?=.{3,255}$) Lookahead assertion for the length of the string (3 to 255 characters)
115
- * [\p{L}\p{N}\p{Pd}\p{M}\p{S}\u{1F300}-\u{1F6FF}]+ Matches one or more Unicode letter, number, punctuation, symbol, or character in the specified emoji range
116
- * (\.[\p{L}\p{N}\p{Pd}\p{M}\p{S}\u{1F300}-\u{1F6FF}]+)* Matches zero or more occurrences of a dot followed by one or more Unicode characters
117
- * \.(?:eth|xyz|art) Matches a dot followed by either 'eth', 'xyz', or 'art'
118
- * $ Matches the end of the string
119
- *
120
- */
121
- function isValidENSAddress(ensAddress) {
122
- const allowedTLDs = ['eth', 'xyz', 'art'];
123
- const unicodeAndEmojis = '[\\p{L}\\p{N}\\p{Pd}\\p{M}\\p{S}\\u{1F300}-\\u{1F6FF}]';
124
- const regexPattern = `^(?=.{3,255}$)${unicodeAndEmojis}+(\\.${unicodeAndEmojis}+)*\\.(?:${allowedTLDs.join('|')})$`;
125
- const regex = new RegExp(regexPattern, 'mu');
126
- return regex.test(ensAddress);
127
- }
128
-
129
- const isEvmAddress = z
130
- .string()
131
- .length(42) // Using built-in function for better error messages
132
- .startsWith('0x') // Using built-in function for better error messages
133
- .regex(/^0x[a-fA-F0-9]{40}$/, 'Not a valid address');
134
- const isENSAddress = z.string().refine((val) => isValidENSAddress(val));
135
- const isEvmTransactionHash = z
136
- .string()
137
- .length(66) // Using built-in function for better error messages
138
- .startsWith('0x') // Using built-in function for better error messages
139
- .regex(/^0x[a-fA-F0-9]{64}$/, 'Not a valid transaction hash');
140
- const supportedChainInput = z
141
- .object({
142
- chain: z.enum(supportedChains).nullish(),
143
- })
144
- .strict();
145
- function fullFilters(baseType) {
146
- return z
147
- .object({
148
- eq: baseType.nullish(),
149
- gt: baseType.nullish(),
150
- gte: baseType.nullish(),
151
- in: z.array(baseType).nullish(),
152
- lt: baseType.nullish(),
153
- lte: baseType.nullish(),
154
- notIn: z.array(baseType).nullish(),
155
- })
156
- .strict();
157
- }
158
- function limitedFilters(baseType) {
159
- return z
160
- .object({
161
- eq: baseType.nullish(),
162
- in: z.array(baseType).nullish(),
163
- notIn: z.array(baseType).nullish(),
164
- })
165
- .strict();
166
- }
167
- const tokenEventFilters = z
168
- .object({
169
- blockNumber: fullFilters(z.number().positive()).nullish(),
170
- contractAddress: limitedFilters(isEvmAddress).nullish(),
171
- contractStandard: limitedFilters(isContractStandard).nullish(),
172
- fromAddress: limitedFilters(isEvmAddress).nullish(),
173
- marketplace: limitedFilters(isMarketplace).nullish(),
174
- timestamp: fullFilters(z.string().datetime({ offset: true })).nullish(),
175
- toAddress: limitedFilters(isEvmAddress).nullish(),
176
- transactionHash: limitedFilters(isEvmTransactionHash).nullish(),
177
- type: limitedFilters(isTokenTransferType).nullish(),
178
- walletAddress: limitedFilters(isEvmAddress).nullish(),
179
- })
180
- .strict();
181
- const transactionFilters = z
182
- .object({
183
- blockNumber: fullFilters(z.number().positive()).nullish(),
184
- fromAddress: isEvmAddress.nullish(),
185
- timestamp: fullFilters(z.string().datetime({ offset: true })).nullish(),
186
- toAddress: isEvmAddress.nullish(),
187
- })
188
- .strict();
189
- const gasPriceFilters = z
190
- .object({
191
- blockNumber: fullFilters(z.number().positive()).nullish(),
192
- })
193
- .strict();
194
- const paginationParams = z
195
- .object({
196
- before: z.string().nullish(),
197
- after: z.string().nullish(),
198
- first: z.number().positive().nullish(),
199
- })
200
- .strict();
201
- const baseEventsInput = z
202
- .object({
203
- filter: tokenEventFilters.nullish(),
204
- })
205
- .merge(paginationParams)
206
- .strict();
207
- const baseTransactionsInput = z
208
- .object({
209
- filter: transactionFilters.optional(),
210
- })
211
- .merge(paginationParams)
212
- .strict();
213
- const contractTokensFilter = z
214
- .array(z
215
- .object({
216
- contractAddress: isEvmAddress,
217
- tokenId: z.string().optional(),
218
- })
219
- .strict())
220
- .nonempty();
221
-
222
- const walletByAddressValidator = z
223
- .object({
224
- address: z.union([isENSAddress, isEvmAddress]),
225
- filter: z
226
- .object({
227
- contractTokens: contractTokensFilter,
228
- })
229
- .strict()
230
- .optional(),
231
- })
232
- .merge(paginationParams)
233
- .merge(supportedChainInput)
234
- .strict();
235
-
236
- const nftDetailsValidator = z
237
- .object({ contractAddress: isEvmAddress, tokenId: z.string() })
238
- .merge(supportedChainInput)
239
- .strict();
240
-
241
- const nftCollectionDetailsValidator = z
242
- .object({
243
- contractAddress: isEvmAddress,
244
- })
245
- .merge(supportedChainInput)
246
- .strict();
247
-
248
- const nftTrendingCollectionsValidator = paginationParams
249
- .merge(supportedChainInput)
250
- .strict();
251
-
252
- const nftsByContractAddressValidator = z
253
- .object({ contractAddress: isEvmAddress })
254
- .merge(paginationParams)
255
- .merge(supportedChainInput)
256
- .strict();
257
-
258
- const verifyOwnershipValidator = z
259
- .object({
260
- address: z.union([isENSAddress, isEvmAddress]),
261
- nfts: contractTokensFilter,
262
- })
263
- .merge(supportedChainInput)
264
- .strict();
265
-
266
- const CodegenEthMainnetContractDetailsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "EthMainnetContractDetails" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "contractAddress" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "ethereum" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "ContractDetails" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "ContractInfo" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Contract" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "abi" } }, { "kind": "Field", "name": { "kind": "Name", "value": "address" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isVerified" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "supportedErcInterfaces" } }, { "kind": "Field", "name": { "kind": "Name", "value": "symbol" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenContract" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "decimals" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "ContractDetails" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "EVMSchemaType" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "contract" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "contractAddress" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "contractAddress" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "ContractInfo" } }] } }] } }] };
267
- const CodegenEthereumMainnetEventsGetAllDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "EthereumMainnetEventsGetAll" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenEventsFilterInput" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "ethereum" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "EventsGetAll" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "TokenEventInfo" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "fromAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }, { "kind": "Field", "name": { "kind": "Name", "value": "toAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transferIndex" } }, { "kind": "Field", "name": { "kind": "Name", "value": "type" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenBurnEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "tokenId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tokenQuantity" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenTransferEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "tokenId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "contractAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tokenQuantity" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenMintEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "tokenQuantity" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenSaleEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "marketplace" } }, { "kind": "Field", "name": { "kind": "Name", "value": "receivedTokenContractAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "receivedTokenId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sentTokenId" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "Pagination" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "PageInfo" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "endCursor" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasNextPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasPreviousPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "startCursor" } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "EventsGetAll" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "EVMSchemaType" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "tokenEvents" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "filter" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "before" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "after" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "node" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "TokenEventInfo" } }] } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "pageInfo" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "Pagination" } }] } }] } }] } }] };
268
- const CodegenEthereumMainnetEventsByContractDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "EthereumMainnetEventsByContract" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "contractAddress" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenEventsFilterInput" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "ethereum" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "EventsByContract" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "TokenEventInfo" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "fromAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }, { "kind": "Field", "name": { "kind": "Name", "value": "toAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transferIndex" } }, { "kind": "Field", "name": { "kind": "Name", "value": "type" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenBurnEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "tokenId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tokenQuantity" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenTransferEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "tokenId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "contractAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tokenQuantity" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenMintEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "tokenQuantity" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenSaleEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "marketplace" } }, { "kind": "Field", "name": { "kind": "Name", "value": "receivedTokenContractAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "receivedTokenId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sentTokenId" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "Pagination" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "PageInfo" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "endCursor" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasNextPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasPreviousPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "startCursor" } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "EventsByContract" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "EVMSchemaType" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "contract" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "contractAddress" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "contractAddress" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "tokenEvents" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "filter" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "before" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "after" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "node" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "TokenEventInfo" } }] } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "pageInfo" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "Pagination" } }] } }] } }] } }] } }] };
269
- const CodegenEthMainnetEventsByCollectionDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "EthMainnetEventsByCollection" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "contractAddress" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenEventsFilterInput" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "ethereum" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "CollectionEventsFragment" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "Pagination" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "PageInfo" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "endCursor" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasNextPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasPreviousPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "startCursor" } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "TokenEventInfo" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "fromAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }, { "kind": "Field", "name": { "kind": "Name", "value": "toAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transferIndex" } }, { "kind": "Field", "name": { "kind": "Name", "value": "type" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenBurnEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "tokenId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tokenQuantity" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenTransferEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "tokenId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "contractAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tokenQuantity" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenMintEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "tokenQuantity" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenSaleEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "marketplace" } }, { "kind": "Field", "name": { "kind": "Name", "value": "receivedTokenContractAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "receivedTokenId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sentTokenId" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "CollectionEventsFragment" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "EVMSchemaType" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "collection" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "contractAddress" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "contractAddress" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "address" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tokenEvents" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "filter" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "before" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "after" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "pageInfo" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "Pagination" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "node" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "TokenEventInfo" } }] } }] } }] } }] } }] } }] };
270
- const CodegenEthereumMainnetEventsByNftDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "EthereumMainnetEventsByNft" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "contractAddress" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "tokenId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenEventsFilterInput" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "ethereum" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "NftEventsFragment" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "Pagination" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "PageInfo" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "endCursor" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasNextPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasPreviousPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "startCursor" } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "TokenEventInfo" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "fromAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }, { "kind": "Field", "name": { "kind": "Name", "value": "toAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transferIndex" } }, { "kind": "Field", "name": { "kind": "Name", "value": "type" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenBurnEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "tokenId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tokenQuantity" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenTransferEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "tokenId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "contractAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tokenQuantity" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenMintEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "tokenQuantity" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenSaleEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "marketplace" } }, { "kind": "Field", "name": { "kind": "Name", "value": "receivedTokenContractAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "receivedTokenId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sentTokenId" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "NftEventsFragment" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "EVMSchemaType" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "nft" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "contractAddress" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "contractAddress" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "tokenId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "tokenId" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "contractAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tokenId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tokenEvents" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "filter" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "before" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "after" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "pageInfo" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "Pagination" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "node" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "TokenEventInfo" } }] } }] } }] } }] } }] } }] };
271
- const CodegenEthMainnetWalletNFTsByContractAddressDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "EthMainnetWalletNFTsByContractAddress" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "contractAddress" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "ethereum" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "NftsByContractAddressFragment" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "Pagination" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "PageInfo" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "endCursor" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasNextPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasPreviousPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "startCursor" } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "ERC1155NFTNode" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "ERC1155NFT" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "animationUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "collectionSlug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "contractAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "externalUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "metadata" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tokenId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "wallets" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "node" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "address" } }, { "kind": "Field", "name": { "kind": "Name", "value": "ensName" } }] } }] } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "ERC721NFTNode" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "ERC721NFT" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "animationUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "attributes" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "value" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "collectionSlug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "contractAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "externalUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "metadata" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tokenId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "wallet" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "address" } }, { "kind": "Field", "name": { "kind": "Name", "value": "ensName" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "NftsByContractAddressFragment" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "EVMSchemaType" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "collection" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "contractAddress" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "contractAddress" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "address" } }, { "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "ERC1155Collection" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "nfts" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "before" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "after" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "pageInfo" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "Pagination" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "node" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "ERC1155NFTNode" } }] } }] } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "ERC721Collection" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "nfts" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "before" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "after" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "pageInfo" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "Pagination" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "node" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "ERC721NFTNode" } }] } }] } }] } }] } }] } }] } }] };
272
- const CodegenEthMainnetWalletNFTsByAddressDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "EthMainnetWalletNFTsByAddress" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "address" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "WalletNFTsFilterInput" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "ethereum" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "WalletByAddressFragment" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "Pagination" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "PageInfo" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "endCursor" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasNextPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasPreviousPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "startCursor" } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "WalletNFTNode" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "WalletNFT" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "nft" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "animationUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "collectionSlug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "contractAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "externalUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "metadata" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tokenId" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "WalletByAddressFragment" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "EVMSchemaType" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "walletByAddress" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "address" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "address" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "address" } }, { "kind": "Field", "name": { "kind": "Name", "value": "ensName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "walletNFTs" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "before" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "after" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "filter" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "pageInfo" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "Pagination" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "node" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "WalletNFTNode" } }] } }] } }] } }] } }] } }] };
273
- const CodegenEthMainnetWalletNFTsByEnsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "EthMainnetWalletNFTsByEns" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "ensName" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "WalletNFTsFilterInput" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "ethereum" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "WalletByEnsFragment" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "Pagination" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "PageInfo" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "endCursor" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasNextPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasPreviousPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "startCursor" } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "WalletNFTNode" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "WalletNFT" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "nft" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "animationUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "collectionSlug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "contractAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "externalUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "metadata" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tokenId" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "WalletByEnsFragment" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "EVMSchemaType" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "walletByENS" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "ensName" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "ensName" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "address" } }, { "kind": "Field", "name": { "kind": "Name", "value": "ensName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "walletNFTs" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "before" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "after" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "filter" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "pageInfo" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "Pagination" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "node" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "WalletNFTNode" } }] } }] } }] } }] } }] } }] };
274
- const CodegenEthMainnetNFTDetailsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "EthMainnetNFTDetails" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "contractAddress" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "tokenId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "ethereum" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "NftDetails" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "NftDetails" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "EVMSchemaType" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "nft" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "contractAddress" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "contractAddress" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "tokenId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "tokenId" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "animationUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "collectionSlug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "contractAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "externalUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "metadata" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tokenId" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "ERC1155NFT" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "wallets" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "node" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "address" } }, { "kind": "Field", "name": { "kind": "Name", "value": "ensName" } }] } }] } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "ERC721NFT" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "wallet" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "address" } }, { "kind": "Field", "name": { "kind": "Name", "value": "ensName" } }] } }] } }] } }] } }] };
275
- const CodegenEthMainnetNftCollectionDetailsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "EthMainnetNftCollectionDetails" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "contractAddress" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "ethereum" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "NftCollectionInfo" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "NftCollectionInfo" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "EVMSchemaType" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "collection" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "contractAddress" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "contractAddress" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "address" } }, { "kind": "Field", "name": { "kind": "Name", "value": "bannerImage" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "height" } }, { "kind": "Field", "name": { "kind": "Name", "value": "mimeType" } }, { "kind": "Field", "name": { "kind": "Name", "value": "url" } }, { "kind": "Field", "name": { "kind": "Name", "value": "width" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "baseTokenUri" } }, { "kind": "Field", "name": { "kind": "Name", "value": "circulatingSupply" } }, { "kind": "Field", "name": { "kind": "Name", "value": "contract" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "address" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isVerified" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "symbol" } }, { "kind": "Field", "name": { "kind": "Name", "value": "supportedErcInterfaces" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "externalUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "image" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "height" } }, { "kind": "Field", "name": { "kind": "Name", "value": "mimeType" } }, { "kind": "Field", "name": { "kind": "Name", "value": "url" } }, { "kind": "Field", "name": { "kind": "Name", "value": "width" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "ohlcvChart" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "filter" }, "value": { "kind": "ObjectValue", "fields": [{ "kind": "ObjectField", "name": { "kind": "Name", "value": "limit" }, "value": { "kind": "IntValue", "value": "1" } }] } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "average" } }, { "kind": "Field", "name": { "kind": "Name", "value": "close" } }, { "kind": "Field", "name": { "kind": "Name", "value": "count" } }, { "kind": "Field", "name": { "kind": "Name", "value": "high" } }, { "kind": "Field", "name": { "kind": "Name", "value": "low" } }, { "kind": "Field", "name": { "kind": "Name", "value": "open" } }, { "kind": "Field", "name": { "kind": "Name", "value": "volume" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "openseaMetadata" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "isHidden" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isVerified" } }, { "kind": "Field", "name": { "kind": "Name", "value": "unsafeSlug" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "slug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "symbol" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalSupply" } }, { "kind": "Field", "name": { "kind": "Name", "value": "twitterUsername" } }] } }] } }] };
276
- const CodegenEthMainnetTrendingCollectionsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "EthMainnetTrendingCollections" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "ethereum" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "NftTrendingCollections" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "Pagination" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "PageInfo" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "endCursor" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasNextPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasPreviousPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "startCursor" } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "TrendingCollectionInfo" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Collection" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "address" } }, { "kind": "Field", "name": { "kind": "Name", "value": "baseTokenUri" } }, { "kind": "Field", "name": { "kind": "Name", "value": "circulatingSupply" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "externalUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "image" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "height" } }, { "kind": "Field", "name": { "kind": "Name", "value": "mimeType" } }, { "kind": "Field", "name": { "kind": "Name", "value": "url" } }, { "kind": "Field", "name": { "kind": "Name", "value": "width" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "openseaMetadata" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "isHidden" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isVerified" } }, { "kind": "Field", "name": { "kind": "Name", "value": "unsafeSlug" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "symbol" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalSupply" } }, { "kind": "Field", "name": { "kind": "Name", "value": "twitterUsername" } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "NftTrendingCollections" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "EVMSchemaType" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "trendingCollections" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "before" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "after" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "pageInfo" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "Pagination" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "node" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "collection" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "TrendingCollectionInfo" } }] } }] } }] } }] } }] } }] };
277
- const CodegenEthMainnetVerifyOwnershipByAddressDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "EthMainnetVerifyOwnershipByAddress" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "address" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "WalletNFTsFilterInput" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "ethereum" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "VerifyOwnershipInfo" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "VerifyOwnershipNFTDetails" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "WalletNFT" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "nft" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "contractAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tokenId" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "VerifyOwnershipInfo" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "EVMSchemaType" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "walletByAddress" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "address" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "address" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "walletNFTs" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "filter" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "node" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "VerifyOwnershipNFTDetails" } }] } }] } }] } }] } }] } }] };
278
- const CodegenEthMainnetVerifyOwnershipByENSDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "EthMainnetVerifyOwnershipByENS" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "ensName" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "WalletNFTsFilterInput" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "ethereum" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "VerifyOwnershipInfoByENS" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "VerifyOwnershipNFTDetails" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "WalletNFT" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "nft" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "contractAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tokenId" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "VerifyOwnershipInfoByENS" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "EVMSchemaType" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "walletByENS" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "ensName" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "ensName" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "walletNFTs" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "filter" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "node" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "VerifyOwnershipNFTDetails" } }] } }] } }] } }] } }] } }] };
279
- const CodegenEthMainnetBalancesByWalletAddressDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "EthMainnetBalancesByWalletAddress" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "address" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "ethereum" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "GetBalancesByWalletAddressFragment" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "TokenBalanceNode" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "WalletTokenBalance" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "totalBalance" } }, { "kind": "Field", "name": { "kind": "Name", "value": "contract" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "address" } }, { "kind": "Field", "name": { "kind": "Name", "value": "decimals" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "symbol" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "Pagination" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "PageInfo" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "endCursor" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasNextPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasPreviousPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "startCursor" } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "GetBalancesByWalletAddressFragment" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "EVMSchemaType" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "walletByAddress" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "address" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "address" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "address" } }, { "kind": "Field", "name": { "kind": "Name", "value": "ensName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tokenBalances" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "before" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "after" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "node" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "TokenBalanceNode" } }] } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "pageInfo" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "Pagination" } }] } }] } }] } }] } }] };
280
- const CodegenEthMainnetBalancesByWalletENSDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "EthMainnetBalancesByWalletENS" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "ensName" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "ethereum" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "GetBalancesByWalletENSFragment" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "TokenBalanceNode" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "WalletTokenBalance" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "totalBalance" } }, { "kind": "Field", "name": { "kind": "Name", "value": "contract" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "address" } }, { "kind": "Field", "name": { "kind": "Name", "value": "decimals" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "symbol" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "Pagination" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "PageInfo" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "endCursor" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasNextPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasPreviousPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "startCursor" } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "GetBalancesByWalletENSFragment" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "EVMSchemaType" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "walletByENS" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "ensName" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "ensName" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "address" } }, { "kind": "Field", "name": { "kind": "Name", "value": "ensName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tokenBalances" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "before" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "after" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "node" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "TokenBalanceNode" } }] } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "pageInfo" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "Pagination" } }] } }] } }] } }] } }] };
281
- const CodegenEthMainnetTransactionsByHashDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "EthMainnetTransactionsByHash" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "hash" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "ethereum" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "TransactionsByHash" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "TransactionsNode" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Transaction" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockTimestamp" } }, { "kind": "Field", "name": { "kind": "Name", "value": "contractAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "fromAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "cumulativeGasUsed" } }, { "kind": "Field", "name": { "kind": "Name", "value": "effectiveGasPrice" } }, { "kind": "Field", "name": { "kind": "Name", "value": "gas" } }, { "kind": "Field", "name": { "kind": "Name", "value": "gasPrice" } }, { "kind": "Field", "name": { "kind": "Name", "value": "gasUsed" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "maxFeePerGas" } }, { "kind": "Field", "name": { "kind": "Name", "value": "maxPriorityFeePerGas" } }, { "kind": "Field", "name": { "kind": "Name", "value": "toAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "type" } }, { "kind": "Field", "name": { "kind": "Name", "value": "input" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionIndex" } }, { "kind": "Field", "name": { "kind": "Name", "value": "value" } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "TransactionsByHash" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "EVMSchemaType" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "transaction" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "hash" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "hash" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "TransactionsNode" } }] } }] } }] };
282
- const CodegenEthMainnetTransactionsBySearchDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "EthMainnetTransactionsBySearch" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "TransactionsFilterInput" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "ethereum" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "TransactionsBySearch" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "TransactionsNode" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Transaction" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockTimestamp" } }, { "kind": "Field", "name": { "kind": "Name", "value": "contractAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "fromAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "cumulativeGasUsed" } }, { "kind": "Field", "name": { "kind": "Name", "value": "effectiveGasPrice" } }, { "kind": "Field", "name": { "kind": "Name", "value": "gas" } }, { "kind": "Field", "name": { "kind": "Name", "value": "gasPrice" } }, { "kind": "Field", "name": { "kind": "Name", "value": "gasUsed" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "maxFeePerGas" } }, { "kind": "Field", "name": { "kind": "Name", "value": "maxPriorityFeePerGas" } }, { "kind": "Field", "name": { "kind": "Name", "value": "toAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "type" } }, { "kind": "Field", "name": { "kind": "Name", "value": "input" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionIndex" } }, { "kind": "Field", "name": { "kind": "Name", "value": "value" } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "Pagination" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "PageInfo" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "endCursor" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasNextPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasPreviousPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "startCursor" } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "TransactionsBySearch" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "EVMSchemaType" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "transactions" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "filter" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "before" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "after" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "node" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "TransactionsNode" } }] } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "pageInfo" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "Pagination" } }] } }] } }] } }] };
283
- const CodegenEthMainnetTransactionsByWalletAddressDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "EthMainnetTransactionsByWalletAddress" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "address" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "ethereum" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "TransactionsByWalletAddress" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "TransactionsNode" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Transaction" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockTimestamp" } }, { "kind": "Field", "name": { "kind": "Name", "value": "contractAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "fromAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "cumulativeGasUsed" } }, { "kind": "Field", "name": { "kind": "Name", "value": "effectiveGasPrice" } }, { "kind": "Field", "name": { "kind": "Name", "value": "gas" } }, { "kind": "Field", "name": { "kind": "Name", "value": "gasPrice" } }, { "kind": "Field", "name": { "kind": "Name", "value": "gasUsed" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "maxFeePerGas" } }, { "kind": "Field", "name": { "kind": "Name", "value": "maxPriorityFeePerGas" } }, { "kind": "Field", "name": { "kind": "Name", "value": "toAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "type" } }, { "kind": "Field", "name": { "kind": "Name", "value": "input" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionIndex" } }, { "kind": "Field", "name": { "kind": "Name", "value": "value" } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "Pagination" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "PageInfo" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "endCursor" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasNextPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasPreviousPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "startCursor" } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "TransactionsByWalletAddress" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "EVMSchemaType" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "walletByAddress" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "address" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "address" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "address" } }, { "kind": "Field", "name": { "kind": "Name", "value": "ensName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactions" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "before" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "after" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "node" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "TransactionsNode" } }] } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "pageInfo" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "Pagination" } }] } }] } }] } }] } }] };
284
- const CodegenEthMainnetTransactionsByWalletENSDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "EthMainnetTransactionsByWalletENS" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "ensName" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "ethereum" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "TransactionsByWalletENS" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "TransactionsNode" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Transaction" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockTimestamp" } }, { "kind": "Field", "name": { "kind": "Name", "value": "contractAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "fromAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "cumulativeGasUsed" } }, { "kind": "Field", "name": { "kind": "Name", "value": "effectiveGasPrice" } }, { "kind": "Field", "name": { "kind": "Name", "value": "gas" } }, { "kind": "Field", "name": { "kind": "Name", "value": "gasPrice" } }, { "kind": "Field", "name": { "kind": "Name", "value": "gasUsed" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "maxFeePerGas" } }, { "kind": "Field", "name": { "kind": "Name", "value": "maxPriorityFeePerGas" } }, { "kind": "Field", "name": { "kind": "Name", "value": "toAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "type" } }, { "kind": "Field", "name": { "kind": "Name", "value": "input" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionIndex" } }, { "kind": "Field", "name": { "kind": "Name", "value": "value" } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "Pagination" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "PageInfo" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "endCursor" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasNextPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasPreviousPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "startCursor" } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "TransactionsByWalletENS" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "EVMSchemaType" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "walletByENS" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "ensName" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "ensName" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "address" } }, { "kind": "Field", "name": { "kind": "Name", "value": "ensName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactions" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "before" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "after" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "node" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "TransactionsNode" } }] } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "pageInfo" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "Pagination" } }] } }] } }] } }] } }] };
285
- const CodegenEthMainnetGasPricesDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "EthMainnetGasPrices" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "GasPriceFilterInput" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "ethereum" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "GasPrice" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "GasPriceInfo" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "GasPrice" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "total" } }, { "kind": "Field", "name": { "kind": "Name", "value": "average" } }, { "kind": "Field", "name": { "kind": "Name", "value": "ceiling" } }, { "kind": "Field", "name": { "kind": "Name", "value": "floor" } }, { "kind": "Field", "name": { "kind": "Name", "value": "median" } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "GasPrice" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "EVMSchemaType" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "gasPrices" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "filter" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "GasPriceInfo" } }] } }] } }] };
286
- const CodegenEthSepoliaContractDetailsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "EthSepoliaContractDetails" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "contractAddress" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "ethereumSepolia" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "ContractDetails" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "ContractInfo" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Contract" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "abi" } }, { "kind": "Field", "name": { "kind": "Name", "value": "address" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isVerified" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "supportedErcInterfaces" } }, { "kind": "Field", "name": { "kind": "Name", "value": "symbol" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenContract" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "decimals" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "ContractDetails" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "EVMSchemaType" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "contract" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "contractAddress" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "contractAddress" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "ContractInfo" } }] } }] } }] };
287
- const CodegenEthereumSepoliaEventsGetAllDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "EthereumSepoliaEventsGetAll" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenEventsFilterInput" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "ethereumSepolia" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "EventsGetAll" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "TokenEventInfo" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "fromAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }, { "kind": "Field", "name": { "kind": "Name", "value": "toAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transferIndex" } }, { "kind": "Field", "name": { "kind": "Name", "value": "type" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenBurnEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "tokenId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tokenQuantity" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenTransferEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "tokenId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "contractAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tokenQuantity" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenMintEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "tokenQuantity" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenSaleEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "marketplace" } }, { "kind": "Field", "name": { "kind": "Name", "value": "receivedTokenContractAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "receivedTokenId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sentTokenId" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "Pagination" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "PageInfo" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "endCursor" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasNextPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasPreviousPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "startCursor" } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "EventsGetAll" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "EVMSchemaType" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "tokenEvents" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "filter" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "before" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "after" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "node" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "TokenEventInfo" } }] } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "pageInfo" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "Pagination" } }] } }] } }] } }] };
288
- const CodegenEthereumSepoliaEventsByContractDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "EthereumSepoliaEventsByContract" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "contractAddress" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenEventsFilterInput" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "ethereumSepolia" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "EventsByContract" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "TokenEventInfo" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "fromAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }, { "kind": "Field", "name": { "kind": "Name", "value": "toAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transferIndex" } }, { "kind": "Field", "name": { "kind": "Name", "value": "type" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenBurnEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "tokenId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tokenQuantity" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenTransferEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "tokenId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "contractAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tokenQuantity" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenMintEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "tokenQuantity" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenSaleEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "marketplace" } }, { "kind": "Field", "name": { "kind": "Name", "value": "receivedTokenContractAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "receivedTokenId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sentTokenId" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "Pagination" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "PageInfo" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "endCursor" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasNextPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasPreviousPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "startCursor" } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "EventsByContract" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "EVMSchemaType" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "contract" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "contractAddress" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "contractAddress" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "tokenEvents" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "filter" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "before" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "after" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "node" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "TokenEventInfo" } }] } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "pageInfo" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "Pagination" } }] } }] } }] } }] } }] };
289
- const CodegenEthSepoliaEventsByCollectionDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "EthSepoliaEventsByCollection" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "contractAddress" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenEventsFilterInput" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "ethereumSepolia" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "CollectionEventsFragment" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "Pagination" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "PageInfo" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "endCursor" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasNextPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasPreviousPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "startCursor" } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "TokenEventInfo" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "fromAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }, { "kind": "Field", "name": { "kind": "Name", "value": "toAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transferIndex" } }, { "kind": "Field", "name": { "kind": "Name", "value": "type" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenBurnEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "tokenId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tokenQuantity" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenTransferEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "tokenId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "contractAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tokenQuantity" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenMintEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "tokenQuantity" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenSaleEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "marketplace" } }, { "kind": "Field", "name": { "kind": "Name", "value": "receivedTokenContractAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "receivedTokenId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sentTokenId" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "CollectionEventsFragment" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "EVMSchemaType" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "collection" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "contractAddress" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "contractAddress" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "address" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tokenEvents" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "filter" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "before" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "after" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "pageInfo" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "Pagination" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "node" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "TokenEventInfo" } }] } }] } }] } }] } }] } }] };
290
- const CodegenEthSepoliaEventsByNftDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "EthSepoliaEventsByNft" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "contractAddress" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "tokenId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenEventsFilterInput" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "ethereumSepolia" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "NftEventsFragment" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "Pagination" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "PageInfo" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "endCursor" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasNextPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasPreviousPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "startCursor" } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "TokenEventInfo" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "fromAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }, { "kind": "Field", "name": { "kind": "Name", "value": "toAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transferIndex" } }, { "kind": "Field", "name": { "kind": "Name", "value": "type" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenBurnEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "tokenId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tokenQuantity" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenTransferEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "tokenId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "contractAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tokenQuantity" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenMintEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "tokenQuantity" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenSaleEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "marketplace" } }, { "kind": "Field", "name": { "kind": "Name", "value": "receivedTokenContractAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "receivedTokenId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sentTokenId" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "NftEventsFragment" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "EVMSchemaType" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "nft" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "contractAddress" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "contractAddress" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "tokenId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "tokenId" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "contractAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tokenId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tokenEvents" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "filter" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "before" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "after" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "pageInfo" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "Pagination" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "node" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "TokenEventInfo" } }] } }] } }] } }] } }] } }] };
291
- const CodegenEthSepoliaWalletNFTsByContractAddressDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "EthSepoliaWalletNFTsByContractAddress" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "contractAddress" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "ethereumSepolia" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "NftsByContractAddressFragment" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "Pagination" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "PageInfo" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "endCursor" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasNextPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasPreviousPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "startCursor" } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "ERC1155NFTNode" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "ERC1155NFT" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "animationUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "collectionSlug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "contractAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "externalUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "metadata" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tokenId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "wallets" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "node" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "address" } }, { "kind": "Field", "name": { "kind": "Name", "value": "ensName" } }] } }] } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "ERC721NFTNode" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "ERC721NFT" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "animationUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "attributes" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "value" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "collectionSlug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "contractAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "externalUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "metadata" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tokenId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "wallet" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "address" } }, { "kind": "Field", "name": { "kind": "Name", "value": "ensName" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "NftsByContractAddressFragment" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "EVMSchemaType" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "collection" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "contractAddress" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "contractAddress" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "address" } }, { "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "ERC1155Collection" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "nfts" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "before" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "after" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "pageInfo" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "Pagination" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "node" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "ERC1155NFTNode" } }] } }] } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "ERC721Collection" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "nfts" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "before" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "after" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "pageInfo" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "Pagination" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "node" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "ERC721NFTNode" } }] } }] } }] } }] } }] } }] } }] };
292
- const CodegenEthSepoliaWalletNFTsByAddressDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "EthSepoliaWalletNFTsByAddress" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "address" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "WalletNFTsFilterInput" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "ethereumSepolia" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "WalletByAddressFragment" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "Pagination" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "PageInfo" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "endCursor" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasNextPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasPreviousPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "startCursor" } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "WalletNFTNode" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "WalletNFT" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "nft" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "animationUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "collectionSlug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "contractAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "externalUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "metadata" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tokenId" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "WalletByAddressFragment" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "EVMSchemaType" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "walletByAddress" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "address" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "address" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "address" } }, { "kind": "Field", "name": { "kind": "Name", "value": "ensName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "walletNFTs" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "before" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "after" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "filter" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "pageInfo" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "Pagination" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "node" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "WalletNFTNode" } }] } }] } }] } }] } }] } }] };
293
- const CodegenEthSepoliaWalletNFTsByEnsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "EthSepoliaWalletNFTsByEns" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "ensName" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "WalletNFTsFilterInput" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "ethereumSepolia" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "WalletByEnsFragment" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "Pagination" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "PageInfo" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "endCursor" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasNextPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasPreviousPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "startCursor" } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "WalletNFTNode" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "WalletNFT" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "nft" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "animationUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "collectionSlug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "contractAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "externalUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "metadata" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tokenId" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "WalletByEnsFragment" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "EVMSchemaType" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "walletByENS" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "ensName" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "ensName" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "address" } }, { "kind": "Field", "name": { "kind": "Name", "value": "ensName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "walletNFTs" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "before" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "after" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "filter" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "pageInfo" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "Pagination" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "node" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "WalletNFTNode" } }] } }] } }] } }] } }] } }] };
294
- const CodegenEthSepoliaNFTDetailsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "EthSepoliaNFTDetails" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "contractAddress" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "tokenId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "ethereumSepolia" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "NftDetails" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "NftDetails" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "EVMSchemaType" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "nft" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "contractAddress" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "contractAddress" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "tokenId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "tokenId" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "animationUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "collectionSlug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "contractAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "externalUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "metadata" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tokenId" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "ERC1155NFT" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "wallets" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "node" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "address" } }, { "kind": "Field", "name": { "kind": "Name", "value": "ensName" } }] } }] } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "ERC721NFT" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "wallet" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "address" } }, { "kind": "Field", "name": { "kind": "Name", "value": "ensName" } }] } }] } }] } }] } }] };
295
- const CodegenEthSepoliaNftCollectionDetailsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "EthSepoliaNftCollectionDetails" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "contractAddress" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "ethereumSepolia" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "NftCollectionInfo" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "NftCollectionInfo" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "EVMSchemaType" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "collection" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "contractAddress" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "contractAddress" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "address" } }, { "kind": "Field", "name": { "kind": "Name", "value": "bannerImage" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "height" } }, { "kind": "Field", "name": { "kind": "Name", "value": "mimeType" } }, { "kind": "Field", "name": { "kind": "Name", "value": "url" } }, { "kind": "Field", "name": { "kind": "Name", "value": "width" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "baseTokenUri" } }, { "kind": "Field", "name": { "kind": "Name", "value": "circulatingSupply" } }, { "kind": "Field", "name": { "kind": "Name", "value": "contract" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "address" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isVerified" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "symbol" } }, { "kind": "Field", "name": { "kind": "Name", "value": "supportedErcInterfaces" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "externalUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "image" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "height" } }, { "kind": "Field", "name": { "kind": "Name", "value": "mimeType" } }, { "kind": "Field", "name": { "kind": "Name", "value": "url" } }, { "kind": "Field", "name": { "kind": "Name", "value": "width" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "ohlcvChart" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "filter" }, "value": { "kind": "ObjectValue", "fields": [{ "kind": "ObjectField", "name": { "kind": "Name", "value": "limit" }, "value": { "kind": "IntValue", "value": "1" } }] } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "average" } }, { "kind": "Field", "name": { "kind": "Name", "value": "close" } }, { "kind": "Field", "name": { "kind": "Name", "value": "count" } }, { "kind": "Field", "name": { "kind": "Name", "value": "high" } }, { "kind": "Field", "name": { "kind": "Name", "value": "low" } }, { "kind": "Field", "name": { "kind": "Name", "value": "open" } }, { "kind": "Field", "name": { "kind": "Name", "value": "volume" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "openseaMetadata" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "isHidden" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isVerified" } }, { "kind": "Field", "name": { "kind": "Name", "value": "unsafeSlug" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "slug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "symbol" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalSupply" } }, { "kind": "Field", "name": { "kind": "Name", "value": "twitterUsername" } }] } }] } }] };
296
- const CodegenEthSepoliaTrendingCollectionsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "EthSepoliaTrendingCollections" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "ethereumSepolia" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "NftTrendingCollections" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "Pagination" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "PageInfo" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "endCursor" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasNextPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasPreviousPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "startCursor" } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "TrendingCollectionInfo" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Collection" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "address" } }, { "kind": "Field", "name": { "kind": "Name", "value": "baseTokenUri" } }, { "kind": "Field", "name": { "kind": "Name", "value": "circulatingSupply" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "externalUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "image" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "height" } }, { "kind": "Field", "name": { "kind": "Name", "value": "mimeType" } }, { "kind": "Field", "name": { "kind": "Name", "value": "url" } }, { "kind": "Field", "name": { "kind": "Name", "value": "width" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "openseaMetadata" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "isHidden" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isVerified" } }, { "kind": "Field", "name": { "kind": "Name", "value": "unsafeSlug" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "symbol" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalSupply" } }, { "kind": "Field", "name": { "kind": "Name", "value": "twitterUsername" } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "NftTrendingCollections" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "EVMSchemaType" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "trendingCollections" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "before" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "after" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "pageInfo" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "Pagination" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "node" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "collection" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "TrendingCollectionInfo" } }] } }] } }] } }] } }] } }] };
297
- const CodegenEthSepoliaVerifyOwnershipByAddressDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "EthSepoliaVerifyOwnershipByAddress" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "address" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "WalletNFTsFilterInput" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "ethereumSepolia" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "VerifyOwnershipInfo" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "VerifyOwnershipNFTDetails" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "WalletNFT" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "nft" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "contractAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tokenId" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "VerifyOwnershipInfo" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "EVMSchemaType" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "walletByAddress" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "address" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "address" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "walletNFTs" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "filter" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "node" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "VerifyOwnershipNFTDetails" } }] } }] } }] } }] } }] } }] };
298
- const CodegenEthSepoliaVerifyOwnershipByENSDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "EthSepoliaVerifyOwnershipByENS" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "ensName" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "WalletNFTsFilterInput" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "ethereumSepolia" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "VerifyOwnershipInfoByENS" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "VerifyOwnershipNFTDetails" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "WalletNFT" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "nft" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "contractAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tokenId" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "VerifyOwnershipInfoByENS" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "EVMSchemaType" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "walletByENS" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "ensName" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "ensName" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "walletNFTs" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "filter" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "node" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "VerifyOwnershipNFTDetails" } }] } }] } }] } }] } }] } }] };
299
- const CodegenEthSepoliaBalancesByWalletAddressDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "EthSepoliaBalancesByWalletAddress" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "address" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "ethereumSepolia" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "GetBalancesByWalletAddressFragment" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "TokenBalanceNode" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "WalletTokenBalance" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "totalBalance" } }, { "kind": "Field", "name": { "kind": "Name", "value": "contract" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "address" } }, { "kind": "Field", "name": { "kind": "Name", "value": "decimals" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "symbol" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "Pagination" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "PageInfo" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "endCursor" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasNextPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasPreviousPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "startCursor" } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "GetBalancesByWalletAddressFragment" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "EVMSchemaType" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "walletByAddress" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "address" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "address" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "address" } }, { "kind": "Field", "name": { "kind": "Name", "value": "ensName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tokenBalances" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "before" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "after" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "node" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "TokenBalanceNode" } }] } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "pageInfo" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "Pagination" } }] } }] } }] } }] } }] };
300
- const CodegenEthSepoliaBalancesByWalletENSDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "EthSepoliaBalancesByWalletENS" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "ensName" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "ethereumSepolia" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "GetBalancesByWalletENSFragment" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "TokenBalanceNode" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "WalletTokenBalance" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "totalBalance" } }, { "kind": "Field", "name": { "kind": "Name", "value": "contract" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "address" } }, { "kind": "Field", "name": { "kind": "Name", "value": "decimals" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "symbol" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "Pagination" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "PageInfo" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "endCursor" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasNextPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasPreviousPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "startCursor" } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "GetBalancesByWalletENSFragment" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "EVMSchemaType" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "walletByENS" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "ensName" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "ensName" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "address" } }, { "kind": "Field", "name": { "kind": "Name", "value": "ensName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tokenBalances" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "before" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "after" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "node" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "TokenBalanceNode" } }] } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "pageInfo" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "Pagination" } }] } }] } }] } }] } }] };
301
- const CodegenEthSepoliaTransactionsByHashDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "EthSepoliaTransactionsByHash" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "hash" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "ethereumSepolia" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "TransactionsByHash" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "TransactionsNode" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Transaction" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockTimestamp" } }, { "kind": "Field", "name": { "kind": "Name", "value": "contractAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "fromAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "cumulativeGasUsed" } }, { "kind": "Field", "name": { "kind": "Name", "value": "effectiveGasPrice" } }, { "kind": "Field", "name": { "kind": "Name", "value": "gas" } }, { "kind": "Field", "name": { "kind": "Name", "value": "gasPrice" } }, { "kind": "Field", "name": { "kind": "Name", "value": "gasUsed" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "maxFeePerGas" } }, { "kind": "Field", "name": { "kind": "Name", "value": "maxPriorityFeePerGas" } }, { "kind": "Field", "name": { "kind": "Name", "value": "toAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "type" } }, { "kind": "Field", "name": { "kind": "Name", "value": "input" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionIndex" } }, { "kind": "Field", "name": { "kind": "Name", "value": "value" } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "TransactionsByHash" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "EVMSchemaType" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "transaction" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "hash" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "hash" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "TransactionsNode" } }] } }] } }] };
302
- const CodegenEthSepoliaTransactionsBySearchDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "EthSepoliaTransactionsBySearch" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "TransactionsFilterInput" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "ethereumSepolia" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "TransactionsBySearch" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "TransactionsNode" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Transaction" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockTimestamp" } }, { "kind": "Field", "name": { "kind": "Name", "value": "contractAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "fromAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "cumulativeGasUsed" } }, { "kind": "Field", "name": { "kind": "Name", "value": "effectiveGasPrice" } }, { "kind": "Field", "name": { "kind": "Name", "value": "gas" } }, { "kind": "Field", "name": { "kind": "Name", "value": "gasPrice" } }, { "kind": "Field", "name": { "kind": "Name", "value": "gasUsed" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "maxFeePerGas" } }, { "kind": "Field", "name": { "kind": "Name", "value": "maxPriorityFeePerGas" } }, { "kind": "Field", "name": { "kind": "Name", "value": "toAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "type" } }, { "kind": "Field", "name": { "kind": "Name", "value": "input" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionIndex" } }, { "kind": "Field", "name": { "kind": "Name", "value": "value" } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "Pagination" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "PageInfo" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "endCursor" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasNextPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasPreviousPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "startCursor" } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "TransactionsBySearch" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "EVMSchemaType" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "transactions" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "filter" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "before" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "after" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "node" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "TransactionsNode" } }] } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "pageInfo" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "Pagination" } }] } }] } }] } }] };
303
- const CodegenEthSepoliaTransactionsByWalletAddressDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "EthSepoliaTransactionsByWalletAddress" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "address" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "ethereumSepolia" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "TransactionsByWalletAddress" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "TransactionsNode" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Transaction" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockTimestamp" } }, { "kind": "Field", "name": { "kind": "Name", "value": "contractAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "fromAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "cumulativeGasUsed" } }, { "kind": "Field", "name": { "kind": "Name", "value": "effectiveGasPrice" } }, { "kind": "Field", "name": { "kind": "Name", "value": "gas" } }, { "kind": "Field", "name": { "kind": "Name", "value": "gasPrice" } }, { "kind": "Field", "name": { "kind": "Name", "value": "gasUsed" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "maxFeePerGas" } }, { "kind": "Field", "name": { "kind": "Name", "value": "maxPriorityFeePerGas" } }, { "kind": "Field", "name": { "kind": "Name", "value": "toAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "type" } }, { "kind": "Field", "name": { "kind": "Name", "value": "input" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionIndex" } }, { "kind": "Field", "name": { "kind": "Name", "value": "value" } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "Pagination" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "PageInfo" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "endCursor" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasNextPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasPreviousPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "startCursor" } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "TransactionsByWalletAddress" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "EVMSchemaType" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "walletByAddress" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "address" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "address" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "address" } }, { "kind": "Field", "name": { "kind": "Name", "value": "ensName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactions" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "before" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "after" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "node" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "TransactionsNode" } }] } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "pageInfo" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "Pagination" } }] } }] } }] } }] } }] };
304
- const CodegenEthSepoliaTransactionsByWalletENSDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "EthSepoliaTransactionsByWalletENS" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "ensName" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "ethereumSepolia" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "TransactionsByWalletENS" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "TransactionsNode" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Transaction" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockTimestamp" } }, { "kind": "Field", "name": { "kind": "Name", "value": "contractAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "fromAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "cumulativeGasUsed" } }, { "kind": "Field", "name": { "kind": "Name", "value": "effectiveGasPrice" } }, { "kind": "Field", "name": { "kind": "Name", "value": "gas" } }, { "kind": "Field", "name": { "kind": "Name", "value": "gasPrice" } }, { "kind": "Field", "name": { "kind": "Name", "value": "gasUsed" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "maxFeePerGas" } }, { "kind": "Field", "name": { "kind": "Name", "value": "maxPriorityFeePerGas" } }, { "kind": "Field", "name": { "kind": "Name", "value": "toAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "type" } }, { "kind": "Field", "name": { "kind": "Name", "value": "input" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionIndex" } }, { "kind": "Field", "name": { "kind": "Name", "value": "value" } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "Pagination" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "PageInfo" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "endCursor" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasNextPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasPreviousPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "startCursor" } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "TransactionsByWalletENS" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "EVMSchemaType" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "walletByENS" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "ensName" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "ensName" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "address" } }, { "kind": "Field", "name": { "kind": "Name", "value": "ensName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactions" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "before" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "after" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "node" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "TransactionsNode" } }] } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "pageInfo" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "Pagination" } }] } }] } }] } }] } }] };
305
- const CodegenEthSepoliaGasPricesDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "EthSepoliaGasPrices" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "GasPriceFilterInput" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "ethereumSepolia" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "GasPrice" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "GasPriceInfo" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "GasPrice" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "total" } }, { "kind": "Field", "name": { "kind": "Name", "value": "average" } }, { "kind": "Field", "name": { "kind": "Name", "value": "ceiling" } }, { "kind": "Field", "name": { "kind": "Name", "value": "floor" } }, { "kind": "Field", "name": { "kind": "Name", "value": "median" } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "GasPrice" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "EVMSchemaType" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "gasPrices" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "filter" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "GasPriceInfo" } }] } }] } }] };
306
- const CodegenPolygonMainnetContractDetailsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "PolygonMainnetContractDetails" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "contractAddress" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "polygon" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "ContractDetails" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "ContractInfo" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Contract" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "abi" } }, { "kind": "Field", "name": { "kind": "Name", "value": "address" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isVerified" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "supportedErcInterfaces" } }, { "kind": "Field", "name": { "kind": "Name", "value": "symbol" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenContract" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "decimals" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "ContractDetails" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "EVMSchemaType" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "contract" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "contractAddress" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "contractAddress" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "ContractInfo" } }] } }] } }] };
307
- const CodegenPolygonMainnetEventsGetAllDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "PolygonMainnetEventsGetAll" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenEventsFilterInput" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "polygon" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "EventsGetAll" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "TokenEventInfo" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "fromAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }, { "kind": "Field", "name": { "kind": "Name", "value": "toAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transferIndex" } }, { "kind": "Field", "name": { "kind": "Name", "value": "type" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenBurnEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "tokenId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tokenQuantity" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenTransferEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "tokenId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "contractAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tokenQuantity" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenMintEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "tokenQuantity" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenSaleEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "marketplace" } }, { "kind": "Field", "name": { "kind": "Name", "value": "receivedTokenContractAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "receivedTokenId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sentTokenId" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "Pagination" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "PageInfo" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "endCursor" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasNextPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasPreviousPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "startCursor" } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "EventsGetAll" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "EVMSchemaType" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "tokenEvents" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "filter" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "before" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "after" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "node" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "TokenEventInfo" } }] } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "pageInfo" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "Pagination" } }] } }] } }] } }] };
308
- const CodegenPolygonMainnetEventsByContractDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "PolygonMainnetEventsByContract" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "contractAddress" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenEventsFilterInput" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "polygon" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "EventsByContract" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "TokenEventInfo" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "fromAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }, { "kind": "Field", "name": { "kind": "Name", "value": "toAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transferIndex" } }, { "kind": "Field", "name": { "kind": "Name", "value": "type" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenBurnEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "tokenId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tokenQuantity" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenTransferEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "tokenId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "contractAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tokenQuantity" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenMintEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "tokenQuantity" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenSaleEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "marketplace" } }, { "kind": "Field", "name": { "kind": "Name", "value": "receivedTokenContractAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "receivedTokenId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sentTokenId" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "Pagination" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "PageInfo" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "endCursor" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasNextPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasPreviousPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "startCursor" } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "EventsByContract" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "EVMSchemaType" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "contract" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "contractAddress" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "contractAddress" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "tokenEvents" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "filter" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "before" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "after" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "node" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "TokenEventInfo" } }] } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "pageInfo" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "Pagination" } }] } }] } }] } }] } }] };
309
- const CodegenPolygonMainnetEventsByCollectionDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "PolygonMainnetEventsByCollection" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "contractAddress" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenEventsFilterInput" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "polygon" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "CollectionEventsFragment" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "Pagination" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "PageInfo" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "endCursor" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasNextPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasPreviousPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "startCursor" } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "TokenEventInfo" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "fromAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }, { "kind": "Field", "name": { "kind": "Name", "value": "toAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transferIndex" } }, { "kind": "Field", "name": { "kind": "Name", "value": "type" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenBurnEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "tokenId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tokenQuantity" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenTransferEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "tokenId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "contractAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tokenQuantity" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenMintEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "tokenQuantity" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenSaleEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "marketplace" } }, { "kind": "Field", "name": { "kind": "Name", "value": "receivedTokenContractAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "receivedTokenId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sentTokenId" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "CollectionEventsFragment" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "EVMSchemaType" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "collection" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "contractAddress" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "contractAddress" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "address" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tokenEvents" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "filter" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "before" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "after" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "pageInfo" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "Pagination" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "node" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "TokenEventInfo" } }] } }] } }] } }] } }] } }] };
310
- const CodegenPolygonMainnetEventsByNftDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "PolygonMainnetEventsByNft" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "contractAddress" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "tokenId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenEventsFilterInput" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "polygon" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "NftEventsFragment" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "Pagination" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "PageInfo" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "endCursor" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasNextPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasPreviousPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "startCursor" } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "TokenEventInfo" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "fromAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }, { "kind": "Field", "name": { "kind": "Name", "value": "toAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transferIndex" } }, { "kind": "Field", "name": { "kind": "Name", "value": "type" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenBurnEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "tokenId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tokenQuantity" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenTransferEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "tokenId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "contractAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tokenQuantity" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenMintEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "tokenQuantity" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenSaleEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "marketplace" } }, { "kind": "Field", "name": { "kind": "Name", "value": "receivedTokenContractAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "receivedTokenId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sentTokenId" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "NftEventsFragment" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "EVMSchemaType" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "nft" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "contractAddress" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "contractAddress" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "tokenId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "tokenId" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "contractAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tokenId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tokenEvents" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "filter" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "before" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "after" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "pageInfo" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "Pagination" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "node" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "TokenEventInfo" } }] } }] } }] } }] } }] } }] };
311
- const CodegenPolygonMainnetNFTsByContractAddressDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "PolygonMainnetNFTsByContractAddress" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "contractAddress" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "polygon" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "NftsByContractAddressFragment" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "Pagination" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "PageInfo" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "endCursor" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasNextPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasPreviousPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "startCursor" } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "ERC1155NFTNode" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "ERC1155NFT" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "animationUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "collectionSlug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "contractAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "externalUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "metadata" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tokenId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "wallets" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "node" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "address" } }, { "kind": "Field", "name": { "kind": "Name", "value": "ensName" } }] } }] } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "ERC721NFTNode" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "ERC721NFT" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "animationUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "attributes" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "value" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "collectionSlug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "contractAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "externalUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "metadata" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tokenId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "wallet" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "address" } }, { "kind": "Field", "name": { "kind": "Name", "value": "ensName" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "NftsByContractAddressFragment" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "EVMSchemaType" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "collection" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "contractAddress" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "contractAddress" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "address" } }, { "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "ERC1155Collection" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "nfts" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "before" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "after" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "pageInfo" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "Pagination" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "node" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "ERC1155NFTNode" } }] } }] } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "ERC721Collection" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "nfts" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "before" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "after" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "pageInfo" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "Pagination" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "node" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "ERC721NFTNode" } }] } }] } }] } }] } }] } }] } }] };
312
- const CodegenPolygonMainnetWalletNFTsByAddressDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "PolygonMainnetWalletNFTsByAddress" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "address" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "WalletNFTsFilterInput" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "polygon" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "WalletByAddressFragment" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "Pagination" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "PageInfo" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "endCursor" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasNextPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasPreviousPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "startCursor" } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "WalletNFTNode" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "WalletNFT" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "nft" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "animationUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "collectionSlug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "contractAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "externalUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "metadata" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tokenId" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "WalletByAddressFragment" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "EVMSchemaType" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "walletByAddress" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "address" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "address" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "address" } }, { "kind": "Field", "name": { "kind": "Name", "value": "ensName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "walletNFTs" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "before" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "after" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "filter" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "pageInfo" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "Pagination" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "node" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "WalletNFTNode" } }] } }] } }] } }] } }] } }] };
313
- const CodegenPolygonMainnetWalletNFTsByEnsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "PolygonMainnetWalletNFTsByEns" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "ensName" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "WalletNFTsFilterInput" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "polygon" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "WalletByEnsFragment" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "Pagination" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "PageInfo" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "endCursor" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasNextPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasPreviousPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "startCursor" } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "WalletNFTNode" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "WalletNFT" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "nft" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "animationUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "collectionSlug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "contractAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "externalUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "metadata" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tokenId" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "WalletByEnsFragment" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "EVMSchemaType" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "walletByENS" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "ensName" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "ensName" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "address" } }, { "kind": "Field", "name": { "kind": "Name", "value": "ensName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "walletNFTs" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "before" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "after" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "filter" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "pageInfo" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "Pagination" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "node" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "WalletNFTNode" } }] } }] } }] } }] } }] } }] };
314
- const CodegenPolygonMainnetNFTDetailsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "PolygonMainnetNFTDetails" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "contractAddress" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "tokenId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "polygon" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "NftDetails" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "NftDetails" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "EVMSchemaType" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "nft" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "contractAddress" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "contractAddress" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "tokenId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "tokenId" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "animationUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "collectionSlug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "contractAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "externalUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "metadata" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tokenId" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "ERC1155NFT" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "wallets" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "node" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "address" } }, { "kind": "Field", "name": { "kind": "Name", "value": "ensName" } }] } }] } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "ERC721NFT" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "wallet" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "address" } }, { "kind": "Field", "name": { "kind": "Name", "value": "ensName" } }] } }] } }] } }] } }] };
315
- const CodegenPolygonMainnetNftCollectionDetailsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "PolygonMainnetNftCollectionDetails" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "contractAddress" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "polygon" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "NftCollectionInfo" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "NftCollectionInfo" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "EVMSchemaType" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "collection" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "contractAddress" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "contractAddress" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "address" } }, { "kind": "Field", "name": { "kind": "Name", "value": "bannerImage" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "height" } }, { "kind": "Field", "name": { "kind": "Name", "value": "mimeType" } }, { "kind": "Field", "name": { "kind": "Name", "value": "url" } }, { "kind": "Field", "name": { "kind": "Name", "value": "width" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "baseTokenUri" } }, { "kind": "Field", "name": { "kind": "Name", "value": "circulatingSupply" } }, { "kind": "Field", "name": { "kind": "Name", "value": "contract" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "address" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isVerified" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "symbol" } }, { "kind": "Field", "name": { "kind": "Name", "value": "supportedErcInterfaces" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "externalUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "image" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "height" } }, { "kind": "Field", "name": { "kind": "Name", "value": "mimeType" } }, { "kind": "Field", "name": { "kind": "Name", "value": "url" } }, { "kind": "Field", "name": { "kind": "Name", "value": "width" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "ohlcvChart" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "filter" }, "value": { "kind": "ObjectValue", "fields": [{ "kind": "ObjectField", "name": { "kind": "Name", "value": "limit" }, "value": { "kind": "IntValue", "value": "1" } }] } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "average" } }, { "kind": "Field", "name": { "kind": "Name", "value": "close" } }, { "kind": "Field", "name": { "kind": "Name", "value": "count" } }, { "kind": "Field", "name": { "kind": "Name", "value": "high" } }, { "kind": "Field", "name": { "kind": "Name", "value": "low" } }, { "kind": "Field", "name": { "kind": "Name", "value": "open" } }, { "kind": "Field", "name": { "kind": "Name", "value": "volume" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "openseaMetadata" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "isHidden" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isVerified" } }, { "kind": "Field", "name": { "kind": "Name", "value": "unsafeSlug" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "slug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "symbol" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalSupply" } }, { "kind": "Field", "name": { "kind": "Name", "value": "twitterUsername" } }] } }] } }] };
316
- const CodegenPolygonMainnetTrendingCollectionsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "PolygonMainnetTrendingCollections" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "polygon" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "NftTrendingCollections" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "Pagination" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "PageInfo" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "endCursor" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasNextPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasPreviousPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "startCursor" } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "TrendingCollectionInfo" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Collection" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "address" } }, { "kind": "Field", "name": { "kind": "Name", "value": "baseTokenUri" } }, { "kind": "Field", "name": { "kind": "Name", "value": "circulatingSupply" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "externalUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "image" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "height" } }, { "kind": "Field", "name": { "kind": "Name", "value": "mimeType" } }, { "kind": "Field", "name": { "kind": "Name", "value": "url" } }, { "kind": "Field", "name": { "kind": "Name", "value": "width" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "openseaMetadata" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "isHidden" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isVerified" } }, { "kind": "Field", "name": { "kind": "Name", "value": "unsafeSlug" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "symbol" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalSupply" } }, { "kind": "Field", "name": { "kind": "Name", "value": "twitterUsername" } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "NftTrendingCollections" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "EVMSchemaType" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "trendingCollections" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "before" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "after" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "pageInfo" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "Pagination" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "node" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "collection" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "TrendingCollectionInfo" } }] } }] } }] } }] } }] } }] };
317
- const CodegenPolygonMainnetVerifyOwnershipByAddressDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "PolygonMainnetVerifyOwnershipByAddress" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "address" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "WalletNFTsFilterInput" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "polygon" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "VerifyOwnershipInfo" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "VerifyOwnershipNFTDetails" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "WalletNFT" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "nft" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "contractAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tokenId" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "VerifyOwnershipInfo" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "EVMSchemaType" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "walletByAddress" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "address" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "address" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "walletNFTs" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "filter" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "node" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "VerifyOwnershipNFTDetails" } }] } }] } }] } }] } }] } }] };
318
- const CodegenPolygonMainnetVerifyOwnershipByENSDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "PolygonMainnetVerifyOwnershipByENS" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "ensName" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "WalletNFTsFilterInput" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "polygon" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "VerifyOwnershipInfoByENS" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "VerifyOwnershipNFTDetails" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "WalletNFT" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "nft" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "contractAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tokenId" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "VerifyOwnershipInfoByENS" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "EVMSchemaType" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "walletByENS" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "ensName" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "ensName" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "walletNFTs" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "filter" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "node" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "VerifyOwnershipNFTDetails" } }] } }] } }] } }] } }] } }] };
319
- const CodegenPolygonMainnetBalancesByWalletAddressDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "PolygonMainnetBalancesByWalletAddress" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "address" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "polygon" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "GetBalancesByWalletAddressFragment" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "TokenBalanceNode" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "WalletTokenBalance" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "totalBalance" } }, { "kind": "Field", "name": { "kind": "Name", "value": "contract" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "address" } }, { "kind": "Field", "name": { "kind": "Name", "value": "decimals" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "symbol" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "Pagination" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "PageInfo" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "endCursor" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasNextPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasPreviousPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "startCursor" } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "GetBalancesByWalletAddressFragment" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "EVMSchemaType" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "walletByAddress" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "address" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "address" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "address" } }, { "kind": "Field", "name": { "kind": "Name", "value": "ensName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tokenBalances" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "before" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "after" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "node" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "TokenBalanceNode" } }] } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "pageInfo" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "Pagination" } }] } }] } }] } }] } }] };
320
- const CodegenPolygonMainnetBalancesByWalletENSDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "PolygonMainnetBalancesByWalletENS" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "ensName" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "polygon" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "GetBalancesByWalletENSFragment" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "TokenBalanceNode" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "WalletTokenBalance" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "totalBalance" } }, { "kind": "Field", "name": { "kind": "Name", "value": "contract" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "address" } }, { "kind": "Field", "name": { "kind": "Name", "value": "decimals" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "symbol" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "Pagination" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "PageInfo" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "endCursor" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasNextPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasPreviousPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "startCursor" } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "GetBalancesByWalletENSFragment" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "EVMSchemaType" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "walletByENS" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "ensName" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "ensName" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "address" } }, { "kind": "Field", "name": { "kind": "Name", "value": "ensName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tokenBalances" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "before" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "after" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "node" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "TokenBalanceNode" } }] } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "pageInfo" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "Pagination" } }] } }] } }] } }] } }] };
321
- const CodegenPolygonMainnetTransactionsByHashDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "PolygonMainnetTransactionsByHash" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "hash" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "polygon" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "TransactionsByHash" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "TransactionsNode" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Transaction" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockTimestamp" } }, { "kind": "Field", "name": { "kind": "Name", "value": "contractAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "fromAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "cumulativeGasUsed" } }, { "kind": "Field", "name": { "kind": "Name", "value": "effectiveGasPrice" } }, { "kind": "Field", "name": { "kind": "Name", "value": "gas" } }, { "kind": "Field", "name": { "kind": "Name", "value": "gasPrice" } }, { "kind": "Field", "name": { "kind": "Name", "value": "gasUsed" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "maxFeePerGas" } }, { "kind": "Field", "name": { "kind": "Name", "value": "maxPriorityFeePerGas" } }, { "kind": "Field", "name": { "kind": "Name", "value": "toAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "type" } }, { "kind": "Field", "name": { "kind": "Name", "value": "input" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionIndex" } }, { "kind": "Field", "name": { "kind": "Name", "value": "value" } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "TransactionsByHash" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "EVMSchemaType" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "transaction" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "hash" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "hash" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "TransactionsNode" } }] } }] } }] };
322
- const CodegenPolygonMainnetTransactionsBySearchDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "PolygonMainnetTransactionsBySearch" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "TransactionsFilterInput" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "polygon" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "TransactionsBySearch" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "TransactionsNode" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Transaction" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockTimestamp" } }, { "kind": "Field", "name": { "kind": "Name", "value": "contractAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "fromAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "cumulativeGasUsed" } }, { "kind": "Field", "name": { "kind": "Name", "value": "effectiveGasPrice" } }, { "kind": "Field", "name": { "kind": "Name", "value": "gas" } }, { "kind": "Field", "name": { "kind": "Name", "value": "gasPrice" } }, { "kind": "Field", "name": { "kind": "Name", "value": "gasUsed" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "maxFeePerGas" } }, { "kind": "Field", "name": { "kind": "Name", "value": "maxPriorityFeePerGas" } }, { "kind": "Field", "name": { "kind": "Name", "value": "toAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "type" } }, { "kind": "Field", "name": { "kind": "Name", "value": "input" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionIndex" } }, { "kind": "Field", "name": { "kind": "Name", "value": "value" } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "Pagination" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "PageInfo" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "endCursor" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasNextPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasPreviousPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "startCursor" } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "TransactionsBySearch" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "EVMSchemaType" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "transactions" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "filter" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "before" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "after" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "node" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "TransactionsNode" } }] } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "pageInfo" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "Pagination" } }] } }] } }] } }] };
323
- const CodegenPolygonMainnetTransactionsByWalletAddressDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "PolygonMainnetTransactionsByWalletAddress" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "address" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "polygon" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "TransactionsByWalletAddress" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "TransactionsNode" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Transaction" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockTimestamp" } }, { "kind": "Field", "name": { "kind": "Name", "value": "contractAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "fromAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "cumulativeGasUsed" } }, { "kind": "Field", "name": { "kind": "Name", "value": "effectiveGasPrice" } }, { "kind": "Field", "name": { "kind": "Name", "value": "gas" } }, { "kind": "Field", "name": { "kind": "Name", "value": "gasPrice" } }, { "kind": "Field", "name": { "kind": "Name", "value": "gasUsed" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "maxFeePerGas" } }, { "kind": "Field", "name": { "kind": "Name", "value": "maxPriorityFeePerGas" } }, { "kind": "Field", "name": { "kind": "Name", "value": "toAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "type" } }, { "kind": "Field", "name": { "kind": "Name", "value": "input" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionIndex" } }, { "kind": "Field", "name": { "kind": "Name", "value": "value" } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "Pagination" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "PageInfo" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "endCursor" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasNextPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasPreviousPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "startCursor" } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "TransactionsByWalletAddress" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "EVMSchemaType" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "walletByAddress" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "address" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "address" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "address" } }, { "kind": "Field", "name": { "kind": "Name", "value": "ensName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactions" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "before" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "after" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "node" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "TransactionsNode" } }] } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "pageInfo" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "Pagination" } }] } }] } }] } }] } }] };
324
- const CodegenPolygonMainnetTransactionsByWalletENSDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "PolygonMainnetTransactionsByWalletENS" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "ensName" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "polygon" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "TransactionsByWalletENS" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "TransactionsNode" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Transaction" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockTimestamp" } }, { "kind": "Field", "name": { "kind": "Name", "value": "contractAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "fromAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "cumulativeGasUsed" } }, { "kind": "Field", "name": { "kind": "Name", "value": "effectiveGasPrice" } }, { "kind": "Field", "name": { "kind": "Name", "value": "gas" } }, { "kind": "Field", "name": { "kind": "Name", "value": "gasPrice" } }, { "kind": "Field", "name": { "kind": "Name", "value": "gasUsed" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "maxFeePerGas" } }, { "kind": "Field", "name": { "kind": "Name", "value": "maxPriorityFeePerGas" } }, { "kind": "Field", "name": { "kind": "Name", "value": "toAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "type" } }, { "kind": "Field", "name": { "kind": "Name", "value": "input" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionIndex" } }, { "kind": "Field", "name": { "kind": "Name", "value": "value" } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "Pagination" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "PageInfo" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "endCursor" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasNextPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasPreviousPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "startCursor" } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "TransactionsByWalletENS" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "EVMSchemaType" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "walletByENS" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "ensName" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "ensName" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "address" } }, { "kind": "Field", "name": { "kind": "Name", "value": "ensName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactions" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "before" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "before" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "after" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "node" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "TransactionsNode" } }] } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "pageInfo" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "Pagination" } }] } }] } }] } }] } }] };
325
- const CodegenPolygonMainnetGasPricesDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "PolygonMainnetGasPrices" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "GasPriceFilterInput" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "polygon" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "GasPrice" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "GasPriceInfo" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "GasPrice" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "total" } }, { "kind": "Field", "name": { "kind": "Name", "value": "average" } }, { "kind": "Field", "name": { "kind": "Name", "value": "ceiling" } }, { "kind": "Field", "name": { "kind": "Name", "value": "floor" } }, { "kind": "Field", "name": { "kind": "Name", "value": "median" } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "GasPrice" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "EVMSchemaType" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "gasPrices" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "filter" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "GasPriceInfo" } }] } }] } }] };
326
-
327
- // Formats the query result with the edges and nodes removed into what we want to return to the user
328
- function formatQueryResult(queryResult, resultsKey, // Key that the actual results are in
329
- paginationKey, // Key that the pagination info is in
330
- resultsKeyToRemove, // Key that the results are nested under to remove for each entry
331
- additionalModification) {
332
- const additionaProperties = Object.fromEntries(Object.entries(queryResult).filter(([key]) => key !== resultsKey && key !== paginationKey));
333
- let trimmedResults = queryResult[resultsKey];
334
- if (resultsKeyToRemove) {
335
- trimmedResults = trimmedResults.map((result) => result[resultsKeyToRemove] || {});
336
- }
337
- const formattedResultBase = {
338
- results: trimmedResults,
339
- pageInfo: queryResult[paginationKey],
340
- };
341
- let result = {
342
- ...formattedResultBase,
343
- ...additionaProperties,
344
- };
345
- if (additionalModification)
346
- result = additionalModification(result);
347
- return result;
348
- }
349
-
350
- const emptyPageInfo = {
351
- endCursor: null,
352
- hasNextPage: false,
353
- hasPreviousPage: false,
354
- startCursor: null,
355
- };
356
- function weiToGwei(wei) {
357
- return +(wei / 1e9).toFixed(2);
358
- }
359
-
360
- const DEFAULT_CHAIN = 'ethereum';
361
-
362
- class QNInputValidationError extends Error {
363
- constructor({ messages, zodError, }) {
364
- super(`QuickNode SDK Input Validation Error: ${messages.join(', ')}`);
365
- this.messages = messages;
366
- this.issues = zodError.issues;
367
- this.zodError = zodError; // see https://github.com/colinhacks/zod/blob/HEAD/ERROR_HANDLING.md
368
- }
369
- }
370
-
371
- function formatErrors(baseError) {
372
- const errorMessages = [];
373
- baseError.errors.forEach((error) => {
374
- errorMessages.push(`${error.path.length > 0 ? error.path + ': ' : ''}${error.message}`);
375
- });
376
- return errorMessages.length > 0
377
- ? new QNInputValidationError({
378
- messages: errorMessages,
379
- zodError: baseError,
380
- })
381
- : null;
382
- }
383
- // Decorator for runtime validation to handle input that is unknown at compile time
384
- function ValidateInput(schema) {
385
- return function (target, propertyName, descriptor) {
386
- const method = descriptor.value;
387
- if (!method)
388
- return;
389
- descriptor.value = async function (...args) {
390
- const [input] = args;
391
- const validation = schema.safeParse(input);
392
- if (!validation.success) {
393
- const formattedErrors = formatErrors(validation.error);
394
- if (formattedErrors) {
395
- throw formattedErrors;
396
- }
397
- }
398
- return method.apply(this, args);
399
- };
400
- };
401
- }
402
-
403
- class NftsController {
404
- constructor(client, defaultChain = DEFAULT_CHAIN) {
405
- this.client = client;
406
- this.defaultChain = defaultChain;
407
- }
408
- async getByWallet(variables) {
409
- const { address, ...allVariables } = variables;
410
- if (isValidENSAddress(address)) {
411
- return this.getByWalletENS({
412
- ensName: address,
413
- ...allVariables,
414
- });
415
- }
416
- return this.getByWalletAddress({
417
- address,
418
- ...allVariables,
419
- });
420
- }
421
- async getByWalletENS(variables) {
422
- const { chain, ...queryVariables } = variables;
423
- const userChain = chain || this.defaultChain;
424
- const query = {
425
- ethereum: CodegenEthMainnetWalletNFTsByEnsDocument,
426
- polygon: CodegenPolygonMainnetWalletNFTsByEnsDocument,
427
- ethereumSepolia: CodegenEthSepoliaWalletNFTsByEnsDocument,
428
- };
429
- const { data: { [userChain]: { walletByENS }, }, } = await this.client.query({
430
- query: query[userChain],
431
- variables: queryVariables,
432
- });
433
- if (!walletByENS?.walletNFTs?.length) {
434
- // Address can still be valid ENS name, but not have any NFTs
435
- const address = walletByENS?.address || '';
436
- const ensName = walletByENS?.ensName || '';
437
- return {
438
- address: address,
439
- ensName: ensName,
440
- results: [],
441
- pageInfo: emptyPageInfo,
442
- };
443
- }
444
- const formattedResult = formatQueryResult(walletByENS, 'walletNFTs', 'walletNFTsPageInfo', 'nft');
445
- return formattedResult;
446
- }
447
- async getByWalletAddress(variables) {
448
- const { chain, ...queryVariables } = variables;
449
- const userChain = chain || this.defaultChain;
450
- const query = {
451
- ethereum: CodegenEthMainnetWalletNFTsByAddressDocument,
452
- polygon: CodegenPolygonMainnetWalletNFTsByAddressDocument,
453
- ethereumSepolia: CodegenEthSepoliaWalletNFTsByAddressDocument,
454
- };
455
- const { data: { [userChain]: { walletByAddress }, }, } = await this.client.query({
456
- query: query[userChain],
457
- variables: queryVariables,
458
- });
459
- if (!walletByAddress?.walletNFTs?.length) {
460
- const address = walletByAddress?.address || '';
461
- const ensName = walletByAddress?.ensName || '';
462
- return {
463
- address: address,
464
- ensName: ensName,
465
- results: [],
466
- pageInfo: emptyPageInfo,
467
- };
468
- }
469
- const formattedResult = formatQueryResult(walletByAddress, 'walletNFTs', 'walletNFTsPageInfo', 'nft');
470
- return formattedResult;
471
- }
472
- async getTrendingCollections(variables) {
473
- const { chain, ...queryVariables } = variables;
474
- const userChain = chain || this.defaultChain;
475
- const query = {
476
- ethereum: CodegenEthMainnetTrendingCollectionsDocument,
477
- polygon: CodegenPolygonMainnetTrendingCollectionsDocument,
478
- ethereumSepolia: CodegenEthSepoliaTrendingCollectionsDocument,
479
- };
480
- const { data: { [userChain]: trendingCollections }, } = await this.client.query({
481
- query: query[userChain],
482
- variables: queryVariables,
483
- });
484
- const formattedResult = formatQueryResult(trendingCollections, 'trendingCollections', 'trendingCollectionsPageInfo', 'collection');
485
- return formattedResult;
486
- }
487
- async getByContractAddress(variables) {
488
- const { chain, ...queryVariables } = variables;
489
- const userChain = chain || this.defaultChain;
490
- const query = {
491
- ethereum: CodegenEthMainnetWalletNFTsByContractAddressDocument,
492
- polygon: CodegenPolygonMainnetNFTsByContractAddressDocument,
493
- ethereumSepolia: CodegenEthSepoliaWalletNFTsByContractAddressDocument,
494
- };
495
- const { data: { [userChain]: { collection }, }, } = await this.client.query({
496
- query: query[userChain],
497
- variables: queryVariables,
498
- });
499
- if (!collection?.nfts?.length) {
500
- return {
501
- standard: null,
502
- results: [],
503
- pageInfo: emptyPageInfo,
504
- };
505
- }
506
- const setErcStandard = (results) => {
507
- const standardMap = {
508
- ERC1155Collection: 'ERC1155',
509
- ERC721Collection: 'ERC721',
510
- };
511
- // Remove address too since it was only used as a key field
512
- const { __typename, address, ...newResults } = results;
513
- return {
514
- ...newResults,
515
- standard: standardMap[results['__typename']] || null,
516
- };
517
- };
518
- const formattedResult = formatQueryResult(collection, 'nfts', 'nftsPageInfo', null, setErcStandard);
519
- return formattedResult;
520
- }
521
- async getNFTDetails(variables) {
522
- const { chain, ...queryVariables } = variables;
523
- const userChain = chain || this.defaultChain;
524
- const query = {
525
- ethereum: CodegenEthMainnetNFTDetailsDocument,
526
- polygon: CodegenPolygonMainnetNFTDetailsDocument,
527
- ethereumSepolia: CodegenEthSepoliaNFTDetailsDocument,
528
- };
529
- const { data: { [userChain]: { nft }, }, } = await this.client.query({
530
- query: query[userChain],
531
- variables: queryVariables,
532
- });
533
- if (nft)
534
- return { nft };
535
- return { nft: null };
536
- }
537
- async getCollectionDetails(variables) {
538
- const { chain, ...queryVariables } = variables;
539
- const userChain = chain || this.defaultChain;
540
- const query = {
541
- ethereum: CodegenEthMainnetNftCollectionDetailsDocument,
542
- polygon: CodegenPolygonMainnetNftCollectionDetailsDocument,
543
- ethereumSepolia: CodegenEthSepoliaNftCollectionDetailsDocument,
544
- };
545
- const { data: { [userChain]: { collection }, }, } = await this.client.query({
546
- query: query[userChain],
547
- variables: queryVariables,
548
- });
549
- if (collection)
550
- return { collection };
551
- return { collection: null };
552
- }
553
- async verifyOwnership(variables) {
554
- const { address, ...allVariables } = variables;
555
- if (isValidENSAddress(address)) {
556
- return this.verifyOwnershipByENS({
557
- ensName: address,
558
- ...allVariables,
559
- });
560
- }
561
- return this.verifyOwnershipByAddress({
562
- address,
563
- ...allVariables,
564
- });
565
- }
566
- async verifyOwnershipByAddress(variables) {
567
- const { chain, address, nfts } = variables;
568
- const userChain = chain || this.defaultChain;
569
- const query = {
570
- ethereum: CodegenEthMainnetVerifyOwnershipByAddressDocument,
571
- polygon: CodegenPolygonMainnetVerifyOwnershipByAddressDocument,
572
- ethereumSepolia: CodegenEthSepoliaVerifyOwnershipByAddressDocument,
573
- };
574
- const { data: { [userChain]: { walletByAddress }, }, } = await this.client.query({
575
- query: query[userChain],
576
- variables: { address, filter: { contractTokens: nfts } },
577
- });
578
- return !!walletByAddress?.walletNFTs?.length;
579
- }
580
- async verifyOwnershipByENS(variables) {
581
- const { chain, ensName, nfts } = variables;
582
- const userChain = chain || this.defaultChain;
583
- const query = {
584
- ethereum: CodegenEthMainnetVerifyOwnershipByENSDocument,
585
- polygon: CodegenPolygonMainnetVerifyOwnershipByENSDocument,
586
- ethereumSepolia: CodegenEthSepoliaVerifyOwnershipByENSDocument,
587
- };
588
- const { data: { [userChain]: { walletByENS }, }, } = await this.client.query({
589
- query: query[userChain],
590
- variables: { ensName, filter: { contractTokens: nfts } },
591
- });
592
- return !!walletByENS?.walletNFTs?.length;
593
- }
594
- }
595
- __decorate([
596
- ValidateInput(walletByAddressValidator),
597
- __metadata("design:type", Function),
598
- __metadata("design:paramtypes", [Object]),
599
- __metadata("design:returntype", Promise)
600
- ], NftsController.prototype, "getByWallet", null);
601
- __decorate([
602
- ValidateInput(nftTrendingCollectionsValidator),
603
- __metadata("design:type", Function),
604
- __metadata("design:paramtypes", [Object]),
605
- __metadata("design:returntype", Promise)
606
- ], NftsController.prototype, "getTrendingCollections", null);
607
- __decorate([
608
- ValidateInput(nftsByContractAddressValidator),
609
- __metadata("design:type", Function),
610
- __metadata("design:paramtypes", [Object]),
611
- __metadata("design:returntype", Promise)
612
- ], NftsController.prototype, "getByContractAddress", null);
613
- __decorate([
614
- ValidateInput(nftDetailsValidator),
615
- __metadata("design:type", Function),
616
- __metadata("design:paramtypes", [Object]),
617
- __metadata("design:returntype", Promise)
618
- ], NftsController.prototype, "getNFTDetails", null);
619
- __decorate([
620
- ValidateInput(nftCollectionDetailsValidator),
621
- __metadata("design:type", Function),
622
- __metadata("design:paramtypes", [Object]),
623
- __metadata("design:returntype", Promise)
624
- ], NftsController.prototype, "getCollectionDetails", null);
625
- __decorate([
626
- ValidateInput(verifyOwnershipValidator),
627
- __metadata("design:type", Function),
628
- __metadata("design:paramtypes", [Object]),
629
- __metadata("design:returntype", Promise)
630
- ], NftsController.prototype, "verifyOwnership", null);
631
-
632
- const balancesByWalletAddressValidator = z
633
- .object({
634
- address: z.union([isENSAddress, isEvmAddress]),
635
- })
636
- .merge(paginationParams)
637
- .merge(supportedChainInput)
638
- .strict();
639
-
640
- class TokensController {
641
- constructor(client, defaultChain = DEFAULT_CHAIN) {
642
- this.client = client;
643
- this.defaultChain = defaultChain;
644
- }
645
- async getBalancesByWallet(variables) {
646
- const { address, ...allVariables } = variables;
647
- if (isValidENSAddress(address)) {
648
- return this.getBalancesByWalletENS({
649
- ensName: address,
650
- ...allVariables,
651
- });
652
- }
653
- return this.getBalancesByWalletAddress({
654
- address,
655
- ...allVariables,
656
- });
657
- }
658
- async getBalancesByWalletENS(variables) {
659
- const { chain, ...queryVariables } = variables;
660
- const userChain = chain || this.defaultChain;
661
- const query = {
662
- ethereum: CodegenEthMainnetBalancesByWalletENSDocument,
663
- polygon: CodegenPolygonMainnetBalancesByWalletENSDocument,
664
- ethereumSepolia: CodegenEthSepoliaBalancesByWalletENSDocument,
665
- };
666
- const { data: { [userChain]: { walletByENS }, }, } = await this.client.query({
667
- variables: queryVariables,
668
- query: query[userChain],
669
- });
670
- if (!walletByENS?.tokenBalances?.length) {
671
- // Address can still be valid ENS name, but not have any balances
672
- const address = walletByENS?.address || '';
673
- const ensName = walletByENS?.ensName || '';
674
- return {
675
- address: address,
676
- ensName: ensName,
677
- results: [],
678
- pageInfo: emptyPageInfo,
679
- };
680
- }
681
- const formattedResult = formatQueryResult(walletByENS, 'tokenBalances', 'tokenBalancesPageInfo', null, this.flattenBalanceResponses // Remove the "contract" key and move info to balance result body
682
- );
683
- return formattedResult;
684
- }
685
- async getBalancesByWalletAddress(variables) {
686
- const { chain, ...queryVariables } = variables;
687
- const userChain = chain || this.defaultChain;
688
- const query = {
689
- ethereum: CodegenEthMainnetBalancesByWalletAddressDocument,
690
- polygon: CodegenPolygonMainnetBalancesByWalletAddressDocument,
691
- ethereumSepolia: CodegenEthSepoliaBalancesByWalletAddressDocument,
692
- };
693
- const { data: { [userChain]: { walletByAddress }, }, } = await this.client.query({
694
- variables: queryVariables,
695
- query: query[userChain],
696
- });
697
- if (!walletByAddress?.tokenBalances?.length) {
698
- // Address can still be valid address, but not have any balances
699
- const address = walletByAddress?.address || '';
700
- const ensName = walletByAddress?.ensName || '';
701
- return {
702
- address: address,
703
- ensName: ensName,
704
- results: [],
705
- pageInfo: emptyPageInfo,
706
- };
707
- }
708
- const formattedResult = formatQueryResult(walletByAddress, 'tokenBalances', 'tokenBalancesPageInfo', null, this.flattenBalanceResponses // Remove the "contract" key and move info to balance result body
709
- );
710
- return formattedResult;
711
- }
712
- flattenBalanceResponses(response) {
713
- const modifiedResults = response.results.map((result) => {
714
- const { contract: { ...contractInfo }, ...balanceInfo } = result;
715
- return { ...balanceInfo, ...contractInfo };
716
- });
717
- response.results = modifiedResults;
718
- return response;
719
- }
720
- }
721
- __decorate([
722
- ValidateInput(balancesByWalletAddressValidator),
723
- __metadata("design:type", Function),
724
- __metadata("design:paramtypes", [Object]),
725
- __metadata("design:returntype", Promise)
726
- ], TokensController.prototype, "getBalancesByWallet", null);
727
-
728
- const gasPricesValidator = z
729
- .object({
730
- returnInGwei: z.boolean().nullish(),
731
- filter: gasPriceFilters.nullish(),
732
- })
733
- .merge(supportedChainInput)
734
- .strict();
735
-
736
- class UtilsController {
737
- constructor(client, defaultChain = DEFAULT_CHAIN) {
738
- this.client = client;
739
- this.defaultChain = defaultChain;
740
- }
741
- async getGasPrices(variables) {
742
- const { chain, ...queryVariables } = variables;
743
- const returnInGwei = variables.returnInGwei || false;
744
- const userChain = chain || this.defaultChain;
745
- const query = {
746
- ethereum: CodegenEthMainnetGasPricesDocument,
747
- polygon: CodegenPolygonMainnetGasPricesDocument,
748
- ethereumSepolia: CodegenEthSepoliaGasPricesDocument,
749
- };
750
- const { data: { [userChain]: { gasPrices }, }, } = await this.client.query({
751
- query: query[userChain],
752
- variables: queryVariables,
753
- });
754
- if (Array.isArray(gasPrices) && gasPrices.length > 0) {
755
- if (returnInGwei) {
756
- const fieldsToTransform = [
757
- 'total',
758
- 'average',
759
- 'ceiling',
760
- 'floor',
761
- 'median',
762
- ];
763
- const modifiedGasPrices = gasPrices.map((gasPrice) => {
764
- fieldsToTransform.map((field) => {
765
- gasPrice[field] = weiToGwei(gasPrice[field]);
766
- });
767
- return gasPrice;
768
- });
769
- return { gasPrices: modifiedGasPrices };
770
- }
771
- return { gasPrices };
772
- }
773
- return { gasPrices: [] };
774
- }
775
- }
776
- __decorate([
777
- ValidateInput(gasPricesValidator),
778
- __metadata("design:type", Function),
779
- __metadata("design:paramtypes", [Object]),
780
- __metadata("design:returntype", Promise)
781
- ], UtilsController.prototype, "getGasPrices", null);
782
-
783
- // Using zod for runtime validation
784
- const contractDetailsValidator = z
785
- .object({
786
- contractAddress: isEvmAddress,
787
- })
788
- .merge(supportedChainInput)
789
- .strict();
790
-
791
- class ContractsController {
792
- constructor(client, defaultChain = DEFAULT_CHAIN) {
793
- this.client = client;
794
- this.defaultChain = defaultChain;
795
- }
796
- async getDetails(variables) {
797
- const { chain, ...queryVariables } = variables;
798
- const userChain = chain || this.defaultChain;
799
- const query = {
800
- ethereum: CodegenEthMainnetContractDetailsDocument,
801
- polygon: CodegenPolygonMainnetContractDetailsDocument,
802
- ethereumSepolia: CodegenEthSepoliaContractDetailsDocument,
803
- };
804
- const { data: { [userChain]: { contract }, }, } = await this.client.query({
805
- variables: queryVariables,
806
- query: query[userChain],
807
- });
808
- if (contract)
809
- return { contract };
810
- return { contract: null };
811
- }
812
- }
813
- __decorate([
814
- ValidateInput(contractDetailsValidator),
815
- __metadata("design:type", Function),
816
- __metadata("design:paramtypes", [Object]),
817
- __metadata("design:returntype", Promise)
818
- ], ContractsController.prototype, "getDetails", null);
819
-
820
- const contractEventsValidator = z
821
- .object({
822
- contractAddress: isEvmAddress,
823
- })
824
- .merge(baseEventsInput)
825
- .merge(supportedChainInput)
826
- .strict();
827
-
828
- const collectionEventsValidator = z
829
- .object({
830
- contractAddress: isEvmAddress,
831
- })
832
- .merge(baseEventsInput)
833
- .merge(supportedChainInput)
834
- .strict();
835
-
836
- const nftEventsValidator = z
837
- .object({
838
- contractAddress: isEvmAddress,
839
- tokenId: z.string(),
840
- })
841
- .merge(baseEventsInput)
842
- .merge(supportedChainInput)
843
- .strict();
844
-
845
- const allEventsValidator = baseEventsInput
846
- .merge(supportedChainInput)
847
- .strict();
848
-
849
- class EventsController {
850
- constructor(client, defaultChain = DEFAULT_CHAIN) {
851
- this.client = client;
852
- this.defaultChain = defaultChain;
853
- }
854
- async getByContract(variables) {
855
- const { chain, ...queryVariables } = variables;
856
- const userChain = chain || this.defaultChain;
857
- const query = {
858
- ethereum: CodegenEthereumMainnetEventsByContractDocument,
859
- polygon: CodegenPolygonMainnetEventsByContractDocument,
860
- ethereumSepolia: CodegenEthereumSepoliaEventsByContractDocument,
861
- };
862
- const { data: { [userChain]: { contract }, }, } = await this.client.query({
863
- query: query[userChain],
864
- variables: queryVariables,
865
- });
866
- if (!contract?.tokenEvents?.length) {
867
- return {
868
- results: [],
869
- pageInfo: emptyPageInfo,
870
- };
871
- }
872
- const formattedResult = formatQueryResult(contract, 'tokenEvents', 'tokenEventsPageInfo');
873
- return formattedResult;
874
- }
875
- async getByNFTCollection(variables) {
876
- const { chain, ...queryVariables } = variables;
877
- const userChain = chain || this.defaultChain;
878
- const query = {
879
- ethereum: CodegenEthMainnetEventsByCollectionDocument,
880
- polygon: CodegenPolygonMainnetEventsByCollectionDocument,
881
- ethereumSepolia: CodegenEthSepoliaEventsByCollectionDocument,
882
- };
883
- const { data: { [userChain]: { collection }, }, } = await this.client.query({
884
- query: query[userChain],
885
- variables: queryVariables,
886
- });
887
- if (!collection?.tokenEvents?.length)
888
- return { results: [], pageInfo: emptyPageInfo };
889
- function removeKeyFields(results) {
890
- const { address, ...newResults } = results;
891
- return newResults;
892
- }
893
- const formattedResult = formatQueryResult(collection, 'tokenEvents', 'tokenEventsPageInfo', null, removeKeyFields);
894
- return formattedResult;
895
- }
896
- async getByNFT(variables) {
897
- const { chain, ...queryVariables } = variables;
898
- const userChain = chain || this.defaultChain;
899
- const query = {
900
- ethereum: CodegenEthereumMainnetEventsByNftDocument,
901
- polygon: CodegenPolygonMainnetEventsByNftDocument,
902
- ethereumSepolia: CodegenEthSepoliaEventsByNftDocument,
903
- };
904
- const { data: { [userChain]: { nft }, }, } = await this.client.query({
905
- query: query[userChain],
906
- variables: queryVariables,
907
- });
908
- if (!nft?.tokenEvents?.length)
909
- return { results: [], pageInfo: emptyPageInfo };
910
- function removeKeyFields(results) {
911
- const { contractAddress, tokenId, ...newResults } = results;
912
- return newResults;
913
- }
914
- const formattedResult = formatQueryResult(nft, 'tokenEvents', 'tokenEventsPageInfo', null, removeKeyFields);
915
- return formattedResult;
916
- }
917
- async getAll(variables) {
918
- const { chain, ...queryVariables } = variables;
919
- const userChain = chain || this.defaultChain;
920
- const query = {
921
- ethereum: CodegenEthereumMainnetEventsGetAllDocument,
922
- polygon: CodegenPolygonMainnetEventsGetAllDocument,
923
- ethereumSepolia: CodegenEthereumSepoliaEventsGetAllDocument,
924
- };
925
- const { data: { [userChain]: tokenEvents }, } = await this.client.query({
926
- query: query[userChain],
927
- variables: queryVariables,
928
- });
929
- const formattedResult = formatQueryResult(tokenEvents, 'tokenEvents', 'tokenEventsPageInfo');
930
- return formattedResult;
931
- }
932
- }
933
- __decorate([
934
- ValidateInput(contractEventsValidator),
935
- __metadata("design:type", Function),
936
- __metadata("design:paramtypes", [Object]),
937
- __metadata("design:returntype", Promise)
938
- ], EventsController.prototype, "getByContract", null);
939
- __decorate([
940
- ValidateInput(collectionEventsValidator),
941
- __metadata("design:type", Function),
942
- __metadata("design:paramtypes", [Object]),
943
- __metadata("design:returntype", Promise)
944
- ], EventsController.prototype, "getByNFTCollection", null);
945
- __decorate([
946
- ValidateInput(nftEventsValidator),
947
- __metadata("design:type", Function),
948
- __metadata("design:paramtypes", [Object]),
949
- __metadata("design:returntype", Promise)
950
- ], EventsController.prototype, "getByNFT", null);
951
- __decorate([
952
- ValidateInput(allEventsValidator),
953
- __metadata("design:type", Function),
954
- __metadata("design:paramtypes", [Object]),
955
- __metadata("design:returntype", Promise)
956
- ], EventsController.prototype, "getAll", null);
957
-
958
- var __schema={queryType:{name:"Query"},mutationType:null,subscriptionType:null,types:[{kind:"SCALAR",name:"BigInt",description:"The `BigInt` scalar type represents non-fractional signed whole numeric values.",fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:null},{kind:"SCALAR",name:"Boolean",description:"The `Boolean` scalar type represents `true` or `false`.",fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:null},{kind:"INTERFACE",name:"Collection",description:"Fetches an NFT collection",fields:[{name:"address",description:"The contract address of the collection",args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"attributes",description:"Attributes within a collection",args:[{name:"after",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"before",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"first",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"last",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null}],type:{kind:"OBJECT",name:"CollectionAttributesConnection",ofType:null},isDeprecated:false,deprecationReason:null},{name:"bannerImage",description:"Collection banner image.",args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"TokenUpload",ofType:null}}},isDeprecated:false,deprecationReason:null},{name:"baseTokenUri",description:"The base token uri of the collection",args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null},{name:"circulatingSupply",description:"The circulating supply of tokens within the collection",args:[],type:{kind:"SCALAR",name:"BigInt",ofType:null},isDeprecated:false,deprecationReason:null},{name:"contract",description:null,args:[],type:{kind:"OBJECT",name:"NFTContract",ofType:null},isDeprecated:false,deprecationReason:null},{name:"description",description:"The description of the collection",args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null},{name:"externalUrl",description:"The external url of the collection",args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null},{name:"holders",description:null,args:[{name:"after",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"before",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"first",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"last",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null}],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"CollectionHoldersConnection",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"image",description:"The collection image.",args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"TokenUpload",ofType:null}}},isDeprecated:false,deprecationReason:null},{name:"name",description:"The name of the collection",args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null},{name:"ohlcvChart",description:null,args:[{name:"filter",description:null,type:{kind:"INPUT_OBJECT",name:"CollectionOhlcvChartInput",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null}],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"CollectionOHLCVChart",ofType:null}}},isDeprecated:false,deprecationReason:null},{name:"openseaMetadata",description:"Opensea metadata",args:[],type:{kind:"OBJECT",name:"OpenSeaMetadata",ofType:null},isDeprecated:false,deprecationReason:null},{name:"orderHistory",description:"Order history for a collection",args:[{name:"filter",description:null,type:{kind:"INPUT_OBJECT",name:"CollectionOrderHistoryInput",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null}],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"CollectionOrderHistory",ofType:null}}},isDeprecated:false,deprecationReason:null},{name:"sales",description:"The sales of the collection",args:[{name:"after",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"before",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"filter",description:null,type:{kind:"INPUT_OBJECT",name:"CollectionSaleFilterInput",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"first",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"last",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"orderBy",description:null,type:{kind:"ENUM",name:"CollectionSaleOrderBy",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"orderDirection",description:"The direction you want to order results: ASC/DESC. Defaults to DESC.",type:{kind:"ENUM",name:"OrderDirection",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null}],type:{kind:"OBJECT",name:"CollectionSalesConnection",ofType:null},isDeprecated:false,deprecationReason:null},{name:"slug",description:"The slug of the collection",args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null},{name:"symbol",description:"The symbol of the collection",args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null},{name:"tokenEvents",description:null,args:[{name:"after",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"before",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"filter",description:null,type:{kind:"INPUT_OBJECT",name:"TokenEventsFilterInput",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"first",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"last",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null}],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"CollectionTokenEventsConnection",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"totalSupply",description:"The total supply of tokens within the collection",args:[],type:{kind:"SCALAR",name:"BigInt",ofType:null},isDeprecated:false,deprecationReason:null},{name:"twitterUsername",description:"The twitter username of the collection",args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null},{name:"wallets",description:null,args:[{name:"after",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"before",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"first",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"last",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null}],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"CollectionWalletsConnection",ofType:null}},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:[{kind:"OBJECT",name:"ERC721Collection",ofType:null},{kind:"OBJECT",name:"ERC1155Collection",ofType:null}]},{kind:"OBJECT",name:"CollectionAttribute",description:"Attributes within a collection",fields:[{name:"name",description:"The trait key",args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"value",description:"The value of the trait",args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"CollectionAttributesConnection",description:null,fields:[{name:"edges",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"CollectionAttributesConnectionEdge",ofType:null}}}},isDeprecated:false,deprecationReason:null},{name:"pageInfo",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"PageInfo",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"totalCount",description:null,args:[],type:{kind:"SCALAR",name:"Int",ofType:null},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"CollectionAttributesConnectionEdge",description:null,fields:[{name:"cursor",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"node",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"CollectionAttribute",ofType:null}},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"CollectionHoldersConnection",description:null,fields:[{name:"edges",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"CollectionHoldersConnectionEdge",ofType:null}}}},isDeprecated:false,deprecationReason:null},{name:"pageInfo",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"PageInfo",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"totalCount",description:null,args:[],type:{kind:"SCALAR",name:"Int",ofType:null},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"CollectionHoldersConnectionEdge",description:null,fields:[{name:"cursor",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"node",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"NFTWallet",ofType:null}},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"CollectionOHLCVChart",description:"Collection OHLCV chart stats",fields:[{name:"average",description:null,args:[],type:{kind:"SCALAR",name:"Float",ofType:null},isDeprecated:false,deprecationReason:null},{name:"close",description:null,args:[],type:{kind:"SCALAR",name:"Float",ofType:null},isDeprecated:false,deprecationReason:null},{name:"count",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Float",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"high",description:null,args:[],type:{kind:"SCALAR",name:"Float",ofType:null},isDeprecated:false,deprecationReason:null},{name:"low",description:null,args:[],type:{kind:"SCALAR",name:"Float",ofType:null},isDeprecated:false,deprecationReason:null},{name:"open",description:null,args:[],type:{kind:"SCALAR",name:"Float",ofType:null},isDeprecated:false,deprecationReason:null},{name:"timestamp",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"DateTime",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"volume",description:null,args:[],type:{kind:"SCALAR",name:"Float",ofType:null},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"ENUM",name:"CollectionOHLCVChartInterval",description:"Filter by input interval",fields:null,inputFields:null,interfaces:null,enumValues:[{name:"FIFTEEN_MINUTES",description:null,isDeprecated:false,deprecationReason:null},{name:"FIVE_MINUTES",description:null,isDeprecated:false,deprecationReason:null},{name:"ONE_DAY",description:null,isDeprecated:false,deprecationReason:null},{name:"ONE_HOUR",description:null,isDeprecated:false,deprecationReason:null},{name:"ONE_MINUTE",description:null,isDeprecated:false,deprecationReason:null},{name:"SEVEN_DAYS",description:null,isDeprecated:false,deprecationReason:null},{name:"SIX_HOURS",description:null,isDeprecated:false,deprecationReason:null},{name:"THIRTY_DAYS",description:null,isDeprecated:false,deprecationReason:null},{name:"THIRTY_MINUTES",description:null,isDeprecated:false,deprecationReason:null},{name:"TWELVE_HOURS",description:null,isDeprecated:false,deprecationReason:null}],possibleTypes:null},{kind:"INPUT_OBJECT",name:"CollectionOhlcvChartInput",description:null,fields:null,inputFields:[{name:"confirmedAtGte",description:null,type:{kind:"SCALAR",name:"DateTime",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"confirmedAtLte",description:null,type:{kind:"SCALAR",name:"DateTime",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"interval",description:null,type:{kind:"ENUM",name:"CollectionOHLCVChartInterval",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"limit",description:null,type:{kind:"SCALAR",name:"Float",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"CollectionOrderHistory",description:"Collection order history summary",fields:[{name:"fromAddress",description:"The address of the seller",args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"priceInEth",description:"The price of the transaction in the base network token",args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Float",ofType:null}},isDeprecated:true,deprecationReason:"Use \"priceInNativeToken\" instead"},{name:"priceInNativeToken",description:"The price of the transaction in the base network token",args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Float",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"timestamp",description:"The timestamp of the transaction",args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"DateTime",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"toAddress",description:"The address of the buyer",args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"tokenId",description:"The token id",args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null},{name:"transactionHash",description:"The transaction hash",args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"CollectionOrderHistoryInput",description:null,fields:null,inputFields:[{name:"confirmedAtGte",description:"The confirmedAt date is greater than or equal to, ie. 2023-01-01T00:00:00Z",type:{kind:"SCALAR",name:"DateTime",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"confirmedAtLte",description:"The confirmedAt date is less than or equal to, ie. 2023-01-01T00:00:00Z",type:{kind:"SCALAR",name:"DateTime",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"isLimited",description:"Whether the order is limited",type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"CollectionSale",description:"Sale of a collection token",fields:[{name:"estimatedConfirmedAt",description:"The estimated time the sale was confirmed",args:[],type:{kind:"SCALAR",name:"DateTime",ofType:null},isDeprecated:false,deprecationReason:null},{name:"priceInNativeToken",description:"The price in network base token",args:[],type:{kind:"SCALAR",name:"Float",ofType:null},isDeprecated:false,deprecationReason:null},{name:"quantitySold",description:"The quantity sold",args:[],type:{kind:"SCALAR",name:"Float",ofType:null},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"CollectionSaleFilterInput",description:"Filter input for collection sales",fields:null,inputFields:[{name:"timePeriod",description:"A time period relative to the current time in which to filter collection sales by.",type:{kind:"ENUM",name:"CollectionSalePeriod",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"timeRange",description:"Custom time range in which to filter collection sales by. Available only to paid customers.",type:{kind:"INPUT_OBJECT",name:"DateTimeInput",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"ENUM",name:"CollectionSaleOrderBy",description:null,fields:null,inputFields:null,interfaces:null,enumValues:[{name:"TIMESTAMP",description:null,isDeprecated:false,deprecationReason:null}],possibleTypes:null},{kind:"ENUM",name:"CollectionSalePeriod",description:null,fields:null,inputFields:null,interfaces:null,enumValues:[{name:"FIFTEEN_MINUTES",description:null,isDeprecated:false,deprecationReason:null},{name:"FIVE_MINUTES",description:null,isDeprecated:false,deprecationReason:null},{name:"ONE_DAY",description:null,isDeprecated:false,deprecationReason:null},{name:"ONE_HOUR",description:null,isDeprecated:false,deprecationReason:null},{name:"ONE_MINUTE",description:null,isDeprecated:false,deprecationReason:null},{name:"SEVEN_DAYS",description:null,isDeprecated:false,deprecationReason:null},{name:"THIRTY_MINUTES",description:null,isDeprecated:false,deprecationReason:null},{name:"TWELVE_HOURS",description:null,isDeprecated:false,deprecationReason:null}],possibleTypes:null},{kind:"OBJECT",name:"CollectionSalesConnection",description:null,fields:[{name:"edges",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"CollectionSalesConnectionEdge",ofType:null}}}},isDeprecated:false,deprecationReason:null},{name:"pageInfo",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"PageInfo",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"totalCount",description:null,args:[],type:{kind:"SCALAR",name:"Int",ofType:null},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"CollectionSalesConnectionEdge",description:null,fields:[{name:"cursor",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"node",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"CollectionSale",ofType:null}},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"ENUM",name:"CollectionStandard",description:"The ERC standard of the collection",fields:null,inputFields:null,interfaces:null,enumValues:[{name:"ERC721",description:null,isDeprecated:false,deprecationReason:null},{name:"ERC1155",description:null,isDeprecated:false,deprecationReason:null}],possibleTypes:null},{kind:"INPUT_OBJECT",name:"CollectionStandardInput",description:null,fields:null,inputFields:[{name:"eq",description:"Equal to",type:{kind:"ENUM",name:"CollectionStandard",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"in",description:"In",type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"ENUM",name:"CollectionStandard",ofType:null}}},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"notIn",description:"Not In",type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"ENUM",name:"CollectionStandard",ofType:null}}},defaultValue:null,isDeprecated:false,deprecationReason:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"CollectionStats",description:"Stats of a collection",fields:[{name:"average",description:"Average sale price of the collection",args:[],type:{kind:"SCALAR",name:"Float",ofType:null},isDeprecated:true,deprecationReason:"Use 'averageInNativeToken' instead"},{name:"averageInNativeToken",description:"Average sale price of the collection in native token",args:[],type:{kind:"SCALAR",name:"Float",ofType:null},isDeprecated:false,deprecationReason:null},{name:"ceiling",description:"Highest sale price of the collection",args:[],type:{kind:"SCALAR",name:"Float",ofType:null},isDeprecated:true,deprecationReason:"Use 'ceilingInNativeToken' instead"},{name:"ceilingInNativeToken",description:"Highest sale price of the collection in native token",args:[],type:{kind:"SCALAR",name:"Float",ofType:null},isDeprecated:false,deprecationReason:null},{name:"floor",description:"Lowest sale price of the collection",args:[],type:{kind:"SCALAR",name:"Float",ofType:null},isDeprecated:true,deprecationReason:"Use 'floorInNativeToken' instead"},{name:"floorInNativeToken",description:"Lowest sale price of the collection in native token",args:[],type:{kind:"SCALAR",name:"Float",ofType:null},isDeprecated:false,deprecationReason:null},{name:"totalSales",description:"Total sales of the collection",args:[],type:{kind:"SCALAR",name:"Int",ofType:null},isDeprecated:false,deprecationReason:null},{name:"volume",description:"Total sales volume of the collection",args:[],type:{kind:"SCALAR",name:"Float",ofType:null},isDeprecated:true,deprecationReason:"Use 'volumeInNativeToken' instead"},{name:"volumeInNativeToken",description:"Total sales volume of the collection in native token",args:[],type:{kind:"SCALAR",name:"Float",ofType:null},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"CollectionTokenEventsConnection",description:null,fields:[{name:"edges",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"CollectionTokenEventsConnectionEdge",ofType:null}}}},isDeprecated:false,deprecationReason:null},{name:"pageInfo",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"PageInfo",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"totalCount",description:null,args:[],type:{kind:"SCALAR",name:"Int",ofType:null},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"CollectionTokenEventsConnectionEdge",description:null,fields:[{name:"cursor",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"node",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"INTERFACE",name:"TokenEvent",ofType:null}},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"CollectionWalletsConnection",description:null,fields:[{name:"edges",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"CollectionWalletsConnectionEdge",ofType:null}}}},isDeprecated:false,deprecationReason:null},{name:"pageInfo",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"PageInfo",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"totalCount",description:null,args:[],type:{kind:"SCALAR",name:"Int",ofType:null},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"CollectionWalletsConnectionEdge",description:null,fields:[{name:"cursor",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"node",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Wallet",ofType:null}},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"CollectionsFilterInput",description:"Filter input for collections",fields:null,inputFields:[{name:"address",description:"The address of the collection",type:{kind:"INPUT_OBJECT",name:"StringInput",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"ercStandard",description:"The ERC standard of the collection",type:{kind:"INPUT_OBJECT",name:"CollectionStandardInput",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INTERFACE",name:"Contract",description:"Fetches a contract",fields:[{name:"abi",description:"The ABI of the contract",args:[],type:{kind:"SCALAR",name:"JSON",ofType:null},isDeprecated:false,deprecationReason:null},{name:"address",description:"The contract address",args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"isVerified",description:"Contract with verified ABI",args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:false,deprecationReason:null},{name:"name",description:"The name of the contract",args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null},{name:"supportedErcInterfaces",description:"The supported ERC interfaces of the contract",args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:false,deprecationReason:null},{name:"symbol",description:"The symbol of the contract",args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null},{name:"tokenEvents",description:null,args:[{name:"after",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"before",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"filter",description:null,type:{kind:"INPUT_OBJECT",name:"TokenEventsFilterInput",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"first",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"last",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null}],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ContractTokenEventsConnection",ofType:null}},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:[{kind:"OBJECT",name:"NFTContract",ofType:null},{kind:"OBJECT",name:"TokenContract",ofType:null}]},{kind:"ENUM",name:"ContractStandard",description:null,fields:null,inputFields:null,interfaces:null,enumValues:[{name:"ERC20",description:null,isDeprecated:false,deprecationReason:null},{name:"ERC721",description:null,isDeprecated:false,deprecationReason:null},{name:"ERC1155",description:null,isDeprecated:false,deprecationReason:null}],possibleTypes:null},{kind:"INPUT_OBJECT",name:"ContractStandardInput",description:null,fields:null,inputFields:[{name:"eq",description:"Equal to",type:{kind:"ENUM",name:"ContractStandard",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"in",description:"In",type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"ENUM",name:"ContractStandard",ofType:null}}},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"notIn",description:"Not In",type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"ENUM",name:"ContractStandard",ofType:null}}},defaultValue:null,isDeprecated:false,deprecationReason:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ContractTokenEventsConnection",description:null,fields:[{name:"edges",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ContractTokenEventsConnectionEdge",ofType:null}}}},isDeprecated:false,deprecationReason:null},{name:"pageInfo",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"PageInfo",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"totalCount",description:null,args:[],type:{kind:"SCALAR",name:"Int",ofType:null},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ContractTokenEventsConnectionEdge",description:null,fields:[{name:"cursor",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"node",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"INTERFACE",name:"TokenEvent",ofType:null}},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ContractsConnection",description:null,fields:[{name:"edges",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ContractsEdge",ofType:null}}}},isDeprecated:false,deprecationReason:null},{name:"pageInfo",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"PageInfo",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"totalCount",description:null,args:[],type:{kind:"SCALAR",name:"Int",ofType:null},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ContractsEdge",description:null,fields:[{name:"cursor",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"node",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"INTERFACE",name:"Contract",ofType:null}},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"ContractsFilterInput",description:"Filter input for contracts",fields:null,inputFields:[{name:"address",description:"The address of the contract",type:{kind:"INPUT_OBJECT",name:"StringInput",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"SCALAR",name:"DateTime",description:"A date-time string at UTC, such as 2007-12-03T10:15:30Z, compliant with the `date-time` format outlined in section 5.6 of the RFC 3339 profile of the ISO 8601 standard for representation of dates and times using the Gregorian calendar.",fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"DateTimeInput",description:null,fields:null,inputFields:[{name:"eq",description:"Equal to a date ie. 2023-01-01T00:00:00Z",type:{kind:"SCALAR",name:"DateTime",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"gt",description:"Greater than a date ie. 2023-01-01T00:00:00Z",type:{kind:"SCALAR",name:"DateTime",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"gte",description:"Greater than or equal to a date ie. 2023-01-01T00:00:00Z",type:{kind:"SCALAR",name:"DateTime",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"lt",description:"Less than a date ie. 2023-01-01T00:00:00Z",type:{kind:"SCALAR",name:"DateTime",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"lte",description:"Less than or equal to a date ie. 2023-01-01T00:00:00Z",type:{kind:"SCALAR",name:"DateTime",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ERC721Collection",description:null,fields:[{name:"address",description:"The contract address of the collection",args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"attributes",description:"Attributes within a collection",args:[{name:"after",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"before",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"first",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"last",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null}],type:{kind:"OBJECT",name:"CollectionAttributesConnection",ofType:null},isDeprecated:false,deprecationReason:null},{name:"bannerImage",description:"Collection banner image.",args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"TokenUpload",ofType:null}}},isDeprecated:false,deprecationReason:null},{name:"baseTokenUri",description:"The base token uri of the collection",args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null},{name:"circulatingSupply",description:"The circulating supply of tokens within the collection",args:[],type:{kind:"SCALAR",name:"BigInt",ofType:null},isDeprecated:false,deprecationReason:null},{name:"contract",description:null,args:[],type:{kind:"OBJECT",name:"NFTContract",ofType:null},isDeprecated:false,deprecationReason:null},{name:"description",description:"The description of the collection",args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null},{name:"externalUrl",description:"The external url of the collection",args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null},{name:"holders",description:null,args:[{name:"after",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"before",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"first",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"last",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null}],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"CollectionHoldersConnection",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"image",description:"The collection image.",args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"TokenUpload",ofType:null}}},isDeprecated:false,deprecationReason:null},{name:"name",description:"The name of the collection",args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null},{name:"nft",description:null,args:[{name:"tokenId",description:null,type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},defaultValue:null,isDeprecated:false,deprecationReason:null}],type:{kind:"OBJECT",name:"ERC721NFT",ofType:null},isDeprecated:false,deprecationReason:null},{name:"nfts",description:null,args:[{name:"after",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"before",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"filter",description:null,type:{kind:"INPUT_OBJECT",name:"NFTsFilterInput",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"first",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"last",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null}],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ERC721CollectionTokensConnection",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"ohlcvChart",description:null,args:[{name:"filter",description:null,type:{kind:"INPUT_OBJECT",name:"CollectionOhlcvChartInput",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null}],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"CollectionOHLCVChart",ofType:null}}},isDeprecated:false,deprecationReason:null},{name:"openseaMetadata",description:"Opensea metadata",args:[],type:{kind:"OBJECT",name:"OpenSeaMetadata",ofType:null},isDeprecated:false,deprecationReason:null},{name:"orderHistory",description:"Order history for a collection",args:[{name:"filter",description:null,type:{kind:"INPUT_OBJECT",name:"CollectionOrderHistoryInput",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null}],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"CollectionOrderHistory",ofType:null}}},isDeprecated:false,deprecationReason:null},{name:"sales",description:"The sales of the collection",args:[{name:"after",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"before",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"filter",description:null,type:{kind:"INPUT_OBJECT",name:"CollectionSaleFilterInput",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"first",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"last",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"orderBy",description:null,type:{kind:"ENUM",name:"CollectionSaleOrderBy",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"orderDirection",description:"The direction you want to order results: ASC/DESC. Defaults to DESC.",type:{kind:"ENUM",name:"OrderDirection",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null}],type:{kind:"OBJECT",name:"CollectionSalesConnection",ofType:null},isDeprecated:false,deprecationReason:null},{name:"slug",description:"The slug of the collection",args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null},{name:"stats",description:null,args:[{name:"filter",description:null,type:{kind:"INPUT_OBJECT",name:"ERC721CollectionStatsInput",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null}],type:{kind:"OBJECT",name:"CollectionStats",ofType:null},isDeprecated:false,deprecationReason:null},{name:"symbol",description:"The symbol of the collection",args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null},{name:"tokenEvents",description:null,args:[{name:"after",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"before",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"filter",description:null,type:{kind:"INPUT_OBJECT",name:"TokenEventsFilterInput",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"first",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"last",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null}],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"CollectionTokenEventsConnection",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"totalSupply",description:"The total supply of tokens within the collection",args:[],type:{kind:"SCALAR",name:"BigInt",ofType:null},isDeprecated:false,deprecationReason:null},{name:"twitterUsername",description:"The twitter username of the collection",args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null},{name:"wallets",description:null,args:[{name:"after",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"before",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"first",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"last",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null}],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"CollectionWalletsConnection",ofType:null}},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[{kind:"INTERFACE",name:"Collection",ofType:null}],enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"ERC721CollectionStatsInput",description:null,fields:null,inputFields:[{name:"timeRange",description:null,type:{kind:"INPUT_OBJECT",name:"DateTimeInput",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ERC721CollectionTokensConnection",description:null,fields:[{name:"edges",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ERC721CollectionTokensEdge",ofType:null}}}},isDeprecated:false,deprecationReason:null},{name:"pageInfo",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"PageInfo",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"totalCount",description:null,args:[],type:{kind:"SCALAR",name:"Int",ofType:null},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ERC721CollectionTokensEdge",description:null,fields:[{name:"cursor",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"node",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ERC721NFT",ofType:null}},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ERC721NFT",description:null,fields:[{name:"animationUrl",description:"The animation url of the token",args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null},{name:"attributes",description:"The attributes of the token.",args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"TokenAttribute",ofType:null}}},isDeprecated:false,deprecationReason:null},{name:"collection",description:null,args:[],type:{kind:"OBJECT",name:"ERC721Collection",ofType:null},isDeprecated:false,deprecationReason:null},{name:"collectionSlug",description:"The slug of the collection",args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null},{name:"contract",description:null,args:[],type:{kind:"OBJECT",name:"NFTContract",ofType:null},isDeprecated:false,deprecationReason:null},{name:"contractAddress",description:"The contract address",args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"description",description:"The description of the token",args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null},{name:"externalUrl",description:"The external url of the token",args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null},{name:"holder",description:null,args:[],type:{kind:"OBJECT",name:"NFTWallet",ofType:null},isDeprecated:true,deprecationReason:"Use nft.wallet instead"},{name:"metadata",description:"The metadata of the token",args:[],type:{kind:"SCALAR",name:"JSONObject",ofType:null},isDeprecated:false,deprecationReason:null},{name:"name",description:"The name of the token",args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null},{name:"tokenEvents",description:null,args:[{name:"after",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"before",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"filter",description:null,type:{kind:"INPUT_OBJECT",name:"TokenEventsFilterInput",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"first",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"last",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null}],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"NFTTokenEventsConnection",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"tokenId",description:"The token id",args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"BigInt",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"uploads",description:"The uploads of a token.",args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"TokenUpload",ofType:null}}},isDeprecated:false,deprecationReason:null},{name:"wallet",description:null,args:[],type:{kind:"OBJECT",name:"Wallet",ofType:null},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[{kind:"INTERFACE",name:"NFT",ofType:null}],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ERC1155Collection",description:null,fields:[{name:"address",description:"The contract address of the collection",args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"attributes",description:"Attributes within a collection",args:[{name:"after",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"before",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"first",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"last",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null}],type:{kind:"OBJECT",name:"CollectionAttributesConnection",ofType:null},isDeprecated:false,deprecationReason:null},{name:"bannerImage",description:"Collection banner image.",args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"TokenUpload",ofType:null}}},isDeprecated:false,deprecationReason:null},{name:"baseTokenUri",description:"The base token uri of the collection",args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null},{name:"circulatingSupply",description:"The circulating supply of tokens within the collection",args:[],type:{kind:"SCALAR",name:"BigInt",ofType:null},isDeprecated:false,deprecationReason:null},{name:"contract",description:null,args:[],type:{kind:"OBJECT",name:"NFTContract",ofType:null},isDeprecated:false,deprecationReason:null},{name:"description",description:"The description of the collection",args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null},{name:"externalUrl",description:"The external url of the collection",args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null},{name:"holders",description:null,args:[{name:"after",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"before",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"first",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"last",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null}],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"CollectionHoldersConnection",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"image",description:"The collection image.",args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"TokenUpload",ofType:null}}},isDeprecated:false,deprecationReason:null},{name:"name",description:"The name of the collection",args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null},{name:"nft",description:null,args:[{name:"tokenId",description:null,type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},defaultValue:null,isDeprecated:false,deprecationReason:null}],type:{kind:"OBJECT",name:"ERC1155NFT",ofType:null},isDeprecated:false,deprecationReason:null},{name:"nfts",description:null,args:[{name:"after",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"before",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"filter",description:null,type:{kind:"INPUT_OBJECT",name:"NFTsFilterInput",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"first",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"last",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null}],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ERC1155CollectionTokensConnection",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"ohlcvChart",description:null,args:[{name:"filter",description:null,type:{kind:"INPUT_OBJECT",name:"CollectionOhlcvChartInput",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null}],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"CollectionOHLCVChart",ofType:null}}},isDeprecated:false,deprecationReason:null},{name:"openseaMetadata",description:"Opensea metadata",args:[],type:{kind:"OBJECT",name:"OpenSeaMetadata",ofType:null},isDeprecated:false,deprecationReason:null},{name:"orderHistory",description:"Order history for a collection",args:[{name:"filter",description:null,type:{kind:"INPUT_OBJECT",name:"CollectionOrderHistoryInput",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null}],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"CollectionOrderHistory",ofType:null}}},isDeprecated:false,deprecationReason:null},{name:"sales",description:"The sales of the collection",args:[{name:"after",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"before",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"filter",description:null,type:{kind:"INPUT_OBJECT",name:"CollectionSaleFilterInput",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"first",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"last",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"orderBy",description:null,type:{kind:"ENUM",name:"CollectionSaleOrderBy",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"orderDirection",description:"The direction you want to order results: ASC/DESC. Defaults to DESC.",type:{kind:"ENUM",name:"OrderDirection",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null}],type:{kind:"OBJECT",name:"CollectionSalesConnection",ofType:null},isDeprecated:false,deprecationReason:null},{name:"slug",description:"The slug of the collection",args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null},{name:"stats",description:null,args:[{name:"filter",description:null,type:{kind:"INPUT_OBJECT",name:"ERC1155CollectionStatsInput",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null}],type:{kind:"OBJECT",name:"CollectionStats",ofType:null},isDeprecated:false,deprecationReason:null},{name:"symbol",description:"The symbol of the collection",args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null},{name:"tokenEvents",description:null,args:[{name:"after",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"before",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"filter",description:null,type:{kind:"INPUT_OBJECT",name:"TokenEventsFilterInput",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"first",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"last",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null}],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"CollectionTokenEventsConnection",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"totalSupply",description:"The total supply of tokens within the collection",args:[],type:{kind:"SCALAR",name:"BigInt",ofType:null},isDeprecated:false,deprecationReason:null},{name:"twitterUsername",description:"The twitter username of the collection",args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null},{name:"wallets",description:null,args:[{name:"after",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"before",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"first",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"last",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null}],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"CollectionWalletsConnection",ofType:null}},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[{kind:"INTERFACE",name:"Collection",ofType:null}],enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"ERC1155CollectionStatsInput",description:null,fields:null,inputFields:[{name:"timeRange",description:null,type:{kind:"INPUT_OBJECT",name:"DateTimeInput",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ERC1155CollectionTokensConnection",description:null,fields:[{name:"edges",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ERC1155CollectionTokensEdge",ofType:null}}}},isDeprecated:false,deprecationReason:null},{name:"pageInfo",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"PageInfo",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"totalCount",description:null,args:[],type:{kind:"SCALAR",name:"Int",ofType:null},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ERC1155CollectionTokensEdge",description:null,fields:[{name:"cursor",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"node",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ERC1155NFT",ofType:null}},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ERC1155NFT",description:null,fields:[{name:"animationUrl",description:"The animation url of the token",args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null},{name:"collection",description:null,args:[],type:{kind:"OBJECT",name:"ERC1155Collection",ofType:null},isDeprecated:false,deprecationReason:null},{name:"collectionSlug",description:"The slug of the collection",args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null},{name:"contract",description:null,args:[],type:{kind:"OBJECT",name:"NFTContract",ofType:null},isDeprecated:false,deprecationReason:null},{name:"contractAddress",description:"The contract address",args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"description",description:"The description of the token",args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null},{name:"externalUrl",description:"The external url of the token",args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null},{name:"holders",description:null,args:[{name:"after",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"before",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"first",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"last",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null}],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ERC1155NFTHoldersConnection",ofType:null}},isDeprecated:true,deprecationReason:"Use nft.wallets instead"},{name:"metadata",description:"The metadata of the token",args:[],type:{kind:"SCALAR",name:"JSONObject",ofType:null},isDeprecated:false,deprecationReason:null},{name:"name",description:"The name of the token",args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null},{name:"tokenEvents",description:null,args:[{name:"after",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"before",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"filter",description:null,type:{kind:"INPUT_OBJECT",name:"TokenEventsFilterInput",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"first",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"last",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null}],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"NFTTokenEventsConnection",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"tokenId",description:"The token id",args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"BigInt",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"uploads",description:"The uploads of a token.",args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"TokenUpload",ofType:null}}},isDeprecated:false,deprecationReason:null},{name:"wallets",description:null,args:[{name:"after",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"before",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"first",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"last",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null}],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ERC1155NFTWalletsConnection",ofType:null}},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[{kind:"INTERFACE",name:"NFT",ofType:null}],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ERC1155NFTHoldersConnection",description:null,fields:[{name:"edges",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ERC1155NFTHoldersConnectionEdge",ofType:null}}}},isDeprecated:false,deprecationReason:null},{name:"pageInfo",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"PageInfo",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"totalCount",description:null,args:[],type:{kind:"SCALAR",name:"Int",ofType:null},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ERC1155NFTHoldersConnectionEdge",description:null,fields:[{name:"cursor",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"node",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"NFTWallet",ofType:null}},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ERC1155NFTWalletsConnection",description:null,fields:[{name:"edges",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ERC1155NFTWalletsConnectionEdge",ofType:null}}}},isDeprecated:false,deprecationReason:null},{name:"pageInfo",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"PageInfo",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"totalCount",description:null,args:[],type:{kind:"SCALAR",name:"Int",ofType:null},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ERC1155NFTWalletsConnectionEdge",description:null,fields:[{name:"cursor",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"node",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Wallet",ofType:null}},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"ENUM",name:"ERCStandard",description:null,fields:null,inputFields:null,interfaces:null,enumValues:[{name:"ERC20",description:null,isDeprecated:false,deprecationReason:null},{name:"ERC721",description:null,isDeprecated:false,deprecationReason:null},{name:"ERC1155",description:null,isDeprecated:false,deprecationReason:null}],possibleTypes:null},{kind:"OBJECT",name:"EVMSchemaType",description:null,fields:[{name:"collection",description:null,args:[{name:"contractAddress",description:null,type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},defaultValue:null,isDeprecated:false,deprecationReason:null}],type:{kind:"INTERFACE",name:"Collection",ofType:null},isDeprecated:false,deprecationReason:null},{name:"collections",description:null,args:[{name:"after",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"before",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"filter",description:null,type:{kind:"INPUT_OBJECT",name:"CollectionsFilterInput",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"first",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"last",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null}],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"EVMSchemaTypeCollectionsConnection",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"contract",description:null,args:[{name:"contractAddress",description:null,type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},defaultValue:null,isDeprecated:false,deprecationReason:null}],type:{kind:"INTERFACE",name:"Contract",ofType:null},isDeprecated:false,deprecationReason:null},{name:"contracts",description:null,args:[{name:"after",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"before",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"filter",description:null,type:{kind:"INPUT_OBJECT",name:"ContractsFilterInput",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"first",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"last",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null}],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ContractsConnection",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"gasPrices",description:"Fetch historical gas prices by block number.",args:[{name:"filter",description:null,type:{kind:"INPUT_OBJECT",name:"GasPriceFilterInput",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"orderDirection",description:"The direction you want to order results based on blockNumber: ASC/DESC. Defaults to DESC.",type:{kind:"ENUM",name:"OrderDirection",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null}],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"GasPrice",ofType:null}}},isDeprecated:false,deprecationReason:null},{name:"nft",description:null,args:[{name:"contractAddress",description:"The address of the contract that the nft is under",type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"tokenId",description:"The id of the nft",type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},defaultValue:null,isDeprecated:false,deprecationReason:null}],type:{kind:"INTERFACE",name:"NFT",ofType:null},isDeprecated:false,deprecationReason:null},{name:"tokenEvents",description:null,args:[{name:"after",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"before",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"filter",description:null,type:{kind:"INPUT_OBJECT",name:"TokenEventsFilterInput",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"first",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"last",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null}],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"EVMSchemaTypeTokenEventsConnection",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"transaction",description:null,args:[{name:"hash",description:null,type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},defaultValue:null,isDeprecated:false,deprecationReason:null}],type:{kind:"OBJECT",name:"Transaction",ofType:null},isDeprecated:false,deprecationReason:null},{name:"transactions",description:"Returns a list of transactions. Ordered by block number and index.",args:[{name:"after",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"before",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"filter",description:null,type:{kind:"INPUT_OBJECT",name:"TransactionsFilterInput",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"first",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"last",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"orderDirection",description:"The direction you want to order results: ASC/DESC. Defaults to DESC.",type:{kind:"ENUM",name:"OrderDirection",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null}],type:{kind:"OBJECT",name:"EVMSchemaTypeTransactionsConnection",ofType:null},isDeprecated:false,deprecationReason:null},{name:"trendingCollections",description:null,args:[{name:"after",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"before",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"filter",description:null,type:{kind:"INPUT_OBJECT",name:"TrendingCollectionsFilterInput",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"first",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"last",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"orderBy",description:null,type:{kind:"ENUM",name:"TrendingOrderBy",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"orderDirection",description:"The direction you want to order results: ASC/DESC. Defaults to DESC.",type:{kind:"ENUM",name:"OrderDirection",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null}],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"EVMSchemaTypeTrendingCollectionsConnection",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"walletByAddress",description:"Wallet by address",args:[{name:"address",description:null,type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},defaultValue:null,isDeprecated:false,deprecationReason:null}],type:{kind:"OBJECT",name:"Wallet",ofType:null},isDeprecated:false,deprecationReason:null},{name:"walletByENS",description:"Wallet by ENS name",args:[{name:"ensName",description:null,type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},defaultValue:null,isDeprecated:false,deprecationReason:null}],type:{kind:"OBJECT",name:"Wallet",ofType:null},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"EVMSchemaTypeCollectionsConnection",description:null,fields:[{name:"edges",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"EVMSchemaTypeCollectionsConnectionEdge",ofType:null}}}},isDeprecated:false,deprecationReason:null},{name:"pageInfo",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"PageInfo",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"totalCount",description:null,args:[],type:{kind:"SCALAR",name:"Int",ofType:null},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"EVMSchemaTypeCollectionsConnectionEdge",description:null,fields:[{name:"cursor",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"node",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"INTERFACE",name:"Collection",ofType:null}},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"EVMSchemaTypeTokenEventsConnection",description:null,fields:[{name:"edges",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"EVMSchemaTypeTokenEventsConnectionEdge",ofType:null}}}},isDeprecated:false,deprecationReason:null},{name:"pageInfo",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"PageInfo",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"totalCount",description:null,args:[],type:{kind:"SCALAR",name:"Int",ofType:null},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"EVMSchemaTypeTokenEventsConnectionEdge",description:null,fields:[{name:"cursor",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"node",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"INTERFACE",name:"TokenEvent",ofType:null}},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"EVMSchemaTypeTransactionsConnection",description:null,fields:[{name:"edges",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"EVMSchemaTypeTransactionsConnectionEdge",ofType:null}}}},isDeprecated:false,deprecationReason:null},{name:"pageInfo",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"PageInfo",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"totalCount",description:null,args:[],type:{kind:"SCALAR",name:"Int",ofType:null},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"EVMSchemaTypeTransactionsConnectionEdge",description:null,fields:[{name:"cursor",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"node",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Transaction",ofType:null}},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"EVMSchemaTypeTrendingCollectionsConnection",description:null,fields:[{name:"edges",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"EVMSchemaTypeTrendingCollectionsConnectionEdge",ofType:null}}}},isDeprecated:false,deprecationReason:null},{name:"pageInfo",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"PageInfo",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"totalCount",description:null,args:[],type:{kind:"SCALAR",name:"Int",ofType:null},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"EVMSchemaTypeTrendingCollectionsConnectionEdge",description:null,fields:[{name:"cursor",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"node",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"TrendingCollection",ofType:null}},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"SCALAR",name:"Float",description:"The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).",fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"GasPrice",description:"Gas Prices for a given block. Gas values are returned in Wei.",fields:[{name:"average",description:"The average gas price",args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Float",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"blockNumber",description:"The block number",args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Int",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"ceiling",description:"The highest gas price",args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Float",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"floor",description:"The lowest gas price",args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Float",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"median",description:"The median gas price",args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Float",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"total",description:"The total gas price",args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Float",ofType:null}},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"GasPriceFilterInput",description:"Filter input for gas prices",fields:null,inputFields:[{name:"blockNumber",description:"The block number",type:{kind:"INPUT_OBJECT",name:"IntegerInput",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"SCALAR",name:"Int",description:"The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.",fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"IntegerInput",description:null,fields:null,inputFields:[{name:"eq",description:"Equal to",type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"gt",description:"Greater than",type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"gte",description:"Greater than or equal to",type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"in",description:"In",type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Int",ofType:null}}},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"lt",description:"Less than",type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"lte",description:"Less than or equal to",type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"SCALAR",name:"JSON",description:"The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf).",fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:null},{kind:"SCALAR",name:"JSONObject",description:"The `JSONObject` scalar type represents JSON objects as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf).",fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:null},{kind:"ENUM",name:"Marketplace",description:"Marketplace where the token was sold",fields:null,inputFields:null,interfaces:null,enumValues:[{name:"BLUR",description:null,isDeprecated:false,deprecationReason:null},{name:"CRYPTOPUNKS",description:null,isDeprecated:false,deprecationReason:null},{name:"LOOKSRARE",description:null,isDeprecated:false,deprecationReason:null},{name:"NIFTY_GATEWAY",description:null,isDeprecated:false,deprecationReason:null},{name:"OPENSEA",description:null,isDeprecated:false,deprecationReason:null},{name:"SEAPORT",description:null,isDeprecated:false,deprecationReason:null},{name:"X2Y2",description:null,isDeprecated:false,deprecationReason:null},{name:"ZEROX",description:null,isDeprecated:false,deprecationReason:null}],possibleTypes:null},{kind:"INPUT_OBJECT",name:"MarketplaceInput",description:null,fields:null,inputFields:[{name:"eq",description:null,type:{kind:"ENUM",name:"Marketplace",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"in",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"ENUM",name:"Marketplace",ofType:null}}},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"notIn",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"ENUM",name:"Marketplace",ofType:null}}},defaultValue:null,isDeprecated:false,deprecationReason:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INTERFACE",name:"NFT",description:null,fields:[{name:"animationUrl",description:"The animation url of the token",args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null},{name:"collection",description:null,args:[],type:{kind:"INTERFACE",name:"Collection",ofType:null},isDeprecated:false,deprecationReason:null},{name:"collectionSlug",description:"The slug of the collection",args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null},{name:"contract",description:null,args:[],type:{kind:"OBJECT",name:"NFTContract",ofType:null},isDeprecated:false,deprecationReason:null},{name:"contractAddress",description:"The contract address",args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"description",description:"The description of the token",args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null},{name:"externalUrl",description:"The external url of the token",args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null},{name:"metadata",description:"The metadata of the token",args:[],type:{kind:"SCALAR",name:"JSONObject",ofType:null},isDeprecated:false,deprecationReason:null},{name:"name",description:"The name of the token",args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null},{name:"tokenEvents",description:null,args:[{name:"after",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"before",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"filter",description:null,type:{kind:"INPUT_OBJECT",name:"TokenEventsFilterInput",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"first",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"last",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null}],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"NFTTokenEventsConnection",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"tokenId",description:"The token id",args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"BigInt",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"uploads",description:"The uploads of a token.",args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"TokenUpload",ofType:null}}},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:[{kind:"OBJECT",name:"ERC721NFT",ofType:null},{kind:"OBJECT",name:"ERC1155NFT",ofType:null}]},{kind:"OBJECT",name:"NFTContract",description:null,fields:[{name:"abi",description:"The ABI of the contract",args:[],type:{kind:"SCALAR",name:"JSON",ofType:null},isDeprecated:false,deprecationReason:null},{name:"address",description:"The contract address",args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"collection",description:null,args:[],type:{kind:"INTERFACE",name:"Collection",ofType:null},isDeprecated:false,deprecationReason:null},{name:"isVerified",description:"Contract with verified ABI",args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:false,deprecationReason:null},{name:"name",description:"The name of the contract",args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null},{name:"supportedErcInterfaces",description:"The supported ERC interfaces of the contract",args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:false,deprecationReason:null},{name:"symbol",description:"The symbol of the contract",args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null},{name:"tokenEvents",description:null,args:[{name:"after",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"before",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"filter",description:null,type:{kind:"INPUT_OBJECT",name:"TokenEventsFilterInput",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"first",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"last",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null}],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ContractTokenEventsConnection",ofType:null}},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[{kind:"INTERFACE",name:"Contract",ofType:null}],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"NFTTokenEventsConnection",description:null,fields:[{name:"edges",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"NFTTokenEventsConnectionEdge",ofType:null}}}},isDeprecated:false,deprecationReason:null},{name:"pageInfo",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"PageInfo",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"totalCount",description:null,args:[],type:{kind:"SCALAR",name:"Int",ofType:null},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"NFTTokenEventsConnectionEdge",description:null,fields:[{name:"cursor",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"node",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"INTERFACE",name:"TokenEvent",ofType:null}},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"NFTWallet",description:null,fields:[{name:"owner",description:null,args:[],type:{kind:"OBJECT",name:"Wallet",ofType:null},isDeprecated:false,deprecationReason:null},{name:"walletAddress",description:"The address of the wallet",args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"NFTsFilterInput",description:null,fields:null,inputFields:[{name:"contractAddressIn",description:"Contract address in",type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null,isDeprecated:false,deprecationReason:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"OpenSeaMetadata",description:"Metadata provided by opensea",fields:[{name:"isHidden",description:"Collection is hidden on Opensea.",args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:false,deprecationReason:null},{name:"isVerified",description:"Collection verified by Opensea.",args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:false,deprecationReason:null},{name:"unsafeSlug",description:"Slug provided by Opensea (it might be stale).",args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"ENUM",name:"OrderDirection",description:"Sort ascending (A-Z) or descending (Z-A)",fields:null,inputFields:null,interfaces:null,enumValues:[{name:"ASC",description:null,isDeprecated:false,deprecationReason:null},{name:"DESC",description:null,isDeprecated:false,deprecationReason:null}],possibleTypes:null},{kind:"OBJECT",name:"PageInfo",description:null,fields:[{name:"endCursor",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null},{name:"hasNextPage",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Boolean",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"hasPreviousPage",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Boolean",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"startCursor",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Query",description:null,fields:[{name:"ethereum",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"EVMSchemaType",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"ethereumSepolia",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"EVMSchemaType",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"polygon",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"EVMSchemaType",ofType:null}},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"SCALAR",name:"String",description:"The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.",fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"StringInput",description:null,fields:null,inputFields:[{name:"eq",description:"Equal to",type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"in",description:"In",type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"notIn",description:"Not In",type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null,isDeprecated:false,deprecationReason:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"TokenAttribute",description:"A token attribute",fields:[{name:"name",description:"Attribute name",args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"value",description:"Attribute value",args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"TokenBurnEvent",description:"A token burn event",fields:[{name:"blockNumber",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Int",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"contract",description:null,args:[],type:{kind:"INTERFACE",name:"Contract",ofType:null},isDeprecated:false,deprecationReason:null},{name:"contractAddress",description:"The address of the token contract",args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"contractERCStandard",description:"The ERC standard of the token contract",args:[],type:{kind:"ENUM",name:"ERCStandard",ofType:null},isDeprecated:false,deprecationReason:null},{name:"from",description:null,args:[],type:{kind:"OBJECT",name:"Wallet",ofType:null},isDeprecated:false,deprecationReason:null},{name:"fromAddress",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"nft",description:null,args:[],type:{kind:"INTERFACE",name:"NFT",ofType:null},isDeprecated:false,deprecationReason:null},{name:"timestamp",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"DateTime",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"to",description:null,args:[],type:{kind:"OBJECT",name:"Wallet",ofType:null},isDeprecated:false,deprecationReason:null},{name:"toAddress",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"tokenId",description:"The token id",args:[],type:{kind:"SCALAR",name:"BigInt",ofType:null},isDeprecated:false,deprecationReason:null},{name:"tokenQuantity",description:"The quantity",args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"BigInt",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"transaction",description:null,args:[],type:{kind:"OBJECT",name:"Transaction",ofType:null},isDeprecated:false,deprecationReason:null},{name:"transactionHash",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null},{name:"transferIndex",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Int",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"type",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"ENUM",name:"TokenTransferType",ofType:null}},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[{kind:"INTERFACE",name:"TokenEvent",ofType:null}],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"TokenContract",description:null,fields:[{name:"abi",description:"The ABI of the contract",args:[],type:{kind:"SCALAR",name:"JSON",ofType:null},isDeprecated:false,deprecationReason:null},{name:"address",description:"The contract address",args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"decimals",description:null,args:[],type:{kind:"SCALAR",name:"BigInt",ofType:null},isDeprecated:false,deprecationReason:null},{name:"details",description:null,args:[],type:{kind:"OBJECT",name:"TokenDetailsType",ofType:null},isDeprecated:false,deprecationReason:null},{name:"isVerified",description:"Contract with verified ABI",args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:false,deprecationReason:null},{name:"name",description:"The name of the contract",args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null},{name:"supportedErcInterfaces",description:"The supported ERC interfaces of the contract",args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:false,deprecationReason:null},{name:"symbol",description:"The symbol of the contract",args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null},{name:"tokenEvents",description:null,args:[{name:"after",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"before",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"filter",description:null,type:{kind:"INPUT_OBJECT",name:"TokenEventsFilterInput",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"first",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"last",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null}],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ContractTokenEventsConnection",ofType:null}},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[{kind:"INTERFACE",name:"Contract",ofType:null}],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"TokenDetailsType",description:"Token details",fields:[{name:"address",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"name",description:"The name of the token",args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null},{name:"slug",description:"The slug of the token",args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null},{name:"symbol",description:"The symbol of the token",args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"INTERFACE",name:"TokenEvent",description:null,fields:[{name:"blockNumber",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Int",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"from",description:null,args:[],type:{kind:"OBJECT",name:"Wallet",ofType:null},isDeprecated:false,deprecationReason:null},{name:"fromAddress",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"timestamp",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"DateTime",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"to",description:null,args:[],type:{kind:"OBJECT",name:"Wallet",ofType:null},isDeprecated:false,deprecationReason:null},{name:"toAddress",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"transaction",description:null,args:[],type:{kind:"OBJECT",name:"Transaction",ofType:null},isDeprecated:false,deprecationReason:null},{name:"transactionHash",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null},{name:"transferIndex",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Int",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"type",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"ENUM",name:"TokenTransferType",ofType:null}},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:[{kind:"OBJECT",name:"TokenBurnEvent",ofType:null},{kind:"OBJECT",name:"TokenMintEvent",ofType:null},{kind:"OBJECT",name:"TokenSaleEvent",ofType:null},{kind:"OBJECT",name:"TokenSwapEvent",ofType:null},{kind:"OBJECT",name:"TokenTransferEvent",ofType:null}]},{kind:"INPUT_OBJECT",name:"TokenEventsFilterInput",description:"Filter input for token events",fields:null,inputFields:[{name:"blockNumber",description:"Filter token events by their block number",type:{kind:"INPUT_OBJECT",name:"IntegerInput",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"contractAddress",description:"Filter token events by contract address",type:{kind:"INPUT_OBJECT",name:"StringInput",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"contractStandard",description:"Filter token events by their contract standard",type:{kind:"INPUT_OBJECT",name:"ContractStandardInput",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"fromAddress",description:"Filter token events by the \"from\" wallet",type:{kind:"INPUT_OBJECT",name:"StringInput",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"marketplace",description:"Filter token events by the marketplace. It's only valid for SALE types",type:{kind:"INPUT_OBJECT",name:"MarketplaceInput",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"timestamp",description:"Filter token events by their estimated confirmation date",type:{kind:"INPUT_OBJECT",name:"DateTimeInput",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"toAddress",description:"Filter token events by the \"to\" wallet",type:{kind:"INPUT_OBJECT",name:"StringInput",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"transactionHash",description:"Filter token events by transaction hash",type:{kind:"INPUT_OBJECT",name:"StringInput",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"type",description:"Filter token events by their type",type:{kind:"INPUT_OBJECT",name:"TokenTransferTypeInput",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"walletAddress",description:"Filter token events by the \"to\" and \"from\" wallet",type:{kind:"INPUT_OBJECT",name:"StringInput",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"TokenMintEvent",description:"A token mint event",fields:[{name:"blockNumber",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Int",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"contract",description:null,args:[],type:{kind:"INTERFACE",name:"Contract",ofType:null},isDeprecated:false,deprecationReason:null},{name:"contractAddress",description:"The address of the token contract",args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"contractERCStandard",description:"The ERC standard of the token contract",args:[],type:{kind:"ENUM",name:"ERCStandard",ofType:null},isDeprecated:false,deprecationReason:null},{name:"from",description:null,args:[],type:{kind:"OBJECT",name:"Wallet",ofType:null},isDeprecated:false,deprecationReason:null},{name:"fromAddress",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"nft",description:null,args:[],type:{kind:"INTERFACE",name:"NFT",ofType:null},isDeprecated:false,deprecationReason:null},{name:"timestamp",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"DateTime",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"to",description:null,args:[],type:{kind:"OBJECT",name:"Wallet",ofType:null},isDeprecated:false,deprecationReason:null},{name:"toAddress",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"tokenId",description:"The token id",args:[],type:{kind:"SCALAR",name:"BigInt",ofType:null},isDeprecated:false,deprecationReason:null},{name:"tokenQuantity",description:"The quantity",args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"BigInt",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"transaction",description:null,args:[],type:{kind:"OBJECT",name:"Transaction",ofType:null},isDeprecated:false,deprecationReason:null},{name:"transactionHash",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null},{name:"transferIndex",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Int",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"type",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"ENUM",name:"TokenTransferType",ofType:null}},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[{kind:"INTERFACE",name:"TokenEvent",ofType:null}],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"TokenSaleEvent",description:"A token sale event",fields:[{name:"blockNumber",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Int",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"contractAddress",description:"The address of the token contract",args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"contractERCStandard",description:"The ERC standard of the token contract",args:[],type:{kind:"ENUM",name:"ERCStandard",ofType:null},isDeprecated:false,deprecationReason:null},{name:"from",description:null,args:[],type:{kind:"OBJECT",name:"Wallet",ofType:null},isDeprecated:false,deprecationReason:null},{name:"fromAddress",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"marketplace",description:"Marketplace used to make the sale",args:[],type:{kind:"ENUM",name:"Marketplace",ofType:null},isDeprecated:false,deprecationReason:null},{name:"receivedNft",description:null,args:[],type:{kind:"INTERFACE",name:"NFT",ofType:null},isDeprecated:false,deprecationReason:null},{name:"receivedTokenContract",description:null,args:[],type:{kind:"INTERFACE",name:"Contract",ofType:null},isDeprecated:false,deprecationReason:null},{name:"receivedTokenContractAddress",description:"The address of the token received as payment of the sale proceeds",args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null},{name:"receivedTokenId",description:"The id of the token received as payment of the sale proceeds",args:[],type:{kind:"SCALAR",name:"BigInt",ofType:null},isDeprecated:false,deprecationReason:null},{name:"receivedTokenQuantity",description:"The quantity of tokens received as payment of the sale proceeds",args:[],type:{kind:"SCALAR",name:"BigInt",ofType:null},isDeprecated:false,deprecationReason:null},{name:"sentNft",description:null,args:[],type:{kind:"INTERFACE",name:"NFT",ofType:null},isDeprecated:false,deprecationReason:null},{name:"sentTokenContract",description:null,args:[],type:{kind:"INTERFACE",name:"Contract",ofType:null},isDeprecated:false,deprecationReason:null},{name:"sentTokenId",description:"The token id",args:[],type:{kind:"SCALAR",name:"BigInt",ofType:null},isDeprecated:false,deprecationReason:null},{name:"sentTokenQuantity",description:"The quantity",args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"BigInt",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"timestamp",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"DateTime",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"to",description:null,args:[],type:{kind:"OBJECT",name:"Wallet",ofType:null},isDeprecated:false,deprecationReason:null},{name:"toAddress",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"transaction",description:null,args:[],type:{kind:"OBJECT",name:"Transaction",ofType:null},isDeprecated:false,deprecationReason:null},{name:"transactionHash",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null},{name:"transferIndex",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Int",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"type",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"ENUM",name:"TokenTransferType",ofType:null}},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[{kind:"INTERFACE",name:"TokenEvent",ofType:null}],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"TokenSwapEvent",description:"A token swap event",fields:[{name:"blockNumber",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Int",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"from",description:null,args:[],type:{kind:"OBJECT",name:"Wallet",ofType:null},isDeprecated:false,deprecationReason:null},{name:"fromAddress",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"receivedNft",description:null,args:[],type:{kind:"INTERFACE",name:"NFT",ofType:null},isDeprecated:false,deprecationReason:null},{name:"receivedTokenContract",description:null,args:[],type:{kind:"INTERFACE",name:"Contract",ofType:null},isDeprecated:false,deprecationReason:null},{name:"receivedTokenContractAddress",description:"The address of the token received",args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null},{name:"receivedTokenId",description:"The id of the token received",args:[],type:{kind:"SCALAR",name:"BigInt",ofType:null},isDeprecated:false,deprecationReason:null},{name:"receivedTokenQuantity",description:"The quantity",args:[],type:{kind:"SCALAR",name:"BigInt",ofType:null},isDeprecated:false,deprecationReason:null},{name:"sentNft",description:null,args:[],type:{kind:"INTERFACE",name:"NFT",ofType:null},isDeprecated:false,deprecationReason:null},{name:"sentTokenContract",description:null,args:[],type:{kind:"INTERFACE",name:"Contract",ofType:null},isDeprecated:false,deprecationReason:null},{name:"sentTokenContractAddress",description:"The address of the token contract",args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"sentTokenContractERCStandard",description:"The ERC standard of the token contract",args:[],type:{kind:"ENUM",name:"ERCStandard",ofType:null},isDeprecated:false,deprecationReason:null},{name:"sentTokenId",description:"The token id",args:[],type:{kind:"SCALAR",name:"BigInt",ofType:null},isDeprecated:false,deprecationReason:null},{name:"sentTokenQuantity",description:"The quantity",args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"BigInt",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"timestamp",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"DateTime",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"to",description:null,args:[],type:{kind:"OBJECT",name:"Wallet",ofType:null},isDeprecated:false,deprecationReason:null},{name:"toAddress",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"transaction",description:null,args:[],type:{kind:"OBJECT",name:"Transaction",ofType:null},isDeprecated:false,deprecationReason:null},{name:"transactionHash",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null},{name:"transferIndex",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Int",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"type",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"ENUM",name:"TokenTransferType",ofType:null}},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[{kind:"INTERFACE",name:"TokenEvent",ofType:null}],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"TokenTransferEvent",description:"A token transfer event",fields:[{name:"blockNumber",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Int",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"contract",description:null,args:[],type:{kind:"INTERFACE",name:"Contract",ofType:null},isDeprecated:false,deprecationReason:null},{name:"contractAddress",description:"The address of the token contract",args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"contractERCStandard",description:"The ERC standard of the token contract",args:[],type:{kind:"ENUM",name:"ERCStandard",ofType:null},isDeprecated:false,deprecationReason:null},{name:"from",description:null,args:[],type:{kind:"OBJECT",name:"Wallet",ofType:null},isDeprecated:false,deprecationReason:null},{name:"fromAddress",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"nft",description:null,args:[],type:{kind:"INTERFACE",name:"NFT",ofType:null},isDeprecated:false,deprecationReason:null},{name:"timestamp",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"DateTime",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"to",description:null,args:[],type:{kind:"OBJECT",name:"Wallet",ofType:null},isDeprecated:false,deprecationReason:null},{name:"toAddress",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"tokenId",description:"The token id",args:[],type:{kind:"SCALAR",name:"BigInt",ofType:null},isDeprecated:false,deprecationReason:null},{name:"tokenQuantity",description:"The quantity",args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"BigInt",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"transaction",description:null,args:[],type:{kind:"OBJECT",name:"Transaction",ofType:null},isDeprecated:false,deprecationReason:null},{name:"transactionHash",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null},{name:"transferIndex",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Int",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"type",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"ENUM",name:"TokenTransferType",ofType:null}},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[{kind:"INTERFACE",name:"TokenEvent",ofType:null}],enumValues:null,possibleTypes:null},{kind:"ENUM",name:"TokenTransferType",description:null,fields:null,inputFields:null,interfaces:null,enumValues:[{name:"BURN",description:null,isDeprecated:false,deprecationReason:null},{name:"MINT",description:null,isDeprecated:false,deprecationReason:null},{name:"SALE",description:null,isDeprecated:false,deprecationReason:null},{name:"SWAP",description:null,isDeprecated:false,deprecationReason:null},{name:"TRANSFER",description:null,isDeprecated:false,deprecationReason:null}],possibleTypes:null},{kind:"INPUT_OBJECT",name:"TokenTransferTypeInput",description:null,fields:null,inputFields:[{name:"eq",description:null,type:{kind:"ENUM",name:"TokenTransferType",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"in",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"ENUM",name:"TokenTransferType",ofType:null}}},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"notIn",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"ENUM",name:"TokenTransferType",ofType:null}}},defaultValue:null,isDeprecated:false,deprecationReason:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"TokenUpload",description:"Token media uploads.",fields:[{name:"height",description:"The upload height.",args:[],type:{kind:"SCALAR",name:"Float",ofType:null},isDeprecated:false,deprecationReason:null},{name:"mimeType",description:"The upload mimeType.",args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null},{name:"url",description:"The upload url.",args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"width",description:"The upload width.",args:[],type:{kind:"SCALAR",name:"Float",ofType:null},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Transaction",description:null,fields:[{name:"blockNumber",description:"The block number",args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Int",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"blockTimestamp",description:"The block timestamp",args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"DateTime",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"contractAddress",description:"The contract address",args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null},{name:"cumulativeGasUsed",description:"The cumulative gas used by this transaction",args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"BigInt",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"effectiveGasPrice",description:"The effective gas price in Gwei",args:[],type:{kind:"SCALAR",name:"BigInt",ofType:null},isDeprecated:false,deprecationReason:null},{name:"fromAddress",description:"The from address",args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"gas",description:"The amount of gas supplied for this transaction to happen",args:[],type:{kind:"SCALAR",name:"BigInt",ofType:null},isDeprecated:false,deprecationReason:null},{name:"gasPrice",description:"Cost in Gwei per unit of gas for this transaction",args:[],type:{kind:"SCALAR",name:"BigInt",ofType:null},isDeprecated:false,deprecationReason:null},{name:"gasUsed",description:"The amount of gas used by this transaction",args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"BigInt",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"hash",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"input",description:"The transaction input",args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null},{name:"maxFeePerGas",description:"Max gas fee in Gwei",args:[],type:{kind:"SCALAR",name:"BigInt",ofType:null},isDeprecated:false,deprecationReason:null},{name:"maxPriorityFeePerGas",description:"Max gas priority fee in Gwei",args:[],type:{kind:"SCALAR",name:"BigInt",ofType:null},isDeprecated:false,deprecationReason:null},{name:"toAddress",description:"The to address",args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null},{name:"transactionIndex",description:"The transaction index",args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Int",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"type",description:"The transaction type",args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null},{name:"value",description:"The transaction value",args:[],type:{kind:"SCALAR",name:"BigInt",ofType:null},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"TransactionsFilterInput",description:"Filter input for transactions",fields:null,inputFields:[{name:"blockNumber",description:"The block number",type:{kind:"INPUT_OBJECT",name:"IntegerInput",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"fromAddress",description:"The from address",type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"timestamp",description:"The timestamp",type:{kind:"INPUT_OBJECT",name:"DateTimeInput",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"toAddress",description:"The to address",type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"TrendingCollection",description:null,fields:[{name:"collection",description:"The collection",args:[],type:{kind:"INTERFACE",name:"Collection",ofType:null},isDeprecated:false,deprecationReason:null},{name:"stats",description:null,args:[],type:{kind:"OBJECT",name:"TrendingCollectionStats",ofType:null},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"TrendingCollectionStats",description:"Stats of a trending collection",fields:[{name:"average",description:"Average sale price of the collection",args:[],type:{kind:"SCALAR",name:"Float",ofType:null},isDeprecated:true,deprecationReason:"Use 'averageInNativeToken' instead"},{name:"averageInNativeToken",description:"Average sale price of the collection in native token",args:[],type:{kind:"SCALAR",name:"Float",ofType:null},isDeprecated:false,deprecationReason:null},{name:"ceiling",description:"Highest sale price of the collection",args:[],type:{kind:"SCALAR",name:"Float",ofType:null},isDeprecated:true,deprecationReason:"Use 'ceilingInNativeToken' instead"},{name:"ceilingInNativeToken",description:"Highest sale price of the collection in native token",args:[],type:{kind:"SCALAR",name:"Float",ofType:null},isDeprecated:false,deprecationReason:null},{name:"floor",description:"Lowest sale price of the collection",args:[],type:{kind:"SCALAR",name:"Float",ofType:null},isDeprecated:true,deprecationReason:"Use 'floorInNativeToken' instead"},{name:"floorInNativeToken",description:"Lowest sale price of the collection in native token",args:[],type:{kind:"SCALAR",name:"Float",ofType:null},isDeprecated:false,deprecationReason:null},{name:"totalSales",description:"Total sales of the collection",args:[],type:{kind:"SCALAR",name:"Float",ofType:null},isDeprecated:false,deprecationReason:null},{name:"volume",description:"Total sales volume of the collection",args:[],type:{kind:"SCALAR",name:"Float",ofType:null},isDeprecated:true,deprecationReason:"Use 'volumeInNativeToken' instead"},{name:"volumeInNativeToken",description:"Total sales volume of the collection in native token",args:[],type:{kind:"SCALAR",name:"Float",ofType:null},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"TrendingCollectionsFilterInput",description:"Filter input for trending collections",fields:null,inputFields:[{name:"timePeriod",description:"A time period relative to the current time in which to filter trending collections by.",type:{kind:"ENUM",name:"TrendingPeriod",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"timeRange",description:"Custom time range in which to filter trending collections by. Available only to paid customers.",type:{kind:"INPUT_OBJECT",name:"DateTimeInput",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"ENUM",name:"TrendingOrderBy",description:null,fields:null,inputFields:null,interfaces:null,enumValues:[{name:"AVERAGE",description:null,isDeprecated:false,deprecationReason:null},{name:"SALES",description:null,isDeprecated:false,deprecationReason:null},{name:"VOLUME",description:null,isDeprecated:false,deprecationReason:null}],possibleTypes:null},{kind:"ENUM",name:"TrendingPeriod",description:null,fields:null,inputFields:null,interfaces:null,enumValues:[{name:"FIFTEEN_MINUTES",description:null,isDeprecated:false,deprecationReason:null},{name:"FIVE_MINUTES",description:null,isDeprecated:false,deprecationReason:null},{name:"ONE_DAY",description:null,isDeprecated:false,deprecationReason:null},{name:"ONE_HOUR",description:null,isDeprecated:false,deprecationReason:null},{name:"ONE_MINUTE",description:null,isDeprecated:false,deprecationReason:null},{name:"SEVEN_DAYS",description:null,isDeprecated:false,deprecationReason:null},{name:"THIRTY_MINUTES",description:null,isDeprecated:false,deprecationReason:null},{name:"TWELVE_HOURS",description:null,isDeprecated:false,deprecationReason:null}],possibleTypes:null},{kind:"OBJECT",name:"Wallet",description:null,fields:[{name:"address",description:"The address of the wallet",args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"ensName",description:"The ENS name of the wallet",args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null},{name:"heldCollection",description:null,args:[{name:"collectionAddress",description:null,type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},defaultValue:null,isDeprecated:false,deprecationReason:null}],type:{kind:"OBJECT",name:"WalletCollection",ofType:null},isDeprecated:true,deprecationReason:"Use wallet.collection instead."},{name:"heldCollections",description:null,args:[{name:"after",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"before",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"filter",description:null,type:{kind:"INPUT_OBJECT",name:"WalletCollectionsFilterInput",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"first",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"last",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"orderBy",description:null,type:{kind:"ENUM",name:"WalletCollectionOrderBy",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"orderDirection",description:"The direction you want to order results: ASC/DESC. Defaults to DESC.",type:{kind:"ENUM",name:"OrderDirection",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null}],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"WalletHeldCollectionsConnection",ofType:null}},isDeprecated:true,deprecationReason:"Use wallet.collections instead."},{name:"heldNft",description:null,args:[{name:"contractAddress",description:null,type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"tokenId",description:null,type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},defaultValue:null,isDeprecated:false,deprecationReason:null}],type:{kind:"OBJECT",name:"WalletNFT",ofType:null},isDeprecated:true,deprecationReason:"Use wallet.nft instead."},{name:"heldNfts",description:null,args:[{name:"after",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"before",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"filter",description:null,type:{kind:"INPUT_OBJECT",name:"WalletNFTsFilterInput",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"first",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"last",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"orderBy",description:null,type:{kind:"ENUM",name:"WalletNFTsOrderBy",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"orderDirection",description:"The direction you want to order results: ASC/DESC. Defaults to DESC.",type:{kind:"ENUM",name:"OrderDirection",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null}],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"WalletHeldNFTsConnection",ofType:null}},isDeprecated:true,deprecationReason:"Use wallet.nfts instead."},{name:"heldTokenBalances",description:null,args:[{name:"after",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"before",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"first",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"last",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"orderBy",description:null,type:{kind:"ENUM",name:"WalletTokenBalanceOrder",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"orderDirection",description:"The direction you want to order results: ASC/DESC. Defaults to DESC.",type:{kind:"ENUM",name:"OrderDirection",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null}],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"WalletHeldTokenBalancesConnection",ofType:null}},isDeprecated:true,deprecationReason:"Use wallet.tokenBalances instead."},{name:"tokenBalances",description:null,args:[{name:"after",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"before",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"first",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"last",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"orderBy",description:null,type:{kind:"ENUM",name:"WalletTokenBalanceOrder",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"orderDirection",description:"The direction you want to order results: ASC/DESC. Defaults to DESC.",type:{kind:"ENUM",name:"OrderDirection",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null}],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"WalletTokenBalancesConnection",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"tokenEvents",description:null,args:[{name:"after",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"before",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"filter",description:null,type:{kind:"INPUT_OBJECT",name:"TokenEventsFilterInput",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"first",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"last",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null}],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"WalletTokenEventsConnection",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"transactions",description:"Returns a list of transactions this wallet is associated with. Ordered by block number and index.",args:[{name:"after",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"before",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"filter",description:null,type:{kind:"INPUT_OBJECT",name:"TransactionsFilterInput",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"first",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"last",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"orderDirection",description:"The direction you want to order results: ASC/DESC. Defaults to DESC.",type:{kind:"ENUM",name:"OrderDirection",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null}],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"WalletTransactionsConnection",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"walletCollection",description:null,args:[{name:"collectionAddress",description:null,type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},defaultValue:null,isDeprecated:false,deprecationReason:null}],type:{kind:"OBJECT",name:"WalletCollection",ofType:null},isDeprecated:false,deprecationReason:null},{name:"walletCollections",description:null,args:[{name:"after",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"before",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"filter",description:null,type:{kind:"INPUT_OBJECT",name:"WalletCollectionsFilterInput",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"first",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"last",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"orderBy",description:null,type:{kind:"ENUM",name:"WalletCollectionOrderBy",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"orderDirection",description:"The direction you want to order results: ASC/DESC. Defaults to DESC.",type:{kind:"ENUM",name:"OrderDirection",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null}],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"WalletWalletCollectionsConnection",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"walletNFT",description:null,args:[{name:"contractAddress",description:null,type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"tokenId",description:null,type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},defaultValue:null,isDeprecated:false,deprecationReason:null}],type:{kind:"OBJECT",name:"WalletNFT",ofType:null},isDeprecated:false,deprecationReason:null},{name:"walletNFTs",description:null,args:[{name:"after",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"before",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"filter",description:null,type:{kind:"INPUT_OBJECT",name:"WalletNFTsFilterInput",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"first",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"last",description:null,type:{kind:"SCALAR",name:"Int",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"orderBy",description:null,type:{kind:"ENUM",name:"WalletNFTsOrderBy",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"orderDirection",description:"The direction you want to order results: ASC/DESC. Defaults to DESC.",type:{kind:"ENUM",name:"OrderDirection",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null}],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"WalletNFTsConnection",ofType:null}},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"WalletCollection",description:null,fields:[{name:"collection",description:null,args:[],type:{kind:"INTERFACE",name:"Collection",ofType:null},isDeprecated:false,deprecationReason:null},{name:"collectionAddress",description:"The address of the collection",args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null},{name:"heldTokensCount",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"BigInt",ofType:null}},isDeprecated:true,deprecationReason:"Use nftsCount instead."},{name:"nftsCount",description:"The number of NFTs from this collection within the wallet",args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"BigInt",ofType:null}},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"ENUM",name:"WalletCollectionOrderBy",description:null,fields:null,inputFields:null,interfaces:null,enumValues:[{name:"DATE_ACQUIRED",description:null,isDeprecated:false,deprecationReason:null},{name:"NAME",description:null,isDeprecated:false,deprecationReason:null}],possibleTypes:null},{kind:"INPUT_OBJECT",name:"WalletCollectionsFilterInput",description:"Filter of collections in a wallet",fields:null,inputFields:[{name:"contractAddressIn",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null,isDeprecated:false,deprecationReason:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"WalletHeldCollectionsConnection",description:null,fields:[{name:"edges",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"WalletHeldCollectionsConnectionEdge",ofType:null}}}},isDeprecated:false,deprecationReason:null},{name:"pageInfo",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"PageInfo",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"totalCount",description:null,args:[],type:{kind:"SCALAR",name:"Int",ofType:null},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"WalletHeldCollectionsConnectionEdge",description:null,fields:[{name:"cursor",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"node",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"WalletCollection",ofType:null}},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"WalletHeldNFTsConnection",description:null,fields:[{name:"edges",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"WalletHeldNFTsConnectionEdge",ofType:null}}}},isDeprecated:false,deprecationReason:null},{name:"pageInfo",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"PageInfo",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"totalCount",description:null,args:[],type:{kind:"SCALAR",name:"Int",ofType:null},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"WalletHeldNFTsConnectionEdge",description:null,fields:[{name:"cursor",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"node",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"WalletNFT",ofType:null}},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"WalletHeldTokenBalancesConnection",description:null,fields:[{name:"edges",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"WalletHeldTokenBalancesConnectionEdge",ofType:null}}}},isDeprecated:false,deprecationReason:null},{name:"pageInfo",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"PageInfo",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"totalCount",description:null,args:[],type:{kind:"SCALAR",name:"Int",ofType:null},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"WalletHeldTokenBalancesConnectionEdge",description:null,fields:[{name:"cursor",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"node",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"WalletTokenBalance",ofType:null}},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"WalletNFT",description:null,fields:[{name:"heldNftCount",description:null,args:[],type:{kind:"SCALAR",name:"Int",ofType:null},isDeprecated:true,deprecationReason:"Use nftsCount instead."},{name:"nft",description:null,args:[],type:{kind:"INTERFACE",name:"NFT",ofType:null},isDeprecated:false,deprecationReason:null},{name:"nftsCount",description:"The number of NFTs from this collection within the wallet",args:[],type:{kind:"SCALAR",name:"Int",ofType:null},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"WalletNFTsConnection",description:null,fields:[{name:"edges",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"WalletNFTsConnectionEdge",ofType:null}}}},isDeprecated:false,deprecationReason:null},{name:"pageInfo",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"PageInfo",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"totalCount",description:null,args:[],type:{kind:"SCALAR",name:"Int",ofType:null},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"WalletNFTsConnectionEdge",description:null,fields:[{name:"cursor",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"node",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"WalletNFT",ofType:null}},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"WalletNFTsContractTokenFilterInput",description:"Filter of nfts in a wallet by contract address and optional token id. Results are returned if any of the conditions are matched.",fields:null,inputFields:[{name:"contractAddress",description:null,type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},defaultValue:null,isDeprecated:false,deprecationReason:null},{name:"tokenId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"WalletNFTsFilterInput",description:"Filter of nfts in a wallet",fields:null,inputFields:[{name:"contractTokens",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"WalletNFTsContractTokenFilterInput",ofType:null}}},defaultValue:null,isDeprecated:false,deprecationReason:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"ENUM",name:"WalletNFTsOrderBy",description:null,fields:null,inputFields:null,interfaces:null,enumValues:[{name:"DATE_ACQUIRED",description:null,isDeprecated:false,deprecationReason:null},{name:"NAME",description:null,isDeprecated:false,deprecationReason:null}],possibleTypes:null},{kind:"OBJECT",name:"WalletTokenBalance",description:null,fields:[{name:"contract",description:null,args:[],type:{kind:"OBJECT",name:"TokenContract",ofType:null},isDeprecated:false,deprecationReason:null},{name:"contractAddress",description:"The address of the token",args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"totalBalance",description:"The total balance of the token",args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"BigInt",ofType:null}},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"ENUM",name:"WalletTokenBalanceOrder",description:"Sort wallet token balance",fields:null,inputFields:null,interfaces:null,enumValues:[{name:"CONTRACT_ADDRESS",description:null,isDeprecated:false,deprecationReason:null},{name:"NAME",description:null,isDeprecated:false,deprecationReason:null},{name:"SYMBOL",description:null,isDeprecated:false,deprecationReason:null},{name:"TOTAL_BALANCE",description:null,isDeprecated:false,deprecationReason:null}],possibleTypes:null},{kind:"OBJECT",name:"WalletTokenBalancesConnection",description:null,fields:[{name:"edges",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"WalletTokenBalancesConnectionEdge",ofType:null}}}},isDeprecated:false,deprecationReason:null},{name:"pageInfo",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"PageInfo",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"totalCount",description:null,args:[],type:{kind:"SCALAR",name:"Int",ofType:null},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"WalletTokenBalancesConnectionEdge",description:null,fields:[{name:"cursor",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"node",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"WalletTokenBalance",ofType:null}},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"WalletTokenEventsConnection",description:null,fields:[{name:"edges",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"WalletTokenEventsConnectionEdge",ofType:null}}}},isDeprecated:false,deprecationReason:null},{name:"pageInfo",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"PageInfo",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"totalCount",description:null,args:[],type:{kind:"SCALAR",name:"Int",ofType:null},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"WalletTokenEventsConnectionEdge",description:null,fields:[{name:"cursor",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"node",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"INTERFACE",name:"TokenEvent",ofType:null}},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"WalletTransactionsConnection",description:null,fields:[{name:"edges",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"WalletTransactionsEdge",ofType:null}}}},isDeprecated:false,deprecationReason:null},{name:"pageInfo",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"PageInfo",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"totalCount",description:null,args:[],type:{kind:"SCALAR",name:"Int",ofType:null},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"WalletTransactionsEdge",description:null,fields:[{name:"cursor",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"node",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Transaction",ofType:null}},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"WalletWalletCollectionsConnection",description:null,fields:[{name:"edges",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"WalletWalletCollectionsConnectionEdge",ofType:null}}}},isDeprecated:false,deprecationReason:null},{name:"pageInfo",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"PageInfo",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"totalCount",description:null,args:[],type:{kind:"SCALAR",name:"Int",ofType:null},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"WalletWalletCollectionsConnectionEdge",description:null,fields:[{name:"cursor",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"node",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"WalletCollection",ofType:null}},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"__Directive",description:"A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\n\nIn some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.",fields:[{name:"name",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null},{name:"isRepeatable",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Boolean",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"locations",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"ENUM",name:"__DirectiveLocation",ofType:null}}}},isDeprecated:false,deprecationReason:null},{name:"args",description:null,args:[{name:"includeDeprecated",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:"false",isDeprecated:false,deprecationReason:null}],type:{kind:"NON_NULL",name:null,ofType:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__InputValue",ofType:null}}}},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"ENUM",name:"__DirectiveLocation",description:"A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.",fields:null,inputFields:null,interfaces:null,enumValues:[{name:"QUERY",description:"Location adjacent to a query operation.",isDeprecated:false,deprecationReason:null},{name:"MUTATION",description:"Location adjacent to a mutation operation.",isDeprecated:false,deprecationReason:null},{name:"SUBSCRIPTION",description:"Location adjacent to a subscription operation.",isDeprecated:false,deprecationReason:null},{name:"FIELD",description:"Location adjacent to a field.",isDeprecated:false,deprecationReason:null},{name:"FRAGMENT_DEFINITION",description:"Location adjacent to a fragment definition.",isDeprecated:false,deprecationReason:null},{name:"FRAGMENT_SPREAD",description:"Location adjacent to a fragment spread.",isDeprecated:false,deprecationReason:null},{name:"INLINE_FRAGMENT",description:"Location adjacent to an inline fragment.",isDeprecated:false,deprecationReason:null},{name:"VARIABLE_DEFINITION",description:"Location adjacent to a variable definition.",isDeprecated:false,deprecationReason:null},{name:"SCHEMA",description:"Location adjacent to a schema definition.",isDeprecated:false,deprecationReason:null},{name:"SCALAR",description:"Location adjacent to a scalar definition.",isDeprecated:false,deprecationReason:null},{name:"OBJECT",description:"Location adjacent to an object type definition.",isDeprecated:false,deprecationReason:null},{name:"FIELD_DEFINITION",description:"Location adjacent to a field definition.",isDeprecated:false,deprecationReason:null},{name:"ARGUMENT_DEFINITION",description:"Location adjacent to an argument definition.",isDeprecated:false,deprecationReason:null},{name:"INTERFACE",description:"Location adjacent to an interface definition.",isDeprecated:false,deprecationReason:null},{name:"UNION",description:"Location adjacent to a union definition.",isDeprecated:false,deprecationReason:null},{name:"ENUM",description:"Location adjacent to an enum definition.",isDeprecated:false,deprecationReason:null},{name:"ENUM_VALUE",description:"Location adjacent to an enum value definition.",isDeprecated:false,deprecationReason:null},{name:"INPUT_OBJECT",description:"Location adjacent to an input object type definition.",isDeprecated:false,deprecationReason:null},{name:"INPUT_FIELD_DEFINITION",description:"Location adjacent to an input object field definition.",isDeprecated:false,deprecationReason:null}],possibleTypes:null},{kind:"OBJECT",name:"__EnumValue",description:"One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.",fields:[{name:"name",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null},{name:"isDeprecated",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Boolean",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"deprecationReason",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"__Field",description:"Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.",fields:[{name:"name",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null},{name:"args",description:null,args:[{name:"includeDeprecated",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:"false",isDeprecated:false,deprecationReason:null}],type:{kind:"NON_NULL",name:null,ofType:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__InputValue",ofType:null}}}},isDeprecated:false,deprecationReason:null},{name:"type",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__Type",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"isDeprecated",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Boolean",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"deprecationReason",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"__InputValue",description:"Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.",fields:[{name:"name",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null},{name:"type",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__Type",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"defaultValue",description:"A GraphQL-formatted string representing the default value for this input value.",args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null},{name:"isDeprecated",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Boolean",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"deprecationReason",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"__Schema",description:"A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.",fields:[{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null},{name:"types",description:"A list of all types supported by this server.",args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__Type",ofType:null}}}},isDeprecated:false,deprecationReason:null},{name:"queryType",description:"The type that query operations will be rooted at.",args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__Type",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"mutationType",description:"If this server supports mutation, the type that mutation operations will be rooted at.",args:[],type:{kind:"OBJECT",name:"__Type",ofType:null},isDeprecated:false,deprecationReason:null},{name:"subscriptionType",description:"If this server support subscription, the type that subscription operations will be rooted at.",args:[],type:{kind:"OBJECT",name:"__Type",ofType:null},isDeprecated:false,deprecationReason:null},{name:"directives",description:"A list of all directives supported by this server.",args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__Directive",ofType:null}}}},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"__Type",description:"The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name, description and optional `specifiedByURL`, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.",fields:[{name:"kind",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"ENUM",name:"__TypeKind",ofType:null}},isDeprecated:false,deprecationReason:null},{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null},{name:"specifiedByURL",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:false,deprecationReason:null},{name:"fields",description:null,args:[{name:"includeDeprecated",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:"false",isDeprecated:false,deprecationReason:null}],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__Field",ofType:null}}},isDeprecated:false,deprecationReason:null},{name:"interfaces",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__Type",ofType:null}}},isDeprecated:false,deprecationReason:null},{name:"possibleTypes",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__Type",ofType:null}}},isDeprecated:false,deprecationReason:null},{name:"enumValues",description:null,args:[{name:"includeDeprecated",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:"false",isDeprecated:false,deprecationReason:null}],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__EnumValue",ofType:null}}},isDeprecated:false,deprecationReason:null},{name:"inputFields",description:null,args:[{name:"includeDeprecated",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:"false",isDeprecated:false,deprecationReason:null}],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__InputValue",ofType:null}}},isDeprecated:false,deprecationReason:null},{name:"ofType",description:null,args:[],type:{kind:"OBJECT",name:"__Type",ofType:null},isDeprecated:false,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"ENUM",name:"__TypeKind",description:"An enum describing what kind of type a given `__Type` is.",fields:null,inputFields:null,interfaces:null,enumValues:[{name:"SCALAR",description:"Indicates this type is a scalar.",isDeprecated:false,deprecationReason:null},{name:"OBJECT",description:"Indicates this type is an object. `fields` and `interfaces` are valid fields.",isDeprecated:false,deprecationReason:null},{name:"INTERFACE",description:"Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields.",isDeprecated:false,deprecationReason:null},{name:"UNION",description:"Indicates this type is a union. `possibleTypes` is a valid field.",isDeprecated:false,deprecationReason:null},{name:"ENUM",description:"Indicates this type is an enum. `enumValues` is a valid field.",isDeprecated:false,deprecationReason:null},{name:"INPUT_OBJECT",description:"Indicates this type is an input object. `inputFields` is a valid field.",isDeprecated:false,deprecationReason:null},{name:"LIST",description:"Indicates this type is a list. `ofType` is a valid field.",isDeprecated:false,deprecationReason:null},{name:"NON_NULL",description:"Indicates this type is a non-null. `ofType` is a valid field.",isDeprecated:false,deprecationReason:null}],possibleTypes:null}],directives:[{name:"defer",description:null,isRepeatable:false,locations:["FRAGMENT_SPREAD","INLINE_FRAGMENT"],args:[{name:"if",description:null,type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Boolean",ofType:null}},defaultValue:"true",isDeprecated:false,deprecationReason:null},{name:"label",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null,isDeprecated:false,deprecationReason:null}]},{name:"deprecated",description:"Marks an element of a GraphQL schema as no longer supported.",isRepeatable:false,locations:["ARGUMENT_DEFINITION","ENUM_VALUE","FIELD_DEFINITION","INPUT_FIELD_DEFINITION"],args:[{name:"reason",description:"Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax, as specified by [CommonMark](https://commonmark.org/).",type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:"\"No longer supported\"",isDeprecated:false,deprecationReason:null}]},{name:"include",description:"Directs the executor to include this field or fragment only when the `if` argument is true.",isRepeatable:false,locations:["FIELD","FRAGMENT_SPREAD","INLINE_FRAGMENT"],args:[{name:"if",description:"Included when true.",type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Boolean",ofType:null}},defaultValue:null,isDeprecated:false,deprecationReason:null}]},{name:"skip",description:"Directs the executor to skip this field or fragment when the `if` argument is true.",isRepeatable:false,locations:["FIELD","FRAGMENT_SPREAD","INLINE_FRAGMENT"],args:[{name:"if",description:"Skipped when true.",type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Boolean",ofType:null}},defaultValue:null,isDeprecated:false,deprecationReason:null}]},{name:"specifiedBy",description:"Exposes a URL that specifies the behavior of this scalar.",isRepeatable:false,locations:["SCALAR"],args:[{name:"url",description:"The URL that specifies the behavior of this scalar.",type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},defaultValue:null,isDeprecated:false,deprecationReason:null}]}]};var schema = {__schema:__schema};
959
-
960
- const transactionsBySearchValidator = baseTransactionsInput
961
- .merge(supportedChainInput)
962
- .strict();
963
-
964
- const transactionsByHashValidator = z
965
- .object({
966
- hash: isEvmTransactionHash,
967
- })
968
- .merge(supportedChainInput)
969
- .strict();
970
-
971
- class TransactionsController {
972
- constructor(client, defaultChain = DEFAULT_CHAIN) {
973
- this.client = client;
974
- this.defaultChain = defaultChain;
975
- }
976
- async getByWallet(variables) {
977
- const { address, ...allVariables } = variables;
978
- let queryResult;
979
- if (isValidENSAddress(address)) {
980
- queryResult = await this.getByWalletENS({
981
- ensName: address,
982
- ...allVariables,
983
- });
984
- }
985
- else {
986
- queryResult = await this.getByWalletAddress({
987
- address,
988
- ...allVariables,
989
- });
990
- }
991
- if (!queryResult?.transactions?.length) {
992
- // Address can still be valid address, but not have any transactions
993
- const address = queryResult?.address || '';
994
- const ensName = queryResult?.ensName || '';
995
- return {
996
- address: address,
997
- ensName: ensName,
998
- results: [],
999
- pageInfo: emptyPageInfo,
1000
- };
1001
- }
1002
- const formattedResult = formatQueryResult(queryResult, 'transactions', 'transactionsPageInfo');
1003
- return formattedResult;
1004
- }
1005
- async getByWalletAddress(variables) {
1006
- const { chain, ...queryVariables } = variables;
1007
- const userChain = chain || this.defaultChain;
1008
- const query = {
1009
- ethereum: CodegenEthMainnetTransactionsByWalletAddressDocument,
1010
- polygon: CodegenPolygonMainnetTransactionsByWalletAddressDocument,
1011
- ethereumSepolia: CodegenEthSepoliaTransactionsByWalletAddressDocument,
1012
- };
1013
- const { data: { [userChain]: { walletByAddress }, }, } = await this.client.query({
1014
- variables: queryVariables,
1015
- query: query[userChain],
1016
- });
1017
- return walletByAddress;
1018
- }
1019
- async getByWalletENS(variables) {
1020
- const { chain, ...queryVariables } = variables;
1021
- const userChain = chain || this.defaultChain;
1022
- const query = {
1023
- ethereum: CodegenEthMainnetTransactionsByWalletENSDocument,
1024
- polygon: CodegenPolygonMainnetTransactionsByWalletENSDocument,
1025
- ethereumSepolia: CodegenEthSepoliaTransactionsByWalletENSDocument,
1026
- };
1027
- const { data: { [userChain]: { walletByENS }, }, } = await this.client.query({
1028
- variables: queryVariables,
1029
- query: query[userChain],
1030
- });
1031
- return walletByENS;
1032
- }
1033
- async getAll(variables) {
1034
- const { chain, ...queryVariables } = variables;
1035
- const userChain = chain || this.defaultChain;
1036
- const query = {
1037
- ethereum: CodegenEthMainnetTransactionsBySearchDocument,
1038
- polygon: CodegenPolygonMainnetTransactionsBySearchDocument,
1039
- ethereumSepolia: CodegenEthSepoliaTransactionsBySearchDocument,
1040
- };
1041
- const { data: { [userChain]: transactions }, } = await this.client.query({
1042
- variables: queryVariables,
1043
- query: query[userChain],
1044
- });
1045
- const formattedResult = formatQueryResult(transactions, 'transactions', 'transactionsPageInfo');
1046
- return formattedResult;
1047
- }
1048
- async getByHash(variables) {
1049
- const { chain, ...queryVariables } = variables;
1050
- const userChain = chain || this.defaultChain;
1051
- const query = {
1052
- ethereum: CodegenEthMainnetTransactionsByHashDocument,
1053
- polygon: CodegenPolygonMainnetTransactionsByHashDocument,
1054
- ethereumSepolia: CodegenEthSepoliaTransactionsByHashDocument,
1055
- };
1056
- const { data: { [userChain]: transaction }, } = await this.client.query({
1057
- variables: queryVariables,
1058
- query: query[userChain],
1059
- });
1060
- if (transaction?.transaction)
1061
- return transaction;
1062
- return { transaction: null };
1063
- }
1064
- }
1065
- __decorate([
1066
- ValidateInput(balancesByWalletAddressValidator),
1067
- __metadata("design:type", Function),
1068
- __metadata("design:paramtypes", [Object]),
1069
- __metadata("design:returntype", Promise)
1070
- ], TransactionsController.prototype, "getByWallet", null);
1071
- __decorate([
1072
- ValidateInput(transactionsBySearchValidator),
1073
- __metadata("design:type", Function),
1074
- __metadata("design:paramtypes", [Object]),
1075
- __metadata("design:returntype", Promise)
1076
- ], TransactionsController.prototype, "getAll", null);
1077
- __decorate([
1078
- ValidateInput(transactionsByHashValidator),
1079
- __metadata("design:type", Function),
1080
- __metadata("design:paramtypes", [Object]),
1081
- __metadata("design:returntype", Promise)
1082
- ], TransactionsController.prototype, "getByHash", null);
1083
-
1084
- var name="@quicknode/sdk";var repository={type:"git",url:"https://github.com/quiknode-labs/qn-oss.git",directory:"packages/libs/sdk"};var license="MIT";var version="1.0.0";var main="./cjs/index.js";var module="./esm/index.js";var types="./index.d.ts";var dependencies={"@urql/core":"^4.0.7","@urql/exchange-graphcache":"^6.0.4","cross-fetch":"^3.1.6",tslib:"^2.5.3",zod:"^3.21.4"};var devDependencies={"@graphql-codegen/cli":"4.0.1","@graphql-codegen/fragment-matcher":"^3.3.1","@graphql-codegen/introspection":"^3.0.1","@graphql-codegen/typed-document-node":"^4.0.1","@graphql-codegen/typescript":"2.8.0","@graphql-codegen/typescript-operations":"^2.5.5","@pollyjs/adapter-node-http":"^6.0.5","@pollyjs/core":"^6.0.5","@pollyjs/persister-fs":"^6.0.5","@types/jest":"^29.5.1","@types/mocha":"^10.0.1","@types/node":"^18.13.0","@types/supertest":"^2.0.12",dotenv:"^16.0.3","eslint-plugin-no-only-tests":"^3.1.0",graphql:"^16.6.0",supertest:"^6.3.3"};var scripts={codegen:"npx graphql-codegen --require dotenv/config"};var exports={".":{"import":"./esm/index.js",require:"./cjs/index.js"}};var packageJson = {name:name,repository:repository,license:license,version:version,main:main,module:module,types:types,dependencies:dependencies,devDependencies:devDependencies,scripts:scripts,exports:exports};
1085
-
1086
- class API {
1087
- constructor({ graphApiKey, additionalHeaders, defaultChain, } = {}) {
1088
- if (!graphApiKey) {
1089
- console.warn('QuickNode SDK warning: no apiKey provided. Access with no apiKey is heavily rate limited and intended for development use only. For higher rate limits or production usage, create an account on https://www.quicknode.com/');
1090
- }
1091
- this.graphApiKey = graphApiKey;
1092
- this.additionalHeaders = additionalHeaders;
1093
- this.urqlClient = this.createUrqlClient();
1094
- this.customUrqlClient = new CustomUrqlClient(this.urqlClient);
1095
- this.defaultChain = defaultChain || DEFAULT_CHAIN;
1096
- this.nfts = new NftsController(this.customUrqlClient, this.defaultChain);
1097
- this.tokens = new TokensController(this.customUrqlClient, this.defaultChain);
1098
- this.utils = new UtilsController(this.customUrqlClient, this.defaultChain);
1099
- this.contracts = new ContractsController(this.customUrqlClient, this.defaultChain);
1100
- this.transactions = new TransactionsController(this.customUrqlClient, this.defaultChain);
1101
- this.events = new EventsController(this.customUrqlClient, this.defaultChain);
1102
- // Re-export the Urql client configured to use the Graph API for use with custom queries
1103
- this.graphApiClient = this.urqlClient;
1104
- }
1105
- createUrqlClient() {
1106
- const headers = { ...this.additionalHeaders };
1107
- if (this.graphApiKey)
1108
- headers['x-api-key'] = this.graphApiKey;
1109
- headers['x-quicknode-sdk'] = 'js-sdk';
1110
- headers['x-quicknode-sdk-version'] = packageJson?.version || 'n/a';
1111
- const useNftKey = (data) => `${data['contractAddress']}:${data['tokenId']}`;
1112
- const useAddressAsKey = (data) => `${data['address']}`;
1113
- const useTransactionHashAndIndex = (data) => `${data['transactionHash']}:${data['transferIndex']}`;
1114
- const urqlCache = cacheExchange({
1115
- schema,
1116
- keys: {
1117
- EVMSchemaType: () => null,
1118
- Collection: useAddressAsKey,
1119
- CollectionOHLCVChart: () => null,
1120
- Contract: useAddressAsKey,
1121
- ERC721NFT: useNftKey,
1122
- ERC721Collection: useAddressAsKey,
1123
- ERC1155NFT: useNftKey,
1124
- ERC1155Collection: useAddressAsKey,
1125
- GasPrice: () => null,
1126
- NFT: useNftKey,
1127
- NFTContract: useAddressAsKey,
1128
- TokenAttribute: () => null,
1129
- TokenContract: useAddressAsKey,
1130
- TokenEvent: useTransactionHashAndIndex,
1131
- TokenMintEvent: useTransactionHashAndIndex,
1132
- TokenBurnEvent: useTransactionHashAndIndex,
1133
- TokenSaleEvent: useTransactionHashAndIndex,
1134
- TokenSwapEvent: useTransactionHashAndIndex,
1135
- TokenTransferEvent: useTransactionHashAndIndex,
1136
- TokenUpload: () => null,
1137
- OpenSeaMetadata: () => null,
1138
- Transaction: (data) => `${data['hash']}`,
1139
- TrendingCollection: () => null,
1140
- Wallet: (data) => `${data['address']}`,
1141
- WalletNFT: () => null,
1142
- WalletTokenBalance: () => null,
1143
- },
1144
- });
1145
- const client = new Client({
1146
- fetch,
1147
- url: process.env['NX_GRAPHQL_API_URI'] ||
1148
- 'https://api.quicknode.com/graphql',
1149
- exchanges: [urqlCache, fetchExchange],
1150
- fetchOptions: () => ({ headers }),
1151
- });
1152
- return client;
1153
- }
1154
- }
1155
-
1156
- const QuickNode = {
1157
- API: API,
1158
- };
1159
-
1160
- export { API, QNInputValidationError, QuickNode as default };