@codex-data/sdk 1.0.12 → 1.0.14
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 +274 -52
- package/dist/resources/graphql.d.ts.map +1 -1
- package/dist/resources/graphql.js +7 -0
- package/dist/resources/graphql.js.map +1 -1
- package/dist/sdk/Query.d.ts +1 -7
- package/dist/sdk/Query.d.ts.map +1 -1
- package/dist/sdk/Query.js +0 -6
- package/dist/sdk/Query.js.map +1 -1
- package/dist/sdk/Subscribe.js +6 -6
- package/dist/sdk/generated/gql.d.ts +64 -123
- package/dist/sdk/generated/gql.d.ts.map +1 -1
- package/dist/sdk/generated/gql.js +32 -38
- package/dist/sdk/generated/gql.js.map +1 -1
- package/dist/sdk/generated/graphql.d.ts +279 -1368
- package/dist/sdk/generated/graphql.d.ts.map +1 -1
- package/dist/sdk/generated/graphql.js +42 -41
- package/dist/sdk/generated/graphql.js.map +1 -1
- package/package.json +1 -1
- package/src/resources/generated_queries/Balances.graphql +0 -15
- package/src/resources/generated_queries/DetailedWalletStats.graphql +0 -4
- package/src/resources/generated_queries/FilterNftPoolCollections.graphql +0 -8
- package/src/resources/generated_queries/FilterNftPools.graphql +0 -7
- package/src/resources/generated_queries/FilterPairs.graphql +0 -60
- package/src/resources/generated_queries/FilterTokenWallets.graphql +0 -15
- package/src/resources/generated_queries/FilterTokens.graphql +0 -47
- package/src/resources/generated_queries/GetBars.graphql +0 -31
- package/src/resources/generated_queries/GetCommunityNotes.graphql +0 -15
- package/src/resources/generated_queries/GetDetailedPairStats.graphql +0 -30
- package/src/resources/generated_queries/GetDetailedPairsStats.graphql +0 -30
- package/src/resources/generated_queries/GetNftEvents.graphql +0 -9
- package/src/resources/generated_queries/GetNftPool.graphql +0 -2
- package/src/resources/generated_queries/GetNftPoolCollection.graphql +0 -8
- package/src/resources/generated_queries/GetNftPoolCollectionsByExchange.graphql +0 -8
- package/src/resources/generated_queries/GetNftPoolEvents.graphql +0 -2
- package/src/resources/generated_queries/GetNftPoolsByCollectionAndExchange.graphql +0 -2
- package/src/resources/generated_queries/GetNftPoolsByOwner.graphql +0 -2
- package/src/resources/generated_queries/Holders.graphql +0 -15
- package/src/resources/generated_queries/LiquidityLocks.graphql +0 -1
- package/src/resources/generated_queries/ListPairsForToken.graphql +0 -30
- package/src/resources/generated_queries/ListPairsWithMetadataForToken.graphql +0 -60
- package/src/resources/generated_queries/PairMetadata.graphql +0 -30
- package/src/resources/generated_queries/PrimeHolders.graphql +0 -15
- package/src/resources/generated_queries/Token.graphql +0 -15
- package/src/resources/generated_queries/Tokens.graphql +0 -15
- package/src/resources/generated_subscriptions/OnBalanceUpdated.graphql +0 -15
- package/src/resources/generated_subscriptions/OnHoldersUpdated.graphql +0 -15
- package/src/resources/generated_subscriptions/OnLaunchpadTokenEvent.graphql +0 -15
- package/src/resources/generated_subscriptions/OnNftEventsCreated.graphql +0 -9
- package/src/resources/generated_subscriptions/OnNftPoolEventsCreated.graphql +0 -2
- package/src/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +0 -30
- package/src/resources/graphql.schema.json +574 -136
- package/src/resources/graphql.ts +285 -52
- package/src/resources/schema.graphql +147 -76
- package/src/sdk/Query.ts +0 -24
- package/src/sdk/Subscribe.ts +6 -6
- package/src/sdk/generated/gql.ts +64 -94
- package/src/sdk/generated/graphql.ts +349 -181
- package/src/resources/generated_queries/FilterNetworkWallets.graphql +0 -57
- package/src/resources/generated_queries/GetDetailedStats.graphql +0 -338
- package/src/resources/generated_queries/GetLatestPairs.graphql +0 -57
- package/src/resources/generated_queries/GetLatestTokens.graphql +0 -39
- package/src/resources/generated_queries/ListTopTokens.graphql +0 -55
- package/src/resources/generated_queries/SearchTokens.graphql +0 -67
|
@@ -156,6 +156,12 @@ export type ApiToken = {
|
|
|
156
156
|
/** JWT to be passed into the Authorization header for API requests */
|
|
157
157
|
token: Scalars['String']['output'];
|
|
158
158
|
};
|
|
159
|
+
export type ArenaTradeData = {
|
|
160
|
+
__typename?: 'ArenaTradeData';
|
|
161
|
+
/** Protocol specific token ID */
|
|
162
|
+
tokenId?: Maybe<Scalars['String']['output']>;
|
|
163
|
+
type: Scalars['String']['output'];
|
|
164
|
+
};
|
|
159
165
|
/** Wallet balance of a token. */
|
|
160
166
|
export type Balance = {
|
|
161
167
|
__typename?: 'Balance';
|
|
@@ -185,7 +191,10 @@ export type Balance = {
|
|
|
185
191
|
export type BalancesInput = {
|
|
186
192
|
/** A cursor for use in pagination. */
|
|
187
193
|
cursor?: InputMaybe<Scalars['String']['input']>;
|
|
188
|
-
/**
|
|
194
|
+
/**
|
|
195
|
+
* Optional token specifically request the balance for. Only works with `walletId`.
|
|
196
|
+
* @deprecated Use tokens list instead
|
|
197
|
+
*/
|
|
189
198
|
filterToken?: InputMaybe<Scalars['String']['input']>;
|
|
190
199
|
/** 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`. */
|
|
191
200
|
includeNative?: InputMaybe<Scalars['Boolean']['input']>;
|
|
@@ -199,7 +208,10 @@ export type BalancesInput = {
|
|
|
199
208
|
tokens?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
200
209
|
/** The wallet address to filter by. */
|
|
201
210
|
walletAddress?: InputMaybe<Scalars['String']['input']>;
|
|
202
|
-
/**
|
|
211
|
+
/**
|
|
212
|
+
* The ID of the wallet (`walletAddress:networkId`).
|
|
213
|
+
* @deprecated Use walletAddress and networkId instead
|
|
214
|
+
*/
|
|
203
215
|
walletId?: InputMaybe<Scalars['String']['input']>;
|
|
204
216
|
};
|
|
205
217
|
export type BalancesResponse = {
|
|
@@ -244,7 +256,10 @@ export type BarsResponse = {
|
|
|
244
256
|
traders: Array<Maybe<Scalars['Int']['output']>>;
|
|
245
257
|
/** The number of transactions */
|
|
246
258
|
transactions: Array<Maybe<Scalars['Int']['output']>>;
|
|
247
|
-
/**
|
|
259
|
+
/**
|
|
260
|
+
* The volume.
|
|
261
|
+
* @deprecated Use volume field instead
|
|
262
|
+
*/
|
|
248
263
|
v: Array<Maybe<Scalars['Int']['output']>>;
|
|
249
264
|
/** The volume with higher precision. */
|
|
250
265
|
volume?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
@@ -856,7 +871,10 @@ export type DetailedWalletStats = {
|
|
|
856
871
|
lastTransactionAt: Scalars['Int']['output'];
|
|
857
872
|
/** The network breakdown */
|
|
858
873
|
networkBreakdown?: Maybe<Array<NetworkBreakdown>>;
|
|
859
|
-
/**
|
|
874
|
+
/**
|
|
875
|
+
* The network specific stats
|
|
876
|
+
* @deprecated Use networkBreakdown instead
|
|
877
|
+
*/
|
|
860
878
|
networkSpecificStats?: Maybe<Array<NetworkWalletStats>>;
|
|
861
879
|
/** The likelihood of the wallet being a scammer */
|
|
862
880
|
scammerScore?: Maybe<Scalars['Int']['output']>;
|
|
@@ -915,7 +933,10 @@ export type EnhancedToken = {
|
|
|
915
933
|
__typename?: 'EnhancedToken';
|
|
916
934
|
/** The contract address of the token. */
|
|
917
935
|
address: Scalars['String']['output'];
|
|
918
|
-
/**
|
|
936
|
+
/**
|
|
937
|
+
* The circulating supply of the token.
|
|
938
|
+
* @deprecated Use the TokenInfo type
|
|
939
|
+
*/
|
|
919
940
|
circulatingSupply?: Maybe<Scalars['String']['output']>;
|
|
920
941
|
/** The token ID on CoinMarketCap. */
|
|
921
942
|
cmcId?: Maybe<Scalars['Int']['output']>;
|
|
@@ -931,17 +952,29 @@ export type EnhancedToken = {
|
|
|
931
952
|
decimals: Scalars['Int']['output'];
|
|
932
953
|
/** A list of exchanges where the token has been traded. */
|
|
933
954
|
exchanges?: Maybe<Array<Exchange>>;
|
|
934
|
-
/**
|
|
955
|
+
/**
|
|
956
|
+
* Information about the token from 3rd party sources.
|
|
957
|
+
* @deprecated Use the TokenInfo type
|
|
958
|
+
*/
|
|
935
959
|
explorerData?: Maybe<ExplorerTokenData>;
|
|
936
960
|
/** Whether or not the token is freezable */
|
|
937
961
|
freezable?: Maybe<Scalars['String']['output']>;
|
|
938
962
|
/** The ID of the token (`address:networkId`). */
|
|
939
963
|
id: Scalars['String']['output'];
|
|
940
|
-
/**
|
|
964
|
+
/**
|
|
965
|
+
* The large token logo URL.
|
|
966
|
+
* @deprecated Use the TokenInfo type
|
|
967
|
+
*/
|
|
941
968
|
imageLargeUrl?: Maybe<Scalars['String']['output']>;
|
|
942
|
-
/**
|
|
969
|
+
/**
|
|
970
|
+
* The small token logo URL.
|
|
971
|
+
* @deprecated Use the TokenInfo type
|
|
972
|
+
*/
|
|
943
973
|
imageSmallUrl?: Maybe<Scalars['String']['output']>;
|
|
944
|
-
/**
|
|
974
|
+
/**
|
|
975
|
+
* The thumbnail token logo URL.
|
|
976
|
+
* @deprecated Use the TokenInfo type
|
|
977
|
+
*/
|
|
945
978
|
imageThumbUrl?: Maybe<Scalars['String']['output']>;
|
|
946
979
|
/** More metadata about the token. */
|
|
947
980
|
info?: Maybe<TokenInfo>;
|
|
@@ -955,13 +988,19 @@ export type EnhancedToken = {
|
|
|
955
988
|
name?: Maybe<Scalars['String']['output']>;
|
|
956
989
|
/** The network ID the token is deployed on. */
|
|
957
990
|
networkId: Scalars['Int']['output'];
|
|
958
|
-
/**
|
|
991
|
+
/**
|
|
992
|
+
* The amount of this token in the pair.
|
|
993
|
+
* @deprecated Pooled can be found on the pair instead
|
|
994
|
+
*/
|
|
959
995
|
pooled?: Maybe<Scalars['String']['output']>;
|
|
960
996
|
/** Community gathered links for the socials of this token. */
|
|
961
997
|
socialLinks?: Maybe<SocialLinks>;
|
|
962
998
|
/** The token symbol. For example, `APE`. */
|
|
963
999
|
symbol?: Maybe<Scalars['String']['output']>;
|
|
964
|
-
/**
|
|
1000
|
+
/**
|
|
1001
|
+
* The total supply of the token.
|
|
1002
|
+
* @deprecated Use the TokenInfo type
|
|
1003
|
+
*/
|
|
965
1004
|
totalSupply?: Maybe<Scalars['String']['output']>;
|
|
966
1005
|
};
|
|
967
1006
|
/** A token transaction. */
|
|
@@ -1205,6 +1244,8 @@ export type ExchangeFilters = {
|
|
|
1205
1244
|
txnCount12?: InputMaybe<StringFilter>;
|
|
1206
1245
|
/** The number of transactions on the exchange in the past 24 hours. */
|
|
1207
1246
|
txnCount24?: InputMaybe<StringFilter>;
|
|
1247
|
+
/** Scope to only verified exchanges */
|
|
1248
|
+
verified?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1208
1249
|
/** The trade volume in the network's base token in the past hour. */
|
|
1209
1250
|
volumeNBT1?: InputMaybe<StringFilter>;
|
|
1210
1251
|
/** The trade volume in the network's base token in the past 4 hours. */
|
|
@@ -1314,7 +1355,10 @@ export type FilterNetworkWalletsInput = {
|
|
|
1314
1355
|
export type FilterTokenWalletsInput = {
|
|
1315
1356
|
/** Exclude wallets with these labels. See [`WalletLabel`](/api-reference/enums/index#walletlabel) for possible values. */
|
|
1316
1357
|
excludeLabels?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
1317
|
-
/**
|
|
1358
|
+
/**
|
|
1359
|
+
* A set of filters to apply
|
|
1360
|
+
* @deprecated Use filtersV2 instead
|
|
1361
|
+
*/
|
|
1318
1362
|
filters?: InputMaybe<WalletTokenFilters>;
|
|
1319
1363
|
/** A set of filters to apply */
|
|
1320
1364
|
filtersV2?: InputMaybe<WalletTokenFiltersV2>;
|
|
@@ -1332,7 +1376,10 @@ export type FilterTokenWalletsInput = {
|
|
|
1332
1376
|
rankings?: InputMaybe<Array<InputMaybe<WalletTokenRanking>>>;
|
|
1333
1377
|
/** The ID of the token to filter wallets for */
|
|
1334
1378
|
tokenId?: InputMaybe<Scalars['String']['input']>;
|
|
1335
|
-
/**
|
|
1379
|
+
/**
|
|
1380
|
+
* The wallet address to filter wallets for
|
|
1381
|
+
* @deprecated Use wallets instead
|
|
1382
|
+
*/
|
|
1336
1383
|
walletAddress?: InputMaybe<Scalars['String']['input']>;
|
|
1337
1384
|
/** A list of wallet addresses to filter wallets for */
|
|
1338
1385
|
wallets?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
@@ -1437,7 +1484,10 @@ export type GetNftPoolsResponse = {
|
|
|
1437
1484
|
export type GetPriceInput = {
|
|
1438
1485
|
/** The contract address of the token. */
|
|
1439
1486
|
address: Scalars['String']['input'];
|
|
1440
|
-
/**
|
|
1487
|
+
/**
|
|
1488
|
+
* 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`.
|
|
1489
|
+
* @deprecated This isn't taken into account anymore.
|
|
1490
|
+
*/
|
|
1441
1491
|
maxDeviations?: InputMaybe<Scalars['Float']['input']>;
|
|
1442
1492
|
/** The network ID the token is deployed on. */
|
|
1443
1493
|
networkId: Scalars['Int']['input'];
|
|
@@ -1469,6 +1519,8 @@ export declare enum GraphQlNftPoolVariant {
|
|
|
1469
1519
|
export type HoldersInput = {
|
|
1470
1520
|
/** A cursor for use in pagination. */
|
|
1471
1521
|
cursor?: InputMaybe<Scalars['String']['input']>;
|
|
1522
|
+
/** The maximum number of holders to return. Default is 50, maximum is 200. */
|
|
1523
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
1472
1524
|
/** The attribute to sort the list on */
|
|
1473
1525
|
sort?: InputMaybe<HoldersInputSort>;
|
|
1474
1526
|
/** The ID of the token (`tokenAddress:networkId`). */
|
|
@@ -1719,9 +1771,11 @@ export type LaunchpadData = {
|
|
|
1719
1771
|
completedSlot?: Maybe<Scalars['Int']['output']>;
|
|
1720
1772
|
/** The percentage of the pool that was sold to the public. */
|
|
1721
1773
|
graduationPercent?: Maybe<Scalars['Float']['output']>;
|
|
1722
|
-
/** The
|
|
1774
|
+
/** The icon URL of the launchpad. */
|
|
1775
|
+
launchpadIconUrl?: Maybe<Scalars['String']['output']>;
|
|
1776
|
+
/** The name of the launchpad. One of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Believe, Moonshot, Jupiter Studio, boop, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults. */
|
|
1723
1777
|
launchpadName?: Maybe<Scalars['String']['output']>;
|
|
1724
|
-
/** The launchpad protocol */
|
|
1778
|
+
/** The launchpad protocol. */
|
|
1725
1779
|
launchpadProtocol?: Maybe<Scalars['String']['output']>;
|
|
1726
1780
|
/** Indicates if the launchpad was migrated. */
|
|
1727
1781
|
migrated?: Maybe<Scalars['Boolean']['output']>;
|
|
@@ -1731,7 +1785,10 @@ export type LaunchpadData = {
|
|
|
1731
1785
|
migratedPoolAddress?: Maybe<Scalars['String']['output']>;
|
|
1732
1786
|
/** The slot number when the launchpad was migrated. */
|
|
1733
1787
|
migratedSlot?: Maybe<Scalars['Int']['output']>;
|
|
1734
|
-
/**
|
|
1788
|
+
/**
|
|
1789
|
+
* The name of the launchpad.
|
|
1790
|
+
* @deprecated Use launchpadName instead
|
|
1791
|
+
*/
|
|
1735
1792
|
name?: Maybe<Scalars['String']['output']>;
|
|
1736
1793
|
/** The address of the pool. */
|
|
1737
1794
|
poolAddress?: Maybe<Scalars['String']['output']>;
|
|
@@ -1747,6 +1804,8 @@ export type LaunchpadTokenEventOutput = {
|
|
|
1747
1804
|
eventType: LaunchpadTokenEventType;
|
|
1748
1805
|
/** The number of holders. */
|
|
1749
1806
|
holders?: Maybe<Scalars['Int']['output']>;
|
|
1807
|
+
/** The name of the launchpad. One of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Believe, Moonshot, Jupiter Studio, boop, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults. */
|
|
1808
|
+
launchpadName: Scalars['String']['output'];
|
|
1750
1809
|
/** The market cap of the token. */
|
|
1751
1810
|
marketCap?: Maybe<Scalars['String']['output']>;
|
|
1752
1811
|
/** The network ID that the token is deployed on. */
|
|
@@ -1785,6 +1844,8 @@ export declare enum LaunchpadTokenEventType {
|
|
|
1785
1844
|
export declare enum LaunchpadTokenProtocol {
|
|
1786
1845
|
/** Protocol name for ArenaTrade. */
|
|
1787
1846
|
ArenaTrade = "ArenaTrade",
|
|
1847
|
+
/** Protocol name for Baseapp. */
|
|
1848
|
+
Baseapp = "Baseapp",
|
|
1788
1849
|
/** Protocol name for boop.fun. */
|
|
1789
1850
|
BoopFun = "BoopFun",
|
|
1790
1851
|
/** Protocol name for EgoTech. */
|
|
@@ -1802,7 +1863,11 @@ export declare enum LaunchpadTokenProtocol {
|
|
|
1802
1863
|
/** Protocol name for LaunchLab and Bonk. */
|
|
1803
1864
|
RaydiumLaunchpad = "RaydiumLaunchpad",
|
|
1804
1865
|
/** Protocol name for Vertigo. */
|
|
1805
|
-
Vertigo = "Vertigo"
|
|
1866
|
+
Vertigo = "Vertigo",
|
|
1867
|
+
/** Protocol name for ZoraCreator. */
|
|
1868
|
+
ZoraCreatorV4 = "ZoraCreatorV4",
|
|
1869
|
+
/** Protocol name for Zora. */
|
|
1870
|
+
ZoraV4 = "ZoraV4"
|
|
1806
1871
|
}
|
|
1807
1872
|
/** Data about liquidity in a pair. */
|
|
1808
1873
|
export type LiquidityData = {
|
|
@@ -1825,7 +1890,10 @@ export type LiquidityLock = {
|
|
|
1825
1890
|
liquidityAmount: Scalars['String']['output'];
|
|
1826
1891
|
/** If the liquidity position is represented by an NFT, this will contain the NFT data. */
|
|
1827
1892
|
liquidityNftData?: Maybe<LiquidityNftData>;
|
|
1828
|
-
/**
|
|
1893
|
+
/**
|
|
1894
|
+
* The protocol that created the pair
|
|
1895
|
+
* @deprecated Use liquidityProtocolV2 instead
|
|
1896
|
+
*/
|
|
1829
1897
|
liquidityProtocol: LiquidityProtocol;
|
|
1830
1898
|
/** The protocol that created the pair */
|
|
1831
1899
|
liquidityProtocolV2: Scalars['String']['output'];
|
|
@@ -2043,6 +2111,8 @@ export type MintEventData = {
|
|
|
2043
2111
|
};
|
|
2044
2112
|
export type Mutation = {
|
|
2045
2113
|
__typename?: 'Mutation';
|
|
2114
|
+
/** Backfill wallet aggregates (trading stats) for a given wallet. This is the data used in the filterWallet/filterTokenWallets and detailedWalletStats queries. */
|
|
2115
|
+
backfillWalletAggregates: WalletAggregateBackfillStateResponse;
|
|
2046
2116
|
/** Create a new set of short-lived api access tokens */
|
|
2047
2117
|
createApiTokens: Array<ApiToken>;
|
|
2048
2118
|
/** Create price, raw transaction, token/pair event, and NFT event webhooks. */
|
|
@@ -2052,6 +2122,9 @@ export type Mutation = {
|
|
|
2052
2122
|
/** Delete multiple webhooks. */
|
|
2053
2123
|
deleteWebhooks?: Maybe<DeleteWebhooksOutput>;
|
|
2054
2124
|
};
|
|
2125
|
+
export type MutationBackfillWalletAggregatesArgs = {
|
|
2126
|
+
input: WalletAggregateBackfillInput;
|
|
2127
|
+
};
|
|
2055
2128
|
export type MutationCreateApiTokensArgs = {
|
|
2056
2129
|
input: CreateApiTokensInput;
|
|
2057
2130
|
};
|
|
@@ -3224,7 +3297,9 @@ export type NftEvent = {
|
|
|
3224
3297
|
__typename?: 'NftEvent';
|
|
3225
3298
|
/** The contract address of the marketplace aggregator that routed the transaction. */
|
|
3226
3299
|
aggregatorAddress?: Maybe<Scalars['String']['output']>;
|
|
3300
|
+
/** @deprecated No longer supported */
|
|
3227
3301
|
baseTokenAddress: Scalars['String']['output'];
|
|
3302
|
+
/** @deprecated No longer supported */
|
|
3228
3303
|
baseTokenPrice?: Maybe<Scalars['String']['output']>;
|
|
3229
3304
|
/** The block number for the transaction. */
|
|
3230
3305
|
blockNumber: Scalars['Int']['output'];
|
|
@@ -3238,13 +3313,17 @@ export type NftEvent = {
|
|
|
3238
3313
|
fillSource?: Maybe<Scalars['String']['output']>;
|
|
3239
3314
|
/** The ID of the NFT event (`contractAddress`:`tokenId`:`networkId`). */
|
|
3240
3315
|
id: Scalars['String']['output'];
|
|
3316
|
+
/** @deprecated No longer supported */
|
|
3241
3317
|
individualBaseTokenPrice?: Maybe<Scalars['String']['output']>;
|
|
3318
|
+
/** @deprecated No longer supported */
|
|
3242
3319
|
individualNetworkBaseTokenPrice?: Maybe<Scalars['String']['output']>;
|
|
3320
|
+
/** @deprecated Some events may lack this value - use the nullable individualTradePrice. individualPrice will return null values as an empty string. */
|
|
3243
3321
|
individualPrice?: Maybe<Scalars['String']['output']>;
|
|
3244
3322
|
/** The price of each individual NFT in the network's base token. */
|
|
3245
3323
|
individualPriceNetworkBaseToken?: Maybe<Scalars['String']['output']>;
|
|
3246
3324
|
/** The price of each individual NFT in USD. */
|
|
3247
3325
|
individualPriceUsd?: Maybe<Scalars['String']['output']>;
|
|
3326
|
+
/** @deprecated Some events may lack this value - use the nullable individualTradePrice. individualTokenPrice will return null values as an empty string. */
|
|
3248
3327
|
individualTokenPrice?: Maybe<Scalars['String']['output']>;
|
|
3249
3328
|
/** The price of each individual NFT in the purchasing token. */
|
|
3250
3329
|
individualTradePrice?: Maybe<Scalars['String']['output']>;
|
|
@@ -3252,6 +3331,7 @@ export type NftEvent = {
|
|
|
3252
3331
|
logIndex: Scalars['Int']['output'];
|
|
3253
3332
|
/** The wallet address of the buyer. */
|
|
3254
3333
|
maker: Scalars['String']['output'];
|
|
3334
|
+
/** @deprecated No longer supported */
|
|
3255
3335
|
networkBaseTokenPrice?: Maybe<Scalars['String']['output']>;
|
|
3256
3336
|
/** The network ID the NFT collection is deployed on. */
|
|
3257
3337
|
networkId: Scalars['Int']['output'];
|
|
@@ -3273,7 +3353,9 @@ export type NftEvent = {
|
|
|
3273
3353
|
timestamp: Scalars['Int']['output'];
|
|
3274
3354
|
/** The token ID of the NFT asset involved in the transaction. */
|
|
3275
3355
|
tokenId: Scalars['String']['output'];
|
|
3356
|
+
/** @deprecated Some events may lack this value - use the nullable totalTradePrice. tokenPrice will return null values as an empty string. */
|
|
3276
3357
|
tokenPrice: Scalars['String']['output'];
|
|
3358
|
+
/** @deprecated Some events may lack this value - use the nullable totalTradePrice. totalPrice will return null values as an empty string. */
|
|
3277
3359
|
totalPrice: Scalars['String']['output'];
|
|
3278
3360
|
/** The total trade price for the transaction in the network's base token. (The transaction can include more than 1 token). */
|
|
3279
3361
|
totalPriceNetworkBaseToken?: Maybe<Scalars['String']['output']>;
|
|
@@ -3565,31 +3647,52 @@ export type NftPoolCollectionFilterResult = {
|
|
|
3565
3647
|
name?: Maybe<Scalars['String']['output']>;
|
|
3566
3648
|
/** The network ID the NFT collection is deployed on. */
|
|
3567
3649
|
networkId?: Maybe<Scalars['Int']['output']>;
|
|
3568
|
-
/**
|
|
3650
|
+
/**
|
|
3651
|
+
* The number of NFTs in all of the collection's pools.
|
|
3652
|
+
* @deprecated nftBalance is changing from Int to String - use nftBalanceV2 instead.
|
|
3653
|
+
*/
|
|
3569
3654
|
nftBalance?: Maybe<Scalars['Int']['output']>;
|
|
3570
3655
|
/** The number of NFTs in all of the collection's pools. */
|
|
3571
3656
|
nftBalanceV2?: Maybe<Scalars['String']['output']>;
|
|
3572
|
-
/**
|
|
3657
|
+
/**
|
|
3658
|
+
* The number of NFTs bought and sold in any of the collection's pools over the past 24 hours.
|
|
3659
|
+
* @deprecated nftVolume24 is changing from Int to String - use nftVolume24V2 instead.
|
|
3660
|
+
*/
|
|
3573
3661
|
nftVolume24?: Maybe<Scalars['Int']['output']>;
|
|
3574
3662
|
/** The number of NFTs bought and sold in any of the collection's pools over the past 24 hours. */
|
|
3575
3663
|
nftVolume24V2?: Maybe<Scalars['String']['output']>;
|
|
3576
|
-
/**
|
|
3664
|
+
/**
|
|
3665
|
+
* The number of NFTs bought or sold in any of the collection's pools over the collection's lifetime.
|
|
3666
|
+
* @deprecated nftVolumeAll is changing from Int to String - use nftVolumeAllV2 instead.
|
|
3667
|
+
*/
|
|
3577
3668
|
nftVolumeAll?: Maybe<Scalars['Int']['output']>;
|
|
3578
3669
|
/** The number of NFTs bought or sold in any of the collection's pools over the collection's lifetime. */
|
|
3579
3670
|
nftVolumeAllV2?: Maybe<Scalars['String']['output']>;
|
|
3580
|
-
/**
|
|
3671
|
+
/**
|
|
3672
|
+
* The number of NFTs bought in any of the collection's pools over the past 24 hours.
|
|
3673
|
+
* @deprecated nftsBought24 is changing from Int to String - use nftsBought24V2 instead.
|
|
3674
|
+
*/
|
|
3581
3675
|
nftsBought24?: Maybe<Scalars['Int']['output']>;
|
|
3582
3676
|
/** The number of NFTs bought in any of the collection's pools over the past 24 hours. */
|
|
3583
3677
|
nftsBought24V2?: Maybe<Scalars['String']['output']>;
|
|
3584
|
-
/**
|
|
3678
|
+
/**
|
|
3679
|
+
* The number of NFTs bought in any of the collection's pools over the collection's lifetime.
|
|
3680
|
+
* @deprecated nftsBoughtAll is changing from Int to String - use nftsBoughtAllV2 instead.
|
|
3681
|
+
*/
|
|
3585
3682
|
nftsBoughtAll?: Maybe<Scalars['Int']['output']>;
|
|
3586
3683
|
/** The number of NFTs bought in any of the collection's pools over the collection's lifetime. */
|
|
3587
3684
|
nftsBoughtAllV2?: Maybe<Scalars['String']['output']>;
|
|
3588
|
-
/**
|
|
3685
|
+
/**
|
|
3686
|
+
* The number of NFTs sold in any of the collection's pools over the past 24 hours.
|
|
3687
|
+
* @deprecated nftsSold24 is changing from Int to String - use nftsSold24V2 instead.
|
|
3688
|
+
*/
|
|
3589
3689
|
nftsSold24?: Maybe<Scalars['Int']['output']>;
|
|
3590
3690
|
/** The number of NFTs sold in any of the collection's pools over the past 24 hours. */
|
|
3591
3691
|
nftsSold24V2?: Maybe<Scalars['String']['output']>;
|
|
3592
|
-
/**
|
|
3692
|
+
/**
|
|
3693
|
+
* The number of NFTs sold in any of the collection's pools over the collection's lifetime.
|
|
3694
|
+
* @deprecated nftsSoldAll is changing from Int to String - use nftsSoldAllV2 instead.
|
|
3695
|
+
*/
|
|
3593
3696
|
nftsSoldAll?: Maybe<Scalars['Int']['output']>;
|
|
3594
3697
|
/** The number of NFTs sold in any of the collection's pools over the collection's lifetime. */
|
|
3595
3698
|
nftsSoldAllV2?: Maybe<Scalars['String']['output']>;
|
|
@@ -3625,7 +3728,10 @@ export type NftPoolCollectionFilterResult = {
|
|
|
3625
3728
|
symbol?: Maybe<Scalars['String']['output']>;
|
|
3626
3729
|
/** The unix timestamp indicating the last time the data was updated. Updates every 2 hours. */
|
|
3627
3730
|
timestamp?: Maybe<Scalars['Int']['output']>;
|
|
3628
|
-
/**
|
|
3731
|
+
/**
|
|
3732
|
+
* The total supply of the collection.
|
|
3733
|
+
* @deprecated totalSupply is changing from Int to String - use totalSupplyV2 instead.
|
|
3734
|
+
*/
|
|
3629
3735
|
totalSupply?: Maybe<Scalars['Int']['output']>;
|
|
3630
3736
|
totalSupplyV2?: Maybe<Scalars['String']['output']>;
|
|
3631
3737
|
/** The total volume of the collection in the network's base token over the past 24 hours. */
|
|
@@ -3801,17 +3907,26 @@ export type NftPoolCollectionResponse = {
|
|
|
3801
3907
|
floorNBT?: Maybe<Scalars['String']['output']>;
|
|
3802
3908
|
/** An image associated with the NFT collection. */
|
|
3803
3909
|
image?: Maybe<Scalars['String']['output']>;
|
|
3804
|
-
/**
|
|
3910
|
+
/**
|
|
3911
|
+
* The media for one of the assets within the NFT collection.
|
|
3912
|
+
* @deprecated Use `image` from `NftContract` instead.
|
|
3913
|
+
*/
|
|
3805
3914
|
media?: Maybe<NftAssetMedia>;
|
|
3806
3915
|
/** The name of the NFT collection. */
|
|
3807
3916
|
name?: Maybe<Scalars['String']['output']>;
|
|
3808
3917
|
/** The network ID the NFT collection is deployed on. */
|
|
3809
3918
|
networkId: Scalars['Int']['output'];
|
|
3810
|
-
/**
|
|
3919
|
+
/**
|
|
3920
|
+
* The current number of NFTs in all the NFT collection's pools.
|
|
3921
|
+
* @deprecated nftBalance is changing from Int to String - use nftBalanceV2 instead.
|
|
3922
|
+
*/
|
|
3811
3923
|
nftBalance: Scalars['Int']['output'];
|
|
3812
3924
|
/** The current number of NFTs in all the NFT collection's pools. */
|
|
3813
3925
|
nftBalanceV2: Scalars['String']['output'];
|
|
3814
|
-
/**
|
|
3926
|
+
/**
|
|
3927
|
+
* The total number of NFTs bought and sold over the collection's lifetime.
|
|
3928
|
+
* @deprecated nftVolumeAllTime is changing from Int to String - use nftVolumeAllTimeV2 instead.
|
|
3929
|
+
*/
|
|
3815
3930
|
nftVolumeAllTime?: Maybe<Scalars['Int']['output']>;
|
|
3816
3931
|
/** The total number of NFTs bought and sold over the collection's lifetime. */
|
|
3817
3932
|
nftVolumeAllTimeV2?: Maybe<Scalars['String']['output']>;
|
|
@@ -3904,7 +4019,10 @@ export type NftPoolEventNftTransferV2 = {
|
|
|
3904
4019
|
nftQuantity: Scalars['String']['output'];
|
|
3905
4020
|
/** The NFT token ID involved in the transfer. */
|
|
3906
4021
|
nftTokenId: Scalars['String']['output'];
|
|
3907
|
-
/**
|
|
4022
|
+
/**
|
|
4023
|
+
* The number of tokens involved in the transfer.
|
|
4024
|
+
* @deprecated nftTokenQuantity is no longer supported - use nftQuantity instead.
|
|
4025
|
+
*/
|
|
3908
4026
|
nftTokenQuantity: Scalars['String']['output'];
|
|
3909
4027
|
};
|
|
3910
4028
|
/** The type of an NFT pool event. */
|
|
@@ -4005,31 +4123,52 @@ export type NftPoolFilterResult = {
|
|
|
4005
4123
|
networkId: Scalars['Int']['output'];
|
|
4006
4124
|
/** The list of NFT assets in the pool. */
|
|
4007
4125
|
nftAssets?: Maybe<Array<Maybe<NftAsset>>>;
|
|
4008
|
-
/**
|
|
4126
|
+
/**
|
|
4127
|
+
* The current number of NFTs in the pool.
|
|
4128
|
+
* @deprecated nftBalance is changing from Int to String - use nftBalanceV2 instead.
|
|
4129
|
+
*/
|
|
4009
4130
|
nftBalance?: Maybe<Scalars['Int']['output']>;
|
|
4010
4131
|
/** The current number of NFTs in the pool. */
|
|
4011
4132
|
nftBalanceV2?: Maybe<Scalars['String']['output']>;
|
|
4012
|
-
/**
|
|
4133
|
+
/**
|
|
4134
|
+
* The total number of NFTs bought and sold over the past 24 hours.
|
|
4135
|
+
* @deprecated nftVolume24 is changing from Int to String - use nftVolume24V2 instead.
|
|
4136
|
+
*/
|
|
4013
4137
|
nftVolume24?: Maybe<Scalars['Int']['output']>;
|
|
4014
4138
|
/** The total number of NFTs bought and sold over the past 24 hours. */
|
|
4015
4139
|
nftVolume24V2?: Maybe<Scalars['String']['output']>;
|
|
4016
|
-
/**
|
|
4140
|
+
/**
|
|
4141
|
+
* The total number of NFTs bought and sold over the pool's lifetime.
|
|
4142
|
+
* @deprecated nftVolumeAll is changing from Int to String - use nftVolumeAllV2 instead.
|
|
4143
|
+
*/
|
|
4017
4144
|
nftVolumeAll?: Maybe<Scalars['Int']['output']>;
|
|
4018
4145
|
/** The total number of NFTs bought and sold over the pool's lifetime. */
|
|
4019
4146
|
nftVolumeAllV2?: Maybe<Scalars['String']['output']>;
|
|
4020
|
-
/**
|
|
4147
|
+
/**
|
|
4148
|
+
* The total number of NFTs bought by the pool over the past 24 hours.
|
|
4149
|
+
* @deprecated nftsBought24 is changing from Int to String - use nftsBought24V2 instead.
|
|
4150
|
+
*/
|
|
4021
4151
|
nftsBought24?: Maybe<Scalars['Int']['output']>;
|
|
4022
4152
|
/** The total number of NFTs bought by the pool over the past 24 hours. */
|
|
4023
4153
|
nftsBought24V2?: Maybe<Scalars['String']['output']>;
|
|
4024
|
-
/**
|
|
4154
|
+
/**
|
|
4155
|
+
* The total number of NFTs bought over the pool's lifetime.
|
|
4156
|
+
* @deprecated nftsBoughtAll is changing from Int to String - use nftsBoughtAllV2 instead.
|
|
4157
|
+
*/
|
|
4025
4158
|
nftsBoughtAll?: Maybe<Scalars['Int']['output']>;
|
|
4026
4159
|
/** The total number of NFTs bought over the pool's lifetime. */
|
|
4027
4160
|
nftsBoughtAllV2?: Maybe<Scalars['String']['output']>;
|
|
4028
|
-
/**
|
|
4161
|
+
/**
|
|
4162
|
+
* The total number of NFTs sold by the pool over the past 24 hours.
|
|
4163
|
+
* @deprecated nftsSold24 is changing from Int to String - use nftsSold24V2 instead.
|
|
4164
|
+
*/
|
|
4029
4165
|
nftsSold24?: Maybe<Scalars['Int']['output']>;
|
|
4030
4166
|
/** The total number of NFTs sold by the pool over the past 24 hours. */
|
|
4031
4167
|
nftsSold24V2?: Maybe<Scalars['String']['output']>;
|
|
4032
|
-
/**
|
|
4168
|
+
/**
|
|
4169
|
+
* The total number of NFTs sold over the pool's lifetime.
|
|
4170
|
+
* @deprecated nftsSoldAll is changing from Int to String - use nftsSoldAllV2 instead.
|
|
4171
|
+
*/
|
|
4033
4172
|
nftsSoldAll?: Maybe<Scalars['Int']['output']>;
|
|
4034
4173
|
/** The total number of NFTs sold over the pool's lifetime. */
|
|
4035
4174
|
nftsSoldAllV2?: Maybe<Scalars['String']['output']>;
|
|
@@ -4346,11 +4485,17 @@ export type NftPoolResponse = {
|
|
|
4346
4485
|
networkId: Scalars['Int']['output'];
|
|
4347
4486
|
/** The list of NFT assets in the pool. */
|
|
4348
4487
|
nftAssets?: Maybe<Array<Maybe<NftAsset>>>;
|
|
4349
|
-
/**
|
|
4488
|
+
/**
|
|
4489
|
+
* The current number of NFTs in the pool.
|
|
4490
|
+
* @deprecated nftBalance is changing from Int to String - use nftBalanceV2 instead.
|
|
4491
|
+
*/
|
|
4350
4492
|
nftBalance?: Maybe<Scalars['Int']['output']>;
|
|
4351
4493
|
/** The current number of NFTs in the pool. */
|
|
4352
4494
|
nftBalanceV2: Scalars['String']['output'];
|
|
4353
|
-
/**
|
|
4495
|
+
/**
|
|
4496
|
+
* The total number of NFTs bought and sold over the pool's lifetime.
|
|
4497
|
+
* @deprecated nftVolumeAllTime is changing from Int to String - use nftVolumeAllTimeV2 instead.
|
|
4498
|
+
*/
|
|
4354
4499
|
nftVolumeAllTime: Scalars['Int']['output'];
|
|
4355
4500
|
/** The total number of NFTs bought and sold over the pool's lifetime. */
|
|
4356
4501
|
nftVolumeAllTimeV2: Scalars['String']['output'];
|
|
@@ -4670,16 +4815,24 @@ export type OnEventsCreatedByMakerInput = {
|
|
|
4670
4815
|
makerAddress: Scalars['String']['input'];
|
|
4671
4816
|
};
|
|
4672
4817
|
export type OnLaunchpadTokenEventBatchInput = {
|
|
4818
|
+
/** The type of event. */
|
|
4819
|
+
eventType?: InputMaybe<LaunchpadTokenEventType>;
|
|
4820
|
+
/** The name of the launchpad. One of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Believe, Moonshot, Jupiter Studio, boop, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults. */
|
|
4821
|
+
launchpadName?: InputMaybe<Scalars['String']['input']>;
|
|
4822
|
+
/** The network ID that the token is deployed on. */
|
|
4673
4823
|
networkId?: InputMaybe<Scalars['Int']['input']>;
|
|
4824
|
+
/** The protocol of the token. */
|
|
4674
4825
|
protocol?: InputMaybe<LaunchpadTokenProtocol>;
|
|
4675
4826
|
};
|
|
4676
4827
|
/** Input for `onLaunchpadTokenEvent`. */
|
|
4677
4828
|
export type OnLaunchpadTokenEventInput = {
|
|
4678
|
-
/** The contract address of the token.
|
|
4829
|
+
/** The contract address of the token. Requires `networkId`. */
|
|
4679
4830
|
address?: InputMaybe<Scalars['String']['input']>;
|
|
4680
4831
|
/** The type of event. */
|
|
4681
4832
|
eventType?: InputMaybe<LaunchpadTokenEventType>;
|
|
4682
|
-
/** The
|
|
4833
|
+
/** The name of the launchpad. One of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Believe, Moonshot, Jupiter Studio, boop, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults. */
|
|
4834
|
+
launchpadName?: InputMaybe<Scalars['String']['input']>;
|
|
4835
|
+
/** The network ID that the token is deployed on. */
|
|
4683
4836
|
networkId?: InputMaybe<Scalars['Int']['input']>;
|
|
4684
4837
|
/** The protocol of the token. */
|
|
4685
4838
|
protocol?: InputMaybe<LaunchpadTokenProtocol>;
|
|
@@ -4772,6 +4925,13 @@ export type Pair = {
|
|
|
4772
4925
|
networkId: Scalars['Int']['output'];
|
|
4773
4926
|
/** The pooled amounts of each token in the pair. */
|
|
4774
4927
|
pooled?: Maybe<PooledTokenValues>;
|
|
4928
|
+
/**
|
|
4929
|
+
* The per-protocol data for the pair, if applicable
|
|
4930
|
+
* @deprecated Use protocolData instead
|
|
4931
|
+
*/
|
|
4932
|
+
protocolCustomData?: Maybe<PairProtocolCustomData>;
|
|
4933
|
+
/** Custom data for the pair, only certain protocols have this. (uniswapv4, arenatrade for example) */
|
|
4934
|
+
protocolData?: Maybe<ProtocolData>;
|
|
4775
4935
|
/** The amount of required tick separation. Only applicable for pairs on UniswapV3. */
|
|
4776
4936
|
tickSpacing?: Maybe<Scalars['Int']['output']>;
|
|
4777
4937
|
/** The contract address of `token0`. */
|
|
@@ -4996,6 +5156,8 @@ export type PairFilters = {
|
|
|
4996
5156
|
highPrice12?: InputMaybe<NumberFilter>;
|
|
4997
5157
|
/** The highest price in USD in the past 24 hours. */
|
|
4998
5158
|
highPrice24?: InputMaybe<NumberFilter>;
|
|
5159
|
+
/** The address of the hook contract for applicable protocols. */
|
|
5160
|
+
hookAddress?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
4999
5161
|
/** Whether to filter for pairs on testnet networks. Use `true` for testnet pairs only, `false` for mainnet pairs only and `undefined` (default) for both. */
|
|
5000
5162
|
isTestnet?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5001
5163
|
/** The unix timestamp for the last transaction to happen on the pair. */
|
|
@@ -5200,6 +5362,11 @@ export type PairMetadataToken = {
|
|
|
5200
5362
|
price: Scalars['String']['output'];
|
|
5201
5363
|
symbol: Scalars['String']['output'];
|
|
5202
5364
|
};
|
|
5365
|
+
export type PairProtocolCustomData = {
|
|
5366
|
+
__typename?: 'PairProtocolCustomData';
|
|
5367
|
+
/** The address of the hook contract for Uniswap V4 pools. */
|
|
5368
|
+
uniswapV4HookAddress?: Maybe<Scalars['String']['output']>;
|
|
5369
|
+
};
|
|
5203
5370
|
/** Input type of `PairRanking`. */
|
|
5204
5371
|
export type PairRanking = {
|
|
5205
5372
|
/** The attribute to rank pairs by. */
|
|
@@ -6062,6 +6229,7 @@ export type PrimePoolWithdrawData = {
|
|
|
6062
6229
|
/** The amount of PRIME the user is not eligible for either from having already harvesting or from not caching in the past. */
|
|
6063
6230
|
userPrimeRewardDebt: Scalars['String']['output'];
|
|
6064
6231
|
};
|
|
6232
|
+
export type ProtocolData = ArenaTradeData | UniswapV4Data;
|
|
6065
6233
|
/** The type of publishing for the webhook. If not set, it defaults to `SINGLE`. */
|
|
6066
6234
|
export declare enum PublishingType {
|
|
6067
6235
|
Batch = "BATCH",
|
|
@@ -6081,7 +6249,10 @@ export type Query = {
|
|
|
6081
6249
|
detailedWalletStats?: Maybe<DetailedWalletStats>;
|
|
6082
6250
|
/** Returns a list of exchanges based on a variety of filters. */
|
|
6083
6251
|
filterExchanges?: Maybe<ExchangeFilterConnection>;
|
|
6084
|
-
/**
|
|
6252
|
+
/**
|
|
6253
|
+
* Returns a list of wallets with stats narrowed down to a specific network.
|
|
6254
|
+
* @deprecated Use filterWallets instead
|
|
6255
|
+
*/
|
|
6085
6256
|
filterNetworkWallets: NetworkWalletFilterConnection;
|
|
6086
6257
|
/** Returns a list of NFT collection based on a variety of filters. */
|
|
6087
6258
|
filterNftCollections?: Maybe<NftCollectionFilterConnection>;
|
|
@@ -6109,15 +6280,24 @@ export type Query = {
|
|
|
6109
6280
|
getDetailedPairStats?: Maybe<DetailedPairStats>;
|
|
6110
6281
|
/** Returns bucketed stats for a given token within a list of pairs. */
|
|
6111
6282
|
getDetailedPairsStats?: Maybe<Array<Maybe<DetailedPairStats>>>;
|
|
6112
|
-
/**
|
|
6283
|
+
/**
|
|
6284
|
+
* Returns bucketed stats for a given token within a pair.
|
|
6285
|
+
* @deprecated Use `getDetailedPairStats` instead, it has more resolutions and better support
|
|
6286
|
+
*/
|
|
6113
6287
|
getDetailedStats?: Maybe<DetailedStats>;
|
|
6114
6288
|
/** Returns a list of event labels for a pair. */
|
|
6115
6289
|
getEventLabels?: Maybe<EventLabelConnection>;
|
|
6116
6290
|
/** Returns a list of decentralized exchange metadata. */
|
|
6117
6291
|
getExchanges: Array<Exchange>;
|
|
6118
|
-
/**
|
|
6292
|
+
/**
|
|
6293
|
+
* Returns new tokens listed over the last three days.
|
|
6294
|
+
* @deprecated This query is longer supported. Instead use filterPairs with sort order on createdAt DESC
|
|
6295
|
+
*/
|
|
6119
6296
|
getLatestPairs?: Maybe<LatestPairConnection>;
|
|
6120
|
-
/**
|
|
6297
|
+
/**
|
|
6298
|
+
* Returns a list of latest tokens.
|
|
6299
|
+
* @deprecated This query is no longer supported. Use `filterTokens` with a createdAt: DESC filter instead.
|
|
6300
|
+
*/
|
|
6121
6301
|
getLatestTokens?: Maybe<LatestTokenConnection>;
|
|
6122
6302
|
/** Returns metadata for a given network supported on Codex. */
|
|
6123
6303
|
getNetworkStats?: Maybe<GetNetworkStatsResponse>;
|
|
@@ -6177,7 +6357,10 @@ export type Query = {
|
|
|
6177
6357
|
listPairsForToken: Array<Maybe<Pair>>;
|
|
6178
6358
|
/** Returns a list of pair metadata for a token. */
|
|
6179
6359
|
listPairsWithMetadataForToken: ListPairsForTokenResponse;
|
|
6180
|
-
/**
|
|
6360
|
+
/**
|
|
6361
|
+
* Returns a list of trending tokens across any given network(s).
|
|
6362
|
+
* @deprecated This query is no longer supported and will not return up to date data. Use `filterTokens` instead.
|
|
6363
|
+
*/
|
|
6181
6364
|
listTopTokens?: Maybe<Array<TokenWithMetadata>>;
|
|
6182
6365
|
/** Returns list of wallets that hold a given collection, ordered by holdings descending. Also has the unique count of holders for that collection. */
|
|
6183
6366
|
nftHolders: NftHoldersResponse;
|
|
@@ -6187,7 +6370,10 @@ export type Query = {
|
|
|
6187
6370
|
primeHolders: PrimeHolders;
|
|
6188
6371
|
/** Returns a list of NFT collections matching a given query string. */
|
|
6189
6372
|
searchNfts?: Maybe<NftSearchResponse>;
|
|
6190
|
-
/**
|
|
6373
|
+
/**
|
|
6374
|
+
* Returns a list of tokens matching a given query string.
|
|
6375
|
+
* @deprecated This query is no longer supported and will not return up to date data. Use `filterTokens` instead.
|
|
6376
|
+
*/
|
|
6191
6377
|
searchTokens?: Maybe<TokenSearchResponse>;
|
|
6192
6378
|
/** Returns a single token by its address & network id. */
|
|
6193
6379
|
token: EnhancedToken;
|
|
@@ -6201,6 +6387,8 @@ export type Query = {
|
|
|
6201
6387
|
tokens: Array<Maybe<EnhancedToken>>;
|
|
6202
6388
|
/** Returns the percentage of a token's total supply held collectively by its top 10 holders. */
|
|
6203
6389
|
top10HoldersPercent?: Maybe<Scalars['Float']['output']>;
|
|
6390
|
+
/** Once a wallet backfill has been triggered, this query can be used to check the status of the backfill. */
|
|
6391
|
+
walletAggregateBackfillState: WalletAggregateBackfillStateResponse;
|
|
6204
6392
|
/** Returns a chart of a wallet's activity. */
|
|
6205
6393
|
walletChart?: Maybe<WalletChartResponse>;
|
|
6206
6394
|
/** Returns list of NFT assets held by a given wallet for a single collection. */
|
|
@@ -6566,6 +6754,9 @@ export type QueryTokensArgs = {
|
|
|
6566
6754
|
export type QueryTop10HoldersPercentArgs = {
|
|
6567
6755
|
tokenId: Scalars['String']['input'];
|
|
6568
6756
|
};
|
|
6757
|
+
export type QueryWalletAggregateBackfillStateArgs = {
|
|
6758
|
+
input: WalletAggregateBackfillStateInput;
|
|
6759
|
+
};
|
|
6569
6760
|
export type QueryWalletChartArgs = {
|
|
6570
6761
|
input: WalletChartInput;
|
|
6571
6762
|
};
|
|
@@ -6814,9 +7005,15 @@ export type Subscription = {
|
|
|
6814
7005
|
onEventsCreatedByMaker?: Maybe<AddEventsByMakerOutput>;
|
|
6815
7006
|
/** Live-streamed list of wallets that hold a given token. Also has the unique count of holders for that token. */
|
|
6816
7007
|
onHoldersUpdated?: Maybe<HoldersUpdate>;
|
|
6817
|
-
/**
|
|
7008
|
+
/**
|
|
7009
|
+
* Live-streamed updates for newly listed pairs.
|
|
7010
|
+
* @deprecated No longer supported
|
|
7011
|
+
*/
|
|
6818
7012
|
onLatestPairUpdated?: Maybe<LatestPair>;
|
|
6819
|
-
/**
|
|
7013
|
+
/**
|
|
7014
|
+
* Live-streamed updates for newly listed tokens.
|
|
7015
|
+
* @deprecated No longer supported
|
|
7016
|
+
*/
|
|
6820
7017
|
onLatestTokens?: Maybe<LatestToken>;
|
|
6821
7018
|
/** Live-streamed launchpad token event. */
|
|
6822
7019
|
onLaunchpadTokenEvent: LaunchpadTokenEventOutput;
|
|
@@ -7141,6 +7338,7 @@ export type TokenFilterConnection = {
|
|
|
7141
7338
|
/** A token matching a set of filter parameters. */
|
|
7142
7339
|
export type TokenFilterResult = {
|
|
7143
7340
|
__typename?: 'TokenFilterResult';
|
|
7341
|
+
/** @deprecated Age isn't supported - use createdAt instead */
|
|
7144
7342
|
age?: Maybe<Scalars['Int']['output']>;
|
|
7145
7343
|
/** The number of buys in the past hour. */
|
|
7146
7344
|
buyCount1?: Maybe<Scalars['Int']['output']>;
|
|
@@ -7178,6 +7376,7 @@ export type TokenFilterResult = {
|
|
|
7178
7376
|
createdAt?: Maybe<Scalars['Int']['output']>;
|
|
7179
7377
|
/** The exchanges the token is listed on. */
|
|
7180
7378
|
exchanges?: Maybe<Array<Maybe<Exchange>>>;
|
|
7379
|
+
/** @deprecated FDV isn't supported - use marketCap instead */
|
|
7181
7380
|
fdv?: Maybe<Scalars['String']['output']>;
|
|
7182
7381
|
/** The highest price in USD in the past hour. */
|
|
7183
7382
|
high1?: Maybe<Scalars['String']['output']>;
|
|
@@ -7308,6 +7507,7 @@ export type TokenFilterResult = {
|
|
|
7308
7507
|
};
|
|
7309
7508
|
/** Input type of `TokenFilters`. */
|
|
7310
7509
|
export type TokenFilters = {
|
|
7510
|
+
/** @deprecated Age isn't supported - use createdAt instead */
|
|
7311
7511
|
age?: InputMaybe<NumberFilter>;
|
|
7312
7512
|
/** The number of buys in the past hour. */
|
|
7313
7513
|
buyCount1?: InputMaybe<NumberFilter>;
|
|
@@ -7349,6 +7549,7 @@ export type TokenFilters = {
|
|
|
7349
7549
|
exchangeAddress?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
7350
7550
|
/** 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. */
|
|
7351
7551
|
exchangeId?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
7552
|
+
/** @deprecated FDV isn't supported - use marketCap instead */
|
|
7352
7553
|
fdv?: InputMaybe<NumberFilter>;
|
|
7353
7554
|
/** The token in freezable */
|
|
7354
7555
|
freezable?: InputMaybe<Scalars['Boolean']['input']>;
|
|
@@ -7382,7 +7583,7 @@ export type TokenFilters = {
|
|
|
7382
7583
|
launchpadMigrated?: InputMaybe<Scalars['Boolean']['input']>;
|
|
7383
7584
|
/** The timestamp when the launchpad was migrated */
|
|
7384
7585
|
launchpadMigratedAt?: InputMaybe<NumberFilter>;
|
|
7385
|
-
/** The name of the launchpad. One of the following: Four.meme,
|
|
7586
|
+
/** The name of the launchpad. One of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Believe, Moonshot, Jupiter Studio, boop, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults. */
|
|
7386
7587
|
launchpadName?: InputMaybe<Scalars['String']['input']>;
|
|
7387
7588
|
/** The launchpad protocol */
|
|
7388
7589
|
launchpadProtocol?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -7432,7 +7633,7 @@ export type TokenFilters = {
|
|
|
7432
7633
|
swapPct1dOldWallet?: InputMaybe<NumberFilter>;
|
|
7433
7634
|
/** The percentage of wallets that are less than 7d old that have traded in the last 24h */
|
|
7434
7635
|
swapPct7dOldWallet?: InputMaybe<NumberFilter>;
|
|
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 `
|
|
7636
|
+
/** 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 `true`. (i.e. stablecoins, rugs, network base tokens) If you want only tokens that pass the trending ignore checks, then set it to `false`. */
|
|
7436
7637
|
trendingIgnored?: InputMaybe<Scalars['Boolean']['input']>;
|
|
7437
7638
|
/** The number of transactions in the past hour. */
|
|
7438
7639
|
txnCount1?: InputMaybe<NumberFilter>;
|
|
@@ -7674,6 +7875,7 @@ export type TokenRanking = {
|
|
|
7674
7875
|
};
|
|
7675
7876
|
/** The attribute used to rank tokens. */
|
|
7676
7877
|
export declare enum TokenRankingAttribute {
|
|
7878
|
+
/** @deprecated Use createdAt instead */
|
|
7677
7879
|
Age = "age",
|
|
7678
7880
|
BuyCount1 = "buyCount1",
|
|
7679
7881
|
BuyCount4 = "buyCount4",
|
|
@@ -8166,6 +8368,16 @@ export type UnconfirmedSwapEventData = {
|
|
|
8166
8368
|
/** The type of token event, `Swap`. */
|
|
8167
8369
|
type: EventType;
|
|
8168
8370
|
};
|
|
8371
|
+
export type UniswapV4Data = {
|
|
8372
|
+
__typename?: 'UniswapV4Data';
|
|
8373
|
+
type: Scalars['String']['output'];
|
|
8374
|
+
/** The address of the hook contract for Uniswap V4 pools. */
|
|
8375
|
+
uniswapV4HookAddress?: Maybe<Scalars['String']['output']>;
|
|
8376
|
+
};
|
|
8377
|
+
/** Input arguments for the `backfillWalletAggregates` mutation. */
|
|
8378
|
+
export type WalletAggregateBackfillInput = {
|
|
8379
|
+
walletAddress: Scalars['String']['input'];
|
|
8380
|
+
};
|
|
8169
8381
|
/** The state of the wallet backfill. */
|
|
8170
8382
|
export declare enum WalletAggregateBackfillState {
|
|
8171
8383
|
/** Historical stats calculations have been blocked for this wallet. It may have been flagged as a bot */
|
|
@@ -8181,6 +8393,16 @@ export declare enum WalletAggregateBackfillState {
|
|
|
8181
8393
|
/** Historical stats calculations for this wallet are queued and will be processed soon */
|
|
8182
8394
|
BackfillRequestReceived = "BackfillRequestReceived"
|
|
8183
8395
|
}
|
|
8396
|
+
/** Input arguments for the `walletAggregateBackfillState` mutation. */
|
|
8397
|
+
export type WalletAggregateBackfillStateInput = {
|
|
8398
|
+
walletAddress: Scalars['String']['input'];
|
|
8399
|
+
};
|
|
8400
|
+
/** The response for the `walletAggregateBackfillState` mutation. */
|
|
8401
|
+
export type WalletAggregateBackfillStateResponse = {
|
|
8402
|
+
__typename?: 'WalletAggregateBackfillStateResponse';
|
|
8403
|
+
status: WalletAggregateBackfillState;
|
|
8404
|
+
walletAddress: Scalars['String']['output'];
|
|
8405
|
+
};
|
|
8184
8406
|
/** The data for a chart of a wallet's activity. */
|
|
8185
8407
|
export type WalletChartData = {
|
|
8186
8408
|
__typename?: 'WalletChartData';
|