@quicknode/sdk 0.5.2 → 1.0.0-beta.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.
- package/README.md +777 -151
- package/cjs/index.js +1185 -0
- package/cjs/package.json +3 -0
- package/esm/index.js +1172 -0
- package/esm/package.json +3 -0
- package/index.d.ts +2802 -0
- package/package.json +27 -13
- package/src/client/client.d.ts +0 -13
- package/src/client/customApolloClient.d.ts +0 -14
- package/src/client/index.d.ts +0 -1
- package/src/graphql/fragmentMatcher.d.ts +0 -7
- package/src/graphql/types.d.ts +0 -1305
- package/src/index.d.ts +0 -4
- package/src/index.esm.js +0 -8605
- package/src/index.js +0 -8624
- package/src/queries/index.d.ts +0 -1
- package/src/queries/nft/getCollectionDetails/getCollectionDetails.d.ts +0 -4
- package/src/queries/nft/getContractEventLogs/getContractEventLogs.d.ts +0 -7
- package/src/queries/nft/getNFTDetails/getNFTDetails.d.ts +0 -5
- package/src/queries/nft/getNFTEventLogs/getNFTEventLogs.d.ts +0 -7
- package/src/queries/nft/getNFTsByContractAddress/getNFTsByContractAddress.d.ts +0 -5
- package/src/queries/nft/getNFTsByWalletAndContracts/getNFTsByWalletAndContracts.d.ts +0 -5
- package/src/queries/nft/getNFTsByWalletENS/getNFTsByWalletENS.d.ts +0 -5
- package/src/queries/nft/getTrendingNFTCollections/getTrendingNFTCollections.d.ts +0 -5
- package/src/queries/nft/index.d.ts +0 -2
- package/src/queries/nft/nftQueries.d.ts +0 -90
- package/src/queries/nft/sharedTypes.d.ts +0 -151
- package/src/utils/removeNodesAndEdges.d.ts +0 -19
package/cjs/index.js
ADDED
|
@@ -0,0 +1,1185 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var fetch = require('cross-fetch');
|
|
6
|
+
var core = require('@urql/core');
|
|
7
|
+
var exchangeGraphcache = require('@urql/exchange-graphcache');
|
|
8
|
+
var tslib = require('tslib');
|
|
9
|
+
var zod = require('zod');
|
|
10
|
+
|
|
11
|
+
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
12
|
+
|
|
13
|
+
var fetch__default = /*#__PURE__*/_interopDefaultLegacy(fetch);
|
|
14
|
+
|
|
15
|
+
function isConnection(object) {
|
|
16
|
+
return (typeof object === 'object' &&
|
|
17
|
+
!!object &&
|
|
18
|
+
('edges' in object ||
|
|
19
|
+
'total' in object ||
|
|
20
|
+
'pageInfo' in object ||
|
|
21
|
+
'breadcrumbs' in object));
|
|
22
|
+
}
|
|
23
|
+
function removeNodesAndEdges(data, options) {
|
|
24
|
+
const keys = Object.keys(data);
|
|
25
|
+
const output = {};
|
|
26
|
+
const keepTypename = options?.keepTypename || false;
|
|
27
|
+
keys
|
|
28
|
+
.filter((key) => {
|
|
29
|
+
if (keepTypename)
|
|
30
|
+
return true;
|
|
31
|
+
return key !== '__typename';
|
|
32
|
+
})
|
|
33
|
+
.forEach((key) => {
|
|
34
|
+
const value = data[key];
|
|
35
|
+
if (typeof value === 'string' ||
|
|
36
|
+
typeof value === 'boolean' ||
|
|
37
|
+
typeof value === 'number' ||
|
|
38
|
+
value === null ||
|
|
39
|
+
value === undefined) {
|
|
40
|
+
return (output[key] = value);
|
|
41
|
+
}
|
|
42
|
+
if (Array.isArray(value)) {
|
|
43
|
+
// An array can just be an array of strings and not edges and nodes
|
|
44
|
+
if (value.every((val) => typeof val === 'string')) {
|
|
45
|
+
return (output[key] = value);
|
|
46
|
+
}
|
|
47
|
+
return (output[key] = value.map((item) => removeNodesAndEdges(item, options)));
|
|
48
|
+
}
|
|
49
|
+
if (isConnection(value)) {
|
|
50
|
+
if (value.breadcrumbs)
|
|
51
|
+
output[`${key}Breadcrumbs`] = value.breadcrumbs;
|
|
52
|
+
if (value.total)
|
|
53
|
+
output[`${key}Total`] = value.total;
|
|
54
|
+
if (value.viewport)
|
|
55
|
+
output[`${key}Viewport`] = value.viewport;
|
|
56
|
+
if (value.pageInfo) {
|
|
57
|
+
const { __typename, ...pageInfoRest } = value.pageInfo;
|
|
58
|
+
output[`${key}PageInfo`] = pageInfoRest;
|
|
59
|
+
}
|
|
60
|
+
return (output[key] = value.edges?.map((item) => {
|
|
61
|
+
if (item.node) {
|
|
62
|
+
// Don't pass options back in so we only remove the __typename from top-level
|
|
63
|
+
// We may need to change this in the future if we want to keep the __typename for nested nodes
|
|
64
|
+
return removeNodesAndEdges(item.node);
|
|
65
|
+
}
|
|
66
|
+
return item;
|
|
67
|
+
}));
|
|
68
|
+
}
|
|
69
|
+
return (output[key] = removeNodesAndEdges(value, options));
|
|
70
|
+
});
|
|
71
|
+
return output;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
class CustomUrqlClient {
|
|
75
|
+
constructor(urqlClient) {
|
|
76
|
+
this.urqlClient = urqlClient;
|
|
77
|
+
}
|
|
78
|
+
async query(options) {
|
|
79
|
+
const { keepTypename, query, variables, ...additionalOptions } = options;
|
|
80
|
+
const result = await this.urqlClient.query(query, variables, additionalOptions);
|
|
81
|
+
const { error } = result;
|
|
82
|
+
if (error) {
|
|
83
|
+
console.error(error.stack);
|
|
84
|
+
throw error;
|
|
85
|
+
}
|
|
86
|
+
return {
|
|
87
|
+
...result,
|
|
88
|
+
data: result?.data &&
|
|
89
|
+
removeNodesAndEdges(result.data, {
|
|
90
|
+
keepTypename,
|
|
91
|
+
}),
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
// Below are zod enums used a validators that should be the same as the string unions generated by codegen.
|
|
97
|
+
// There are compile-time checks to ensure that they are the same and in sync. If you are getting a
|
|
98
|
+
// type error here, you need to update the the validator array to match the codegen type.
|
|
99
|
+
const CONTRACT_STANDARDS = ['ERC20', 'ERC721', 'ERC1155'];
|
|
100
|
+
const isContractStandard = zod.z.enum(CONTRACT_STANDARDS);
|
|
101
|
+
const MARKETPLACES = [
|
|
102
|
+
'BLUR',
|
|
103
|
+
'CRYPTOPUNKS',
|
|
104
|
+
'LOOKSRARE',
|
|
105
|
+
'NIFTY_GATEWAY',
|
|
106
|
+
'OPENSEA',
|
|
107
|
+
'SEAPORT',
|
|
108
|
+
'X2Y2',
|
|
109
|
+
'ZEROX',
|
|
110
|
+
];
|
|
111
|
+
const isMarketplace = zod.z.enum(MARKETPLACES);
|
|
112
|
+
const TOKEN_TRANSFER_TYPES = [
|
|
113
|
+
'TRANSFER',
|
|
114
|
+
'MINT',
|
|
115
|
+
'SALE',
|
|
116
|
+
'SWAP',
|
|
117
|
+
'BURN',
|
|
118
|
+
];
|
|
119
|
+
const isTokenTransferType = zod.z.enum(TOKEN_TRANSFER_TYPES);
|
|
120
|
+
|
|
121
|
+
const supportedChains = [
|
|
122
|
+
'ethereum',
|
|
123
|
+
'polygon',
|
|
124
|
+
'ethereumSepolia',
|
|
125
|
+
];
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* https://eips.ethereum.org/EIPS/eip-137#name-syntax
|
|
129
|
+
*
|
|
130
|
+
* explanation of the regex pattern:
|
|
131
|
+
* ^ Matches the start of the string
|
|
132
|
+
* (?=.{3,255}$) Lookahead assertion for the length of the string (3 to 255 characters)
|
|
133
|
+
* [\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
|
|
134
|
+
* (\.[\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
|
|
135
|
+
* \.(?:eth|xyz|art) Matches a dot followed by either 'eth', 'xyz', or 'art'
|
|
136
|
+
* $ Matches the end of the string
|
|
137
|
+
*
|
|
138
|
+
*/
|
|
139
|
+
function isValidENSAddress(ensAddress) {
|
|
140
|
+
const allowedTLDs = ['eth', 'xyz', 'art'];
|
|
141
|
+
const unicodeAndEmojis = '[\\p{L}\\p{N}\\p{Pd}\\p{M}\\p{S}\\u{1F300}-\\u{1F6FF}]';
|
|
142
|
+
const regexPattern = `^(?=.{3,255}$)${unicodeAndEmojis}+(\\.${unicodeAndEmojis}+)*\\.(?:${allowedTLDs.join('|')})$`;
|
|
143
|
+
const regex = new RegExp(regexPattern, 'mu');
|
|
144
|
+
return regex.test(ensAddress);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
const isEvmAddress = zod.z
|
|
148
|
+
.string()
|
|
149
|
+
.length(42) // Using built-in function for better error messages
|
|
150
|
+
.startsWith('0x') // Using built-in function for better error messages
|
|
151
|
+
.regex(/^0x[a-fA-F0-9]{40}$/, 'Not a valid address');
|
|
152
|
+
const isENSAddress = zod.z.string().refine((val) => isValidENSAddress(val));
|
|
153
|
+
const isEvmTransactionHash = zod.z
|
|
154
|
+
.string()
|
|
155
|
+
.length(66) // Using built-in function for better error messages
|
|
156
|
+
.startsWith('0x') // Using built-in function for better error messages
|
|
157
|
+
.regex(/^0x[a-fA-F0-9]{64}$/, 'Not a valid transaction hash');
|
|
158
|
+
const supportedChainInput = zod.z
|
|
159
|
+
.object({
|
|
160
|
+
chain: zod.z.enum(supportedChains).nullish(),
|
|
161
|
+
})
|
|
162
|
+
.strict();
|
|
163
|
+
function fullFilters(baseType) {
|
|
164
|
+
return zod.z
|
|
165
|
+
.object({
|
|
166
|
+
eq: baseType.nullish(),
|
|
167
|
+
gt: baseType.nullish(),
|
|
168
|
+
gte: baseType.nullish(),
|
|
169
|
+
in: zod.z.array(baseType).nullish(),
|
|
170
|
+
lt: baseType.nullish(),
|
|
171
|
+
lte: baseType.nullish(),
|
|
172
|
+
notIn: zod.z.array(baseType).nullish(),
|
|
173
|
+
})
|
|
174
|
+
.strict();
|
|
175
|
+
}
|
|
176
|
+
function limitedFilters(baseType) {
|
|
177
|
+
return zod.z
|
|
178
|
+
.object({
|
|
179
|
+
eq: baseType.nullish(),
|
|
180
|
+
in: zod.z.array(baseType).nullish(),
|
|
181
|
+
notIn: zod.z.array(baseType).nullish(),
|
|
182
|
+
})
|
|
183
|
+
.strict();
|
|
184
|
+
}
|
|
185
|
+
const tokenEventFilters = zod.z
|
|
186
|
+
.object({
|
|
187
|
+
blockNumber: fullFilters(zod.z.number().positive()).nullish(),
|
|
188
|
+
contractAddress: limitedFilters(isEvmAddress).nullish(),
|
|
189
|
+
contractStandard: limitedFilters(isContractStandard).nullish(),
|
|
190
|
+
fromAddress: limitedFilters(isEvmAddress).nullish(),
|
|
191
|
+
marketplace: limitedFilters(isMarketplace).nullish(),
|
|
192
|
+
timestamp: fullFilters(zod.z.string().datetime({ offset: true })).nullish(),
|
|
193
|
+
toAddress: limitedFilters(isEvmAddress).nullish(),
|
|
194
|
+
transactionHash: limitedFilters(isEvmTransactionHash).nullish(),
|
|
195
|
+
type: limitedFilters(isTokenTransferType).nullish(),
|
|
196
|
+
walletAddress: limitedFilters(isEvmAddress).nullish(),
|
|
197
|
+
})
|
|
198
|
+
.strict();
|
|
199
|
+
const transactionFilters = zod.z
|
|
200
|
+
.object({
|
|
201
|
+
blockNumber: fullFilters(zod.z.number().positive()).nullish(),
|
|
202
|
+
fromAddress: isEvmAddress.nullish(),
|
|
203
|
+
timestamp: fullFilters(zod.z.string().datetime({ offset: true })).nullish(),
|
|
204
|
+
toAddress: isEvmAddress.nullish(),
|
|
205
|
+
})
|
|
206
|
+
.strict();
|
|
207
|
+
const gasPriceFilters = zod.z
|
|
208
|
+
.object({
|
|
209
|
+
blockNumber: fullFilters(zod.z.number().positive()).nullish(),
|
|
210
|
+
})
|
|
211
|
+
.strict();
|
|
212
|
+
const paginationParams = zod.z
|
|
213
|
+
.object({
|
|
214
|
+
before: zod.z.string().nullish(),
|
|
215
|
+
after: zod.z.string().nullish(),
|
|
216
|
+
first: zod.z.number().positive().nullish(),
|
|
217
|
+
})
|
|
218
|
+
.strict();
|
|
219
|
+
const baseEventsInput = zod.z
|
|
220
|
+
.object({
|
|
221
|
+
filter: tokenEventFilters.nullish(),
|
|
222
|
+
})
|
|
223
|
+
.merge(paginationParams)
|
|
224
|
+
.strict();
|
|
225
|
+
const baseTransactionsInput = zod.z
|
|
226
|
+
.object({
|
|
227
|
+
filter: transactionFilters.optional(),
|
|
228
|
+
})
|
|
229
|
+
.merge(paginationParams)
|
|
230
|
+
.strict();
|
|
231
|
+
const contractTokensFilter = zod.z
|
|
232
|
+
.array(zod.z
|
|
233
|
+
.object({
|
|
234
|
+
contractAddress: isEvmAddress,
|
|
235
|
+
tokenId: zod.z.string().optional(),
|
|
236
|
+
})
|
|
237
|
+
.strict())
|
|
238
|
+
.nonempty();
|
|
239
|
+
|
|
240
|
+
const walletByAddressValidator = zod.z
|
|
241
|
+
.object({
|
|
242
|
+
address: zod.z.union([isENSAddress, isEvmAddress]),
|
|
243
|
+
filter: zod.z
|
|
244
|
+
.object({
|
|
245
|
+
contractTokens: contractTokensFilter,
|
|
246
|
+
})
|
|
247
|
+
.strict()
|
|
248
|
+
.optional(),
|
|
249
|
+
})
|
|
250
|
+
.merge(paginationParams)
|
|
251
|
+
.merge(supportedChainInput)
|
|
252
|
+
.strict();
|
|
253
|
+
|
|
254
|
+
const nftDetailsValidator = zod.z
|
|
255
|
+
.object({ contractAddress: isEvmAddress, tokenId: zod.z.string() })
|
|
256
|
+
.merge(supportedChainInput)
|
|
257
|
+
.strict();
|
|
258
|
+
|
|
259
|
+
const nftCollectionDetailsValidator = zod.z
|
|
260
|
+
.object({
|
|
261
|
+
contractAddress: isEvmAddress,
|
|
262
|
+
})
|
|
263
|
+
.merge(supportedChainInput)
|
|
264
|
+
.strict();
|
|
265
|
+
|
|
266
|
+
const nftTrendingCollectionsValidator = paginationParams
|
|
267
|
+
.merge(supportedChainInput)
|
|
268
|
+
.strict();
|
|
269
|
+
|
|
270
|
+
const nftsByContractAddressValidator = zod.z
|
|
271
|
+
.object({ contractAddress: isEvmAddress })
|
|
272
|
+
.merge(paginationParams)
|
|
273
|
+
.merge(supportedChainInput)
|
|
274
|
+
.strict();
|
|
275
|
+
|
|
276
|
+
const verifyOwnershipValidator = zod.z
|
|
277
|
+
.object({
|
|
278
|
+
address: zod.z.union([isENSAddress, isEvmAddress]),
|
|
279
|
+
nfts: contractTokensFilter,
|
|
280
|
+
})
|
|
281
|
+
.merge(supportedChainInput)
|
|
282
|
+
.strict();
|
|
283
|
+
|
|
284
|
+
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": "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" } }] } }] } }] };
|
|
285
|
+
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": "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" } }] } }] } }] } }] };
|
|
286
|
+
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": "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" } }] } }] } }] } }] } }] };
|
|
287
|
+
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": "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" } }] } }] } }] } }] } }] } }] };
|
|
288
|
+
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": "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" } }] } }] } }] } }] } }] } }] };
|
|
289
|
+
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": "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": "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" } }] } }] } }] } }] } }] } }] } }] };
|
|
290
|
+
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" } }] } }] } }] } }] } }] } }] };
|
|
291
|
+
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" } }] } }] } }] } }] } }] } }] };
|
|
292
|
+
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": "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" } }] } }] } }] } }] } }] };
|
|
293
|
+
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" } }] } }] } }] };
|
|
294
|
+
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" } }] } }] } }] } }] } }] } }] };
|
|
295
|
+
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" } }] } }] } }] } }] } }] } }] };
|
|
296
|
+
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" } }] } }] } }] } }] } }] } }] };
|
|
297
|
+
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" } }] } }] } }] } }] } }] };
|
|
298
|
+
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" } }] } }] } }] } }] } }] };
|
|
299
|
+
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" } }] } }] } }] };
|
|
300
|
+
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" } }] } }] } }] } }] };
|
|
301
|
+
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" } }] } }] } }] } }] } }] };
|
|
302
|
+
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" } }] } }] } }] } }] } }] };
|
|
303
|
+
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" } }] } }] } }] };
|
|
304
|
+
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": "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" } }] } }] } }] };
|
|
305
|
+
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": "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" } }] } }] } }] } }] };
|
|
306
|
+
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": "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" } }] } }] } }] } }] } }] };
|
|
307
|
+
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": "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" } }] } }] } }] } }] } }] } }] };
|
|
308
|
+
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": "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" } }] } }] } }] } }] } }] } }] };
|
|
309
|
+
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": "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": "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" } }] } }] } }] } }] } }] } }] } }] };
|
|
310
|
+
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" } }] } }] } }] } }] } }] } }] };
|
|
311
|
+
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" } }] } }] } }] } }] } }] } }] };
|
|
312
|
+
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": "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" } }] } }] } }] } }] } }] };
|
|
313
|
+
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" } }] } }] } }] };
|
|
314
|
+
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" } }] } }] } }] } }] } }] } }] };
|
|
315
|
+
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" } }] } }] } }] } }] } }] } }] };
|
|
316
|
+
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" } }] } }] } }] } }] } }] } }] };
|
|
317
|
+
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" } }] } }] } }] } }] } }] };
|
|
318
|
+
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" } }] } }] } }] } }] } }] };
|
|
319
|
+
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" } }] } }] } }] };
|
|
320
|
+
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" } }] } }] } }] } }] };
|
|
321
|
+
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" } }] } }] } }] } }] } }] };
|
|
322
|
+
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" } }] } }] } }] } }] } }] };
|
|
323
|
+
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" } }] } }] } }] };
|
|
324
|
+
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": "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" } }] } }] } }] };
|
|
325
|
+
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": "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" } }] } }] } }] } }] };
|
|
326
|
+
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": "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" } }] } }] } }] } }] } }] };
|
|
327
|
+
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": "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" } }] } }] } }] } }] } }] } }] };
|
|
328
|
+
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": "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" } }] } }] } }] } }] } }] } }] };
|
|
329
|
+
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": "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": "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" } }] } }] } }] } }] } }] } }] } }] };
|
|
330
|
+
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" } }] } }] } }] } }] } }] } }] };
|
|
331
|
+
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" } }] } }] } }] } }] } }] } }] };
|
|
332
|
+
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": "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" } }] } }] } }] } }] } }] };
|
|
333
|
+
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" } }] } }] } }] };
|
|
334
|
+
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" } }] } }] } }] } }] } }] } }] };
|
|
335
|
+
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" } }] } }] } }] } }] } }] } }] };
|
|
336
|
+
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" } }] } }] } }] } }] } }] } }] };
|
|
337
|
+
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" } }] } }] } }] } }] } }] };
|
|
338
|
+
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" } }] } }] } }] } }] } }] };
|
|
339
|
+
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" } }] } }] } }] };
|
|
340
|
+
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" } }] } }] } }] } }] };
|
|
341
|
+
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" } }] } }] } }] } }] } }] };
|
|
342
|
+
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" } }] } }] } }] } }] } }] };
|
|
343
|
+
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" } }] } }] } }] };
|
|
344
|
+
|
|
345
|
+
// Formats the query result with the edges and nodes removed into what we want to return to the user
|
|
346
|
+
function formatQueryResult(queryResult, resultsKey, // Key that the actual results are in
|
|
347
|
+
paginationKey, // Key that the pagination info is in
|
|
348
|
+
resultsKeyToRemove, // Key that the results are nested under to remove for each entry
|
|
349
|
+
additionalModification) {
|
|
350
|
+
const additionaProperties = Object.fromEntries(Object.entries(queryResult).filter(([key]) => key !== resultsKey && key !== paginationKey));
|
|
351
|
+
let trimmedResults = queryResult[resultsKey];
|
|
352
|
+
if (resultsKeyToRemove) {
|
|
353
|
+
trimmedResults = trimmedResults.map((result) => result[resultsKeyToRemove] || {});
|
|
354
|
+
}
|
|
355
|
+
const formattedResultBase = {
|
|
356
|
+
results: trimmedResults,
|
|
357
|
+
pageInfo: queryResult[paginationKey],
|
|
358
|
+
};
|
|
359
|
+
let result = {
|
|
360
|
+
...formattedResultBase,
|
|
361
|
+
...additionaProperties,
|
|
362
|
+
};
|
|
363
|
+
if (additionalModification)
|
|
364
|
+
result = additionalModification(result);
|
|
365
|
+
return result;
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
const emptyPageInfo = {
|
|
369
|
+
endCursor: null,
|
|
370
|
+
hasNextPage: false,
|
|
371
|
+
hasPreviousPage: false,
|
|
372
|
+
startCursor: null,
|
|
373
|
+
};
|
|
374
|
+
function weiToGwei(wei) {
|
|
375
|
+
return +(wei / 1e9).toFixed(2);
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
const DEFAULT_CHAIN = 'ethereum';
|
|
379
|
+
|
|
380
|
+
class QNInputValidationError extends Error {
|
|
381
|
+
constructor({ messages, zodError, }) {
|
|
382
|
+
super(`QuickNode SDK Input Validation Error: ${messages.join(', ')}`);
|
|
383
|
+
this.messages = messages;
|
|
384
|
+
this.issues = zodError.issues;
|
|
385
|
+
this.zodError = zodError; // see https://github.com/colinhacks/zod/blob/HEAD/ERROR_HANDLING.md
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
function formatErrors(baseError) {
|
|
390
|
+
const errorMessages = [];
|
|
391
|
+
baseError.errors.forEach((error) => {
|
|
392
|
+
errorMessages.push(`${error.path.length > 0 ? error.path + ': ' : ''}${error.message}`);
|
|
393
|
+
});
|
|
394
|
+
return errorMessages.length > 0
|
|
395
|
+
? new QNInputValidationError({
|
|
396
|
+
messages: errorMessages,
|
|
397
|
+
zodError: baseError,
|
|
398
|
+
})
|
|
399
|
+
: null;
|
|
400
|
+
}
|
|
401
|
+
// Decorator for runtime validation to handle input that is unknown at compile time
|
|
402
|
+
function ValidateInput(schema) {
|
|
403
|
+
return function (target, propertyName, descriptor) {
|
|
404
|
+
const method = descriptor.value;
|
|
405
|
+
if (!method)
|
|
406
|
+
return;
|
|
407
|
+
descriptor.value = async function (...args) {
|
|
408
|
+
const [input] = args;
|
|
409
|
+
const validation = schema.safeParse(input);
|
|
410
|
+
if (!validation.success) {
|
|
411
|
+
const formattedErrors = formatErrors(validation.error);
|
|
412
|
+
if (formattedErrors) {
|
|
413
|
+
throw formattedErrors;
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
return method.apply(this, args);
|
|
417
|
+
};
|
|
418
|
+
};
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
class NftsController {
|
|
422
|
+
constructor(client, defaultChain = DEFAULT_CHAIN) {
|
|
423
|
+
this.client = client;
|
|
424
|
+
this.defaultChain = defaultChain;
|
|
425
|
+
}
|
|
426
|
+
async getByWallet(variables) {
|
|
427
|
+
const { address, ...allVariables } = variables;
|
|
428
|
+
if (isValidENSAddress(address)) {
|
|
429
|
+
return this.getByWalletENS({
|
|
430
|
+
ensName: address,
|
|
431
|
+
...allVariables,
|
|
432
|
+
});
|
|
433
|
+
}
|
|
434
|
+
return this.getByWalletAddress({
|
|
435
|
+
address,
|
|
436
|
+
...allVariables,
|
|
437
|
+
});
|
|
438
|
+
}
|
|
439
|
+
async getByWalletENS(variables) {
|
|
440
|
+
const { chain, ...queryVariables } = variables;
|
|
441
|
+
const userChain = chain || this.defaultChain;
|
|
442
|
+
const query = {
|
|
443
|
+
ethereum: CodegenEthMainnetWalletNFTsByEnsDocument,
|
|
444
|
+
polygon: CodegenPolygonMainnetWalletNFTsByEnsDocument,
|
|
445
|
+
ethereumSepolia: CodegenEthSepoliaWalletNFTsByEnsDocument,
|
|
446
|
+
};
|
|
447
|
+
const { data: { [userChain]: { walletByENS }, }, } = await this.client.query({
|
|
448
|
+
query: query[userChain],
|
|
449
|
+
variables: queryVariables,
|
|
450
|
+
});
|
|
451
|
+
if (!walletByENS?.walletNFTs?.length) {
|
|
452
|
+
// Address can still be valid ENS name, but not have any NFTs
|
|
453
|
+
const address = walletByENS?.address || '';
|
|
454
|
+
const ensName = walletByENS?.ensName || '';
|
|
455
|
+
return {
|
|
456
|
+
address: address,
|
|
457
|
+
ensName: ensName,
|
|
458
|
+
results: [],
|
|
459
|
+
pageInfo: emptyPageInfo,
|
|
460
|
+
};
|
|
461
|
+
}
|
|
462
|
+
const formattedResult = formatQueryResult(walletByENS, 'walletNFTs', 'walletNFTsPageInfo', 'nft');
|
|
463
|
+
return formattedResult;
|
|
464
|
+
}
|
|
465
|
+
async getByWalletAddress(variables) {
|
|
466
|
+
const { chain, ...queryVariables } = variables;
|
|
467
|
+
const userChain = chain || this.defaultChain;
|
|
468
|
+
const query = {
|
|
469
|
+
ethereum: CodegenEthMainnetWalletNFTsByAddressDocument,
|
|
470
|
+
polygon: CodegenPolygonMainnetWalletNFTsByAddressDocument,
|
|
471
|
+
ethereumSepolia: CodegenEthSepoliaWalletNFTsByAddressDocument,
|
|
472
|
+
};
|
|
473
|
+
const { data: { [userChain]: { walletByAddress }, }, } = await this.client.query({
|
|
474
|
+
query: query[userChain],
|
|
475
|
+
variables: queryVariables,
|
|
476
|
+
});
|
|
477
|
+
if (!walletByAddress?.walletNFTs?.length) {
|
|
478
|
+
const address = walletByAddress?.address || '';
|
|
479
|
+
const ensName = walletByAddress?.ensName || '';
|
|
480
|
+
return {
|
|
481
|
+
address: address,
|
|
482
|
+
ensName: ensName,
|
|
483
|
+
results: [],
|
|
484
|
+
pageInfo: emptyPageInfo,
|
|
485
|
+
};
|
|
486
|
+
}
|
|
487
|
+
const formattedResult = formatQueryResult(walletByAddress, 'walletNFTs', 'walletNFTsPageInfo', 'nft');
|
|
488
|
+
return formattedResult;
|
|
489
|
+
}
|
|
490
|
+
async getTrendingCollections(variables) {
|
|
491
|
+
const { chain, ...queryVariables } = variables;
|
|
492
|
+
const userChain = chain || this.defaultChain;
|
|
493
|
+
const query = {
|
|
494
|
+
ethereum: CodegenEthMainnetTrendingCollectionsDocument,
|
|
495
|
+
polygon: CodegenPolygonMainnetTrendingCollectionsDocument,
|
|
496
|
+
ethereumSepolia: CodegenEthSepoliaTrendingCollectionsDocument,
|
|
497
|
+
};
|
|
498
|
+
const { data: { [userChain]: trendingCollections }, } = await this.client.query({
|
|
499
|
+
query: query[userChain],
|
|
500
|
+
variables: queryVariables,
|
|
501
|
+
});
|
|
502
|
+
const formattedResult = formatQueryResult(trendingCollections, 'trendingCollections', 'trendingCollectionsPageInfo', 'collection');
|
|
503
|
+
return formattedResult;
|
|
504
|
+
}
|
|
505
|
+
async getByContractAddress(variables) {
|
|
506
|
+
const { chain, ...queryVariables } = variables;
|
|
507
|
+
const userChain = chain || this.defaultChain;
|
|
508
|
+
const query = {
|
|
509
|
+
ethereum: CodegenEthMainnetWalletNFTsByContractAddressDocument,
|
|
510
|
+
polygon: CodegenPolygonMainnetNFTsByContractAddressDocument,
|
|
511
|
+
ethereumSepolia: CodegenEthSepoliaWalletNFTsByContractAddressDocument,
|
|
512
|
+
};
|
|
513
|
+
const { data: { [userChain]: { collection }, }, } = await this.client.query({
|
|
514
|
+
query: query[userChain],
|
|
515
|
+
variables: queryVariables,
|
|
516
|
+
keepTypename: true,
|
|
517
|
+
});
|
|
518
|
+
if (!collection?.nfts?.length) {
|
|
519
|
+
return {
|
|
520
|
+
standard: null,
|
|
521
|
+
results: [],
|
|
522
|
+
pageInfo: emptyPageInfo,
|
|
523
|
+
};
|
|
524
|
+
}
|
|
525
|
+
const setErcStandard = (results) => {
|
|
526
|
+
const standardMap = {
|
|
527
|
+
ERC1155Collection: 'ERC1155',
|
|
528
|
+
ERC721Collection: 'ERC721',
|
|
529
|
+
};
|
|
530
|
+
// Remove address too since it was only used as a key field
|
|
531
|
+
const { __typename, address, ...newResults } = results;
|
|
532
|
+
return {
|
|
533
|
+
...newResults,
|
|
534
|
+
standard: standardMap[results['__typename']] || null,
|
|
535
|
+
};
|
|
536
|
+
};
|
|
537
|
+
const formattedResult = formatQueryResult(collection, 'nfts', 'nftsPageInfo', null, setErcStandard);
|
|
538
|
+
return formattedResult;
|
|
539
|
+
}
|
|
540
|
+
async getNFTDetails(variables) {
|
|
541
|
+
const { chain, ...queryVariables } = variables;
|
|
542
|
+
const userChain = chain || this.defaultChain;
|
|
543
|
+
const query = {
|
|
544
|
+
ethereum: CodegenEthMainnetNFTDetailsDocument,
|
|
545
|
+
polygon: CodegenPolygonMainnetNFTDetailsDocument,
|
|
546
|
+
ethereumSepolia: CodegenEthSepoliaNFTDetailsDocument,
|
|
547
|
+
};
|
|
548
|
+
const { data: { [userChain]: { nft }, }, } = await this.client.query({
|
|
549
|
+
query: query[userChain],
|
|
550
|
+
variables: queryVariables,
|
|
551
|
+
});
|
|
552
|
+
if (nft)
|
|
553
|
+
return { nft };
|
|
554
|
+
return { nft: null };
|
|
555
|
+
}
|
|
556
|
+
async getCollectionDetails(variables) {
|
|
557
|
+
const { chain, ...queryVariables } = variables;
|
|
558
|
+
const userChain = chain || this.defaultChain;
|
|
559
|
+
const query = {
|
|
560
|
+
ethereum: CodegenEthMainnetNftCollectionDetailsDocument,
|
|
561
|
+
polygon: CodegenPolygonMainnetNftCollectionDetailsDocument,
|
|
562
|
+
ethereumSepolia: CodegenEthSepoliaNftCollectionDetailsDocument,
|
|
563
|
+
};
|
|
564
|
+
const { data: { [userChain]: { collection }, }, } = await this.client.query({
|
|
565
|
+
query: query[userChain],
|
|
566
|
+
variables: queryVariables,
|
|
567
|
+
});
|
|
568
|
+
if (collection)
|
|
569
|
+
return { collection };
|
|
570
|
+
return { collection: null };
|
|
571
|
+
}
|
|
572
|
+
async verifyOwnership(variables) {
|
|
573
|
+
const { address, ...allVariables } = variables;
|
|
574
|
+
if (isValidENSAddress(address)) {
|
|
575
|
+
return this.verifyOwnershipByENS({
|
|
576
|
+
ensName: address,
|
|
577
|
+
...allVariables,
|
|
578
|
+
});
|
|
579
|
+
}
|
|
580
|
+
return this.verifyOwnershipByAddress({
|
|
581
|
+
address,
|
|
582
|
+
...allVariables,
|
|
583
|
+
});
|
|
584
|
+
}
|
|
585
|
+
async verifyOwnershipByAddress(variables) {
|
|
586
|
+
const { chain, address, nfts } = variables;
|
|
587
|
+
const userChain = chain || this.defaultChain;
|
|
588
|
+
const query = {
|
|
589
|
+
ethereum: CodegenEthMainnetVerifyOwnershipByAddressDocument,
|
|
590
|
+
polygon: CodegenPolygonMainnetVerifyOwnershipByAddressDocument,
|
|
591
|
+
ethereumSepolia: CodegenEthSepoliaVerifyOwnershipByAddressDocument,
|
|
592
|
+
};
|
|
593
|
+
const { data: { [userChain]: { walletByAddress }, }, } = await this.client.query({
|
|
594
|
+
query: query[userChain],
|
|
595
|
+
variables: { address, filter: { contractTokens: nfts } },
|
|
596
|
+
});
|
|
597
|
+
return !!walletByAddress?.walletNFTs?.length;
|
|
598
|
+
}
|
|
599
|
+
async verifyOwnershipByENS(variables) {
|
|
600
|
+
const { chain, ensName, nfts } = variables;
|
|
601
|
+
const userChain = chain || this.defaultChain;
|
|
602
|
+
const query = {
|
|
603
|
+
ethereum: CodegenEthMainnetVerifyOwnershipByENSDocument,
|
|
604
|
+
polygon: CodegenPolygonMainnetVerifyOwnershipByENSDocument,
|
|
605
|
+
ethereumSepolia: CodegenEthSepoliaVerifyOwnershipByENSDocument,
|
|
606
|
+
};
|
|
607
|
+
const { data: { [userChain]: { walletByENS }, }, } = await this.client.query({
|
|
608
|
+
query: query[userChain],
|
|
609
|
+
variables: { ensName, filter: { contractTokens: nfts } },
|
|
610
|
+
});
|
|
611
|
+
return !!walletByENS?.walletNFTs?.length;
|
|
612
|
+
}
|
|
613
|
+
}
|
|
614
|
+
tslib.__decorate([
|
|
615
|
+
ValidateInput(walletByAddressValidator),
|
|
616
|
+
tslib.__metadata("design:type", Function),
|
|
617
|
+
tslib.__metadata("design:paramtypes", [Object]),
|
|
618
|
+
tslib.__metadata("design:returntype", Promise)
|
|
619
|
+
], NftsController.prototype, "getByWallet", null);
|
|
620
|
+
tslib.__decorate([
|
|
621
|
+
ValidateInput(nftTrendingCollectionsValidator),
|
|
622
|
+
tslib.__metadata("design:type", Function),
|
|
623
|
+
tslib.__metadata("design:paramtypes", [Object]),
|
|
624
|
+
tslib.__metadata("design:returntype", Promise)
|
|
625
|
+
], NftsController.prototype, "getTrendingCollections", null);
|
|
626
|
+
tslib.__decorate([
|
|
627
|
+
ValidateInput(nftsByContractAddressValidator),
|
|
628
|
+
tslib.__metadata("design:type", Function),
|
|
629
|
+
tslib.__metadata("design:paramtypes", [Object]),
|
|
630
|
+
tslib.__metadata("design:returntype", Promise)
|
|
631
|
+
], NftsController.prototype, "getByContractAddress", null);
|
|
632
|
+
tslib.__decorate([
|
|
633
|
+
ValidateInput(nftDetailsValidator),
|
|
634
|
+
tslib.__metadata("design:type", Function),
|
|
635
|
+
tslib.__metadata("design:paramtypes", [Object]),
|
|
636
|
+
tslib.__metadata("design:returntype", Promise)
|
|
637
|
+
], NftsController.prototype, "getNFTDetails", null);
|
|
638
|
+
tslib.__decorate([
|
|
639
|
+
ValidateInput(nftCollectionDetailsValidator),
|
|
640
|
+
tslib.__metadata("design:type", Function),
|
|
641
|
+
tslib.__metadata("design:paramtypes", [Object]),
|
|
642
|
+
tslib.__metadata("design:returntype", Promise)
|
|
643
|
+
], NftsController.prototype, "getCollectionDetails", null);
|
|
644
|
+
tslib.__decorate([
|
|
645
|
+
ValidateInput(verifyOwnershipValidator),
|
|
646
|
+
tslib.__metadata("design:type", Function),
|
|
647
|
+
tslib.__metadata("design:paramtypes", [Object]),
|
|
648
|
+
tslib.__metadata("design:returntype", Promise)
|
|
649
|
+
], NftsController.prototype, "verifyOwnership", null);
|
|
650
|
+
|
|
651
|
+
const balancesByWalletAddressValidator = zod.z
|
|
652
|
+
.object({
|
|
653
|
+
address: zod.z.union([isENSAddress, isEvmAddress]),
|
|
654
|
+
})
|
|
655
|
+
.merge(paginationParams)
|
|
656
|
+
.merge(supportedChainInput)
|
|
657
|
+
.strict();
|
|
658
|
+
|
|
659
|
+
class TokensController {
|
|
660
|
+
constructor(client, defaultChain = DEFAULT_CHAIN) {
|
|
661
|
+
this.client = client;
|
|
662
|
+
this.defaultChain = defaultChain;
|
|
663
|
+
}
|
|
664
|
+
async getBalancesByWallet(variables) {
|
|
665
|
+
const { address, ...allVariables } = variables;
|
|
666
|
+
if (isValidENSAddress(address)) {
|
|
667
|
+
return this.getBalancesByWalletENS({
|
|
668
|
+
ensName: address,
|
|
669
|
+
...allVariables,
|
|
670
|
+
});
|
|
671
|
+
}
|
|
672
|
+
return this.getBalancesByWalletAddress({
|
|
673
|
+
address,
|
|
674
|
+
...allVariables,
|
|
675
|
+
});
|
|
676
|
+
}
|
|
677
|
+
async getBalancesByWalletENS(variables) {
|
|
678
|
+
const { chain, ...queryVariables } = variables;
|
|
679
|
+
const userChain = chain || this.defaultChain;
|
|
680
|
+
const query = {
|
|
681
|
+
ethereum: CodegenEthMainnetBalancesByWalletENSDocument,
|
|
682
|
+
polygon: CodegenPolygonMainnetBalancesByWalletENSDocument,
|
|
683
|
+
ethereumSepolia: CodegenEthSepoliaBalancesByWalletENSDocument,
|
|
684
|
+
};
|
|
685
|
+
const { data: { [userChain]: { walletByENS }, }, } = await this.client.query({
|
|
686
|
+
variables: queryVariables,
|
|
687
|
+
query: query[userChain],
|
|
688
|
+
});
|
|
689
|
+
if (!walletByENS?.tokenBalances?.length) {
|
|
690
|
+
// Address can still be valid ENS name, but not have any balances
|
|
691
|
+
const address = walletByENS?.address || '';
|
|
692
|
+
const ensName = walletByENS?.ensName || '';
|
|
693
|
+
return {
|
|
694
|
+
address: address,
|
|
695
|
+
ensName: ensName,
|
|
696
|
+
results: [],
|
|
697
|
+
pageInfo: emptyPageInfo,
|
|
698
|
+
};
|
|
699
|
+
}
|
|
700
|
+
const formattedResult = formatQueryResult(walletByENS, 'tokenBalances', 'tokenBalancesPageInfo', null, this.flattenBalanceResponses // Remove the "contract" key and move info to balance result body
|
|
701
|
+
);
|
|
702
|
+
return formattedResult;
|
|
703
|
+
}
|
|
704
|
+
async getBalancesByWalletAddress(variables) {
|
|
705
|
+
const { chain, ...queryVariables } = variables;
|
|
706
|
+
const userChain = chain || this.defaultChain;
|
|
707
|
+
const query = {
|
|
708
|
+
ethereum: CodegenEthMainnetBalancesByWalletAddressDocument,
|
|
709
|
+
polygon: CodegenPolygonMainnetBalancesByWalletAddressDocument,
|
|
710
|
+
ethereumSepolia: CodegenEthSepoliaBalancesByWalletAddressDocument,
|
|
711
|
+
};
|
|
712
|
+
const { data: { [userChain]: { walletByAddress }, }, } = await this.client.query({
|
|
713
|
+
variables: queryVariables,
|
|
714
|
+
query: query[userChain],
|
|
715
|
+
});
|
|
716
|
+
if (!walletByAddress?.tokenBalances?.length) {
|
|
717
|
+
// Address can still be valid address, but not have any balances
|
|
718
|
+
const address = walletByAddress?.address || '';
|
|
719
|
+
const ensName = walletByAddress?.ensName || '';
|
|
720
|
+
return {
|
|
721
|
+
address: address,
|
|
722
|
+
ensName: ensName,
|
|
723
|
+
results: [],
|
|
724
|
+
pageInfo: emptyPageInfo,
|
|
725
|
+
};
|
|
726
|
+
}
|
|
727
|
+
const formattedResult = formatQueryResult(walletByAddress, 'tokenBalances', 'tokenBalancesPageInfo', null, this.flattenBalanceResponses // Remove the "contract" key and move info to balance result body
|
|
728
|
+
);
|
|
729
|
+
return formattedResult;
|
|
730
|
+
}
|
|
731
|
+
flattenBalanceResponses(response) {
|
|
732
|
+
const modifiedResults = response.results.map((result) => {
|
|
733
|
+
const { contract: { ...contractInfo }, ...balanceInfo } = result;
|
|
734
|
+
return { ...balanceInfo, ...contractInfo };
|
|
735
|
+
});
|
|
736
|
+
response.results = modifiedResults;
|
|
737
|
+
return response;
|
|
738
|
+
}
|
|
739
|
+
}
|
|
740
|
+
tslib.__decorate([
|
|
741
|
+
ValidateInput(balancesByWalletAddressValidator),
|
|
742
|
+
tslib.__metadata("design:type", Function),
|
|
743
|
+
tslib.__metadata("design:paramtypes", [Object]),
|
|
744
|
+
tslib.__metadata("design:returntype", Promise)
|
|
745
|
+
], TokensController.prototype, "getBalancesByWallet", null);
|
|
746
|
+
|
|
747
|
+
const gasPricesValidator = zod.z
|
|
748
|
+
.object({
|
|
749
|
+
returnInGwei: zod.z.boolean().nullish(),
|
|
750
|
+
filter: gasPriceFilters.nullish(),
|
|
751
|
+
})
|
|
752
|
+
.merge(supportedChainInput)
|
|
753
|
+
.strict();
|
|
754
|
+
|
|
755
|
+
class UtilsController {
|
|
756
|
+
constructor(client, defaultChain = DEFAULT_CHAIN) {
|
|
757
|
+
this.client = client;
|
|
758
|
+
this.defaultChain = defaultChain;
|
|
759
|
+
}
|
|
760
|
+
async getGasPrices(variables) {
|
|
761
|
+
const { chain, ...queryVariables } = variables;
|
|
762
|
+
const returnInGwei = variables.returnInGwei || false;
|
|
763
|
+
const userChain = chain || this.defaultChain;
|
|
764
|
+
const query = {
|
|
765
|
+
ethereum: CodegenEthMainnetGasPricesDocument,
|
|
766
|
+
polygon: CodegenPolygonMainnetGasPricesDocument,
|
|
767
|
+
ethereumSepolia: CodegenEthSepoliaGasPricesDocument,
|
|
768
|
+
};
|
|
769
|
+
const { data: { [userChain]: { gasPrices }, }, } = await this.client.query({
|
|
770
|
+
query: query[userChain],
|
|
771
|
+
variables: queryVariables,
|
|
772
|
+
});
|
|
773
|
+
if (Array.isArray(gasPrices) && gasPrices.length > 0) {
|
|
774
|
+
if (returnInGwei) {
|
|
775
|
+
const fieldsToTransform = [
|
|
776
|
+
'total',
|
|
777
|
+
'average',
|
|
778
|
+
'ceiling',
|
|
779
|
+
'floor',
|
|
780
|
+
'median',
|
|
781
|
+
];
|
|
782
|
+
const modifiedGasPrices = gasPrices.map((gasPrice) => {
|
|
783
|
+
fieldsToTransform.map((field) => {
|
|
784
|
+
gasPrice[field] = weiToGwei(gasPrice[field]);
|
|
785
|
+
});
|
|
786
|
+
return gasPrice;
|
|
787
|
+
});
|
|
788
|
+
return { gasPrices: modifiedGasPrices };
|
|
789
|
+
}
|
|
790
|
+
return { gasPrices };
|
|
791
|
+
}
|
|
792
|
+
return { gasPrices: [] };
|
|
793
|
+
}
|
|
794
|
+
}
|
|
795
|
+
tslib.__decorate([
|
|
796
|
+
ValidateInput(gasPricesValidator),
|
|
797
|
+
tslib.__metadata("design:type", Function),
|
|
798
|
+
tslib.__metadata("design:paramtypes", [Object]),
|
|
799
|
+
tslib.__metadata("design:returntype", Promise)
|
|
800
|
+
], UtilsController.prototype, "getGasPrices", null);
|
|
801
|
+
|
|
802
|
+
// Using zod for runtime validation
|
|
803
|
+
const contractDetailsValidator = zod.z
|
|
804
|
+
.object({
|
|
805
|
+
contractAddress: isEvmAddress,
|
|
806
|
+
})
|
|
807
|
+
.merge(supportedChainInput)
|
|
808
|
+
.strict();
|
|
809
|
+
|
|
810
|
+
class ContractsController {
|
|
811
|
+
constructor(client, defaultChain = DEFAULT_CHAIN) {
|
|
812
|
+
this.client = client;
|
|
813
|
+
this.defaultChain = defaultChain;
|
|
814
|
+
}
|
|
815
|
+
async getDetails(variables) {
|
|
816
|
+
const { chain, ...queryVariables } = variables;
|
|
817
|
+
const userChain = chain || this.defaultChain;
|
|
818
|
+
const query = {
|
|
819
|
+
ethereum: CodegenEthMainnetContractDetailsDocument,
|
|
820
|
+
polygon: CodegenPolygonMainnetContractDetailsDocument,
|
|
821
|
+
ethereumSepolia: CodegenEthSepoliaContractDetailsDocument,
|
|
822
|
+
};
|
|
823
|
+
const { data: { [userChain]: { contract }, }, } = await this.client.query({
|
|
824
|
+
variables: queryVariables,
|
|
825
|
+
query: query[userChain],
|
|
826
|
+
});
|
|
827
|
+
if (contract)
|
|
828
|
+
return { contract };
|
|
829
|
+
return { contract: null };
|
|
830
|
+
}
|
|
831
|
+
}
|
|
832
|
+
tslib.__decorate([
|
|
833
|
+
ValidateInput(contractDetailsValidator),
|
|
834
|
+
tslib.__metadata("design:type", Function),
|
|
835
|
+
tslib.__metadata("design:paramtypes", [Object]),
|
|
836
|
+
tslib.__metadata("design:returntype", Promise)
|
|
837
|
+
], ContractsController.prototype, "getDetails", null);
|
|
838
|
+
|
|
839
|
+
const contractEventsValidator = zod.z
|
|
840
|
+
.object({
|
|
841
|
+
contractAddress: isEvmAddress,
|
|
842
|
+
})
|
|
843
|
+
.merge(baseEventsInput)
|
|
844
|
+
.merge(supportedChainInput)
|
|
845
|
+
.strict();
|
|
846
|
+
|
|
847
|
+
const collectionEventsValidator = zod.z
|
|
848
|
+
.object({
|
|
849
|
+
contractAddress: isEvmAddress,
|
|
850
|
+
})
|
|
851
|
+
.merge(baseEventsInput)
|
|
852
|
+
.merge(supportedChainInput)
|
|
853
|
+
.strict();
|
|
854
|
+
|
|
855
|
+
const nftEventsValidator = zod.z
|
|
856
|
+
.object({
|
|
857
|
+
contractAddress: isEvmAddress,
|
|
858
|
+
tokenId: zod.z.string(),
|
|
859
|
+
})
|
|
860
|
+
.merge(baseEventsInput)
|
|
861
|
+
.merge(supportedChainInput)
|
|
862
|
+
.strict();
|
|
863
|
+
|
|
864
|
+
const allEventsValidator = baseEventsInput
|
|
865
|
+
.merge(supportedChainInput)
|
|
866
|
+
.strict();
|
|
867
|
+
|
|
868
|
+
class EventsController {
|
|
869
|
+
constructor(client, defaultChain = DEFAULT_CHAIN) {
|
|
870
|
+
this.client = client;
|
|
871
|
+
this.defaultChain = defaultChain;
|
|
872
|
+
}
|
|
873
|
+
async getByContract(variables) {
|
|
874
|
+
const { chain, ...queryVariables } = variables;
|
|
875
|
+
const userChain = chain || this.defaultChain;
|
|
876
|
+
const query = {
|
|
877
|
+
ethereum: CodegenEthereumMainnetEventsByContractDocument,
|
|
878
|
+
polygon: CodegenPolygonMainnetEventsByContractDocument,
|
|
879
|
+
ethereumSepolia: CodegenEthereumSepoliaEventsByContractDocument,
|
|
880
|
+
};
|
|
881
|
+
const { data: { [userChain]: { contract }, }, } = await this.client.query({
|
|
882
|
+
query: query[userChain],
|
|
883
|
+
variables: queryVariables,
|
|
884
|
+
});
|
|
885
|
+
if (!contract?.tokenEvents?.length) {
|
|
886
|
+
return {
|
|
887
|
+
results: [],
|
|
888
|
+
pageInfo: emptyPageInfo,
|
|
889
|
+
};
|
|
890
|
+
}
|
|
891
|
+
const formattedResult = formatQueryResult(contract, 'tokenEvents', 'tokenEventsPageInfo');
|
|
892
|
+
return formattedResult;
|
|
893
|
+
}
|
|
894
|
+
async getByNFTCollection(variables) {
|
|
895
|
+
const { chain, ...queryVariables } = variables;
|
|
896
|
+
const userChain = chain || this.defaultChain;
|
|
897
|
+
const query = {
|
|
898
|
+
ethereum: CodegenEthMainnetEventsByCollectionDocument,
|
|
899
|
+
polygon: CodegenPolygonMainnetEventsByCollectionDocument,
|
|
900
|
+
ethereumSepolia: CodegenEthSepoliaEventsByCollectionDocument,
|
|
901
|
+
};
|
|
902
|
+
const { data: { [userChain]: { collection }, }, } = await this.client.query({
|
|
903
|
+
query: query[userChain],
|
|
904
|
+
variables: queryVariables,
|
|
905
|
+
});
|
|
906
|
+
if (!collection?.tokenEvents?.length)
|
|
907
|
+
return { results: [], pageInfo: emptyPageInfo };
|
|
908
|
+
function removeKeyFields(results) {
|
|
909
|
+
const { address, ...newResults } = results;
|
|
910
|
+
return newResults;
|
|
911
|
+
}
|
|
912
|
+
const formattedResult = formatQueryResult(collection, 'tokenEvents', 'tokenEventsPageInfo', null, removeKeyFields);
|
|
913
|
+
return formattedResult;
|
|
914
|
+
}
|
|
915
|
+
async getByNFT(variables) {
|
|
916
|
+
const { chain, ...queryVariables } = variables;
|
|
917
|
+
const userChain = chain || this.defaultChain;
|
|
918
|
+
const query = {
|
|
919
|
+
ethereum: CodegenEthereumMainnetEventsByNftDocument,
|
|
920
|
+
polygon: CodegenPolygonMainnetEventsByNftDocument,
|
|
921
|
+
ethereumSepolia: CodegenEthSepoliaEventsByNftDocument,
|
|
922
|
+
};
|
|
923
|
+
const { data: { [userChain]: { nft }, }, } = await this.client.query({
|
|
924
|
+
query: query[userChain],
|
|
925
|
+
variables: queryVariables,
|
|
926
|
+
});
|
|
927
|
+
if (!nft?.tokenEvents?.length)
|
|
928
|
+
return { results: [], pageInfo: emptyPageInfo };
|
|
929
|
+
function removeKeyFields(results) {
|
|
930
|
+
const { contractAddress, tokenId, ...newResults } = results;
|
|
931
|
+
return newResults;
|
|
932
|
+
}
|
|
933
|
+
const formattedResult = formatQueryResult(nft, 'tokenEvents', 'tokenEventsPageInfo', null, removeKeyFields);
|
|
934
|
+
return formattedResult;
|
|
935
|
+
}
|
|
936
|
+
async getAll(variables) {
|
|
937
|
+
const { chain, ...queryVariables } = variables;
|
|
938
|
+
const userChain = chain || this.defaultChain;
|
|
939
|
+
const query = {
|
|
940
|
+
ethereum: CodegenEthereumMainnetEventsGetAllDocument,
|
|
941
|
+
polygon: CodegenPolygonMainnetEventsGetAllDocument,
|
|
942
|
+
ethereumSepolia: CodegenEthereumSepoliaEventsGetAllDocument,
|
|
943
|
+
};
|
|
944
|
+
const { data: { [userChain]: tokenEvents }, } = await this.client.query({
|
|
945
|
+
query: query[userChain],
|
|
946
|
+
variables: queryVariables,
|
|
947
|
+
});
|
|
948
|
+
const formattedResult = formatQueryResult(tokenEvents, 'tokenEvents', 'tokenEventsPageInfo');
|
|
949
|
+
return formattedResult;
|
|
950
|
+
}
|
|
951
|
+
}
|
|
952
|
+
tslib.__decorate([
|
|
953
|
+
ValidateInput(contractEventsValidator),
|
|
954
|
+
tslib.__metadata("design:type", Function),
|
|
955
|
+
tslib.__metadata("design:paramtypes", [Object]),
|
|
956
|
+
tslib.__metadata("design:returntype", Promise)
|
|
957
|
+
], EventsController.prototype, "getByContract", null);
|
|
958
|
+
tslib.__decorate([
|
|
959
|
+
ValidateInput(collectionEventsValidator),
|
|
960
|
+
tslib.__metadata("design:type", Function),
|
|
961
|
+
tslib.__metadata("design:paramtypes", [Object]),
|
|
962
|
+
tslib.__metadata("design:returntype", Promise)
|
|
963
|
+
], EventsController.prototype, "getByNFTCollection", null);
|
|
964
|
+
tslib.__decorate([
|
|
965
|
+
ValidateInput(nftEventsValidator),
|
|
966
|
+
tslib.__metadata("design:type", Function),
|
|
967
|
+
tslib.__metadata("design:paramtypes", [Object]),
|
|
968
|
+
tslib.__metadata("design:returntype", Promise)
|
|
969
|
+
], EventsController.prototype, "getByNFT", null);
|
|
970
|
+
tslib.__decorate([
|
|
971
|
+
ValidateInput(allEventsValidator),
|
|
972
|
+
tslib.__metadata("design:type", Function),
|
|
973
|
+
tslib.__metadata("design:paramtypes", [Object]),
|
|
974
|
+
tslib.__metadata("design:returntype", Promise)
|
|
975
|
+
], EventsController.prototype, "getAll", null);
|
|
976
|
+
|
|
977
|
+
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};
|
|
978
|
+
|
|
979
|
+
const transactionsBySearchValidator = baseTransactionsInput
|
|
980
|
+
.merge(supportedChainInput)
|
|
981
|
+
.strict();
|
|
982
|
+
|
|
983
|
+
const transactionsByHashValidator = zod.z
|
|
984
|
+
.object({
|
|
985
|
+
hash: isEvmTransactionHash,
|
|
986
|
+
})
|
|
987
|
+
.merge(supportedChainInput)
|
|
988
|
+
.strict();
|
|
989
|
+
|
|
990
|
+
class TransactionsController {
|
|
991
|
+
constructor(client, defaultChain = DEFAULT_CHAIN) {
|
|
992
|
+
this.client = client;
|
|
993
|
+
this.defaultChain = defaultChain;
|
|
994
|
+
}
|
|
995
|
+
async getByWallet(variables) {
|
|
996
|
+
const { address, ...allVariables } = variables;
|
|
997
|
+
let queryResult;
|
|
998
|
+
if (isValidENSAddress(address)) {
|
|
999
|
+
queryResult = await this.getByWalletENS({
|
|
1000
|
+
ensName: address,
|
|
1001
|
+
...allVariables,
|
|
1002
|
+
});
|
|
1003
|
+
}
|
|
1004
|
+
else {
|
|
1005
|
+
queryResult = await this.getByWalletAddress({
|
|
1006
|
+
address,
|
|
1007
|
+
...allVariables,
|
|
1008
|
+
});
|
|
1009
|
+
}
|
|
1010
|
+
if (!queryResult?.transactions?.length) {
|
|
1011
|
+
// Address can still be valid address, but not have any transactions
|
|
1012
|
+
const address = queryResult?.address || '';
|
|
1013
|
+
const ensName = queryResult?.ensName || '';
|
|
1014
|
+
return {
|
|
1015
|
+
address: address,
|
|
1016
|
+
ensName: ensName,
|
|
1017
|
+
results: [],
|
|
1018
|
+
pageInfo: emptyPageInfo,
|
|
1019
|
+
};
|
|
1020
|
+
}
|
|
1021
|
+
const formattedResult = formatQueryResult(queryResult, 'transactions', 'transactionsPageInfo');
|
|
1022
|
+
return formattedResult;
|
|
1023
|
+
}
|
|
1024
|
+
async getByWalletAddress(variables) {
|
|
1025
|
+
const { chain, ...queryVariables } = variables;
|
|
1026
|
+
const userChain = chain || this.defaultChain;
|
|
1027
|
+
const query = {
|
|
1028
|
+
ethereum: CodegenEthMainnetTransactionsByWalletAddressDocument,
|
|
1029
|
+
polygon: CodegenPolygonMainnetTransactionsByWalletAddressDocument,
|
|
1030
|
+
ethereumSepolia: CodegenEthSepoliaTransactionsByWalletAddressDocument,
|
|
1031
|
+
};
|
|
1032
|
+
const { data: { [userChain]: { walletByAddress }, }, } = await this.client.query({
|
|
1033
|
+
variables: queryVariables,
|
|
1034
|
+
query: query[userChain],
|
|
1035
|
+
});
|
|
1036
|
+
return walletByAddress;
|
|
1037
|
+
}
|
|
1038
|
+
async getByWalletENS(variables) {
|
|
1039
|
+
const { chain, ...queryVariables } = variables;
|
|
1040
|
+
const userChain = chain || this.defaultChain;
|
|
1041
|
+
const query = {
|
|
1042
|
+
ethereum: CodegenEthMainnetTransactionsByWalletENSDocument,
|
|
1043
|
+
polygon: CodegenPolygonMainnetTransactionsByWalletENSDocument,
|
|
1044
|
+
ethereumSepolia: CodegenEthSepoliaTransactionsByWalletENSDocument,
|
|
1045
|
+
};
|
|
1046
|
+
const { data: { [userChain]: { walletByENS }, }, } = await this.client.query({
|
|
1047
|
+
variables: queryVariables,
|
|
1048
|
+
query: query[userChain],
|
|
1049
|
+
});
|
|
1050
|
+
return walletByENS;
|
|
1051
|
+
}
|
|
1052
|
+
async getAll(variables) {
|
|
1053
|
+
const { chain, ...queryVariables } = variables;
|
|
1054
|
+
const userChain = chain || this.defaultChain;
|
|
1055
|
+
const query = {
|
|
1056
|
+
ethereum: CodegenEthMainnetTransactionsBySearchDocument,
|
|
1057
|
+
polygon: CodegenPolygonMainnetTransactionsBySearchDocument,
|
|
1058
|
+
ethereumSepolia: CodegenEthSepoliaTransactionsBySearchDocument,
|
|
1059
|
+
};
|
|
1060
|
+
const { data: { [userChain]: transactions }, } = await this.client.query({
|
|
1061
|
+
variables: queryVariables,
|
|
1062
|
+
query: query[userChain],
|
|
1063
|
+
});
|
|
1064
|
+
const formattedResult = formatQueryResult(transactions, 'transactions', 'transactionsPageInfo');
|
|
1065
|
+
return formattedResult;
|
|
1066
|
+
}
|
|
1067
|
+
async getByHash(variables) {
|
|
1068
|
+
const { chain, ...queryVariables } = variables;
|
|
1069
|
+
const userChain = chain || this.defaultChain;
|
|
1070
|
+
const query = {
|
|
1071
|
+
ethereum: CodegenEthMainnetTransactionsByHashDocument,
|
|
1072
|
+
polygon: CodegenPolygonMainnetTransactionsByHashDocument,
|
|
1073
|
+
ethereumSepolia: CodegenEthSepoliaTransactionsByHashDocument,
|
|
1074
|
+
};
|
|
1075
|
+
const { data: { [userChain]: transaction }, } = await this.client.query({
|
|
1076
|
+
variables: queryVariables,
|
|
1077
|
+
query: query[userChain],
|
|
1078
|
+
});
|
|
1079
|
+
if (transaction?.transaction)
|
|
1080
|
+
return transaction;
|
|
1081
|
+
return { transaction: null };
|
|
1082
|
+
}
|
|
1083
|
+
}
|
|
1084
|
+
tslib.__decorate([
|
|
1085
|
+
ValidateInput(balancesByWalletAddressValidator),
|
|
1086
|
+
tslib.__metadata("design:type", Function),
|
|
1087
|
+
tslib.__metadata("design:paramtypes", [Object]),
|
|
1088
|
+
tslib.__metadata("design:returntype", Promise)
|
|
1089
|
+
], TransactionsController.prototype, "getByWallet", null);
|
|
1090
|
+
tslib.__decorate([
|
|
1091
|
+
ValidateInput(transactionsBySearchValidator),
|
|
1092
|
+
tslib.__metadata("design:type", Function),
|
|
1093
|
+
tslib.__metadata("design:paramtypes", [Object]),
|
|
1094
|
+
tslib.__metadata("design:returntype", Promise)
|
|
1095
|
+
], TransactionsController.prototype, "getAll", null);
|
|
1096
|
+
tslib.__decorate([
|
|
1097
|
+
ValidateInput(transactionsByHashValidator),
|
|
1098
|
+
tslib.__metadata("design:type", Function),
|
|
1099
|
+
tslib.__metadata("design:paramtypes", [Object]),
|
|
1100
|
+
tslib.__metadata("design:returntype", Promise)
|
|
1101
|
+
], TransactionsController.prototype, "getByHash", null);
|
|
1102
|
+
|
|
1103
|
+
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-beta.1";var main="./cjs/index.js";var module$1="./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$1={".":{"import":"./esm/index.js",require:"./cjs/index.js"}};var packageJson = {name:name,repository:repository,license:license,version:version,main:main,module:module$1,types:types,dependencies:dependencies,devDependencies:devDependencies,scripts:scripts,exports:exports$1};
|
|
1104
|
+
|
|
1105
|
+
class API {
|
|
1106
|
+
constructor({ graphApiKey, additionalHeaders, defaultChain, } = {}) {
|
|
1107
|
+
if (!graphApiKey) {
|
|
1108
|
+
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/');
|
|
1109
|
+
}
|
|
1110
|
+
this.graphApiKey = graphApiKey;
|
|
1111
|
+
this.additionalHeaders = additionalHeaders;
|
|
1112
|
+
this.urqlClient = this.createUrqlClient();
|
|
1113
|
+
this.customUrqlClient = new CustomUrqlClient(this.urqlClient);
|
|
1114
|
+
this.defaultChain = defaultChain || DEFAULT_CHAIN;
|
|
1115
|
+
this.nfts = new NftsController(this.customUrqlClient, this.defaultChain);
|
|
1116
|
+
this.tokens = new TokensController(this.customUrqlClient, this.defaultChain);
|
|
1117
|
+
this.utils = new UtilsController(this.customUrqlClient, this.defaultChain);
|
|
1118
|
+
this.contracts = new ContractsController(this.customUrqlClient, this.defaultChain);
|
|
1119
|
+
this.transactions = new TransactionsController(this.customUrqlClient, this.defaultChain);
|
|
1120
|
+
this.events = new EventsController(this.customUrqlClient, this.defaultChain);
|
|
1121
|
+
// Re-export the Urql client configured to use the Graph API for use with custom queries
|
|
1122
|
+
this.graphApiClient = this.urqlClient;
|
|
1123
|
+
}
|
|
1124
|
+
createUrqlClient() {
|
|
1125
|
+
const headers = { ...this.additionalHeaders };
|
|
1126
|
+
if (this.graphApiKey)
|
|
1127
|
+
headers['x-api-key'] = this.graphApiKey;
|
|
1128
|
+
headers['x-quicknode-sdk'] = 'js-sdk';
|
|
1129
|
+
headers['x-quicknode-sdk-version'] = packageJson?.version || 'n/a';
|
|
1130
|
+
const useNftKey = (data) => `${data['contractAddress']}:${data['tokenId']}`;
|
|
1131
|
+
const useAddressAsKey = (data) => `${data['address']}`;
|
|
1132
|
+
const useTransactionHashAndIndex = (data) => `${data['transactionHash']}:${data['transferIndex']}`;
|
|
1133
|
+
const urqlCache = exchangeGraphcache.cacheExchange({
|
|
1134
|
+
schema,
|
|
1135
|
+
keys: {
|
|
1136
|
+
EVMSchemaType: () => null,
|
|
1137
|
+
Collection: useAddressAsKey,
|
|
1138
|
+
CollectionOHLCVChart: () => null,
|
|
1139
|
+
Contract: useAddressAsKey,
|
|
1140
|
+
ERC721NFT: useNftKey,
|
|
1141
|
+
ERC721Collection: useAddressAsKey,
|
|
1142
|
+
ERC1155NFT: useNftKey,
|
|
1143
|
+
ERC1155Collection: useAddressAsKey,
|
|
1144
|
+
GasPrice: () => null,
|
|
1145
|
+
NFT: useNftKey,
|
|
1146
|
+
NFTContract: useAddressAsKey,
|
|
1147
|
+
TokenAttribute: () => null,
|
|
1148
|
+
TokenContract: useAddressAsKey,
|
|
1149
|
+
TokenEvent: useTransactionHashAndIndex,
|
|
1150
|
+
TokenMintEvent: useTransactionHashAndIndex,
|
|
1151
|
+
TokenBurnEvent: useTransactionHashAndIndex,
|
|
1152
|
+
TokenSaleEvent: useTransactionHashAndIndex,
|
|
1153
|
+
TokenSwapEvent: useTransactionHashAndIndex,
|
|
1154
|
+
TokenTransferEvent: useTransactionHashAndIndex,
|
|
1155
|
+
TokenUpload: () => null,
|
|
1156
|
+
OpenSeaMetadata: () => null,
|
|
1157
|
+
Transaction: (data) => `${data['hash']}`,
|
|
1158
|
+
TrendingCollection: () => null,
|
|
1159
|
+
Wallet: (data) => `${data['address']}`,
|
|
1160
|
+
WalletNFT: () => null,
|
|
1161
|
+
WalletTokenBalance: () => null,
|
|
1162
|
+
},
|
|
1163
|
+
});
|
|
1164
|
+
const client = new core.Client({
|
|
1165
|
+
fetch: fetch__default["default"],
|
|
1166
|
+
url: process.env['NX_GRAPHQL_API_URI'] ||
|
|
1167
|
+
'https://api.quicknode.com/graphql',
|
|
1168
|
+
exchanges: [urqlCache, core.fetchExchange],
|
|
1169
|
+
fetchOptions: () => ({ headers }),
|
|
1170
|
+
});
|
|
1171
|
+
return client;
|
|
1172
|
+
}
|
|
1173
|
+
}
|
|
1174
|
+
|
|
1175
|
+
const QuickNode = {
|
|
1176
|
+
API: API,
|
|
1177
|
+
};
|
|
1178
|
+
|
|
1179
|
+
Object.defineProperty(exports, 'gql', {
|
|
1180
|
+
enumerable: true,
|
|
1181
|
+
get: function () { return core.gql; }
|
|
1182
|
+
});
|
|
1183
|
+
exports.API = API;
|
|
1184
|
+
exports.QNInputValidationError = QNInputValidationError;
|
|
1185
|
+
exports["default"] = QuickNode;
|