@codex-data/sdk 1.0.10 → 1.0.12
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/dist/resources/graphql.d.ts +179 -683
- package/dist/resources/graphql.d.ts.map +1 -1
- package/dist/resources/graphql.js +67 -79
- package/dist/resources/graphql.js.map +1 -1
- package/dist/sdk/Mutation.d.ts +1 -1
- package/dist/sdk/Mutation.d.ts.map +1 -1
- package/dist/sdk/Mutation.js +1 -1
- package/dist/sdk/Mutation.js.map +1 -1
- package/dist/sdk/Query.d.ts +56 -51
- package/dist/sdk/Query.d.ts.map +1 -1
- package/dist/sdk/Query.js +55 -50
- package/dist/sdk/Query.js.map +1 -1
- package/dist/sdk/Subscribe.d.ts +19 -20
- package/dist/sdk/Subscribe.d.ts.map +1 -1
- package/dist/sdk/Subscribe.js +91 -98
- package/dist/sdk/Subscribe.js.map +1 -1
- package/dist/sdk/generated/gql.d.ts +135 -101
- package/dist/sdk/generated/gql.d.ts.map +1 -1
- package/dist/sdk/generated/gql.js +44 -40
- package/dist/sdk/generated/gql.js.map +1 -1
- package/dist/sdk/generated/graphql.d.ts +1614 -1105
- package/dist/sdk/generated/graphql.d.ts.map +1 -1
- package/dist/sdk/generated/graphql.js +113 -121
- package/dist/sdk/generated/graphql.js.map +1 -1
- package/package.json +2 -2
- package/src/resources/generated_queries/Balances.graphql +15 -0
- package/src/resources/generated_queries/DetailedWalletStats.graphql +4 -0
- package/src/resources/generated_queries/FilterNetworkWallets.graphql +57 -0
- package/src/resources/generated_queries/FilterNftPoolCollections.graphql +8 -0
- package/src/resources/generated_queries/FilterNftPools.graphql +7 -0
- package/src/resources/generated_queries/FilterPairs.graphql +60 -0
- package/src/resources/generated_queries/FilterTokenWallets.graphql +16 -0
- package/src/resources/generated_queries/FilterTokens.graphql +47 -0
- package/src/resources/generated_queries/FilterWallets.graphql +1 -0
- package/src/resources/generated_queries/GetBars.graphql +31 -0
- package/src/resources/generated_queries/GetCommunityNotes.graphql +16 -0
- package/src/resources/generated_queries/GetDetailedPairStats.graphql +30 -0
- package/src/resources/generated_queries/GetDetailedPairsStats.graphql +30 -0
- package/src/resources/generated_queries/GetDetailedStats.graphql +338 -0
- package/src/resources/generated_queries/GetLatestPairs.graphql +57 -0
- package/src/resources/generated_queries/GetLatestTokens.graphql +39 -0
- package/src/resources/generated_queries/GetNftEvents.graphql +9 -0
- package/src/resources/generated_queries/GetNftPool.graphql +2 -0
- package/src/resources/generated_queries/GetNftPoolCollection.graphql +8 -0
- package/src/resources/generated_queries/GetNftPoolCollectionsByExchange.graphql +8 -0
- package/src/resources/generated_queries/GetNftPoolEvents.graphql +2 -0
- package/src/resources/generated_queries/GetNftPoolsByCollectionAndExchange.graphql +2 -0
- package/src/resources/generated_queries/GetNftPoolsByOwner.graphql +2 -0
- package/src/resources/generated_queries/Holders.graphql +15 -0
- package/src/resources/generated_queries/LiquidityLocks.graphql +1 -0
- package/src/resources/generated_queries/ListPairsForToken.graphql +30 -0
- package/src/resources/generated_queries/ListPairsWithMetadataForToken.graphql +60 -0
- package/src/resources/generated_queries/ListTopTokens.graphql +55 -0
- package/src/resources/generated_queries/PairMetadata.graphql +30 -0
- package/src/resources/generated_queries/PrimeHolders.graphql +15 -0
- package/src/resources/generated_queries/SearchTokens.graphql +67 -0
- package/src/resources/generated_queries/Token.graphql +15 -0
- package/src/resources/generated_queries/Tokens.graphql +15 -0
- package/src/resources/generated_queries/WalletChart.graphql +1 -0
- package/src/resources/generated_subscriptions/OnBalanceUpdated.graphql +15 -0
- package/src/resources/generated_subscriptions/OnBarsUpdated.graphql +2 -10
- package/src/resources/generated_subscriptions/OnDetailedStatsUpdated.graphql +1 -6
- package/src/resources/generated_subscriptions/OnEventsCreated.graphql +0 -2
- package/src/resources/generated_subscriptions/OnHoldersUpdated.graphql +15 -0
- package/src/resources/generated_subscriptions/OnLaunchpadTokenEvent.graphql +15 -0
- package/src/resources/generated_subscriptions/OnNftEventsCreated.graphql +9 -0
- package/src/resources/generated_subscriptions/OnNftPoolEventsCreated.graphql +2 -0
- package/src/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +32 -10
- package/src/resources/generated_subscriptions/OnTokenBarsUpdated.graphql +2 -10
- package/src/resources/graphql.schema.json +522 -5208
- package/src/resources/graphql.ts +185 -745
- package/src/resources/schema.graphql +6755 -11061
- package/src/sdk/Mutation.ts +2 -2
- package/src/sdk/Query.ts +126 -107
- package/src/sdk/Subscribe.ts +149 -164
- package/src/sdk/generated/gql.ts +106 -86
- package/src/sdk/generated/graphql.ts +322 -844
- package/src/resources/generated_queries/GetSimulateTokenContractResults.graphql +0 -128
- package/src/resources/generated_subscriptions/OnSimulateTokenContract.graphql +0 -121
|
@@ -116,10 +116,7 @@ export type AddTokenLifecycleEventsOutput = {
|
|
|
116
116
|
events: Array<TokenLifecycleEvent>;
|
|
117
117
|
id: Scalars['String']['output'];
|
|
118
118
|
};
|
|
119
|
-
|
|
120
|
-
__typename?: 'AddTrackedWalletEventsOutput';
|
|
121
|
-
userId: Scalars['String']['output'];
|
|
122
|
-
};
|
|
119
|
+
/** Response returned by `onUnconfirmedEventsCreatedByMaker`. */
|
|
123
120
|
export type AddUnconfirmedEventsByMakerOutput = {
|
|
124
121
|
__typename?: 'AddUnconfirmedEventsByMakerOutput';
|
|
125
122
|
/** A list of transactions for the maker. */
|
|
@@ -141,15 +138,6 @@ export type AddUnconfirmedEventsOutput = {
|
|
|
141
138
|
/** The token of interest within the pair. Can be `token0` or `token1`. */
|
|
142
139
|
quoteToken?: Maybe<QuoteToken>;
|
|
143
140
|
};
|
|
144
|
-
export type AddUserAchievementInput = {
|
|
145
|
-
quantity: Scalars['Int']['input'];
|
|
146
|
-
userId: Scalars['String']['input'];
|
|
147
|
-
};
|
|
148
|
-
export declare enum AddressType {
|
|
149
|
-
Evm = "EVM",
|
|
150
|
-
Sol = "SOL",
|
|
151
|
-
Tron = "TRON"
|
|
152
|
-
}
|
|
153
141
|
/** The recurrence of the webhook. Can be `INDEFINITE` or `ONCE`. */
|
|
154
142
|
export declare enum AlertRecurrence {
|
|
155
143
|
Indefinite = "INDEFINITE",
|
|
@@ -168,25 +156,6 @@ export type ApiToken = {
|
|
|
168
156
|
/** JWT to be passed into the Authorization header for API requests */
|
|
169
157
|
token: Scalars['String']['output'];
|
|
170
158
|
};
|
|
171
|
-
export type AptosNetworkConfig = {
|
|
172
|
-
__typename?: 'AptosNetworkConfig';
|
|
173
|
-
baseTokenAddress: Scalars['String']['output'];
|
|
174
|
-
baseTokenSymbol: Scalars['String']['output'];
|
|
175
|
-
color?: Maybe<Scalars['String']['output']>;
|
|
176
|
-
defaultPairAddress: Scalars['String']['output'];
|
|
177
|
-
defaultPairQuoteToken: QuoteToken;
|
|
178
|
-
enabled: Scalars['Boolean']['output'];
|
|
179
|
-
id: Scalars['ID']['output'];
|
|
180
|
-
mainnet: Scalars['Boolean']['output'];
|
|
181
|
-
name: Scalars['String']['output'];
|
|
182
|
-
networkIconUrl: Scalars['String']['output'];
|
|
183
|
-
networkId: Scalars['Int']['output'];
|
|
184
|
-
networkName: Scalars['String']['output'];
|
|
185
|
-
networkShortName: Scalars['String']['output'];
|
|
186
|
-
newTokensEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
187
|
-
stableCoinAddresses?: Maybe<Array<Scalars['String']['output']>>;
|
|
188
|
-
wrappedBaseTokenSymbol: Scalars['String']['output'];
|
|
189
|
-
};
|
|
190
159
|
/** Wallet balance of a token. */
|
|
191
160
|
export type Balance = {
|
|
192
161
|
__typename?: 'Balance';
|
|
@@ -216,12 +185,9 @@ export type Balance = {
|
|
|
216
185
|
export type BalancesInput = {
|
|
217
186
|
/** A cursor for use in pagination. */
|
|
218
187
|
cursor?: InputMaybe<Scalars['String']['input']>;
|
|
219
|
-
/**
|
|
220
|
-
* Optional token specifically request the balance for. Only works with `walletId`.
|
|
221
|
-
* @deprecated Use tokens list instead
|
|
222
|
-
*/
|
|
188
|
+
/** Optional token specifically request the balance for. Only works with `walletId`. */
|
|
223
189
|
filterToken?: InputMaybe<Scalars['String']['input']>;
|
|
224
|
-
/** Whether to include native network balances in the response (ID will be native
|
|
190
|
+
/** Whether to include native network balances in the response (ID will be native:<networkId>). Requires a list of `networks`. Does not apply when using `tokens`. */
|
|
225
191
|
includeNative?: InputMaybe<Scalars['Boolean']['input']>;
|
|
226
192
|
/** The maximum number of holdings to return. Does not apply when using `tokens`. */
|
|
227
193
|
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
@@ -233,10 +199,7 @@ export type BalancesInput = {
|
|
|
233
199
|
tokens?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
234
200
|
/** The wallet address to filter by. */
|
|
235
201
|
walletAddress?: InputMaybe<Scalars['String']['input']>;
|
|
236
|
-
/**
|
|
237
|
-
* The ID of the wallet (`walletAddress:networkId`).
|
|
238
|
-
* @deprecated Use walletAddress and networkId instead
|
|
239
|
-
*/
|
|
202
|
+
/** The ID of the wallet (`walletAddress:networkId`). */
|
|
240
203
|
walletId?: InputMaybe<Scalars['String']['input']>;
|
|
241
204
|
};
|
|
242
205
|
export type BalancesResponse = {
|
|
@@ -281,10 +244,7 @@ export type BarsResponse = {
|
|
|
281
244
|
traders: Array<Maybe<Scalars['Int']['output']>>;
|
|
282
245
|
/** The number of transactions */
|
|
283
246
|
transactions: Array<Maybe<Scalars['Int']['output']>>;
|
|
284
|
-
/**
|
|
285
|
-
* The volume.
|
|
286
|
-
* @deprecated Use volume field instead
|
|
287
|
-
*/
|
|
247
|
+
/** The volume. */
|
|
288
248
|
v: Array<Maybe<Scalars['Int']['output']>>;
|
|
289
249
|
/** The volume with higher precision. */
|
|
290
250
|
volume?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
@@ -373,6 +333,8 @@ export type CommunityNote = {
|
|
|
373
333
|
/** The unix timestamp of when the community note was created. */
|
|
374
334
|
proposedAt: Scalars['Int']['output'];
|
|
375
335
|
sortKey: Scalars['String']['output'];
|
|
336
|
+
/** The status of the community note. */
|
|
337
|
+
status: ContractProposalStatus;
|
|
376
338
|
};
|
|
377
339
|
/** Type of the community gathered note. */
|
|
378
340
|
export declare enum CommunityNoteType {
|
|
@@ -402,7 +364,7 @@ export type CommunityNotesInput = {
|
|
|
402
364
|
/** The maximum number of community notes to return. */
|
|
403
365
|
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
404
366
|
};
|
|
405
|
-
/** Community notes data */
|
|
367
|
+
/** Community notes data. */
|
|
406
368
|
export type CommunityNotesResponse = {
|
|
407
369
|
__typename?: 'CommunityNotesResponse';
|
|
408
370
|
/** The number of community notes returned. */
|
|
@@ -461,13 +423,17 @@ export declare enum ContractLabelType {
|
|
|
461
423
|
Scam = "Scam",
|
|
462
424
|
Verified = "Verified"
|
|
463
425
|
}
|
|
426
|
+
export declare enum ContractProposalStatus {
|
|
427
|
+
Accepted = "ACCEPTED",
|
|
428
|
+
Pending = "PENDING",
|
|
429
|
+
Rejected = "REJECTED",
|
|
430
|
+
Reverted = "REVERTED"
|
|
431
|
+
}
|
|
432
|
+
/** Type of the contract. */
|
|
464
433
|
export declare enum ContractType {
|
|
465
434
|
Nft = "NFT",
|
|
466
435
|
Token = "TOKEN"
|
|
467
436
|
}
|
|
468
|
-
export declare enum CostBasisMethod {
|
|
469
|
-
Fifo = "FIFO"
|
|
470
|
-
}
|
|
471
437
|
export type CreateApiTokensInput = {
|
|
472
438
|
/** Number of tokens to create, default is 1 */
|
|
473
439
|
count?: InputMaybe<Scalars['Int']['input']>;
|
|
@@ -653,11 +619,6 @@ export type CreateWebhooksOutput = {
|
|
|
653
619
|
/** The list of token pair event webhooks that were created. */
|
|
654
620
|
tokenPairEventWebhooks: Array<Maybe<Webhook>>;
|
|
655
621
|
};
|
|
656
|
-
export declare enum CreationContext {
|
|
657
|
-
Mobile = "MOBILE",
|
|
658
|
-
Telegram = "TELEGRAM",
|
|
659
|
-
Web = "WEB"
|
|
660
|
-
}
|
|
661
622
|
/** Price data for a bar at a specific resolution. */
|
|
662
623
|
export type CurrencyBarData = {
|
|
663
624
|
__typename?: 'CurrencyBarData';
|
|
@@ -895,10 +856,7 @@ export type DetailedWalletStats = {
|
|
|
895
856
|
lastTransactionAt: Scalars['Int']['output'];
|
|
896
857
|
/** The network breakdown */
|
|
897
858
|
networkBreakdown?: Maybe<Array<NetworkBreakdown>>;
|
|
898
|
-
/**
|
|
899
|
-
* The network specific stats
|
|
900
|
-
* @deprecated Use networkBreakdown instead
|
|
901
|
-
*/
|
|
859
|
+
/** The network specific stats */
|
|
902
860
|
networkSpecificStats?: Maybe<Array<NetworkWalletStats>>;
|
|
903
861
|
/** The likelihood of the wallet being a scammer */
|
|
904
862
|
scammerScore?: Maybe<Scalars['Int']['output']>;
|
|
@@ -957,10 +915,7 @@ export type EnhancedToken = {
|
|
|
957
915
|
__typename?: 'EnhancedToken';
|
|
958
916
|
/** The contract address of the token. */
|
|
959
917
|
address: Scalars['String']['output'];
|
|
960
|
-
/**
|
|
961
|
-
* The circulating supply of the token.
|
|
962
|
-
* @deprecated Use the TokenInfo type
|
|
963
|
-
*/
|
|
918
|
+
/** The circulating supply of the token. */
|
|
964
919
|
circulatingSupply?: Maybe<Scalars['String']['output']>;
|
|
965
920
|
/** The token ID on CoinMarketCap. */
|
|
966
921
|
cmcId?: Maybe<Scalars['Int']['output']>;
|
|
@@ -976,29 +931,17 @@ export type EnhancedToken = {
|
|
|
976
931
|
decimals: Scalars['Int']['output'];
|
|
977
932
|
/** A list of exchanges where the token has been traded. */
|
|
978
933
|
exchanges?: Maybe<Array<Exchange>>;
|
|
979
|
-
/**
|
|
980
|
-
* Information about the token from 3rd party sources.
|
|
981
|
-
* @deprecated Use the TokenInfo type
|
|
982
|
-
*/
|
|
934
|
+
/** Information about the token from 3rd party sources. */
|
|
983
935
|
explorerData?: Maybe<ExplorerTokenData>;
|
|
984
936
|
/** Whether or not the token is freezable */
|
|
985
937
|
freezable?: Maybe<Scalars['String']['output']>;
|
|
986
938
|
/** The ID of the token (`address:networkId`). */
|
|
987
939
|
id: Scalars['String']['output'];
|
|
988
|
-
/**
|
|
989
|
-
* The large token logo URL.
|
|
990
|
-
* @deprecated Use the TokenInfo type
|
|
991
|
-
*/
|
|
940
|
+
/** The large token logo URL. */
|
|
992
941
|
imageLargeUrl?: Maybe<Scalars['String']['output']>;
|
|
993
|
-
/**
|
|
994
|
-
* The small token logo URL.
|
|
995
|
-
* @deprecated Use the TokenInfo type
|
|
996
|
-
*/
|
|
942
|
+
/** The small token logo URL. */
|
|
997
943
|
imageSmallUrl?: Maybe<Scalars['String']['output']>;
|
|
998
|
-
/**
|
|
999
|
-
* The thumbnail token logo URL.
|
|
1000
|
-
* @deprecated Use the TokenInfo type
|
|
1001
|
-
*/
|
|
944
|
+
/** The thumbnail token logo URL. */
|
|
1002
945
|
imageThumbUrl?: Maybe<Scalars['String']['output']>;
|
|
1003
946
|
/** More metadata about the token. */
|
|
1004
947
|
info?: Maybe<TokenInfo>;
|
|
@@ -1012,27 +955,15 @@ export type EnhancedToken = {
|
|
|
1012
955
|
name?: Maybe<Scalars['String']['output']>;
|
|
1013
956
|
/** The network ID the token is deployed on. */
|
|
1014
957
|
networkId: Scalars['Int']['output'];
|
|
1015
|
-
/**
|
|
1016
|
-
* The amount of this token in the pair.
|
|
1017
|
-
* @deprecated Pooled can be found on the pair instead
|
|
1018
|
-
*/
|
|
958
|
+
/** The amount of this token in the pair. */
|
|
1019
959
|
pooled?: Maybe<Scalars['String']['output']>;
|
|
1020
960
|
/** Community gathered links for the socials of this token. */
|
|
1021
961
|
socialLinks?: Maybe<SocialLinks>;
|
|
1022
962
|
/** The token symbol. For example, `APE`. */
|
|
1023
963
|
symbol?: Maybe<Scalars['String']['output']>;
|
|
1024
|
-
/**
|
|
1025
|
-
* The total supply of the token.
|
|
1026
|
-
* @deprecated Use the TokenInfo type
|
|
1027
|
-
*/
|
|
964
|
+
/** The total supply of the token. */
|
|
1028
965
|
totalSupply?: Maybe<Scalars['String']['output']>;
|
|
1029
966
|
};
|
|
1030
|
-
export declare enum Entitlement {
|
|
1031
|
-
BalanceFeed = "BalanceFeed",
|
|
1032
|
-
PriceFeed = "PriceFeed",
|
|
1033
|
-
TopTraders = "TopTraders",
|
|
1034
|
-
WalletStats = "WalletStats"
|
|
1035
|
-
}
|
|
1036
967
|
/** A token transaction. */
|
|
1037
968
|
export type Event = {
|
|
1038
969
|
__typename?: 'Event';
|
|
@@ -1331,11 +1262,6 @@ export type ExplorerTokenData = {
|
|
|
1331
1262
|
/** The token type. */
|
|
1332
1263
|
tokenType?: Maybe<Scalars['String']['output']>;
|
|
1333
1264
|
};
|
|
1334
|
-
export type Feature = {
|
|
1335
|
-
__typename?: 'Feature';
|
|
1336
|
-
enabled: Scalars['Boolean']['output'];
|
|
1337
|
-
name: Scalars['String']['output'];
|
|
1338
|
-
};
|
|
1339
1265
|
/** Filter for fillsource based NFT stats. */
|
|
1340
1266
|
export type FillsourceStatsFilter = {
|
|
1341
1267
|
/** The percent change between the `current` and `previous`. */
|
|
@@ -1367,11 +1293,11 @@ export type FilterExchange = {
|
|
|
1367
1293
|
};
|
|
1368
1294
|
/** The input for filtering wallets for a network. */
|
|
1369
1295
|
export type FilterNetworkWalletsInput = {
|
|
1370
|
-
/** Exclude wallets with these labels. */
|
|
1296
|
+
/** Exclude wallets with these labels. See [`WalletLabel`](/api-reference/enums/index#walletlabel) for possible values. */
|
|
1371
1297
|
excludeLabels?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
1372
1298
|
/** A set of filters to apply. */
|
|
1373
1299
|
filters?: InputMaybe<WalletNetworkFilters>;
|
|
1374
|
-
/** Include wallets with these labels. */
|
|
1300
|
+
/** Include wallets with these labels. See [`WalletLabel`](/api-reference/enums/index#walletlabel) for possible values. */
|
|
1375
1301
|
includeLabels?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
1376
1302
|
/** The maximum number of wallets to return. */
|
|
1377
1303
|
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
@@ -1386,16 +1312,13 @@ export type FilterNetworkWalletsInput = {
|
|
|
1386
1312
|
};
|
|
1387
1313
|
/** The input for filtering wallets for a token. */
|
|
1388
1314
|
export type FilterTokenWalletsInput = {
|
|
1389
|
-
/** Exclude wallets with these labels. */
|
|
1315
|
+
/** Exclude wallets with these labels. See [`WalletLabel`](/api-reference/enums/index#walletlabel) for possible values. */
|
|
1390
1316
|
excludeLabels?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
1391
|
-
/**
|
|
1392
|
-
* A set of filters to apply
|
|
1393
|
-
* @deprecated Use filtersV2 instead
|
|
1394
|
-
*/
|
|
1317
|
+
/** A set of filters to apply */
|
|
1395
1318
|
filters?: InputMaybe<WalletTokenFilters>;
|
|
1396
1319
|
/** A set of filters to apply */
|
|
1397
1320
|
filtersV2?: InputMaybe<WalletTokenFiltersV2>;
|
|
1398
|
-
/** Include wallets with these labels. */
|
|
1321
|
+
/** Include wallets with these labels. See [`WalletLabel`](/api-reference/enums/index#walletlabel) for possible values. */
|
|
1399
1322
|
includeLabels?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
1400
1323
|
/** The maximum number of wallets to return */
|
|
1401
1324
|
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
@@ -1409,21 +1332,18 @@ export type FilterTokenWalletsInput = {
|
|
|
1409
1332
|
rankings?: InputMaybe<Array<InputMaybe<WalletTokenRanking>>>;
|
|
1410
1333
|
/** The ID of the token to filter wallets for */
|
|
1411
1334
|
tokenId?: InputMaybe<Scalars['String']['input']>;
|
|
1412
|
-
/**
|
|
1413
|
-
* The wallet address to filter wallets for
|
|
1414
|
-
* @deprecated Use wallets instead
|
|
1415
|
-
*/
|
|
1335
|
+
/** The wallet address to filter wallets for */
|
|
1416
1336
|
walletAddress?: InputMaybe<Scalars['String']['input']>;
|
|
1417
1337
|
/** A list of wallet addresses to filter wallets for */
|
|
1418
1338
|
wallets?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
1419
1339
|
};
|
|
1420
1340
|
/** The input for filtering wallets. */
|
|
1421
1341
|
export type FilterWalletsInput = {
|
|
1422
|
-
/** Exclude wallets with these labels. */
|
|
1342
|
+
/** Exclude wallets with these labels. See [`WalletLabel`](/api-reference/enums/index#walletlabel) for possible values. */
|
|
1423
1343
|
excludeLabels?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
1424
1344
|
/** A set of filters to apply. */
|
|
1425
1345
|
filters?: InputMaybe<WalletFilters>;
|
|
1426
|
-
/** Include wallets with these labels. */
|
|
1346
|
+
/** Include wallets with these labels. See [`WalletLabel`](/api-reference/enums/index#walletlabel) for possible values. */
|
|
1427
1347
|
includeLabels?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
1428
1348
|
/** The maximum number of wallets to return. */
|
|
1429
1349
|
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
@@ -1444,33 +1364,9 @@ export type FrontRunLabelData = {
|
|
|
1444
1364
|
/** The amount of `token1` drained in the attack. */
|
|
1445
1365
|
token1DrainedAmount: Scalars['String']['output'];
|
|
1446
1366
|
};
|
|
1447
|
-
export type GasEstimate = {
|
|
1448
|
-
__typename?: 'GasEstimate';
|
|
1449
|
-
error?: Maybe<Scalars['String']['output']>;
|
|
1450
|
-
errorReason?: Maybe<Scalars['String']['output']>;
|
|
1451
|
-
gasLimitEstimate?: Maybe<Scalars['String']['output']>;
|
|
1452
|
-
gasPrice?: Maybe<Scalars['String']['output']>;
|
|
1453
|
-
totalFee?: Maybe<Scalars['String']['output']>;
|
|
1454
|
-
};
|
|
1455
|
-
export type GasFee = {
|
|
1456
|
-
__typename?: 'GasFee';
|
|
1457
|
-
confirmationTime: Scalars['Float']['output'];
|
|
1458
|
-
gasPrice: Scalars['String']['output'];
|
|
1459
|
-
};
|
|
1460
|
-
export type GasFees = {
|
|
1461
|
-
__typename?: 'GasFees';
|
|
1462
|
-
high?: Maybe<GasFee>;
|
|
1463
|
-
low?: Maybe<GasFee>;
|
|
1464
|
-
medium?: Maybe<GasFee>;
|
|
1465
|
-
};
|
|
1466
|
-
export declare enum GasPrice {
|
|
1467
|
-
High = "HIGH",
|
|
1468
|
-
Low = "LOW",
|
|
1469
|
-
Medium = "MEDIUM"
|
|
1470
|
-
}
|
|
1471
1367
|
/** Input type of `getDetailedPairsStats`. */
|
|
1472
1368
|
export type GetDetailedPairsStatsInput = {
|
|
1473
|
-
/** The number of aggregated values to receive. Note: Each duration has predetermined bucket sizes
|
|
1369
|
+
/** The number of aggregated values to receive. Note: Each duration has predetermined bucket sizes. The first n-1 buckets are historical. The last bucket is a snapshot of current data. duration `day1`: 6 buckets (4 hours each) plus 1 partial bucket duration `hour12`: 12 buckets (1 hour each) plus 1 partial bucket duration `hour4`: 8 buckets (30 min each) plus 1 partial bucket duration `hour1`: 12 buckets (5 min each) plus 1 partial bucket duration `min5`: 5 buckets (1 min each) plus 1 partial bucket For example, requesting 11 buckets for a `min5` duration will return the last 10 minutes worth of data plus a snapshot for the current minute. */
|
|
1474
1370
|
bucketCount?: InputMaybe<Scalars['Int']['input']>;
|
|
1475
1371
|
/** The list of durations to get detailed pair stats for. */
|
|
1476
1372
|
durations?: InputMaybe<Array<InputMaybe<DetailedPairStatsDuration>>>;
|
|
@@ -1485,20 +1381,6 @@ export type GetDetailedPairsStatsInput = {
|
|
|
1485
1381
|
/** The token of interest used to calculate token-specific stats for the pair. Can be `token0` or `token1`. */
|
|
1486
1382
|
tokenOfInterest?: InputMaybe<TokenOfInterest>;
|
|
1487
1383
|
};
|
|
1488
|
-
export type GetGasEstimateInput = {
|
|
1489
|
-
customGas?: InputMaybe<Scalars['String']['input']>;
|
|
1490
|
-
exchangeAddress: Scalars['String']['input'];
|
|
1491
|
-
gasPrice?: InputMaybe<GasPrice>;
|
|
1492
|
-
inputTokenAddress: Scalars['String']['input'];
|
|
1493
|
-
inputTokenAmount: Scalars['String']['input'];
|
|
1494
|
-
networkId: Scalars['Int']['input'];
|
|
1495
|
-
outputTokenAddress: Scalars['String']['input'];
|
|
1496
|
-
poolAddress: Scalars['String']['input'];
|
|
1497
|
-
sendWithPrivateRpc?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1498
|
-
slippage?: InputMaybe<Scalars['Float']['input']>;
|
|
1499
|
-
userId?: InputMaybe<Scalars['Int']['input']>;
|
|
1500
|
-
walletId?: InputMaybe<Scalars['Int']['input']>;
|
|
1501
|
-
};
|
|
1502
1384
|
/** Response returned by `getNetworkStats`. */
|
|
1503
1385
|
export type GetNetworkStatsResponse = {
|
|
1504
1386
|
__typename?: 'GetNetworkStatsResponse';
|
|
@@ -1555,10 +1437,7 @@ export type GetNftPoolsResponse = {
|
|
|
1555
1437
|
export type GetPriceInput = {
|
|
1556
1438
|
/** The contract address of the token. */
|
|
1557
1439
|
address: Scalars['String']['input'];
|
|
1558
|
-
/**
|
|
1559
|
-
* The maximum number of deviations from the token's Liquidity-Weighted Mean Price. This is used to mitigate low liquidity pairs producing prices that are not representative of reality. Default is `1`.
|
|
1560
|
-
* @deprecated This isn't taken into account anymore.
|
|
1561
|
-
*/
|
|
1440
|
+
/** The maximum number of deviations from the token's Liquidity-Weighted Mean Price. This is used to mitigate low liquidity pairs producing prices that are not representative of reality. Default is `1`. */
|
|
1562
1441
|
maxDeviations?: InputMaybe<Scalars['Float']['input']>;
|
|
1563
1442
|
/** The network ID the token is deployed on. */
|
|
1564
1443
|
networkId: Scalars['Int']['input'];
|
|
@@ -1567,22 +1446,6 @@ export type GetPriceInput = {
|
|
|
1567
1446
|
/** The unix timestamp for the price. */
|
|
1568
1447
|
timestamp?: InputMaybe<Scalars['Int']['input']>;
|
|
1569
1448
|
};
|
|
1570
|
-
export type GetQuoteInput = {
|
|
1571
|
-
customGas?: InputMaybe<Scalars['String']['input']>;
|
|
1572
|
-
exchangeAddress: Scalars['String']['input'];
|
|
1573
|
-
inputTokenAddress: Scalars['String']['input'];
|
|
1574
|
-
inputTokenAmount: Scalars['String']['input'];
|
|
1575
|
-
networkId: Scalars['Int']['input'];
|
|
1576
|
-
outputTokenAddress: Scalars['String']['input'];
|
|
1577
|
-
poolAddress: Scalars['String']['input'];
|
|
1578
|
-
slippage?: InputMaybe<Scalars['Float']['input']>;
|
|
1579
|
-
userId?: InputMaybe<Scalars['Int']['input']>;
|
|
1580
|
-
};
|
|
1581
|
-
export type GetSimulateTokenContractResultsConnection = {
|
|
1582
|
-
__typename?: 'GetSimulateTokenContractResultsConnection';
|
|
1583
|
-
cursor?: Maybe<Scalars['String']['output']>;
|
|
1584
|
-
results: Array<SimulateTokenContractResult>;
|
|
1585
|
-
};
|
|
1586
1449
|
/** Input type of `getTokensInfo`. */
|
|
1587
1450
|
export type GetTokensInfoInput = {
|
|
1588
1451
|
/** The contract address of the token. */
|
|
@@ -1653,14 +1516,6 @@ export type HoldersUpdate = {
|
|
|
1653
1516
|
/** The ID of the token (`tokenAddress:networkId`). */
|
|
1654
1517
|
tokenId: Scalars['String']['output'];
|
|
1655
1518
|
};
|
|
1656
|
-
export type IndexerStateInput = {
|
|
1657
|
-
/** The network ID to check the state of. */
|
|
1658
|
-
networkId: Scalars['Int']['input'];
|
|
1659
|
-
};
|
|
1660
|
-
export declare enum IndexerStatus {
|
|
1661
|
-
Behind = "Behind",
|
|
1662
|
-
Normal = "Normal"
|
|
1663
|
-
}
|
|
1664
1519
|
/** Bar chart data. */
|
|
1665
1520
|
export type IndividualBarData = {
|
|
1666
1521
|
__typename?: 'IndividualBarData';
|
|
@@ -1826,6 +1681,7 @@ export type LatestTokenConnection = {
|
|
|
1826
1681
|
/** A list of newly created tokens. */
|
|
1827
1682
|
items: Array<LatestToken>;
|
|
1828
1683
|
};
|
|
1684
|
+
/** Metadata for a newly created token. */
|
|
1829
1685
|
export type LatestTokenSimResults = {
|
|
1830
1686
|
__typename?: 'LatestTokenSimResults';
|
|
1831
1687
|
/** Gas used for a buy transaction during simulation. */
|
|
@@ -1863,7 +1719,7 @@ export type LaunchpadData = {
|
|
|
1863
1719
|
completedSlot?: Maybe<Scalars['Int']['output']>;
|
|
1864
1720
|
/** The percentage of the pool that was sold to the public. */
|
|
1865
1721
|
graduationPercent?: Maybe<Scalars['Float']['output']>;
|
|
1866
|
-
/** The name of the launchpad. */
|
|
1722
|
+
/** The name of the launchpad. One of the following: Four.meme, Pump.fun, Rainbow, LaunchLab, Moonit, boop, MeteoraDBC, Vertigo, EgoTech, TokenMill V2, ArenaTrade, Bonk, Jupiter Studio, Believe, or Cooking.City. */
|
|
1867
1723
|
launchpadName?: Maybe<Scalars['String']['output']>;
|
|
1868
1724
|
/** The launchpad protocol */
|
|
1869
1725
|
launchpadProtocol?: Maybe<Scalars['String']['output']>;
|
|
@@ -1875,10 +1731,7 @@ export type LaunchpadData = {
|
|
|
1875
1731
|
migratedPoolAddress?: Maybe<Scalars['String']['output']>;
|
|
1876
1732
|
/** The slot number when the launchpad was migrated. */
|
|
1877
1733
|
migratedSlot?: Maybe<Scalars['Int']['output']>;
|
|
1878
|
-
/**
|
|
1879
|
-
* The name of the launchpad.
|
|
1880
|
-
* @deprecated Use launchpadName instead
|
|
1881
|
-
*/
|
|
1734
|
+
/** The name of the launchpad. */
|
|
1882
1735
|
name?: Maybe<Scalars['String']['output']>;
|
|
1883
1736
|
/** The address of the pool. */
|
|
1884
1737
|
poolAddress?: Maybe<Scalars['String']['output']>;
|
|
@@ -1921,21 +1774,37 @@ export declare enum LaunchpadTokenEventType {
|
|
|
1921
1774
|
Deployed = "Deployed",
|
|
1922
1775
|
/** The token has been migrated */
|
|
1923
1776
|
Migrated = "Migrated",
|
|
1777
|
+
/** The token has been discovered (not finalized) */
|
|
1778
|
+
UnconfirmedDeployed = "UnconfirmedDeployed",
|
|
1779
|
+
/** The token's metadata has been processed (not finalized) */
|
|
1780
|
+
UnconfirmedMetadata = "UnconfirmedMetadata",
|
|
1924
1781
|
/** The token's statistics have been updated */
|
|
1925
1782
|
Updated = "Updated"
|
|
1926
1783
|
}
|
|
1927
1784
|
/** The protocol of the token. */
|
|
1928
1785
|
export declare enum LaunchpadTokenProtocol {
|
|
1786
|
+
/** Protocol name for ArenaTrade. */
|
|
1929
1787
|
ArenaTrade = "ArenaTrade",
|
|
1788
|
+
/** Protocol name for boop.fun. */
|
|
1930
1789
|
BoopFun = "BoopFun",
|
|
1790
|
+
/** Protocol name for EgoTech. */
|
|
1931
1791
|
EgoTech = "EgoTech",
|
|
1792
|
+
/** Protocol name for Four.meme. */
|
|
1932
1793
|
FourMeme = "FourMeme",
|
|
1794
|
+
/** Protocol name for MeteoraDBC. */
|
|
1795
|
+
MeteoraDbc = "MeteoraDBC",
|
|
1796
|
+
/** Protocol name for Moonit (formerly Moonshot). */
|
|
1933
1797
|
Moonit = "Moonit",
|
|
1798
|
+
/** Protocol name for Pump.fun. */
|
|
1934
1799
|
Pump = "Pump",
|
|
1800
|
+
/** Protocol name for Rainbow. */
|
|
1935
1801
|
Rainbow = "Rainbow",
|
|
1802
|
+
/** Protocol name for LaunchLab and Bonk. */
|
|
1936
1803
|
RaydiumLaunchpad = "RaydiumLaunchpad",
|
|
1804
|
+
/** Protocol name for Vertigo. */
|
|
1937
1805
|
Vertigo = "Vertigo"
|
|
1938
1806
|
}
|
|
1807
|
+
/** Data about liquidity in a pair. */
|
|
1939
1808
|
export type LiquidityData = {
|
|
1940
1809
|
__typename?: 'LiquidityData';
|
|
1941
1810
|
/** The active liquidity in the pair. */
|
|
@@ -1943,7 +1812,7 @@ export type LiquidityData = {
|
|
|
1943
1812
|
/** The inactive liquidity in the pair. */
|
|
1944
1813
|
inactive: Scalars['String']['output'];
|
|
1945
1814
|
};
|
|
1946
|
-
/** A record of locked liquidity */
|
|
1815
|
+
/** A record of locked liquidity. */
|
|
1947
1816
|
export type LiquidityLock = {
|
|
1948
1817
|
__typename?: 'LiquidityLock';
|
|
1949
1818
|
/** The unix timestamp for when the lock was created. */
|
|
@@ -1956,10 +1825,7 @@ export type LiquidityLock = {
|
|
|
1956
1825
|
liquidityAmount: Scalars['String']['output'];
|
|
1957
1826
|
/** If the liquidity position is represented by an NFT, this will contain the NFT data. */
|
|
1958
1827
|
liquidityNftData?: Maybe<LiquidityNftData>;
|
|
1959
|
-
/**
|
|
1960
|
-
* The protocol that created the pair
|
|
1961
|
-
* @deprecated Use liquidityProtocolV2 instead
|
|
1962
|
-
*/
|
|
1828
|
+
/** The protocol that created the pair */
|
|
1963
1829
|
liquidityProtocol: LiquidityProtocol;
|
|
1964
1830
|
/** The protocol that created the pair */
|
|
1965
1831
|
liquidityProtocolV2: Scalars['String']['output'];
|
|
@@ -1988,6 +1854,7 @@ export type LiquidityLockBreakdownForToken = {
|
|
|
1988
1854
|
/** The protocol with which the liquidity is locked. */
|
|
1989
1855
|
lockProtocol: LiquidityLockProtocol;
|
|
1990
1856
|
};
|
|
1857
|
+
/** Response returned by `liquidityLocks`. */
|
|
1991
1858
|
export type LiquidityLockConnection = {
|
|
1992
1859
|
__typename?: 'LiquidityLockConnection';
|
|
1993
1860
|
/** A cursor for use in pagination. */
|
|
@@ -1995,7 +1862,7 @@ export type LiquidityLockConnection = {
|
|
|
1995
1862
|
/** A list of liquidity locks. */
|
|
1996
1863
|
items: Array<LiquidityLock>;
|
|
1997
1864
|
};
|
|
1998
|
-
/** Protocols that can lock liquidity */
|
|
1865
|
+
/** Protocols that can lock liquidity. */
|
|
1999
1866
|
export declare enum LiquidityLockProtocol {
|
|
2000
1867
|
BasecampV1 = "BASECAMP_V1",
|
|
2001
1868
|
Bitbond = "BITBOND",
|
|
@@ -2035,7 +1902,7 @@ export type LiquidityMetadataByToken = {
|
|
|
2035
1902
|
/** The total amount of tokens in pairs shifted by number of decimals the token has. */
|
|
2036
1903
|
totalTokenLiquidityShifted: Scalars['String']['output'];
|
|
2037
1904
|
};
|
|
2038
|
-
/** Liquidity NFT position data */
|
|
1905
|
+
/** Liquidity NFT position data. */
|
|
2039
1906
|
export type LiquidityNftData = {
|
|
2040
1907
|
__typename?: 'LiquidityNftData';
|
|
2041
1908
|
/** The address of the nft position manager contract. */
|
|
@@ -2043,7 +1910,7 @@ export type LiquidityNftData = {
|
|
|
2043
1910
|
/** The tokenId of the liquidity position nft. */
|
|
2044
1911
|
nftTokenId: Scalars['String']['output'];
|
|
2045
1912
|
};
|
|
2046
|
-
/** Protocols that create trading pairs */
|
|
1913
|
+
/** Protocols that create trading pairs. */
|
|
2047
1914
|
export declare enum LiquidityProtocol {
|
|
2048
1915
|
PumpV1 = "PUMP_V1",
|
|
2049
1916
|
RaydiumV4 = "RAYDIUM_V4",
|
|
@@ -2112,11 +1979,6 @@ export type MakerEventsQueryInput = {
|
|
|
2112
1979
|
networkId?: InputMaybe<Scalars['Int']['input']>;
|
|
2113
1980
|
/** The total amount of `quoteToken` involved in the swap in USD (`amountNonLiquidityToken` x `priceUsd`). */
|
|
2114
1981
|
priceUsdTotal?: InputMaybe<NumberFilter>;
|
|
2115
|
-
/**
|
|
2116
|
-
* docs: hide
|
|
2117
|
-
* @deprecated Not used
|
|
2118
|
-
*/
|
|
2119
|
-
quoteToken?: InputMaybe<QuoteToken>;
|
|
2120
1982
|
/** The time range to filter by. */
|
|
2121
1983
|
timestamp?: InputMaybe<EventQueryTimestampInput>;
|
|
2122
1984
|
/** The token involved in the event. */
|
|
@@ -2161,16 +2023,6 @@ export type MetadataResponse = {
|
|
|
2161
2023
|
/** The name of the network. */
|
|
2162
2024
|
networkName: Scalars['String']['output'];
|
|
2163
2025
|
};
|
|
2164
|
-
export type MigrateTrackedWalletsInput = {
|
|
2165
|
-
fromUserId: Scalars['String']['input'];
|
|
2166
|
-
toUserId: Scalars['String']['input'];
|
|
2167
|
-
};
|
|
2168
|
-
export type MigrateTrackedWalletsOutput = {
|
|
2169
|
-
__typename?: 'MigrateTrackedWalletsOutput';
|
|
2170
|
-
fromUserId: Scalars['String']['output'];
|
|
2171
|
-
status: Scalars['String']['output'];
|
|
2172
|
-
toUserId: Scalars['String']['output'];
|
|
2173
|
-
};
|
|
2174
2026
|
/** Event data for a token mint event. */
|
|
2175
2027
|
export type MintEventData = {
|
|
2176
2028
|
__typename?: 'MintEventData';
|
|
@@ -2237,6 +2089,7 @@ export type NetworkBreakdown = {
|
|
|
2237
2089
|
/** The stats for the last year */
|
|
2238
2090
|
statsYear1?: Maybe<WindowedWalletStats>;
|
|
2239
2091
|
};
|
|
2092
|
+
/** A connection of wallets matching a filter on a specific network. */
|
|
2240
2093
|
export type NetworkWalletFilterConnection = {
|
|
2241
2094
|
__typename?: 'NetworkWalletFilterConnection';
|
|
2242
2095
|
/** The number of wallets returned. */
|
|
@@ -2246,6 +2099,7 @@ export type NetworkWalletFilterConnection = {
|
|
|
2246
2099
|
/** The list of wallets matching the filter parameters. */
|
|
2247
2100
|
results: Array<NetworkWalletFilterResult>;
|
|
2248
2101
|
};
|
|
2102
|
+
/** A wallet matching a filter on a specific network. */
|
|
2249
2103
|
export type NetworkWalletFilterResult = {
|
|
2250
2104
|
__typename?: 'NetworkWalletFilterResult';
|
|
2251
2105
|
/** The wallet address */
|
|
@@ -2266,6 +2120,8 @@ export type NetworkWalletFilterResult = {
|
|
|
2266
2120
|
averageSwapAmountUsd1y: Scalars['String']['output'];
|
|
2267
2121
|
/** Average swap amount in USD in the past 30 days */
|
|
2268
2122
|
averageSwapAmountUsd30d: Scalars['String']['output'];
|
|
2123
|
+
/** The backfill state of the wallet. */
|
|
2124
|
+
backfillState?: Maybe<WalletAggregateBackfillState>;
|
|
2269
2125
|
/** The bot score for the wallet. */
|
|
2270
2126
|
botScore?: Maybe<Scalars['Int']['output']>;
|
|
2271
2127
|
/** The unix timestamp for the first transaction from this wallet */
|
|
@@ -2508,6 +2364,7 @@ export declare enum NftAssetAttributeType {
|
|
|
2508
2364
|
Number = "Number",
|
|
2509
2365
|
String = "String"
|
|
2510
2366
|
}
|
|
2367
|
+
/** An NFT asset error. */
|
|
2511
2368
|
export type NftAssetError = {
|
|
2512
2369
|
__typename?: 'NftAssetError';
|
|
2513
2370
|
/** The contract address of the NFT collection. */
|
|
@@ -2523,6 +2380,7 @@ export type NftAssetError = {
|
|
|
2523
2380
|
/** The token ID of the NFT asset. */
|
|
2524
2381
|
tokenId: Scalars['String']['output'];
|
|
2525
2382
|
};
|
|
2383
|
+
/** The status of an NFT asset error. */
|
|
2526
2384
|
export declare enum NftAssetErrorStatus {
|
|
2527
2385
|
IndexingInProgress = "INDEXING_IN_PROGRESS",
|
|
2528
2386
|
NotFound = "NOT_FOUND"
|
|
@@ -3366,9 +3224,7 @@ export type NftEvent = {
|
|
|
3366
3224
|
__typename?: 'NftEvent';
|
|
3367
3225
|
/** The contract address of the marketplace aggregator that routed the transaction. */
|
|
3368
3226
|
aggregatorAddress?: Maybe<Scalars['String']['output']>;
|
|
3369
|
-
/** @deprecated Field no longer supported */
|
|
3370
3227
|
baseTokenAddress: Scalars['String']['output'];
|
|
3371
|
-
/** @deprecated Field no longer supported */
|
|
3372
3228
|
baseTokenPrice?: Maybe<Scalars['String']['output']>;
|
|
3373
3229
|
/** The block number for the transaction. */
|
|
3374
3230
|
blockNumber: Scalars['Int']['output'];
|
|
@@ -3382,17 +3238,13 @@ export type NftEvent = {
|
|
|
3382
3238
|
fillSource?: Maybe<Scalars['String']['output']>;
|
|
3383
3239
|
/** The ID of the NFT event (`contractAddress`:`tokenId`:`networkId`). */
|
|
3384
3240
|
id: Scalars['String']['output'];
|
|
3385
|
-
/** @deprecated Field no longer supported */
|
|
3386
3241
|
individualBaseTokenPrice?: Maybe<Scalars['String']['output']>;
|
|
3387
|
-
/** @deprecated Field no longer supported */
|
|
3388
3242
|
individualNetworkBaseTokenPrice?: Maybe<Scalars['String']['output']>;
|
|
3389
|
-
/** @deprecated Some events may lack this value - use the nullable individualTradePrice. individualPrice will return null values as an empty string. */
|
|
3390
3243
|
individualPrice?: Maybe<Scalars['String']['output']>;
|
|
3391
3244
|
/** The price of each individual NFT in the network's base token. */
|
|
3392
3245
|
individualPriceNetworkBaseToken?: Maybe<Scalars['String']['output']>;
|
|
3393
3246
|
/** The price of each individual NFT in USD. */
|
|
3394
3247
|
individualPriceUsd?: Maybe<Scalars['String']['output']>;
|
|
3395
|
-
/** @deprecated Some events may lack this value - use the nullable individualTradePrice. individualTokenPrice will return null values as an empty string. */
|
|
3396
3248
|
individualTokenPrice?: Maybe<Scalars['String']['output']>;
|
|
3397
3249
|
/** The price of each individual NFT in the purchasing token. */
|
|
3398
3250
|
individualTradePrice?: Maybe<Scalars['String']['output']>;
|
|
@@ -3400,7 +3252,6 @@ export type NftEvent = {
|
|
|
3400
3252
|
logIndex: Scalars['Int']['output'];
|
|
3401
3253
|
/** The wallet address of the buyer. */
|
|
3402
3254
|
maker: Scalars['String']['output'];
|
|
3403
|
-
/** @deprecated Field no longer supported */
|
|
3404
3255
|
networkBaseTokenPrice?: Maybe<Scalars['String']['output']>;
|
|
3405
3256
|
/** The network ID the NFT collection is deployed on. */
|
|
3406
3257
|
networkId: Scalars['Int']['output'];
|
|
@@ -3422,9 +3273,7 @@ export type NftEvent = {
|
|
|
3422
3273
|
timestamp: Scalars['Int']['output'];
|
|
3423
3274
|
/** The token ID of the NFT asset involved in the transaction. */
|
|
3424
3275
|
tokenId: Scalars['String']['output'];
|
|
3425
|
-
/** @deprecated Some events may lack this value - use the nullable totalTradePrice. tokenPrice will return null values as an empty string. */
|
|
3426
3276
|
tokenPrice: Scalars['String']['output'];
|
|
3427
|
-
/** @deprecated Some events may lack this value - use the nullable totalTradePrice. totalPrice will return null values as an empty string. */
|
|
3428
3277
|
totalPrice: Scalars['String']['output'];
|
|
3429
3278
|
/** The total trade price for the transaction in the network's base token. (The transaction can include more than 1 token). */
|
|
3430
3279
|
totalPriceNetworkBaseToken?: Maybe<Scalars['String']['output']>;
|
|
@@ -3453,7 +3302,7 @@ export type NftEventFillSourceConditionInput = {
|
|
|
3453
3302
|
oneOf: Array<WebhookNftEventFillSource>;
|
|
3454
3303
|
};
|
|
3455
3304
|
/** Details for an NFT offered or received as part of an nft trade. */
|
|
3456
|
-
export type NftEventNftTradeItem =
|
|
3305
|
+
export type NftEventNftTradeItem = {
|
|
3457
3306
|
__typename?: 'NftEventNftTradeItem';
|
|
3458
3307
|
/** The contract address for the NFT. */
|
|
3459
3308
|
address: Scalars['String']['output'];
|
|
@@ -3473,7 +3322,7 @@ export declare enum NftEventOrderDirection {
|
|
|
3473
3322
|
Sell = "SELL"
|
|
3474
3323
|
}
|
|
3475
3324
|
/** Details for a token(s) offered or received as part of an nft trade. */
|
|
3476
|
-
export type NftEventTokenTradeItem =
|
|
3325
|
+
export type NftEventTokenTradeItem = {
|
|
3477
3326
|
__typename?: 'NftEventTokenTradeItem';
|
|
3478
3327
|
/** The contract address for the token. */
|
|
3479
3328
|
address: Scalars['String']['output'];
|
|
@@ -3716,52 +3565,31 @@ export type NftPoolCollectionFilterResult = {
|
|
|
3716
3565
|
name?: Maybe<Scalars['String']['output']>;
|
|
3717
3566
|
/** The network ID the NFT collection is deployed on. */
|
|
3718
3567
|
networkId?: Maybe<Scalars['Int']['output']>;
|
|
3719
|
-
/**
|
|
3720
|
-
* The number of NFTs in all of the collection's pools.
|
|
3721
|
-
* @deprecated nftBalance is changing from Int to String - use nftBalanceV2 instead.
|
|
3722
|
-
*/
|
|
3568
|
+
/** The number of NFTs in all of the collection's pools. */
|
|
3723
3569
|
nftBalance?: Maybe<Scalars['Int']['output']>;
|
|
3724
3570
|
/** The number of NFTs in all of the collection's pools. */
|
|
3725
3571
|
nftBalanceV2?: Maybe<Scalars['String']['output']>;
|
|
3726
|
-
/**
|
|
3727
|
-
* The number of NFTs bought and sold in any of the collection's pools over the past 24 hours.
|
|
3728
|
-
* @deprecated nftVolume24 is changing from Int to String - use nftVolume24V2 instead.
|
|
3729
|
-
*/
|
|
3572
|
+
/** The number of NFTs bought and sold in any of the collection's pools over the past 24 hours. */
|
|
3730
3573
|
nftVolume24?: Maybe<Scalars['Int']['output']>;
|
|
3731
3574
|
/** The number of NFTs bought and sold in any of the collection's pools over the past 24 hours. */
|
|
3732
3575
|
nftVolume24V2?: Maybe<Scalars['String']['output']>;
|
|
3733
|
-
/**
|
|
3734
|
-
* The number of NFTs bought or sold in any of the collection's pools over the collection's lifetime.
|
|
3735
|
-
* @deprecated nftVolumeAll is changing from Int to String - use nftVolumeAllV2 instead.
|
|
3736
|
-
*/
|
|
3576
|
+
/** The number of NFTs bought or sold in any of the collection's pools over the collection's lifetime. */
|
|
3737
3577
|
nftVolumeAll?: Maybe<Scalars['Int']['output']>;
|
|
3738
3578
|
/** The number of NFTs bought or sold in any of the collection's pools over the collection's lifetime. */
|
|
3739
3579
|
nftVolumeAllV2?: Maybe<Scalars['String']['output']>;
|
|
3740
|
-
/**
|
|
3741
|
-
* The number of NFTs bought in any of the collection's pools over the past 24 hours.
|
|
3742
|
-
* @deprecated nftsBought24 is changing from Int to String - use nftsBought24V2 instead.
|
|
3743
|
-
*/
|
|
3580
|
+
/** The number of NFTs bought in any of the collection's pools over the past 24 hours. */
|
|
3744
3581
|
nftsBought24?: Maybe<Scalars['Int']['output']>;
|
|
3745
3582
|
/** The number of NFTs bought in any of the collection's pools over the past 24 hours. */
|
|
3746
3583
|
nftsBought24V2?: Maybe<Scalars['String']['output']>;
|
|
3747
|
-
/**
|
|
3748
|
-
* The number of NFTs bought in any of the collection's pools over the collection's lifetime.
|
|
3749
|
-
* @deprecated nftsBoughtAll is changing from Int to String - use nftsBoughtAllV2 instead.
|
|
3750
|
-
*/
|
|
3584
|
+
/** The number of NFTs bought in any of the collection's pools over the collection's lifetime. */
|
|
3751
3585
|
nftsBoughtAll?: Maybe<Scalars['Int']['output']>;
|
|
3752
3586
|
/** The number of NFTs bought in any of the collection's pools over the collection's lifetime. */
|
|
3753
3587
|
nftsBoughtAllV2?: Maybe<Scalars['String']['output']>;
|
|
3754
|
-
/**
|
|
3755
|
-
* The number of NFTs sold in any of the collection's pools over the past 24 hours.
|
|
3756
|
-
* @deprecated nftsSold24 is changing from Int to String - use nftsSold24V2 instead.
|
|
3757
|
-
*/
|
|
3588
|
+
/** The number of NFTs sold in any of the collection's pools over the past 24 hours. */
|
|
3758
3589
|
nftsSold24?: Maybe<Scalars['Int']['output']>;
|
|
3759
3590
|
/** The number of NFTs sold in any of the collection's pools over the past 24 hours. */
|
|
3760
3591
|
nftsSold24V2?: Maybe<Scalars['String']['output']>;
|
|
3761
|
-
/**
|
|
3762
|
-
* The number of NFTs sold in any of the collection's pools over the collection's lifetime.
|
|
3763
|
-
* @deprecated nftsSoldAll is changing from Int to String - use nftsSoldAllV2 instead.
|
|
3764
|
-
*/
|
|
3592
|
+
/** The number of NFTs sold in any of the collection's pools over the collection's lifetime. */
|
|
3765
3593
|
nftsSoldAll?: Maybe<Scalars['Int']['output']>;
|
|
3766
3594
|
/** The number of NFTs sold in any of the collection's pools over the collection's lifetime. */
|
|
3767
3595
|
nftsSoldAllV2?: Maybe<Scalars['String']['output']>;
|
|
@@ -3797,10 +3625,7 @@ export type NftPoolCollectionFilterResult = {
|
|
|
3797
3625
|
symbol?: Maybe<Scalars['String']['output']>;
|
|
3798
3626
|
/** The unix timestamp indicating the last time the data was updated. Updates every 2 hours. */
|
|
3799
3627
|
timestamp?: Maybe<Scalars['Int']['output']>;
|
|
3800
|
-
/**
|
|
3801
|
-
* The total supply of the collection.
|
|
3802
|
-
* @deprecated totalSupply is changing from Int to String - use totalSupplyV2 instead.
|
|
3803
|
-
*/
|
|
3628
|
+
/** The total supply of the collection. */
|
|
3804
3629
|
totalSupply?: Maybe<Scalars['Int']['output']>;
|
|
3805
3630
|
totalSupplyV2?: Maybe<Scalars['String']['output']>;
|
|
3806
3631
|
/** The total volume of the collection in the network's base token over the past 24 hours. */
|
|
@@ -3976,26 +3801,17 @@ export type NftPoolCollectionResponse = {
|
|
|
3976
3801
|
floorNBT?: Maybe<Scalars['String']['output']>;
|
|
3977
3802
|
/** An image associated with the NFT collection. */
|
|
3978
3803
|
image?: Maybe<Scalars['String']['output']>;
|
|
3979
|
-
/**
|
|
3980
|
-
* The media for one of the assets within the NFT collection.
|
|
3981
|
-
* @deprecated Use `image` from `NftContract` instead.
|
|
3982
|
-
*/
|
|
3804
|
+
/** The media for one of the assets within the NFT collection. */
|
|
3983
3805
|
media?: Maybe<NftAssetMedia>;
|
|
3984
3806
|
/** The name of the NFT collection. */
|
|
3985
3807
|
name?: Maybe<Scalars['String']['output']>;
|
|
3986
3808
|
/** The network ID the NFT collection is deployed on. */
|
|
3987
3809
|
networkId: Scalars['Int']['output'];
|
|
3988
|
-
/**
|
|
3989
|
-
* The current number of NFTs in all the NFT collection's pools.
|
|
3990
|
-
* @deprecated nftBalance is changing from Int to String - use nftBalanceV2 instead.
|
|
3991
|
-
*/
|
|
3810
|
+
/** The current number of NFTs in all the NFT collection's pools. */
|
|
3992
3811
|
nftBalance: Scalars['Int']['output'];
|
|
3993
3812
|
/** The current number of NFTs in all the NFT collection's pools. */
|
|
3994
3813
|
nftBalanceV2: Scalars['String']['output'];
|
|
3995
|
-
/**
|
|
3996
|
-
* The total number of NFTs bought and sold over the collection's lifetime.
|
|
3997
|
-
* @deprecated nftVolumeAllTime is changing from Int to String - use nftVolumeAllTimeV2 instead.
|
|
3998
|
-
*/
|
|
3814
|
+
/** The total number of NFTs bought and sold over the collection's lifetime. */
|
|
3999
3815
|
nftVolumeAllTime?: Maybe<Scalars['Int']['output']>;
|
|
4000
3816
|
/** The total number of NFTs bought and sold over the collection's lifetime. */
|
|
4001
3817
|
nftVolumeAllTimeV2?: Maybe<Scalars['String']['output']>;
|
|
@@ -4088,10 +3904,7 @@ export type NftPoolEventNftTransferV2 = {
|
|
|
4088
3904
|
nftQuantity: Scalars['String']['output'];
|
|
4089
3905
|
/** The NFT token ID involved in the transfer. */
|
|
4090
3906
|
nftTokenId: Scalars['String']['output'];
|
|
4091
|
-
/**
|
|
4092
|
-
* The number of tokens involved in the transfer.
|
|
4093
|
-
* @deprecated nftTokenQuantity is no longer supported - use nftQuantity instead.
|
|
4094
|
-
*/
|
|
3907
|
+
/** The number of tokens involved in the transfer. */
|
|
4095
3908
|
nftTokenQuantity: Scalars['String']['output'];
|
|
4096
3909
|
};
|
|
4097
3910
|
/** The type of an NFT pool event. */
|
|
@@ -4192,52 +4005,31 @@ export type NftPoolFilterResult = {
|
|
|
4192
4005
|
networkId: Scalars['Int']['output'];
|
|
4193
4006
|
/** The list of NFT assets in the pool. */
|
|
4194
4007
|
nftAssets?: Maybe<Array<Maybe<NftAsset>>>;
|
|
4195
|
-
/**
|
|
4196
|
-
* The current number of NFTs in the pool.
|
|
4197
|
-
* @deprecated nftBalance is changing from Int to String - use nftBalanceV2 instead.
|
|
4198
|
-
*/
|
|
4008
|
+
/** The current number of NFTs in the pool. */
|
|
4199
4009
|
nftBalance?: Maybe<Scalars['Int']['output']>;
|
|
4200
4010
|
/** The current number of NFTs in the pool. */
|
|
4201
4011
|
nftBalanceV2?: Maybe<Scalars['String']['output']>;
|
|
4202
|
-
/**
|
|
4203
|
-
* The total number of NFTs bought and sold over the past 24 hours.
|
|
4204
|
-
* @deprecated nftVolume24 is changing from Int to String - use nftVolume24V2 instead.
|
|
4205
|
-
*/
|
|
4012
|
+
/** The total number of NFTs bought and sold over the past 24 hours. */
|
|
4206
4013
|
nftVolume24?: Maybe<Scalars['Int']['output']>;
|
|
4207
4014
|
/** The total number of NFTs bought and sold over the past 24 hours. */
|
|
4208
4015
|
nftVolume24V2?: Maybe<Scalars['String']['output']>;
|
|
4209
|
-
/**
|
|
4210
|
-
* The total number of NFTs bought and sold over the pool's lifetime.
|
|
4211
|
-
* @deprecated nftVolumeAll is changing from Int to String - use nftVolumeAllV2 instead.
|
|
4212
|
-
*/
|
|
4016
|
+
/** The total number of NFTs bought and sold over the pool's lifetime. */
|
|
4213
4017
|
nftVolumeAll?: Maybe<Scalars['Int']['output']>;
|
|
4214
4018
|
/** The total number of NFTs bought and sold over the pool's lifetime. */
|
|
4215
4019
|
nftVolumeAllV2?: Maybe<Scalars['String']['output']>;
|
|
4216
|
-
/**
|
|
4217
|
-
* The total number of NFTs bought by the pool over the past 24 hours.
|
|
4218
|
-
* @deprecated nftsBought24 is changing from Int to String - use nftsBought24V2 instead.
|
|
4219
|
-
*/
|
|
4020
|
+
/** The total number of NFTs bought by the pool over the past 24 hours. */
|
|
4220
4021
|
nftsBought24?: Maybe<Scalars['Int']['output']>;
|
|
4221
4022
|
/** The total number of NFTs bought by the pool over the past 24 hours. */
|
|
4222
4023
|
nftsBought24V2?: Maybe<Scalars['String']['output']>;
|
|
4223
|
-
/**
|
|
4224
|
-
* The total number of NFTs bought over the pool's lifetime.
|
|
4225
|
-
* @deprecated nftsBoughtAll is changing from Int to String - use nftsBoughtAllV2 instead.
|
|
4226
|
-
*/
|
|
4024
|
+
/** The total number of NFTs bought over the pool's lifetime. */
|
|
4227
4025
|
nftsBoughtAll?: Maybe<Scalars['Int']['output']>;
|
|
4228
4026
|
/** The total number of NFTs bought over the pool's lifetime. */
|
|
4229
4027
|
nftsBoughtAllV2?: Maybe<Scalars['String']['output']>;
|
|
4230
|
-
/**
|
|
4231
|
-
* The total number of NFTs sold by the pool over the past 24 hours.
|
|
4232
|
-
* @deprecated nftsSold24 is changing from Int to String - use nftsSold24V2 instead.
|
|
4233
|
-
*/
|
|
4028
|
+
/** The total number of NFTs sold by the pool over the past 24 hours. */
|
|
4234
4029
|
nftsSold24?: Maybe<Scalars['Int']['output']>;
|
|
4235
4030
|
/** The total number of NFTs sold by the pool over the past 24 hours. */
|
|
4236
4031
|
nftsSold24V2?: Maybe<Scalars['String']['output']>;
|
|
4237
|
-
/**
|
|
4238
|
-
* The total number of NFTs sold over the pool's lifetime.
|
|
4239
|
-
* @deprecated nftsSoldAll is changing from Int to String - use nftsSoldAllV2 instead.
|
|
4240
|
-
*/
|
|
4032
|
+
/** The total number of NFTs sold over the pool's lifetime. */
|
|
4241
4033
|
nftsSoldAll?: Maybe<Scalars['Int']['output']>;
|
|
4242
4034
|
/** The total number of NFTs sold over the pool's lifetime. */
|
|
4243
4035
|
nftsSoldAllV2?: Maybe<Scalars['String']['output']>;
|
|
@@ -4468,6 +4260,7 @@ export type NftPoolNumberFilter = {
|
|
|
4468
4260
|
/** Less than or equal to. */
|
|
4469
4261
|
lte?: InputMaybe<Scalars['String']['input']>;
|
|
4470
4262
|
};
|
|
4263
|
+
/** Event data for transferring ownership of a pool. */
|
|
4471
4264
|
export type NftPoolOwnershipTransferredEventDataV2 = {
|
|
4472
4265
|
__typename?: 'NftPoolOwnershipTransferredEventDataV2';
|
|
4473
4266
|
/** The new owner of the pool. */
|
|
@@ -4553,17 +4346,11 @@ export type NftPoolResponse = {
|
|
|
4553
4346
|
networkId: Scalars['Int']['output'];
|
|
4554
4347
|
/** The list of NFT assets in the pool. */
|
|
4555
4348
|
nftAssets?: Maybe<Array<Maybe<NftAsset>>>;
|
|
4556
|
-
/**
|
|
4557
|
-
* The current number of NFTs in the pool.
|
|
4558
|
-
* @deprecated nftBalance is changing from Int to String - use nftBalanceV2 instead.
|
|
4559
|
-
*/
|
|
4349
|
+
/** The current number of NFTs in the pool. */
|
|
4560
4350
|
nftBalance?: Maybe<Scalars['Int']['output']>;
|
|
4561
4351
|
/** The current number of NFTs in the pool. */
|
|
4562
4352
|
nftBalanceV2: Scalars['String']['output'];
|
|
4563
|
-
/**
|
|
4564
|
-
* The total number of NFTs bought and sold over the pool's lifetime.
|
|
4565
|
-
* @deprecated nftVolumeAllTime is changing from Int to String - use nftVolumeAllTimeV2 instead.
|
|
4566
|
-
*/
|
|
4353
|
+
/** The total number of NFTs bought and sold over the pool's lifetime. */
|
|
4567
4354
|
nftVolumeAllTime: Scalars['Int']['output'];
|
|
4568
4355
|
/** The total number of NFTs bought and sold over the pool's lifetime. */
|
|
4569
4356
|
nftVolumeAllTimeV2: Scalars['String']['output'];
|
|
@@ -4860,10 +4647,7 @@ export type OnBarsUpdatedResponse = {
|
|
|
4860
4647
|
__typename?: 'OnBarsUpdatedResponse';
|
|
4861
4648
|
/** Price data broken down by resolution. */
|
|
4862
4649
|
aggregates: ResolutionBarData;
|
|
4863
|
-
/**
|
|
4864
|
-
* The sortKey for the bar (`blockNumber`#`transactionIndex`#`logIndex`, zero padded).
|
|
4865
|
-
* For example, `0000000016414564#00000224#00000413`.
|
|
4866
|
-
*/
|
|
4650
|
+
/** The sortKey for the bar (`blockNumber`#`transactionIndex`#`logIndex`, zero padded). For example, `0000000016414564#00000224#00000413`. */
|
|
4867
4651
|
eventSortKey: Scalars['String']['output'];
|
|
4868
4652
|
/** The network ID the pair is deployed on. */
|
|
4869
4653
|
networkId: Scalars['Int']['output'];
|
|
@@ -4885,6 +4669,10 @@ export type OnEventsCreatedByMakerInput = {
|
|
|
4885
4669
|
/** The wallet address of the maker. */
|
|
4886
4670
|
makerAddress: Scalars['String']['input'];
|
|
4887
4671
|
};
|
|
4672
|
+
export type OnLaunchpadTokenEventBatchInput = {
|
|
4673
|
+
networkId?: InputMaybe<Scalars['Int']['input']>;
|
|
4674
|
+
protocol?: InputMaybe<LaunchpadTokenProtocol>;
|
|
4675
|
+
};
|
|
4888
4676
|
/** Input for `onLaunchpadTokenEvent`. */
|
|
4889
4677
|
export type OnLaunchpadTokenEventInput = {
|
|
4890
4678
|
/** The contract address of the token. Required when `networkId` is provided. */
|
|
@@ -4906,10 +4694,7 @@ export type OnTokenBarsUpdatedResponse = {
|
|
|
4906
4694
|
__typename?: 'OnTokenBarsUpdatedResponse';
|
|
4907
4695
|
/** Price data broken down by resolution. */
|
|
4908
4696
|
aggregates: ResolutionBarData;
|
|
4909
|
-
/**
|
|
4910
|
-
* The sortKey for the bar (`blockNumber`#`transactionIndex`#`logIndex`, zero padded).
|
|
4911
|
-
* For example, `0000000016414564#00000224#00000413`.
|
|
4912
|
-
*/
|
|
4697
|
+
/** The sortKey for the bar (`blockNumber`#`transactionIndex`#`logIndex`, zero padded). For example, `0000000016414564#00000224#00000413`. */
|
|
4913
4698
|
eventSortKey: Scalars['String']['output'];
|
|
4914
4699
|
/** The network ID the pair is deployed on. */
|
|
4915
4700
|
networkId: Scalars['Int']['output'];
|
|
@@ -4939,10 +4724,7 @@ export type OnUnconfirmedBarsUpdated = {
|
|
|
4939
4724
|
__typename?: 'OnUnconfirmedBarsUpdated';
|
|
4940
4725
|
/** Price data broken down by resolution. */
|
|
4941
4726
|
aggregates: UnconfirmedResolutionBarData;
|
|
4942
|
-
/**
|
|
4943
|
-
* The sortKey for the bar (`blockNumber`#`transactionIndex`#`logIndex`, zero padded).
|
|
4944
|
-
* For example, `0000000016414564#00000224#00000413`.
|
|
4945
|
-
*/
|
|
4727
|
+
/** The sortKey for the bar (`blockNumber`#`transactionIndex`#`logIndex`, zero padded). For example, `0000000016414564#00000224#00000413`. */
|
|
4946
4728
|
eventSortKey: Scalars['String']['output'];
|
|
4947
4729
|
/** The network ID the pair is deployed on. */
|
|
4948
4730
|
networkId: Scalars['Int']['output'];
|
|
@@ -4973,18 +4755,6 @@ export type OneOfNumberConditionInput = {
|
|
|
4973
4755
|
/** The list of integers. */
|
|
4974
4756
|
oneOf: Array<Scalars['Int']['input']>;
|
|
4975
4757
|
};
|
|
4976
|
-
export declare enum OrderState {
|
|
4977
|
-
Completed = "COMPLETED",
|
|
4978
|
-
Created = "CREATED",
|
|
4979
|
-
Expired = "EXPIRED",
|
|
4980
|
-
Failed = "FAILED",
|
|
4981
|
-
Pending = "PENDING"
|
|
4982
|
-
}
|
|
4983
|
-
export declare enum OrderType {
|
|
4984
|
-
Limit = "LIMIT",
|
|
4985
|
-
LimitStrategy = "LIMIT_STRATEGY",
|
|
4986
|
-
Manual = "MANUAL"
|
|
4987
|
-
}
|
|
4988
4758
|
/** Metadata for a token pair. */
|
|
4989
4759
|
export type Pair = {
|
|
4990
4760
|
__typename?: 'Pair';
|
|
@@ -5418,6 +5188,7 @@ export type PairMetadata = {
|
|
|
5418
5188
|
/** The trade volume in USD in the past 24 hours. */
|
|
5419
5189
|
volume24?: Maybe<Scalars['String']['output']>;
|
|
5420
5190
|
};
|
|
5191
|
+
/** Metadata for a token in a pair. */
|
|
5421
5192
|
export type PairMetadataToken = {
|
|
5422
5193
|
__typename?: 'PairMetadataToken';
|
|
5423
5194
|
address: Scalars['String']['output'];
|
|
@@ -5750,12 +5521,6 @@ export type ParallelCardChangesConnection = {
|
|
|
5750
5521
|
/** A list of tracked changes made to a Parallel card. */
|
|
5751
5522
|
items?: Maybe<Array<Maybe<ParallelCardChange>>>;
|
|
5752
5523
|
};
|
|
5753
|
-
export declare enum Plan {
|
|
5754
|
-
Defined = "DEFINED",
|
|
5755
|
-
Enterprise = "ENTERPRISE",
|
|
5756
|
-
Free = "FREE",
|
|
5757
|
-
Standard = "STANDARD"
|
|
5758
|
-
}
|
|
5759
5524
|
/** Event data for a BalancerV2 Pool Balance Changed event. */
|
|
5760
5525
|
export type PoolBalanceChangedEventData = {
|
|
5761
5526
|
__typename?: 'PoolBalanceChangedEventData';
|
|
@@ -6297,6 +6062,7 @@ export type PrimePoolWithdrawData = {
|
|
|
6297
6062
|
/** The amount of PRIME the user is not eligible for either from having already harvesting or from not caching in the past. */
|
|
6298
6063
|
userPrimeRewardDebt: Scalars['String']['output'];
|
|
6299
6064
|
};
|
|
6065
|
+
/** The type of publishing for the webhook. If not set, it defaults to `SINGLE`. */
|
|
6300
6066
|
export declare enum PublishingType {
|
|
6301
6067
|
Batch = "BATCH",
|
|
6302
6068
|
Single = "SINGLE"
|
|
@@ -6307,7 +6073,7 @@ export type Query = {
|
|
|
6307
6073
|
apiToken: ApiToken;
|
|
6308
6074
|
/** Get all active short-lived api tokens for this api key */
|
|
6309
6075
|
apiTokens: Array<ApiToken>;
|
|
6310
|
-
/** Returns list of token balances that a wallet has */
|
|
6076
|
+
/** Returns list of token balances that a wallet has. */
|
|
6311
6077
|
balances: BalancesResponse;
|
|
6312
6078
|
/** Returns a URL for a pair chart. */
|
|
6313
6079
|
chartUrls?: Maybe<ChartUrlsResponse>;
|
|
@@ -6315,10 +6081,7 @@ export type Query = {
|
|
|
6315
6081
|
detailedWalletStats?: Maybe<DetailedWalletStats>;
|
|
6316
6082
|
/** Returns a list of exchanges based on a variety of filters. */
|
|
6317
6083
|
filterExchanges?: Maybe<ExchangeFilterConnection>;
|
|
6318
|
-
/**
|
|
6319
|
-
* Returns a list of wallets with stats narrowed down to a specific network.
|
|
6320
|
-
* @deprecated Use filterWallets instead
|
|
6321
|
-
*/
|
|
6084
|
+
/** Returns a list of wallets with stats narrowed down to a specific network. */
|
|
6322
6085
|
filterNetworkWallets: NetworkWalletFilterConnection;
|
|
6323
6086
|
/** Returns a list of NFT collection based on a variety of filters. */
|
|
6324
6087
|
filterNftCollections?: Maybe<NftCollectionFilterConnection>;
|
|
@@ -6346,21 +6109,15 @@ export type Query = {
|
|
|
6346
6109
|
getDetailedPairStats?: Maybe<DetailedPairStats>;
|
|
6347
6110
|
/** Returns bucketed stats for a given token within a list of pairs. */
|
|
6348
6111
|
getDetailedPairsStats?: Maybe<Array<Maybe<DetailedPairStats>>>;
|
|
6349
|
-
/**
|
|
6350
|
-
* Returns bucketed stats for a given token within a pair.
|
|
6351
|
-
* @deprecated Use `getDetailedPairStats` instead, it has more resolutions and better support
|
|
6352
|
-
*/
|
|
6112
|
+
/** Returns bucketed stats for a given token within a pair. */
|
|
6353
6113
|
getDetailedStats?: Maybe<DetailedStats>;
|
|
6354
6114
|
/** Returns a list of event labels for a pair. */
|
|
6355
6115
|
getEventLabels?: Maybe<EventLabelConnection>;
|
|
6356
6116
|
/** Returns a list of decentralized exchange metadata. */
|
|
6357
6117
|
getExchanges: Array<Exchange>;
|
|
6358
|
-
/**
|
|
6359
|
-
* Returns new tokens listed over the last three days.
|
|
6360
|
-
* @deprecated This query is longer supported. Instead use filterPairs with sort order on createdAt DESC
|
|
6361
|
-
*/
|
|
6118
|
+
/** Returns new tokens listed over the last three days. */
|
|
6362
6119
|
getLatestPairs?: Maybe<LatestPairConnection>;
|
|
6363
|
-
/**
|
|
6120
|
+
/** Returns a list of latest tokens. */
|
|
6364
6121
|
getLatestTokens?: Maybe<LatestTokenConnection>;
|
|
6365
6122
|
/** Returns metadata for a given network supported on Codex. */
|
|
6366
6123
|
getNetworkStats?: Maybe<GetNetworkStatsResponse>;
|
|
@@ -6398,7 +6155,6 @@ export type Query = {
|
|
|
6398
6155
|
getPrimePoolEvents?: Maybe<PrimePoolEventConnection>;
|
|
6399
6156
|
/** Returns a list of Prime pools. */
|
|
6400
6157
|
getPrimePools?: Maybe<PrimePoolConnection>;
|
|
6401
|
-
getSimulateTokenContractResults: GetSimulateTokenContractResultsConnection;
|
|
6402
6158
|
/** Returns charting metadata for a given pair. Used for implementing a Trading View datafeed. */
|
|
6403
6159
|
getSymbol?: Maybe<SymbolResponse>;
|
|
6404
6160
|
/** Returns transactions for a pair. */
|
|
@@ -6409,7 +6165,7 @@ export type Query = {
|
|
|
6409
6165
|
getTokenPrices?: Maybe<Array<Maybe<Price>>>;
|
|
6410
6166
|
/** Returns a user's list of webhooks. */
|
|
6411
6167
|
getWebhooks?: Maybe<GetWebhooksResponse>;
|
|
6412
|
-
/** Returns list of wallets that hold a given token, ordered by holdings descending. Also has the unique count of holders for that token */
|
|
6168
|
+
/** Returns list of wallets that hold a given token, ordered by holdings descending. Also has the unique count of holders for that token. */
|
|
6413
6169
|
holders: HoldersResponse;
|
|
6414
6170
|
/** Returns liquidity locks for a given pair. */
|
|
6415
6171
|
liquidityLocks?: Maybe<LiquidityLockConnection>;
|
|
@@ -6421,12 +6177,9 @@ export type Query = {
|
|
|
6421
6177
|
listPairsForToken: Array<Maybe<Pair>>;
|
|
6422
6178
|
/** Returns a list of pair metadata for a token. */
|
|
6423
6179
|
listPairsWithMetadataForToken: ListPairsForTokenResponse;
|
|
6424
|
-
/**
|
|
6425
|
-
* Returns a list of trending tokens across any given network(s).
|
|
6426
|
-
* @deprecated This query is no longer supported and will not return up to date data. Use `filterTokens` instead.
|
|
6427
|
-
*/
|
|
6180
|
+
/** Returns a list of trending tokens across any given network(s). */
|
|
6428
6181
|
listTopTokens?: Maybe<Array<TokenWithMetadata>>;
|
|
6429
|
-
/** Returns list of wallets that hold a given collection, ordered by holdings descending. Also has the unique count of holders for that collection */
|
|
6182
|
+
/** Returns list of wallets that hold a given collection, ordered by holdings descending. Also has the unique count of holders for that collection. */
|
|
6430
6183
|
nftHolders: NftHoldersResponse;
|
|
6431
6184
|
/** Returns metadata for a pair of tokens. */
|
|
6432
6185
|
pairMetadata: PairMetadata;
|
|
@@ -6434,10 +6187,7 @@ export type Query = {
|
|
|
6434
6187
|
primeHolders: PrimeHolders;
|
|
6435
6188
|
/** Returns a list of NFT collections matching a given query string. */
|
|
6436
6189
|
searchNfts?: Maybe<NftSearchResponse>;
|
|
6437
|
-
/**
|
|
6438
|
-
* Returns a list of tokens matching a given query string.
|
|
6439
|
-
* @deprecated This query is no longer supported and will not return up to date data. Use `filterTokens` instead.
|
|
6440
|
-
*/
|
|
6190
|
+
/** Returns a list of tokens matching a given query string. */
|
|
6441
6191
|
searchTokens?: Maybe<TokenSearchResponse>;
|
|
6442
6192
|
/** Returns a single token by its address & network id. */
|
|
6443
6193
|
token: EnhancedToken;
|
|
@@ -6712,13 +6462,6 @@ export type QueryGetPrimePoolsArgs = {
|
|
|
6712
6462
|
networkId: Scalars['Int']['input'];
|
|
6713
6463
|
poolIds?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
6714
6464
|
};
|
|
6715
|
-
export type QueryGetSimulateTokenContractResultsArgs = {
|
|
6716
|
-
contractAddress: Scalars['String']['input'];
|
|
6717
|
-
cursor?: InputMaybe<Scalars['String']['input']>;
|
|
6718
|
-
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
6719
|
-
networkId: Scalars['Int']['input'];
|
|
6720
|
-
simulationId?: InputMaybe<Scalars['String']['input']>;
|
|
6721
|
-
};
|
|
6722
6465
|
export type QueryGetSymbolArgs = {
|
|
6723
6466
|
currencyCode?: InputMaybe<Scalars['String']['input']>;
|
|
6724
6467
|
symbol: Scalars['String']['input'];
|
|
@@ -6832,41 +6575,15 @@ export type QueryWalletNftCollectionAssetsArgs = {
|
|
|
6832
6575
|
export type QueryWalletNftCollectionsArgs = {
|
|
6833
6576
|
input: WalletNftCollectionsInput;
|
|
6834
6577
|
};
|
|
6835
|
-
export type Quote = {
|
|
6836
|
-
__typename?: 'Quote';
|
|
6837
|
-
exchange: QuoteExchange;
|
|
6838
|
-
outputAmountMin?: Maybe<Scalars['String']['output']>;
|
|
6839
|
-
poolFee?: Maybe<Scalars['String']['output']>;
|
|
6840
|
-
poolFeeBps?: Maybe<Scalars['Float']['output']>;
|
|
6841
|
-
quoteType: QuoteType;
|
|
6842
|
-
quotedAmount: Scalars['String']['output'];
|
|
6843
|
-
tradeFee: Scalars['String']['output'];
|
|
6844
|
-
tradeFeeBps: Scalars['Float']['output'];
|
|
6845
|
-
};
|
|
6846
6578
|
export declare enum QuoteCurrency {
|
|
6847
6579
|
Token = "TOKEN",
|
|
6848
6580
|
Usd = "USD"
|
|
6849
6581
|
}
|
|
6850
|
-
export type QuoteExchange = {
|
|
6851
|
-
__typename?: 'QuoteExchange';
|
|
6852
|
-
factory: Scalars['String']['output'];
|
|
6853
|
-
id: Scalars['Int']['output'];
|
|
6854
|
-
name: Scalars['String']['output'];
|
|
6855
|
-
networkId: Scalars['Int']['output'];
|
|
6856
|
-
protocol: Scalars['String']['output'];
|
|
6857
|
-
quoter?: Maybe<Scalars['String']['output']>;
|
|
6858
|
-
quoterInterface?: Maybe<Scalars['String']['output']>;
|
|
6859
|
-
router: Scalars['String']['output'];
|
|
6860
|
-
};
|
|
6861
6582
|
/** The quote token within the pair. */
|
|
6862
6583
|
export declare enum QuoteToken {
|
|
6863
6584
|
Token0 = "token0",
|
|
6864
6585
|
Token1 = "token1"
|
|
6865
6586
|
}
|
|
6866
|
-
export declare enum QuoteType {
|
|
6867
|
-
Input = "INPUT",
|
|
6868
|
-
Output = "OUTPUT"
|
|
6869
|
-
}
|
|
6870
6587
|
/** The range of time for a chart. */
|
|
6871
6588
|
export type RangeInput = {
|
|
6872
6589
|
end: Scalars['Int']['input'];
|
|
@@ -6877,6 +6594,7 @@ export declare enum RankingDirection {
|
|
|
6877
6594
|
Asc = "ASC",
|
|
6878
6595
|
Desc = "DESC"
|
|
6879
6596
|
}
|
|
6597
|
+
/** Raw NFT asset data. */
|
|
6880
6598
|
export type RawNftAssetData = {
|
|
6881
6599
|
__typename?: 'RawNftAssetData';
|
|
6882
6600
|
/** An optional image field that may or may not be present on the requested NFT asset smart contract. */
|
|
@@ -6897,7 +6615,7 @@ export type RawTransactionWebhookCondition = {
|
|
|
6897
6615
|
ignoreNftEvents?: Maybe<Scalars['Boolean']['output']>;
|
|
6898
6616
|
/** Do not trigger the webhook if the raw transaction is handled by the TokenPairEvent webhook. */
|
|
6899
6617
|
ignoreTokenPairEvents?: Maybe<Scalars['Boolean']['output']>;
|
|
6900
|
-
/** Trigger the webhook if the
|
|
6618
|
+
/** Trigger the webhook if the contains or doesn't contain the specified string. */
|
|
6901
6619
|
input?: Maybe<StringContainsCondition>;
|
|
6902
6620
|
/** A list of network IDs to listen on. */
|
|
6903
6621
|
networkId?: Maybe<OneOfNumberCondition>;
|
|
@@ -6923,33 +6641,6 @@ export type RawTransactionWebhookConditionInput = {
|
|
|
6923
6641
|
/** Trigger the webhook if either the to or the from address matches. */
|
|
6924
6642
|
toOrFrom?: InputMaybe<StringEqualsConditionInput>;
|
|
6925
6643
|
};
|
|
6926
|
-
export type ReferralEventData = ReferralsEventPayoutData | ReferralsEventRewardData;
|
|
6927
|
-
export type ReferralsEventPayoutData = {
|
|
6928
|
-
__typename?: 'ReferralsEventPayoutData';
|
|
6929
|
-
payouts: Array<ReferralsPayoutData>;
|
|
6930
|
-
};
|
|
6931
|
-
export type ReferralsEventRewardData = {
|
|
6932
|
-
__typename?: 'ReferralsEventRewardData';
|
|
6933
|
-
inputTokenAddress: Scalars['String']['output'];
|
|
6934
|
-
networkId: Scalars['Int']['output'];
|
|
6935
|
-
outputTokenAddress: Scalars['String']['output'];
|
|
6936
|
-
payoutPercent: Scalars['Float']['output'];
|
|
6937
|
-
referralUserId: Scalars['String']['output'];
|
|
6938
|
-
rewardTokenAddress?: Maybe<Scalars['String']['output']>;
|
|
6939
|
-
rewardTokenAmount?: Maybe<Scalars['String']['output']>;
|
|
6940
|
-
transactionFee: Scalars['String']['output'];
|
|
6941
|
-
transactionId: Scalars['String']['output'];
|
|
6942
|
-
transactionTokenAddress: Scalars['String']['output'];
|
|
6943
|
-
transactionTokenAmount: Scalars['String']['output'];
|
|
6944
|
-
};
|
|
6945
|
-
export type ReferralsPayoutData = {
|
|
6946
|
-
__typename?: 'ReferralsPayoutData';
|
|
6947
|
-
tokenAddressNetworkIdPaid: Scalars['String']['output'];
|
|
6948
|
-
tokenAmountPaid: Scalars['String']['output'];
|
|
6949
|
-
};
|
|
6950
|
-
export type RemoveUserAchievementInput = {
|
|
6951
|
-
userId: Scalars['String']['input'];
|
|
6952
|
-
};
|
|
6953
6644
|
/** Price data for each supported resolution. */
|
|
6954
6645
|
export type ResolutionBarData = {
|
|
6955
6646
|
__typename?: 'ResolutionBarData';
|
|
@@ -6980,7 +6671,7 @@ export type ResolutionBarData = {
|
|
|
6980
6671
|
/** 12 hour resolution. */
|
|
6981
6672
|
r720?: Maybe<CurrencyBarData>;
|
|
6982
6673
|
};
|
|
6983
|
-
/** Config for retrying failed webhook messages */
|
|
6674
|
+
/** Config for retrying failed webhook messages. */
|
|
6984
6675
|
export type RetrySettings = {
|
|
6985
6676
|
__typename?: 'RetrySettings';
|
|
6986
6677
|
/** The maximum number of times the webhook will retry sending a message */
|
|
@@ -6992,7 +6683,7 @@ export type RetrySettings = {
|
|
|
6992
6683
|
/** The minimum time in seconds that the webhook will wait before retrying a failed message */
|
|
6993
6684
|
minRetryDelay?: Maybe<Scalars['Int']['output']>;
|
|
6994
6685
|
};
|
|
6995
|
-
/** Config input for retrying failed webhook messages */
|
|
6686
|
+
/** Config input for retrying failed webhook messages. */
|
|
6996
6687
|
export type RetrySettingsInput = {
|
|
6997
6688
|
/** The maximum number of times the webhook will retry sending a message */
|
|
6998
6689
|
maxRetries?: InputMaybe<Scalars['Int']['input']>;
|
|
@@ -7029,209 +6720,7 @@ export type SandwichedLabelData = {
|
|
|
7029
6720
|
/** The amount of `token1` drained in the attack. */
|
|
7030
6721
|
token1DrainedAmount?: Maybe<Scalars['String']['output']>;
|
|
7031
6722
|
};
|
|
7032
|
-
|
|
7033
|
-
shouldNotify?: InputMaybe<Scalars['Boolean']['input']>;
|
|
7034
|
-
};
|
|
7035
|
-
export type SimulateContractBalanceErrorsType = {
|
|
7036
|
-
__typename?: 'SimulateContractBalanceErrorsType';
|
|
7037
|
-
tokenContractEthBalanceError?: Maybe<Scalars['String']['output']>;
|
|
7038
|
-
tokenContractTokenBalanceError?: Maybe<Scalars['String']['output']>;
|
|
7039
|
-
};
|
|
7040
|
-
export type SimulateContractBalanceType = {
|
|
7041
|
-
__typename?: 'SimulateContractBalanceType';
|
|
7042
|
-
tokenContractEthBalance?: Maybe<Scalars['String']['output']>;
|
|
7043
|
-
tokenContractTokenBalance?: Maybe<Scalars['String']['output']>;
|
|
7044
|
-
};
|
|
7045
|
-
export type SimulateCreateTransactionInput = {
|
|
7046
|
-
/** The block number to simulate the contract at. */
|
|
7047
|
-
blockNumber: Scalars['Int']['input'];
|
|
7048
|
-
/** The contract address of the token. */
|
|
7049
|
-
contractAddress: Scalars['String']['input'];
|
|
7050
|
-
/** The contract creation transaction hash from the live network. */
|
|
7051
|
-
createTransactionHash: Scalars['String']['input'];
|
|
7052
|
-
/** The network ID the token is deployed on. Currently only supports 1 (mainnet). */
|
|
7053
|
-
networkId: Scalars['Int']['input'];
|
|
7054
|
-
};
|
|
7055
|
-
export type SimulateCreatorErrorsType = {
|
|
7056
|
-
__typename?: 'SimulateCreatorErrorsType';
|
|
7057
|
-
creatorEthBalanceError?: Maybe<Scalars['String']['output']>;
|
|
7058
|
-
creatorTokenBalanceError?: Maybe<Scalars['String']['output']>;
|
|
7059
|
-
};
|
|
7060
|
-
export type SimulateCreatorType = {
|
|
7061
|
-
__typename?: 'SimulateCreatorType';
|
|
7062
|
-
creatorAddress?: Maybe<Scalars['String']['output']>;
|
|
7063
|
-
creatorEthBalance?: Maybe<Scalars['String']['output']>;
|
|
7064
|
-
creatorTokenBalance?: Maybe<Scalars['String']['output']>;
|
|
7065
|
-
};
|
|
7066
|
-
export type SimulateDeployErrorsType = {
|
|
7067
|
-
__typename?: 'SimulateDeployErrorsType';
|
|
7068
|
-
deployError?: Maybe<Scalars['String']['output']>;
|
|
7069
|
-
tokenMintedToDeployerError?: Maybe<Scalars['String']['output']>;
|
|
7070
|
-
};
|
|
7071
|
-
export type SimulateDeployInput = {
|
|
7072
|
-
/** The block number to simulate the contract at. */
|
|
7073
|
-
blockNumber: Scalars['Int']['input'];
|
|
7074
|
-
/** The contract address of the token. */
|
|
7075
|
-
contractAddress: Scalars['String']['input'];
|
|
7076
|
-
/** The contract creation transaction input to simulate. */
|
|
7077
|
-
contractInput: Scalars['String']['input'];
|
|
7078
|
-
/** The network ID the token is deployed on. Currently only supports 1 (mainnet). */
|
|
7079
|
-
networkId: Scalars['Int']['input'];
|
|
7080
|
-
};
|
|
7081
|
-
export type SimulateDeployType = {
|
|
7082
|
-
__typename?: 'SimulateDeployType';
|
|
7083
|
-
deploySuccess?: Maybe<Scalars['Boolean']['output']>;
|
|
7084
|
-
tokenMintedToDeployer?: Maybe<Scalars['String']['output']>;
|
|
7085
|
-
};
|
|
7086
|
-
export type SimulateLiquidityErrorsType = {
|
|
7087
|
-
__typename?: 'SimulateLiquidityErrorsType';
|
|
7088
|
-
addLiquidityError?: Maybe<Scalars['String']['output']>;
|
|
7089
|
-
lpTotalSupplyError?: Maybe<Scalars['String']['output']>;
|
|
7090
|
-
postLiquidityEnableTradingError?: Maybe<Scalars['String']['output']>;
|
|
7091
|
-
preLiquidityEnableTradingError?: Maybe<Scalars['String']['output']>;
|
|
7092
|
-
};
|
|
7093
|
-
export type SimulateLiquidityType = {
|
|
7094
|
-
__typename?: 'SimulateLiquidityType';
|
|
7095
|
-
addLiquiditySuccess?: Maybe<Scalars['Boolean']['output']>;
|
|
7096
|
-
liquiditySetByPreLiquidityOpenTradingCall?: Maybe<Scalars['Boolean']['output']>;
|
|
7097
|
-
lpTotalSupply?: Maybe<Scalars['String']['output']>;
|
|
7098
|
-
pairAddress?: Maybe<Scalars['String']['output']>;
|
|
7099
|
-
postLiquidityEnableTradingCall?: Maybe<Scalars['String']['output']>;
|
|
7100
|
-
postLiquidityEnableTradingSuccess?: Maybe<Scalars['Boolean']['output']>;
|
|
7101
|
-
preLiquidityEnableTradingCall?: Maybe<Scalars['String']['output']>;
|
|
7102
|
-
preLiquidityEnableTradingSuccess?: Maybe<Scalars['Boolean']['output']>;
|
|
7103
|
-
preLiquidityEnableTradingSupportsTransfer?: Maybe<Scalars['Boolean']['output']>;
|
|
7104
|
-
};
|
|
7105
|
-
export type SimulateLiveContractInput = {
|
|
7106
|
-
/** The block number to simulate the contract at. */
|
|
7107
|
-
blockNumber?: InputMaybe<Scalars['Int']['input']>;
|
|
7108
|
-
/** The contract address of the token. */
|
|
7109
|
-
contractAddress: Scalars['String']['input'];
|
|
7110
|
-
/** The network ID the token is deployed on. Currently only supports 1 (mainnet). */
|
|
7111
|
-
networkId: Scalars['Int']['input'];
|
|
7112
|
-
};
|
|
7113
|
-
export type SimulateOwnerErrorsType = {
|
|
7114
|
-
__typename?: 'SimulateOwnerErrorsType';
|
|
7115
|
-
ownerAddressError?: Maybe<Scalars['String']['output']>;
|
|
7116
|
-
ownerEthBalanceError?: Maybe<Scalars['String']['output']>;
|
|
7117
|
-
ownerTokenBalanceError?: Maybe<Scalars['String']['output']>;
|
|
7118
|
-
};
|
|
7119
|
-
export type SimulateOwnerType = {
|
|
7120
|
-
__typename?: 'SimulateOwnerType';
|
|
7121
|
-
ownerAddress?: Maybe<Scalars['String']['output']>;
|
|
7122
|
-
ownerEthBalance?: Maybe<Scalars['String']['output']>;
|
|
7123
|
-
ownerTokenBalance?: Maybe<Scalars['String']['output']>;
|
|
7124
|
-
};
|
|
7125
|
-
export type SimulateSwapErrorsType = {
|
|
7126
|
-
__typename?: 'SimulateSwapErrorsType';
|
|
7127
|
-
buyError?: Maybe<Scalars['String']['output']>;
|
|
7128
|
-
buyErrorEnum?: Maybe<SimulateTokenContractBuySellErrorEnum>;
|
|
7129
|
-
sellError?: Maybe<Scalars['String']['output']>;
|
|
7130
|
-
sellErrorEnum?: Maybe<SimulateTokenContractBuySellErrorEnum>;
|
|
7131
|
-
};
|
|
7132
|
-
export type SimulateSwapType = {
|
|
7133
|
-
__typename?: 'SimulateSwapType';
|
|
7134
|
-
buyGasUsed?: Maybe<Scalars['String']['output']>;
|
|
7135
|
-
buySuccess?: Maybe<Scalars['Boolean']['output']>;
|
|
7136
|
-
buyTax?: Maybe<Scalars['String']['output']>;
|
|
7137
|
-
maxBuyAmount?: Maybe<Scalars['String']['output']>;
|
|
7138
|
-
maxSellAmount?: Maybe<Scalars['String']['output']>;
|
|
7139
|
-
sellGasUsed?: Maybe<Scalars['String']['output']>;
|
|
7140
|
-
sellSuccess?: Maybe<Scalars['Boolean']['output']>;
|
|
7141
|
-
sellTax?: Maybe<Scalars['String']['output']>;
|
|
7142
|
-
};
|
|
7143
|
-
export declare enum SimulateTokenContractBuySellErrorEnum {
|
|
7144
|
-
InsufficientLiquidity = "INSUFFICIENT_LIQUIDITY",
|
|
7145
|
-
InsufficientOutputAmount = "INSUFFICIENT_OUTPUT_AMOUNT",
|
|
7146
|
-
TransferFailed = "TRANSFER_FAILED",
|
|
7147
|
-
UnknownError = "UNKNOWN_ERROR"
|
|
7148
|
-
}
|
|
7149
|
-
export type SimulateTokenContractErrors = {
|
|
7150
|
-
__typename?: 'SimulateTokenContractErrors';
|
|
7151
|
-
contractBalanceErrors: SimulateContractBalanceErrorsType;
|
|
7152
|
-
creatorErrors: SimulateCreatorErrorsType;
|
|
7153
|
-
deployErrors: SimulateDeployErrorsType;
|
|
7154
|
-
liquidityErrors: SimulateLiquidityErrorsType;
|
|
7155
|
-
ownerErrors: SimulateOwnerErrorsType;
|
|
7156
|
-
simulatorError?: Maybe<Scalars['String']['output']>;
|
|
7157
|
-
swapErrors: SimulateSwapErrorsType;
|
|
7158
|
-
tokenErrors: SimulateTokenErrorsType;
|
|
7159
|
-
transferErrors: SimulateTransferErrorsType;
|
|
7160
|
-
};
|
|
7161
|
-
export type SimulateTokenContractInput = {
|
|
7162
|
-
/** Input for a token contract create transaction simulation. */
|
|
7163
|
-
simulateCreateTransactionInput?: InputMaybe<SimulateCreateTransactionInput>;
|
|
7164
|
-
/** Input for a token contract deploy simulation. */
|
|
7165
|
-
simulateDeployInput?: InputMaybe<SimulateDeployInput>;
|
|
7166
|
-
/** Input for a live token contract simulation. */
|
|
7167
|
-
simulateLiveContractInput?: InputMaybe<SimulateLiveContractInput>;
|
|
7168
|
-
};
|
|
7169
|
-
export type SimulateTokenContractResponse = {
|
|
7170
|
-
__typename?: 'SimulateTokenContractResponse';
|
|
7171
|
-
error?: Maybe<Scalars['String']['output']>;
|
|
7172
|
-
result: Scalars['Boolean']['output'];
|
|
7173
|
-
simulationId?: Maybe<Scalars['String']['output']>;
|
|
7174
|
-
};
|
|
7175
|
-
export type SimulateTokenContractResult = {
|
|
7176
|
-
__typename?: 'SimulateTokenContractResult';
|
|
7177
|
-
analysisType: Scalars['Int']['output'];
|
|
7178
|
-
blockNumber: Scalars['String']['output'];
|
|
7179
|
-
contractBalance: SimulateContractBalanceType;
|
|
7180
|
-
contractHashKey: Scalars['String']['output'];
|
|
7181
|
-
creator: SimulateCreatorType;
|
|
7182
|
-
deploy: SimulateDeployType;
|
|
7183
|
-
errors: SimulateTokenContractErrors;
|
|
7184
|
-
id: Scalars['String']['output'];
|
|
7185
|
-
liquidity: SimulateLiquidityType;
|
|
7186
|
-
networkId: Scalars['Int']['output'];
|
|
7187
|
-
owner: SimulateOwnerType;
|
|
7188
|
-
sortKey: Scalars['String']['output'];
|
|
7189
|
-
status: SimulateTokenContractResultStatusEnum;
|
|
7190
|
-
swap: SimulateSwapType;
|
|
7191
|
-
timestamp: Scalars['Int']['output'];
|
|
7192
|
-
token: SimulateTokenType;
|
|
7193
|
-
transfer: SimulateTransferType;
|
|
7194
|
-
uuid: Scalars['String']['output'];
|
|
7195
|
-
uuidHashKey: Scalars['String']['output'];
|
|
7196
|
-
};
|
|
7197
|
-
export declare enum SimulateTokenContractResultStatusEnum {
|
|
7198
|
-
Failure = "FAILURE",
|
|
7199
|
-
Pending = "PENDING",
|
|
7200
|
-
Success = "SUCCESS"
|
|
7201
|
-
}
|
|
7202
|
-
export type SimulateTokenErrorsType = {
|
|
7203
|
-
__typename?: 'SimulateTokenErrorsType';
|
|
7204
|
-
canRenounceOwnershipError?: Maybe<Scalars['String']['output']>;
|
|
7205
|
-
canTransferOwnershipError?: Maybe<Scalars['String']['output']>;
|
|
7206
|
-
decimalsError?: Maybe<Scalars['String']['output']>;
|
|
7207
|
-
tokenNameError?: Maybe<Scalars['String']['output']>;
|
|
7208
|
-
tokenSymbolError?: Maybe<Scalars['String']['output']>;
|
|
7209
|
-
totalSupplyError?: Maybe<Scalars['String']['output']>;
|
|
7210
|
-
};
|
|
7211
|
-
export type SimulateTokenType = {
|
|
7212
|
-
__typename?: 'SimulateTokenType';
|
|
7213
|
-
canRenounceOwnership?: Maybe<Scalars['Boolean']['output']>;
|
|
7214
|
-
canTransferOwnership?: Maybe<Scalars['Boolean']['output']>;
|
|
7215
|
-
contractAddress: Scalars['String']['output'];
|
|
7216
|
-
decimals?: Maybe<Scalars['Int']['output']>;
|
|
7217
|
-
isOwnerRenounced?: Maybe<Scalars['Boolean']['output']>;
|
|
7218
|
-
tokenName?: Maybe<Scalars['String']['output']>;
|
|
7219
|
-
tokenSymbol?: Maybe<Scalars['String']['output']>;
|
|
7220
|
-
totalSupply?: Maybe<Scalars['String']['output']>;
|
|
7221
|
-
};
|
|
7222
|
-
export type SimulateTransferErrorsType = {
|
|
7223
|
-
__typename?: 'SimulateTransferErrorsType';
|
|
7224
|
-
tokenContractApprovalError?: Maybe<Scalars['String']['output']>;
|
|
7225
|
-
tokenTransferredToContractError?: Maybe<Scalars['String']['output']>;
|
|
7226
|
-
userApprovalError?: Maybe<Scalars['String']['output']>;
|
|
7227
|
-
};
|
|
7228
|
-
export type SimulateTransferType = {
|
|
7229
|
-
__typename?: 'SimulateTransferType';
|
|
7230
|
-
tokenContractApprovalSuccess?: Maybe<Scalars['Boolean']['output']>;
|
|
7231
|
-
tokenTransferredToContractSuccess?: Maybe<Scalars['Boolean']['output']>;
|
|
7232
|
-
userApprovalSuccess?: Maybe<Scalars['Boolean']['output']>;
|
|
7233
|
-
};
|
|
7234
|
-
/** Community gathered social links of tokens/NFTs. */
|
|
6723
|
+
/** Social links for a token. */
|
|
7235
6724
|
export type SocialLinks = {
|
|
7236
6725
|
__typename?: 'SocialLinks';
|
|
7237
6726
|
bitcointalk?: Maybe<Scalars['String']['output']>;
|
|
@@ -7257,30 +6746,12 @@ export type SocialLinks = {
|
|
|
7257
6746
|
export declare enum SparklineAttribute {
|
|
7258
6747
|
Price = "PRICE"
|
|
7259
6748
|
}
|
|
6749
|
+
/** A value in a sparkline. */
|
|
7260
6750
|
export type SparklineValue = {
|
|
7261
6751
|
__typename?: 'SparklineValue';
|
|
7262
6752
|
timestamp: Scalars['Int']['output'];
|
|
7263
6753
|
value: Scalars['Float']['output'];
|
|
7264
6754
|
};
|
|
7265
|
-
export type StarknetNetworkConfig = {
|
|
7266
|
-
__typename?: 'StarknetNetworkConfig';
|
|
7267
|
-
baseTokenAddress: Scalars['String']['output'];
|
|
7268
|
-
baseTokenSymbol: Scalars['String']['output'];
|
|
7269
|
-
color?: Maybe<Scalars['String']['output']>;
|
|
7270
|
-
defaultPairAddress: Scalars['String']['output'];
|
|
7271
|
-
defaultPairQuoteToken: QuoteToken;
|
|
7272
|
-
enabled: Scalars['Boolean']['output'];
|
|
7273
|
-
id: Scalars['ID']['output'];
|
|
7274
|
-
mainnet: Scalars['Boolean']['output'];
|
|
7275
|
-
name: Scalars['String']['output'];
|
|
7276
|
-
networkIconUrl: Scalars['String']['output'];
|
|
7277
|
-
networkId: Scalars['Int']['output'];
|
|
7278
|
-
networkName: Scalars['String']['output'];
|
|
7279
|
-
networkShortName: Scalars['String']['output'];
|
|
7280
|
-
newTokensEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
7281
|
-
stableCoinAddresses?: Maybe<Array<Scalars['String']['output']>>;
|
|
7282
|
-
wrappedBaseTokenSymbol: Scalars['String']['output'];
|
|
7283
|
-
};
|
|
7284
6755
|
/** Filter for NFT stats. */
|
|
7285
6756
|
export type StatsFilter = {
|
|
7286
6757
|
/** The percent change between the `current` and `previous`. */
|
|
@@ -7345,8 +6816,11 @@ export type Subscription = {
|
|
|
7345
6816
|
onHoldersUpdated?: Maybe<HoldersUpdate>;
|
|
7346
6817
|
/** Live-streamed updates for newly listed pairs. */
|
|
7347
6818
|
onLatestPairUpdated?: Maybe<LatestPair>;
|
|
6819
|
+
/** Live-streamed updates for newly listed tokens. */
|
|
7348
6820
|
onLatestTokens?: Maybe<LatestToken>;
|
|
6821
|
+
/** Live-streamed launchpad token event. */
|
|
7349
6822
|
onLaunchpadTokenEvent: LaunchpadTokenEventOutput;
|
|
6823
|
+
/** Live-streamed launchpad token events batched (more efficient). */
|
|
7350
6824
|
onLaunchpadTokenEventBatch: Array<LaunchpadTokenEventOutput>;
|
|
7351
6825
|
/** Live-streamed transactions for an NFT asset. */
|
|
7352
6826
|
onNftAssetsCreated?: Maybe<NftAsset>;
|
|
@@ -7360,7 +6834,6 @@ export type Subscription = {
|
|
|
7360
6834
|
onPriceUpdated?: Maybe<Price>;
|
|
7361
6835
|
/** Live-streamed price updates for multiple tokens. */
|
|
7362
6836
|
onPricesUpdated: Price;
|
|
7363
|
-
onSimulateTokenContract: SimulateTokenContractResult;
|
|
7364
6837
|
/** Live-streamed bar chart data to track price changes over time for a token. */
|
|
7365
6838
|
onTokenBarsUpdated?: Maybe<OnTokenBarsUpdatedResponse>;
|
|
7366
6839
|
/** Live-streamed events for a given token across all it's pools */
|
|
@@ -7380,11 +6853,9 @@ export type SubscriptionOnBalanceUpdatedArgs = {
|
|
|
7380
6853
|
export type SubscriptionOnBarsUpdatedArgs = {
|
|
7381
6854
|
pairId?: InputMaybe<Scalars['String']['input']>;
|
|
7382
6855
|
quoteToken?: InputMaybe<QuoteToken>;
|
|
7383
|
-
statsType?: InputMaybe<TokenPairStatisticsType>;
|
|
7384
6856
|
};
|
|
7385
6857
|
export type SubscriptionOnDetailedStatsUpdatedArgs = {
|
|
7386
6858
|
pairId?: InputMaybe<Scalars['String']['input']>;
|
|
7387
|
-
statsType?: InputMaybe<TokenPairStatisticsType>;
|
|
7388
6859
|
tokenOfInterest?: InputMaybe<TokenOfInterest>;
|
|
7389
6860
|
};
|
|
7390
6861
|
export type SubscriptionOnEventLabelCreatedArgs = {
|
|
@@ -7393,7 +6864,6 @@ export type SubscriptionOnEventLabelCreatedArgs = {
|
|
|
7393
6864
|
export type SubscriptionOnEventsCreatedArgs = {
|
|
7394
6865
|
address?: InputMaybe<Scalars['String']['input']>;
|
|
7395
6866
|
id?: InputMaybe<Scalars['String']['input']>;
|
|
7396
|
-
maker?: InputMaybe<Scalars['String']['input']>;
|
|
7397
6867
|
networkId?: InputMaybe<Scalars['Int']['input']>;
|
|
7398
6868
|
quoteToken?: InputMaybe<QuoteToken>;
|
|
7399
6869
|
};
|
|
@@ -7415,6 +6885,9 @@ export type SubscriptionOnLatestTokensArgs = {
|
|
|
7415
6885
|
export type SubscriptionOnLaunchpadTokenEventArgs = {
|
|
7416
6886
|
input?: InputMaybe<OnLaunchpadTokenEventInput>;
|
|
7417
6887
|
};
|
|
6888
|
+
export type SubscriptionOnLaunchpadTokenEventBatchArgs = {
|
|
6889
|
+
input?: InputMaybe<OnLaunchpadTokenEventBatchInput>;
|
|
6890
|
+
};
|
|
7418
6891
|
export type SubscriptionOnNftAssetsCreatedArgs = {
|
|
7419
6892
|
address?: InputMaybe<Scalars['String']['input']>;
|
|
7420
6893
|
networkId?: InputMaybe<Scalars['Int']['input']>;
|
|
@@ -7433,7 +6906,6 @@ export type SubscriptionOnNftPoolEventsCreatedArgs = {
|
|
|
7433
6906
|
export type SubscriptionOnPairMetadataUpdatedArgs = {
|
|
7434
6907
|
id?: InputMaybe<Scalars['String']['input']>;
|
|
7435
6908
|
quoteToken?: InputMaybe<QuoteToken>;
|
|
7436
|
-
statsType?: InputMaybe<TokenPairStatisticsType>;
|
|
7437
6909
|
};
|
|
7438
6910
|
export type SubscriptionOnPriceUpdatedArgs = {
|
|
7439
6911
|
address?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -7443,14 +6915,8 @@ export type SubscriptionOnPriceUpdatedArgs = {
|
|
|
7443
6915
|
export type SubscriptionOnPricesUpdatedArgs = {
|
|
7444
6916
|
input: Array<OnPricesUpdatedInput>;
|
|
7445
6917
|
};
|
|
7446
|
-
export type SubscriptionOnSimulateTokenContractArgs = {
|
|
7447
|
-
contractAddress?: InputMaybe<Scalars['String']['input']>;
|
|
7448
|
-
networkId: Scalars['Int']['input'];
|
|
7449
|
-
simulationId?: InputMaybe<Scalars['String']['input']>;
|
|
7450
|
-
};
|
|
7451
6918
|
export type SubscriptionOnTokenBarsUpdatedArgs = {
|
|
7452
6919
|
networkId?: InputMaybe<Scalars['Int']['input']>;
|
|
7453
|
-
statsType?: InputMaybe<TokenPairStatisticsType>;
|
|
7454
6920
|
tokenId?: InputMaybe<Scalars['String']['input']>;
|
|
7455
6921
|
};
|
|
7456
6922
|
export type SubscriptionOnTokenEventsCreatedArgs = {
|
|
@@ -7472,25 +6938,6 @@ export type SubscriptionOnUnconfirmedEventsCreatedArgs = {
|
|
|
7472
6938
|
export type SubscriptionOnUnconfirmedEventsCreatedByMakerArgs = {
|
|
7473
6939
|
input: OnUnconfirmedEventsCreatedByMakerInput;
|
|
7474
6940
|
};
|
|
7475
|
-
export type SuiNetworkConfig = {
|
|
7476
|
-
__typename?: 'SuiNetworkConfig';
|
|
7477
|
-
baseTokenAddress: Scalars['String']['output'];
|
|
7478
|
-
baseTokenSymbol: Scalars['String']['output'];
|
|
7479
|
-
color?: Maybe<Scalars['String']['output']>;
|
|
7480
|
-
defaultPairAddress: Scalars['String']['output'];
|
|
7481
|
-
defaultPairQuoteToken: QuoteToken;
|
|
7482
|
-
enabled: Scalars['Boolean']['output'];
|
|
7483
|
-
id: Scalars['ID']['output'];
|
|
7484
|
-
mainnet: Scalars['Boolean']['output'];
|
|
7485
|
-
name: Scalars['String']['output'];
|
|
7486
|
-
networkIconUrl: Scalars['String']['output'];
|
|
7487
|
-
networkId: Scalars['Int']['output'];
|
|
7488
|
-
networkName: Scalars['String']['output'];
|
|
7489
|
-
networkShortName: Scalars['String']['output'];
|
|
7490
|
-
newTokensEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
7491
|
-
stableCoinAddresses?: Maybe<Array<Scalars['String']['output']>>;
|
|
7492
|
-
wrappedBaseTokenSymbol: Scalars['String']['output'];
|
|
7493
|
-
};
|
|
7494
6941
|
/** Event data for a token swap event. */
|
|
7495
6942
|
export type SwapEventData = {
|
|
7496
6943
|
__typename?: 'SwapEventData';
|
|
@@ -7694,7 +7141,6 @@ export type TokenFilterConnection = {
|
|
|
7694
7141
|
/** A token matching a set of filter parameters. */
|
|
7695
7142
|
export type TokenFilterResult = {
|
|
7696
7143
|
__typename?: 'TokenFilterResult';
|
|
7697
|
-
/** @deprecated Age isn't supported - use createdAt instead */
|
|
7698
7144
|
age?: Maybe<Scalars['Int']['output']>;
|
|
7699
7145
|
/** The number of buys in the past hour. */
|
|
7700
7146
|
buyCount1?: Maybe<Scalars['Int']['output']>;
|
|
@@ -7732,7 +7178,6 @@ export type TokenFilterResult = {
|
|
|
7732
7178
|
createdAt?: Maybe<Scalars['Int']['output']>;
|
|
7733
7179
|
/** The exchanges the token is listed on. */
|
|
7734
7180
|
exchanges?: Maybe<Array<Maybe<Exchange>>>;
|
|
7735
|
-
/** @deprecated FDV isn't supported - use marketCap instead */
|
|
7736
7181
|
fdv?: Maybe<Scalars['String']['output']>;
|
|
7737
7182
|
/** The highest price in USD in the past hour. */
|
|
7738
7183
|
high1?: Maybe<Scalars['String']['output']>;
|
|
@@ -7863,7 +7308,6 @@ export type TokenFilterResult = {
|
|
|
7863
7308
|
};
|
|
7864
7309
|
/** Input type of `TokenFilters`. */
|
|
7865
7310
|
export type TokenFilters = {
|
|
7866
|
-
/** @deprecated Age isn't supported - use createdAt instead */
|
|
7867
7311
|
age?: InputMaybe<NumberFilter>;
|
|
7868
7312
|
/** The number of buys in the past hour. */
|
|
7869
7313
|
buyCount1?: InputMaybe<NumberFilter>;
|
|
@@ -7905,7 +7349,6 @@ export type TokenFilters = {
|
|
|
7905
7349
|
exchangeAddress?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
7906
7350
|
/** The list of exchange contract IDs to filter by. Applied in conjunction with `network` filter using an OR condition. When used together, the query returns results that match either the specified exchanges or the specified network. */
|
|
7907
7351
|
exchangeId?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
7908
|
-
/** @deprecated FDV isn't supported - use marketCap instead */
|
|
7909
7352
|
fdv?: InputMaybe<NumberFilter>;
|
|
7910
7353
|
/** The token in freezable */
|
|
7911
7354
|
freezable?: InputMaybe<Scalars['Boolean']['input']>;
|
|
@@ -7939,7 +7382,7 @@ export type TokenFilters = {
|
|
|
7939
7382
|
launchpadMigrated?: InputMaybe<Scalars['Boolean']['input']>;
|
|
7940
7383
|
/** The timestamp when the launchpad was migrated */
|
|
7941
7384
|
launchpadMigratedAt?: InputMaybe<NumberFilter>;
|
|
7942
|
-
/** The name of the launchpad */
|
|
7385
|
+
/** The name of the launchpad. One of the following: Four.meme, Pump.fun, Rainbow, LaunchLab, Moonit, boop, MeteoraDBC, Vertigo, EgoTech, TokenMill V2, ArenaTrade, Bonk, Jupiter Studio, Believe, or Cooking.City. */
|
|
7943
7386
|
launchpadName?: InputMaybe<Scalars['String']['input']>;
|
|
7944
7387
|
/** The launchpad protocol */
|
|
7945
7388
|
launchpadProtocol?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -7961,8 +7404,6 @@ export type TokenFilters = {
|
|
|
7961
7404
|
mintable?: InputMaybe<Scalars['Boolean']['input']>;
|
|
7962
7405
|
/** The list of network IDs to filter by. Applied in conjunction with `exchangeId` filter using an OR condition. When used together, the query returns results that match either the specified exchanges or the specified network. */
|
|
7963
7406
|
network?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
|
|
7964
|
-
/** docs: hide */
|
|
7965
|
-
notableHolderCount?: InputMaybe<NumberFilter>;
|
|
7966
7407
|
/** Filter potential Scams */
|
|
7967
7408
|
potentialScam?: InputMaybe<Scalars['Boolean']['input']>;
|
|
7968
7409
|
/** The token price in USD. */
|
|
@@ -7991,7 +7432,7 @@ export type TokenFilters = {
|
|
|
7991
7432
|
swapPct1dOldWallet?: InputMaybe<NumberFilter>;
|
|
7992
7433
|
/** The percentage of wallets that are less than 7d old that have traded in the last 24h */
|
|
7993
7434
|
swapPct7dOldWallet?: InputMaybe<NumberFilter>;
|
|
7994
|
-
/** Whether to ignore pairs/tokens not relevant to trending */
|
|
7435
|
+
/** Whether to ignore pairs/tokens not relevant to trending. This is done checking against a few factors and ignoring uninteresting tokens like stables / network tokens. If you want all tokens regardless of these checks, then don't include this field. (default) If you want only tokens that fail the trending ignore checks, then set it to `false`. (i.e. stablecoins, rugs, network base tokens) If you want only tokens that pass the trending ignore checks, then set it to `true`. */
|
|
7995
7436
|
trendingIgnored?: InputMaybe<Scalars['Boolean']['input']>;
|
|
7996
7437
|
/** The number of transactions in the past hour. */
|
|
7997
7438
|
txnCount1?: InputMaybe<NumberFilter>;
|
|
@@ -8219,7 +7660,7 @@ export type TokenPairEventWebhookConditionInput = {
|
|
|
8219
7660
|
/** The token contract address to listen for. */
|
|
8220
7661
|
tokenAddress?: InputMaybe<StringEqualsConditionInput>;
|
|
8221
7662
|
};
|
|
8222
|
-
/** The type of statistics returned. Can be `FILTERED` or `UNFILTERED
|
|
7663
|
+
/** The type of statistics returned. Can be `FILTERED` or `UNFILTERED`. */
|
|
8223
7664
|
export declare enum TokenPairStatisticsType {
|
|
8224
7665
|
Filtered = "FILTERED",
|
|
8225
7666
|
Unfiltered = "UNFILTERED"
|
|
@@ -8233,7 +7674,6 @@ export type TokenRanking = {
|
|
|
8233
7674
|
};
|
|
8234
7675
|
/** The attribute used to rank tokens. */
|
|
8235
7676
|
export declare enum TokenRankingAttribute {
|
|
8236
|
-
/** @deprecated Use createdAt instead */
|
|
8237
7677
|
Age = "age",
|
|
8238
7678
|
BuyCount1 = "buyCount1",
|
|
8239
7679
|
BuyCount4 = "buyCount4",
|
|
@@ -8327,11 +7767,12 @@ export type TokenSearchResponse = {
|
|
|
8327
7767
|
__typename?: 'TokenSearchResponse';
|
|
8328
7768
|
/** The number of additional high volume results found. Only used if `lowVolumeFilter` is set to `true`. */
|
|
8329
7769
|
hasMore?: Maybe<Scalars['Int']['output']>;
|
|
8330
|
-
/** If `lowVolumeFilter` is set to `true`, the number of additional low volume results found.
|
|
7770
|
+
/** If `lowVolumeFilter` is set to `true`, the number of additional low volume results found. If `lowVolumeFilter` is set to `false`, the number of additional high and low volume results found. */
|
|
8331
7771
|
hasMoreLowVolume?: Maybe<Scalars['Int']['output']>;
|
|
8332
7772
|
/** A list of tokens. */
|
|
8333
7773
|
tokens?: Maybe<Array<TokenWithMetadata>>;
|
|
8334
7774
|
};
|
|
7775
|
+
/** A sparkline for a token. */
|
|
8335
7776
|
export type TokenSparkline = {
|
|
8336
7777
|
__typename?: 'TokenSparkline';
|
|
8337
7778
|
/** Which attribute the sparkline is charting. Defaults to `PRICE` */
|
|
@@ -8341,6 +7782,7 @@ export type TokenSparkline = {
|
|
|
8341
7782
|
/** List of sparkline values to chart */
|
|
8342
7783
|
sparkline: Array<SparklineValue>;
|
|
8343
7784
|
};
|
|
7785
|
+
/** Input type of `tokenSparkline`. */
|
|
8344
7786
|
export type TokenSparklineInput = {
|
|
8345
7787
|
/** The contract address & networkId of the token, joined by a colon. ex: 0xbe042e9d09cb588331ff911c2b46fd833a3e5bd6:1 */
|
|
8346
7788
|
ids: Array<Scalars['String']['input']>;
|
|
@@ -8408,6 +7850,7 @@ export type TokenTopTradersInput = {
|
|
|
8408
7850
|
/** The trading period */
|
|
8409
7851
|
tradingPeriod: TradingPeriod;
|
|
8410
7852
|
};
|
|
7853
|
+
/** A connection of wallets matching a filter on a specific token. */
|
|
8411
7854
|
export type TokenWalletFilterConnection = {
|
|
8412
7855
|
__typename?: 'TokenWalletFilterConnection';
|
|
8413
7856
|
/** The number of wallets returned. */
|
|
@@ -8446,6 +7889,8 @@ export type TokenWalletFilterResult = {
|
|
|
8446
7889
|
amountSoldUsdAll1y: Scalars['String']['output'];
|
|
8447
7890
|
/** Amount sold USD all in the past 30 days */
|
|
8448
7891
|
amountSoldUsdAll30d: Scalars['String']['output'];
|
|
7892
|
+
/** The backfill state of the wallet. */
|
|
7893
|
+
backfillState?: Maybe<WalletAggregateBackfillState>;
|
|
8449
7894
|
/** The bot score for the wallet. */
|
|
8450
7895
|
botScore?: Maybe<Scalars['Int']['output']>;
|
|
8451
7896
|
/** Number of buys in the past day */
|
|
@@ -8673,6 +8118,7 @@ export type UnconfirmedIndividualBarData = {
|
|
|
8673
8118
|
/** The volume with higher precision. */
|
|
8674
8119
|
volume: Scalars['String']['output'];
|
|
8675
8120
|
};
|
|
8121
|
+
/** Event data for a token liquidity change event. */
|
|
8676
8122
|
export type UnconfirmedLiquidityChangeEventData = {
|
|
8677
8123
|
__typename?: 'UnconfirmedLiquidityChangeEventData';
|
|
8678
8124
|
/** The amount of `token0` added or removed from the pair. */
|
|
@@ -8702,6 +8148,7 @@ export type UnconfirmedResolutionBarData = {
|
|
|
8702
8148
|
/** 15 second resolution. */
|
|
8703
8149
|
r15S?: Maybe<UnconfirmedIndividualBarData>;
|
|
8704
8150
|
};
|
|
8151
|
+
/** Event data for a token swap event. */
|
|
8705
8152
|
export type UnconfirmedSwapEventData = {
|
|
8706
8153
|
__typename?: 'UnconfirmedSwapEventData';
|
|
8707
8154
|
/** The amount of `baseToken` involved in the swap */
|
|
@@ -8719,6 +8166,21 @@ export type UnconfirmedSwapEventData = {
|
|
|
8719
8166
|
/** The type of token event, `Swap`. */
|
|
8720
8167
|
type: EventType;
|
|
8721
8168
|
};
|
|
8169
|
+
/** The state of the wallet backfill. */
|
|
8170
|
+
export declare enum WalletAggregateBackfillState {
|
|
8171
|
+
/** Historical stats calculations have been blocked for this wallet. It may have been flagged as a bot */
|
|
8172
|
+
BackfillBlocked = "BackfillBlocked",
|
|
8173
|
+
/** Historical stats calculations were started, then canceled for this wallet. It may have been flagged as a bot */
|
|
8174
|
+
BackfillCanceled = "BackfillCanceled",
|
|
8175
|
+
/** Historical stats calculations for this wallet have been successfully processed */
|
|
8176
|
+
BackfillComplete = "BackfillComplete",
|
|
8177
|
+
/** Historical stats calculations for this wallet are being processed */
|
|
8178
|
+
BackfillInProgress = "BackfillInProgress",
|
|
8179
|
+
/** Historical stats calculations for this wallet have not been started, nor attempted */
|
|
8180
|
+
BackfillNotFound = "BackfillNotFound",
|
|
8181
|
+
/** Historical stats calculations for this wallet are queued and will be processed soon */
|
|
8182
|
+
BackfillRequestReceived = "BackfillRequestReceived"
|
|
8183
|
+
}
|
|
8722
8184
|
/** The data for a chart of a wallet's activity. */
|
|
8723
8185
|
export type WalletChartData = {
|
|
8724
8186
|
__typename?: 'WalletChartData';
|
|
@@ -8741,7 +8203,7 @@ export type WalletChartInput = {
|
|
|
8741
8203
|
networkId?: InputMaybe<Scalars['Int']['input']>;
|
|
8742
8204
|
/** The range of time for the chart */
|
|
8743
8205
|
range: RangeInput;
|
|
8744
|
-
/** The
|
|
8206
|
+
/** The time frame for each candle. Available options are `1S`, `5S`, `15S`, `30S`, `1`, `5`, `15`, `30`, `60`, `240`, `720`, `1D`, `7D`. */
|
|
8745
8207
|
resolution: Scalars['String']['input'];
|
|
8746
8208
|
/** The wallet address */
|
|
8747
8209
|
walletAddress: Scalars['String']['input'];
|
|
@@ -8755,6 +8217,8 @@ export type WalletChartRange = {
|
|
|
8755
8217
|
/** The response for a chart of a wallet's activity. */
|
|
8756
8218
|
export type WalletChartResponse = {
|
|
8757
8219
|
__typename?: 'WalletChartResponse';
|
|
8220
|
+
/** The backfill state of the wallet. */
|
|
8221
|
+
backfillState?: Maybe<WalletAggregateBackfillState>;
|
|
8758
8222
|
/** The data for the chart */
|
|
8759
8223
|
data: Array<WalletChartData>;
|
|
8760
8224
|
/** The network ID */
|
|
@@ -8766,6 +8230,7 @@ export type WalletChartResponse = {
|
|
|
8766
8230
|
/** The wallet address */
|
|
8767
8231
|
walletAddress: Scalars['String']['output'];
|
|
8768
8232
|
};
|
|
8233
|
+
/** A connection of wallets matching a filter. */
|
|
8769
8234
|
export type WalletFilterConnection = {
|
|
8770
8235
|
__typename?: 'WalletFilterConnection';
|
|
8771
8236
|
/** The number of wallets returned. */
|
|
@@ -8775,6 +8240,7 @@ export type WalletFilterConnection = {
|
|
|
8775
8240
|
/** The list of wallets matching the filter parameters. */
|
|
8776
8241
|
results: Array<WalletFilterResult>;
|
|
8777
8242
|
};
|
|
8243
|
+
/** A wallet matching a filter. */
|
|
8778
8244
|
export type WalletFilterResult = {
|
|
8779
8245
|
__typename?: 'WalletFilterResult';
|
|
8780
8246
|
/** The wallet address */
|
|
@@ -8795,6 +8261,8 @@ export type WalletFilterResult = {
|
|
|
8795
8261
|
averageSwapAmountUsd1y: Scalars['String']['output'];
|
|
8796
8262
|
/** Average swap amount in USD in the past 30 days */
|
|
8797
8263
|
averageSwapAmountUsd30d: Scalars['String']['output'];
|
|
8264
|
+
/** The backfill state of the wallet. */
|
|
8265
|
+
backfillState?: Maybe<WalletAggregateBackfillState>;
|
|
8798
8266
|
/** The bot score for the wallet. */
|
|
8799
8267
|
botScore?: Maybe<Scalars['Int']['output']>;
|
|
8800
8268
|
/** The unix timestamp for the first transaction from this wallet */
|
|
@@ -8874,6 +8342,7 @@ export type WalletFilterResult = {
|
|
|
8874
8342
|
/** Win rate in the past 30 days */
|
|
8875
8343
|
winRate30d: Scalars['Float']['output'];
|
|
8876
8344
|
};
|
|
8345
|
+
/** Filters for a wallet. */
|
|
8877
8346
|
export type WalletFilters = {
|
|
8878
8347
|
/** Average profit in USD per trade in the past day */
|
|
8879
8348
|
averageProfitUsdPerTrade1d?: InputMaybe<NumberFilter>;
|
|
@@ -8968,6 +8437,24 @@ export type WalletFilters = {
|
|
|
8968
8437
|
/** Win rate in the past 30 days */
|
|
8969
8438
|
winRate30d?: InputMaybe<NumberFilter>;
|
|
8970
8439
|
};
|
|
8440
|
+
/** Wallet labels. Used for filtering wallets with `includeLabels` and `excludeLabels`. */
|
|
8441
|
+
export declare enum WalletLabel {
|
|
8442
|
+
/** Wallet is interesting (based on a number of factors). */
|
|
8443
|
+
Interesting = "INTERESTING",
|
|
8444
|
+
/** Wallet holds $5M+ in assets. */
|
|
8445
|
+
MediumWealthy = "MEDIUM_WEALTHY",
|
|
8446
|
+
/** Wallet holds $10M+ in assets. */
|
|
8447
|
+
MegaWealthy = "MEGA_WEALTHY",
|
|
8448
|
+
/** Wallet has made over $7.5K profit in the last 90 days trading tokens that are older than 2 days. */
|
|
8449
|
+
SmartTraderTokensOverTwoDaysOld = "SMART_TRADER_TOKENS_OVER_TWO_DAYS_OLD",
|
|
8450
|
+
/** Wallet has made over $5K profit in the last 90 days trading tokens that are between 1 hour and 2 days old. */
|
|
8451
|
+
SmartTraderTokensUnderTwoDaysOld = "SMART_TRADER_TOKENS_UNDER_TWO_DAYS_OLD",
|
|
8452
|
+
/** Wallet has made over $3K profit in the last 90 days trading tokens that were launched within their first hour. */
|
|
8453
|
+
Sniper = "SNIPER",
|
|
8454
|
+
/** Wallet holds $1M+ in assets. */
|
|
8455
|
+
Wealthy = "WEALTHY"
|
|
8456
|
+
}
|
|
8457
|
+
/** Filters for a wallet on a specific network. */
|
|
8971
8458
|
export type WalletNetworkFilters = {
|
|
8972
8459
|
/** Average profit in USD per trade in the past day */
|
|
8973
8460
|
averageProfitUsdPerTrade1d?: InputMaybe<NumberFilter>;
|
|
@@ -9060,12 +8547,14 @@ export type WalletNetworkFilters = {
|
|
|
9060
8547
|
/** Win rate in the past 30 days */
|
|
9061
8548
|
winRate30d?: InputMaybe<NumberFilter>;
|
|
9062
8549
|
};
|
|
8550
|
+
/** A wallet ranking on a specific network. */
|
|
9063
8551
|
export type WalletNetworkRanking = {
|
|
9064
8552
|
/** The attribute to rank wallets by. */
|
|
9065
8553
|
attribute?: InputMaybe<WalletNetworkRankingAttribute>;
|
|
9066
8554
|
/** The direction to apply to the ranking attribute. */
|
|
9067
8555
|
direction?: InputMaybe<RankingDirection>;
|
|
9068
8556
|
};
|
|
8557
|
+
/** Attributes for a wallet ranking on a specific network. */
|
|
9069
8558
|
export declare enum WalletNetworkRankingAttribute {
|
|
9070
8559
|
AverageProfitUsdPerTrade1d = "averageProfitUsdPerTrade1d",
|
|
9071
8560
|
AverageProfitUsdPerTrade1w = "averageProfitUsdPerTrade1w",
|
|
@@ -9161,12 +8650,14 @@ export type WalletNftCollectionsResponse = {
|
|
|
9161
8650
|
/** The list of collections for a wallet. */
|
|
9162
8651
|
items: Array<WalletNftCollection>;
|
|
9163
8652
|
};
|
|
8653
|
+
/** A wallet ranking. */
|
|
9164
8654
|
export type WalletRanking = {
|
|
9165
8655
|
/** The attribute to rank wallets by. */
|
|
9166
8656
|
attribute?: InputMaybe<WalletRankingAttribute>;
|
|
9167
8657
|
/** The direction to apply to the ranking attribute. */
|
|
9168
8658
|
direction?: InputMaybe<RankingDirection>;
|
|
9169
8659
|
};
|
|
8660
|
+
/** Attributes for a wallet ranking. */
|
|
9170
8661
|
export declare enum WalletRankingAttribute {
|
|
9171
8662
|
AverageProfitUsdPerTrade1d = "averageProfitUsdPerTrade1d",
|
|
9172
8663
|
AverageProfitUsdPerTrade1w = "averageProfitUsdPerTrade1w",
|
|
@@ -9221,12 +8712,14 @@ export declare enum WalletStatsDuration {
|
|
|
9221
8712
|
Week1 = "week1",
|
|
9222
8713
|
Year1 = "year1"
|
|
9223
8714
|
}
|
|
8715
|
+
/** A range for a wallet token filter. */
|
|
9224
8716
|
export type WalletTokenFilterRange = {
|
|
9225
8717
|
/** The maximum value (inclusive) */
|
|
9226
8718
|
max?: InputMaybe<Scalars['String']['input']>;
|
|
9227
8719
|
/** The minimum value (inclusive) */
|
|
9228
8720
|
min?: InputMaybe<Scalars['String']['input']>;
|
|
9229
8721
|
};
|
|
8722
|
+
/** Filters for a wallet on a specific token. */
|
|
9230
8723
|
export type WalletTokenFilters = {
|
|
9231
8724
|
/** Filter by amount bought in USD in the past day */
|
|
9232
8725
|
amountBoughtUsd1d?: InputMaybe<WalletTokenFilterRange>;
|
|
@@ -9307,6 +8800,7 @@ export type WalletTokenFilters = {
|
|
|
9307
8800
|
/** Filter by token balance */
|
|
9308
8801
|
tokenBalance?: InputMaybe<WalletTokenFilterRange>;
|
|
9309
8802
|
};
|
|
8803
|
+
/** Filters for a wallet on a specific token. */
|
|
9310
8804
|
export type WalletTokenFiltersV2 = {
|
|
9311
8805
|
/** Filter by amount bought in USD in the past day */
|
|
9312
8806
|
amountBoughtUsd1d?: InputMaybe<NumberFilter>;
|
|
@@ -9387,12 +8881,14 @@ export type WalletTokenFiltersV2 = {
|
|
|
9387
8881
|
/** Filter by token balance */
|
|
9388
8882
|
tokenBalance?: InputMaybe<NumberFilter>;
|
|
9389
8883
|
};
|
|
8884
|
+
/** A wallet ranking on a specific token. */
|
|
9390
8885
|
export type WalletTokenRanking = {
|
|
9391
8886
|
/** The attribute to rank wallets by */
|
|
9392
8887
|
attribute: WalletTokenRankingAttribute;
|
|
9393
8888
|
/** The direction to apply to the ranking attribute */
|
|
9394
8889
|
direction: RankingDirection;
|
|
9395
8890
|
};
|
|
8891
|
+
/** Attributes for a wallet ranking on a specific token. */
|
|
9396
8892
|
export declare enum WalletTokenRankingAttribute {
|
|
9397
8893
|
/** Amount bought in USD in the past day */
|
|
9398
8894
|
AmountBoughtUsd1d = "amountBoughtUsd1d",
|