@codex-data/sdk 1.0.12 → 1.0.13
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 +211 -48
- package/dist/resources/graphql.d.ts.map +1 -1
- package/dist/resources/graphql.js +1 -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 +216 -1364
- package/dist/sdk/generated/graphql.d.ts.map +1 -1
- package/dist/sdk/generated/graphql.js +36 -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 +209 -133
- package/src/resources/graphql.ts +211 -48
- package/src/resources/schema.graphql +85 -71
- 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 +275 -177
- 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
|
@@ -185,7 +185,10 @@ export type Balance = {
|
|
|
185
185
|
export type BalancesInput = {
|
|
186
186
|
/** A cursor for use in pagination. */
|
|
187
187
|
cursor?: InputMaybe<Scalars['String']['input']>;
|
|
188
|
-
/**
|
|
188
|
+
/**
|
|
189
|
+
* Optional token specifically request the balance for. Only works with `walletId`.
|
|
190
|
+
* @deprecated Use tokens list instead
|
|
191
|
+
*/
|
|
189
192
|
filterToken?: InputMaybe<Scalars['String']['input']>;
|
|
190
193
|
/** 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
194
|
includeNative?: InputMaybe<Scalars['Boolean']['input']>;
|
|
@@ -199,7 +202,10 @@ export type BalancesInput = {
|
|
|
199
202
|
tokens?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
200
203
|
/** The wallet address to filter by. */
|
|
201
204
|
walletAddress?: InputMaybe<Scalars['String']['input']>;
|
|
202
|
-
/**
|
|
205
|
+
/**
|
|
206
|
+
* The ID of the wallet (`walletAddress:networkId`).
|
|
207
|
+
* @deprecated Use walletAddress and networkId instead
|
|
208
|
+
*/
|
|
203
209
|
walletId?: InputMaybe<Scalars['String']['input']>;
|
|
204
210
|
};
|
|
205
211
|
export type BalancesResponse = {
|
|
@@ -244,7 +250,10 @@ export type BarsResponse = {
|
|
|
244
250
|
traders: Array<Maybe<Scalars['Int']['output']>>;
|
|
245
251
|
/** The number of transactions */
|
|
246
252
|
transactions: Array<Maybe<Scalars['Int']['output']>>;
|
|
247
|
-
/**
|
|
253
|
+
/**
|
|
254
|
+
* The volume.
|
|
255
|
+
* @deprecated Use volume field instead
|
|
256
|
+
*/
|
|
248
257
|
v: Array<Maybe<Scalars['Int']['output']>>;
|
|
249
258
|
/** The volume with higher precision. */
|
|
250
259
|
volume?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
@@ -856,7 +865,10 @@ export type DetailedWalletStats = {
|
|
|
856
865
|
lastTransactionAt: Scalars['Int']['output'];
|
|
857
866
|
/** The network breakdown */
|
|
858
867
|
networkBreakdown?: Maybe<Array<NetworkBreakdown>>;
|
|
859
|
-
/**
|
|
868
|
+
/**
|
|
869
|
+
* The network specific stats
|
|
870
|
+
* @deprecated Use networkBreakdown instead
|
|
871
|
+
*/
|
|
860
872
|
networkSpecificStats?: Maybe<Array<NetworkWalletStats>>;
|
|
861
873
|
/** The likelihood of the wallet being a scammer */
|
|
862
874
|
scammerScore?: Maybe<Scalars['Int']['output']>;
|
|
@@ -915,7 +927,10 @@ export type EnhancedToken = {
|
|
|
915
927
|
__typename?: 'EnhancedToken';
|
|
916
928
|
/** The contract address of the token. */
|
|
917
929
|
address: Scalars['String']['output'];
|
|
918
|
-
/**
|
|
930
|
+
/**
|
|
931
|
+
* The circulating supply of the token.
|
|
932
|
+
* @deprecated Use the TokenInfo type
|
|
933
|
+
*/
|
|
919
934
|
circulatingSupply?: Maybe<Scalars['String']['output']>;
|
|
920
935
|
/** The token ID on CoinMarketCap. */
|
|
921
936
|
cmcId?: Maybe<Scalars['Int']['output']>;
|
|
@@ -931,17 +946,29 @@ export type EnhancedToken = {
|
|
|
931
946
|
decimals: Scalars['Int']['output'];
|
|
932
947
|
/** A list of exchanges where the token has been traded. */
|
|
933
948
|
exchanges?: Maybe<Array<Exchange>>;
|
|
934
|
-
/**
|
|
949
|
+
/**
|
|
950
|
+
* Information about the token from 3rd party sources.
|
|
951
|
+
* @deprecated Use the TokenInfo type
|
|
952
|
+
*/
|
|
935
953
|
explorerData?: Maybe<ExplorerTokenData>;
|
|
936
954
|
/** Whether or not the token is freezable */
|
|
937
955
|
freezable?: Maybe<Scalars['String']['output']>;
|
|
938
956
|
/** The ID of the token (`address:networkId`). */
|
|
939
957
|
id: Scalars['String']['output'];
|
|
940
|
-
/**
|
|
958
|
+
/**
|
|
959
|
+
* The large token logo URL.
|
|
960
|
+
* @deprecated Use the TokenInfo type
|
|
961
|
+
*/
|
|
941
962
|
imageLargeUrl?: Maybe<Scalars['String']['output']>;
|
|
942
|
-
/**
|
|
963
|
+
/**
|
|
964
|
+
* The small token logo URL.
|
|
965
|
+
* @deprecated Use the TokenInfo type
|
|
966
|
+
*/
|
|
943
967
|
imageSmallUrl?: Maybe<Scalars['String']['output']>;
|
|
944
|
-
/**
|
|
968
|
+
/**
|
|
969
|
+
* The thumbnail token logo URL.
|
|
970
|
+
* @deprecated Use the TokenInfo type
|
|
971
|
+
*/
|
|
945
972
|
imageThumbUrl?: Maybe<Scalars['String']['output']>;
|
|
946
973
|
/** More metadata about the token. */
|
|
947
974
|
info?: Maybe<TokenInfo>;
|
|
@@ -955,13 +982,19 @@ export type EnhancedToken = {
|
|
|
955
982
|
name?: Maybe<Scalars['String']['output']>;
|
|
956
983
|
/** The network ID the token is deployed on. */
|
|
957
984
|
networkId: Scalars['Int']['output'];
|
|
958
|
-
/**
|
|
985
|
+
/**
|
|
986
|
+
* The amount of this token in the pair.
|
|
987
|
+
* @deprecated Pooled can be found on the pair instead
|
|
988
|
+
*/
|
|
959
989
|
pooled?: Maybe<Scalars['String']['output']>;
|
|
960
990
|
/** Community gathered links for the socials of this token. */
|
|
961
991
|
socialLinks?: Maybe<SocialLinks>;
|
|
962
992
|
/** The token symbol. For example, `APE`. */
|
|
963
993
|
symbol?: Maybe<Scalars['String']['output']>;
|
|
964
|
-
/**
|
|
994
|
+
/**
|
|
995
|
+
* The total supply of the token.
|
|
996
|
+
* @deprecated Use the TokenInfo type
|
|
997
|
+
*/
|
|
965
998
|
totalSupply?: Maybe<Scalars['String']['output']>;
|
|
966
999
|
};
|
|
967
1000
|
/** A token transaction. */
|
|
@@ -1205,6 +1238,8 @@ export type ExchangeFilters = {
|
|
|
1205
1238
|
txnCount12?: InputMaybe<StringFilter>;
|
|
1206
1239
|
/** The number of transactions on the exchange in the past 24 hours. */
|
|
1207
1240
|
txnCount24?: InputMaybe<StringFilter>;
|
|
1241
|
+
/** Scope to only verified exchanges */
|
|
1242
|
+
verified?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1208
1243
|
/** The trade volume in the network's base token in the past hour. */
|
|
1209
1244
|
volumeNBT1?: InputMaybe<StringFilter>;
|
|
1210
1245
|
/** The trade volume in the network's base token in the past 4 hours. */
|
|
@@ -1314,7 +1349,10 @@ export type FilterNetworkWalletsInput = {
|
|
|
1314
1349
|
export type FilterTokenWalletsInput = {
|
|
1315
1350
|
/** Exclude wallets with these labels. See [`WalletLabel`](/api-reference/enums/index#walletlabel) for possible values. */
|
|
1316
1351
|
excludeLabels?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
1317
|
-
/**
|
|
1352
|
+
/**
|
|
1353
|
+
* A set of filters to apply
|
|
1354
|
+
* @deprecated Use filtersV2 instead
|
|
1355
|
+
*/
|
|
1318
1356
|
filters?: InputMaybe<WalletTokenFilters>;
|
|
1319
1357
|
/** A set of filters to apply */
|
|
1320
1358
|
filtersV2?: InputMaybe<WalletTokenFiltersV2>;
|
|
@@ -1332,7 +1370,10 @@ export type FilterTokenWalletsInput = {
|
|
|
1332
1370
|
rankings?: InputMaybe<Array<InputMaybe<WalletTokenRanking>>>;
|
|
1333
1371
|
/** The ID of the token to filter wallets for */
|
|
1334
1372
|
tokenId?: InputMaybe<Scalars['String']['input']>;
|
|
1335
|
-
/**
|
|
1373
|
+
/**
|
|
1374
|
+
* The wallet address to filter wallets for
|
|
1375
|
+
* @deprecated Use wallets instead
|
|
1376
|
+
*/
|
|
1336
1377
|
walletAddress?: InputMaybe<Scalars['String']['input']>;
|
|
1337
1378
|
/** A list of wallet addresses to filter wallets for */
|
|
1338
1379
|
wallets?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
@@ -1437,7 +1478,10 @@ export type GetNftPoolsResponse = {
|
|
|
1437
1478
|
export type GetPriceInput = {
|
|
1438
1479
|
/** The contract address of the token. */
|
|
1439
1480
|
address: Scalars['String']['input'];
|
|
1440
|
-
/**
|
|
1481
|
+
/**
|
|
1482
|
+
* 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`.
|
|
1483
|
+
* @deprecated This isn't taken into account anymore.
|
|
1484
|
+
*/
|
|
1441
1485
|
maxDeviations?: InputMaybe<Scalars['Float']['input']>;
|
|
1442
1486
|
/** The network ID the token is deployed on. */
|
|
1443
1487
|
networkId: Scalars['Int']['input'];
|
|
@@ -1469,6 +1513,8 @@ export declare enum GraphQlNftPoolVariant {
|
|
|
1469
1513
|
export type HoldersInput = {
|
|
1470
1514
|
/** A cursor for use in pagination. */
|
|
1471
1515
|
cursor?: InputMaybe<Scalars['String']['input']>;
|
|
1516
|
+
/** The maximum number of holders to return. Default is 50, maximum is 200. */
|
|
1517
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
1472
1518
|
/** The attribute to sort the list on */
|
|
1473
1519
|
sort?: InputMaybe<HoldersInputSort>;
|
|
1474
1520
|
/** The ID of the token (`tokenAddress:networkId`). */
|
|
@@ -1731,7 +1777,10 @@ export type LaunchpadData = {
|
|
|
1731
1777
|
migratedPoolAddress?: Maybe<Scalars['String']['output']>;
|
|
1732
1778
|
/** The slot number when the launchpad was migrated. */
|
|
1733
1779
|
migratedSlot?: Maybe<Scalars['Int']['output']>;
|
|
1734
|
-
/**
|
|
1780
|
+
/**
|
|
1781
|
+
* The name of the launchpad.
|
|
1782
|
+
* @deprecated Use launchpadName instead
|
|
1783
|
+
*/
|
|
1735
1784
|
name?: Maybe<Scalars['String']['output']>;
|
|
1736
1785
|
/** The address of the pool. */
|
|
1737
1786
|
poolAddress?: Maybe<Scalars['String']['output']>;
|
|
@@ -1747,6 +1796,8 @@ export type LaunchpadTokenEventOutput = {
|
|
|
1747
1796
|
eventType: LaunchpadTokenEventType;
|
|
1748
1797
|
/** The number of holders. */
|
|
1749
1798
|
holders?: Maybe<Scalars['Int']['output']>;
|
|
1799
|
+
/** 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. */
|
|
1800
|
+
launchpadName: Scalars['String']['output'];
|
|
1750
1801
|
/** The market cap of the token. */
|
|
1751
1802
|
marketCap?: Maybe<Scalars['String']['output']>;
|
|
1752
1803
|
/** The network ID that the token is deployed on. */
|
|
@@ -1825,7 +1876,10 @@ export type LiquidityLock = {
|
|
|
1825
1876
|
liquidityAmount: Scalars['String']['output'];
|
|
1826
1877
|
/** If the liquidity position is represented by an NFT, this will contain the NFT data. */
|
|
1827
1878
|
liquidityNftData?: Maybe<LiquidityNftData>;
|
|
1828
|
-
/**
|
|
1879
|
+
/**
|
|
1880
|
+
* The protocol that created the pair
|
|
1881
|
+
* @deprecated Use liquidityProtocolV2 instead
|
|
1882
|
+
*/
|
|
1829
1883
|
liquidityProtocol: LiquidityProtocol;
|
|
1830
1884
|
/** The protocol that created the pair */
|
|
1831
1885
|
liquidityProtocolV2: Scalars['String']['output'];
|
|
@@ -3224,7 +3278,9 @@ export type NftEvent = {
|
|
|
3224
3278
|
__typename?: 'NftEvent';
|
|
3225
3279
|
/** The contract address of the marketplace aggregator that routed the transaction. */
|
|
3226
3280
|
aggregatorAddress?: Maybe<Scalars['String']['output']>;
|
|
3281
|
+
/** @deprecated No longer supported */
|
|
3227
3282
|
baseTokenAddress: Scalars['String']['output'];
|
|
3283
|
+
/** @deprecated No longer supported */
|
|
3228
3284
|
baseTokenPrice?: Maybe<Scalars['String']['output']>;
|
|
3229
3285
|
/** The block number for the transaction. */
|
|
3230
3286
|
blockNumber: Scalars['Int']['output'];
|
|
@@ -3238,13 +3294,17 @@ export type NftEvent = {
|
|
|
3238
3294
|
fillSource?: Maybe<Scalars['String']['output']>;
|
|
3239
3295
|
/** The ID of the NFT event (`contractAddress`:`tokenId`:`networkId`). */
|
|
3240
3296
|
id: Scalars['String']['output'];
|
|
3297
|
+
/** @deprecated No longer supported */
|
|
3241
3298
|
individualBaseTokenPrice?: Maybe<Scalars['String']['output']>;
|
|
3299
|
+
/** @deprecated No longer supported */
|
|
3242
3300
|
individualNetworkBaseTokenPrice?: Maybe<Scalars['String']['output']>;
|
|
3301
|
+
/** @deprecated Some events may lack this value - use the nullable individualTradePrice. individualPrice will return null values as an empty string. */
|
|
3243
3302
|
individualPrice?: Maybe<Scalars['String']['output']>;
|
|
3244
3303
|
/** The price of each individual NFT in the network's base token. */
|
|
3245
3304
|
individualPriceNetworkBaseToken?: Maybe<Scalars['String']['output']>;
|
|
3246
3305
|
/** The price of each individual NFT in USD. */
|
|
3247
3306
|
individualPriceUsd?: Maybe<Scalars['String']['output']>;
|
|
3307
|
+
/** @deprecated Some events may lack this value - use the nullable individualTradePrice. individualTokenPrice will return null values as an empty string. */
|
|
3248
3308
|
individualTokenPrice?: Maybe<Scalars['String']['output']>;
|
|
3249
3309
|
/** The price of each individual NFT in the purchasing token. */
|
|
3250
3310
|
individualTradePrice?: Maybe<Scalars['String']['output']>;
|
|
@@ -3252,6 +3312,7 @@ export type NftEvent = {
|
|
|
3252
3312
|
logIndex: Scalars['Int']['output'];
|
|
3253
3313
|
/** The wallet address of the buyer. */
|
|
3254
3314
|
maker: Scalars['String']['output'];
|
|
3315
|
+
/** @deprecated No longer supported */
|
|
3255
3316
|
networkBaseTokenPrice?: Maybe<Scalars['String']['output']>;
|
|
3256
3317
|
/** The network ID the NFT collection is deployed on. */
|
|
3257
3318
|
networkId: Scalars['Int']['output'];
|
|
@@ -3273,7 +3334,9 @@ export type NftEvent = {
|
|
|
3273
3334
|
timestamp: Scalars['Int']['output'];
|
|
3274
3335
|
/** The token ID of the NFT asset involved in the transaction. */
|
|
3275
3336
|
tokenId: Scalars['String']['output'];
|
|
3337
|
+
/** @deprecated Some events may lack this value - use the nullable totalTradePrice. tokenPrice will return null values as an empty string. */
|
|
3276
3338
|
tokenPrice: Scalars['String']['output'];
|
|
3339
|
+
/** @deprecated Some events may lack this value - use the nullable totalTradePrice. totalPrice will return null values as an empty string. */
|
|
3277
3340
|
totalPrice: Scalars['String']['output'];
|
|
3278
3341
|
/** The total trade price for the transaction in the network's base token. (The transaction can include more than 1 token). */
|
|
3279
3342
|
totalPriceNetworkBaseToken?: Maybe<Scalars['String']['output']>;
|
|
@@ -3565,31 +3628,52 @@ export type NftPoolCollectionFilterResult = {
|
|
|
3565
3628
|
name?: Maybe<Scalars['String']['output']>;
|
|
3566
3629
|
/** The network ID the NFT collection is deployed on. */
|
|
3567
3630
|
networkId?: Maybe<Scalars['Int']['output']>;
|
|
3568
|
-
/**
|
|
3631
|
+
/**
|
|
3632
|
+
* The number of NFTs in all of the collection's pools.
|
|
3633
|
+
* @deprecated nftBalance is changing from Int to String - use nftBalanceV2 instead.
|
|
3634
|
+
*/
|
|
3569
3635
|
nftBalance?: Maybe<Scalars['Int']['output']>;
|
|
3570
3636
|
/** The number of NFTs in all of the collection's pools. */
|
|
3571
3637
|
nftBalanceV2?: Maybe<Scalars['String']['output']>;
|
|
3572
|
-
/**
|
|
3638
|
+
/**
|
|
3639
|
+
* The number of NFTs bought and sold in any of the collection's pools over the past 24 hours.
|
|
3640
|
+
* @deprecated nftVolume24 is changing from Int to String - use nftVolume24V2 instead.
|
|
3641
|
+
*/
|
|
3573
3642
|
nftVolume24?: Maybe<Scalars['Int']['output']>;
|
|
3574
3643
|
/** The number of NFTs bought and sold in any of the collection's pools over the past 24 hours. */
|
|
3575
3644
|
nftVolume24V2?: Maybe<Scalars['String']['output']>;
|
|
3576
|
-
/**
|
|
3645
|
+
/**
|
|
3646
|
+
* The number of NFTs bought or sold in any of the collection's pools over the collection's lifetime.
|
|
3647
|
+
* @deprecated nftVolumeAll is changing from Int to String - use nftVolumeAllV2 instead.
|
|
3648
|
+
*/
|
|
3577
3649
|
nftVolumeAll?: Maybe<Scalars['Int']['output']>;
|
|
3578
3650
|
/** The number of NFTs bought or sold in any of the collection's pools over the collection's lifetime. */
|
|
3579
3651
|
nftVolumeAllV2?: Maybe<Scalars['String']['output']>;
|
|
3580
|
-
/**
|
|
3652
|
+
/**
|
|
3653
|
+
* The number of NFTs bought in any of the collection's pools over the past 24 hours.
|
|
3654
|
+
* @deprecated nftsBought24 is changing from Int to String - use nftsBought24V2 instead.
|
|
3655
|
+
*/
|
|
3581
3656
|
nftsBought24?: Maybe<Scalars['Int']['output']>;
|
|
3582
3657
|
/** The number of NFTs bought in any of the collection's pools over the past 24 hours. */
|
|
3583
3658
|
nftsBought24V2?: Maybe<Scalars['String']['output']>;
|
|
3584
|
-
/**
|
|
3659
|
+
/**
|
|
3660
|
+
* The number of NFTs bought in any of the collection's pools over the collection's lifetime.
|
|
3661
|
+
* @deprecated nftsBoughtAll is changing from Int to String - use nftsBoughtAllV2 instead.
|
|
3662
|
+
*/
|
|
3585
3663
|
nftsBoughtAll?: Maybe<Scalars['Int']['output']>;
|
|
3586
3664
|
/** The number of NFTs bought in any of the collection's pools over the collection's lifetime. */
|
|
3587
3665
|
nftsBoughtAllV2?: Maybe<Scalars['String']['output']>;
|
|
3588
|
-
/**
|
|
3666
|
+
/**
|
|
3667
|
+
* The number of NFTs sold in any of the collection's pools over the past 24 hours.
|
|
3668
|
+
* @deprecated nftsSold24 is changing from Int to String - use nftsSold24V2 instead.
|
|
3669
|
+
*/
|
|
3589
3670
|
nftsSold24?: Maybe<Scalars['Int']['output']>;
|
|
3590
3671
|
/** The number of NFTs sold in any of the collection's pools over the past 24 hours. */
|
|
3591
3672
|
nftsSold24V2?: Maybe<Scalars['String']['output']>;
|
|
3592
|
-
/**
|
|
3673
|
+
/**
|
|
3674
|
+
* The number of NFTs sold in any of the collection's pools over the collection's lifetime.
|
|
3675
|
+
* @deprecated nftsSoldAll is changing from Int to String - use nftsSoldAllV2 instead.
|
|
3676
|
+
*/
|
|
3593
3677
|
nftsSoldAll?: Maybe<Scalars['Int']['output']>;
|
|
3594
3678
|
/** The number of NFTs sold in any of the collection's pools over the collection's lifetime. */
|
|
3595
3679
|
nftsSoldAllV2?: Maybe<Scalars['String']['output']>;
|
|
@@ -3625,7 +3709,10 @@ export type NftPoolCollectionFilterResult = {
|
|
|
3625
3709
|
symbol?: Maybe<Scalars['String']['output']>;
|
|
3626
3710
|
/** The unix timestamp indicating the last time the data was updated. Updates every 2 hours. */
|
|
3627
3711
|
timestamp?: Maybe<Scalars['Int']['output']>;
|
|
3628
|
-
/**
|
|
3712
|
+
/**
|
|
3713
|
+
* The total supply of the collection.
|
|
3714
|
+
* @deprecated totalSupply is changing from Int to String - use totalSupplyV2 instead.
|
|
3715
|
+
*/
|
|
3629
3716
|
totalSupply?: Maybe<Scalars['Int']['output']>;
|
|
3630
3717
|
totalSupplyV2?: Maybe<Scalars['String']['output']>;
|
|
3631
3718
|
/** The total volume of the collection in the network's base token over the past 24 hours. */
|
|
@@ -3801,17 +3888,26 @@ export type NftPoolCollectionResponse = {
|
|
|
3801
3888
|
floorNBT?: Maybe<Scalars['String']['output']>;
|
|
3802
3889
|
/** An image associated with the NFT collection. */
|
|
3803
3890
|
image?: Maybe<Scalars['String']['output']>;
|
|
3804
|
-
/**
|
|
3891
|
+
/**
|
|
3892
|
+
* The media for one of the assets within the NFT collection.
|
|
3893
|
+
* @deprecated Use `image` from `NftContract` instead.
|
|
3894
|
+
*/
|
|
3805
3895
|
media?: Maybe<NftAssetMedia>;
|
|
3806
3896
|
/** The name of the NFT collection. */
|
|
3807
3897
|
name?: Maybe<Scalars['String']['output']>;
|
|
3808
3898
|
/** The network ID the NFT collection is deployed on. */
|
|
3809
3899
|
networkId: Scalars['Int']['output'];
|
|
3810
|
-
/**
|
|
3900
|
+
/**
|
|
3901
|
+
* The current number of NFTs in all the NFT collection's pools.
|
|
3902
|
+
* @deprecated nftBalance is changing from Int to String - use nftBalanceV2 instead.
|
|
3903
|
+
*/
|
|
3811
3904
|
nftBalance: Scalars['Int']['output'];
|
|
3812
3905
|
/** The current number of NFTs in all the NFT collection's pools. */
|
|
3813
3906
|
nftBalanceV2: Scalars['String']['output'];
|
|
3814
|
-
/**
|
|
3907
|
+
/**
|
|
3908
|
+
* The total number of NFTs bought and sold over the collection's lifetime.
|
|
3909
|
+
* @deprecated nftVolumeAllTime is changing from Int to String - use nftVolumeAllTimeV2 instead.
|
|
3910
|
+
*/
|
|
3815
3911
|
nftVolumeAllTime?: Maybe<Scalars['Int']['output']>;
|
|
3816
3912
|
/** The total number of NFTs bought and sold over the collection's lifetime. */
|
|
3817
3913
|
nftVolumeAllTimeV2?: Maybe<Scalars['String']['output']>;
|
|
@@ -3904,7 +4000,10 @@ export type NftPoolEventNftTransferV2 = {
|
|
|
3904
4000
|
nftQuantity: Scalars['String']['output'];
|
|
3905
4001
|
/** The NFT token ID involved in the transfer. */
|
|
3906
4002
|
nftTokenId: Scalars['String']['output'];
|
|
3907
|
-
/**
|
|
4003
|
+
/**
|
|
4004
|
+
* The number of tokens involved in the transfer.
|
|
4005
|
+
* @deprecated nftTokenQuantity is no longer supported - use nftQuantity instead.
|
|
4006
|
+
*/
|
|
3908
4007
|
nftTokenQuantity: Scalars['String']['output'];
|
|
3909
4008
|
};
|
|
3910
4009
|
/** The type of an NFT pool event. */
|
|
@@ -4005,31 +4104,52 @@ export type NftPoolFilterResult = {
|
|
|
4005
4104
|
networkId: Scalars['Int']['output'];
|
|
4006
4105
|
/** The list of NFT assets in the pool. */
|
|
4007
4106
|
nftAssets?: Maybe<Array<Maybe<NftAsset>>>;
|
|
4008
|
-
/**
|
|
4107
|
+
/**
|
|
4108
|
+
* The current number of NFTs in the pool.
|
|
4109
|
+
* @deprecated nftBalance is changing from Int to String - use nftBalanceV2 instead.
|
|
4110
|
+
*/
|
|
4009
4111
|
nftBalance?: Maybe<Scalars['Int']['output']>;
|
|
4010
4112
|
/** The current number of NFTs in the pool. */
|
|
4011
4113
|
nftBalanceV2?: Maybe<Scalars['String']['output']>;
|
|
4012
|
-
/**
|
|
4114
|
+
/**
|
|
4115
|
+
* The total number of NFTs bought and sold over the past 24 hours.
|
|
4116
|
+
* @deprecated nftVolume24 is changing from Int to String - use nftVolume24V2 instead.
|
|
4117
|
+
*/
|
|
4013
4118
|
nftVolume24?: Maybe<Scalars['Int']['output']>;
|
|
4014
4119
|
/** The total number of NFTs bought and sold over the past 24 hours. */
|
|
4015
4120
|
nftVolume24V2?: Maybe<Scalars['String']['output']>;
|
|
4016
|
-
/**
|
|
4121
|
+
/**
|
|
4122
|
+
* The total number of NFTs bought and sold over the pool's lifetime.
|
|
4123
|
+
* @deprecated nftVolumeAll is changing from Int to String - use nftVolumeAllV2 instead.
|
|
4124
|
+
*/
|
|
4017
4125
|
nftVolumeAll?: Maybe<Scalars['Int']['output']>;
|
|
4018
4126
|
/** The total number of NFTs bought and sold over the pool's lifetime. */
|
|
4019
4127
|
nftVolumeAllV2?: Maybe<Scalars['String']['output']>;
|
|
4020
|
-
/**
|
|
4128
|
+
/**
|
|
4129
|
+
* The total number of NFTs bought by the pool over the past 24 hours.
|
|
4130
|
+
* @deprecated nftsBought24 is changing from Int to String - use nftsBought24V2 instead.
|
|
4131
|
+
*/
|
|
4021
4132
|
nftsBought24?: Maybe<Scalars['Int']['output']>;
|
|
4022
4133
|
/** The total number of NFTs bought by the pool over the past 24 hours. */
|
|
4023
4134
|
nftsBought24V2?: Maybe<Scalars['String']['output']>;
|
|
4024
|
-
/**
|
|
4135
|
+
/**
|
|
4136
|
+
* The total number of NFTs bought over the pool's lifetime.
|
|
4137
|
+
* @deprecated nftsBoughtAll is changing from Int to String - use nftsBoughtAllV2 instead.
|
|
4138
|
+
*/
|
|
4025
4139
|
nftsBoughtAll?: Maybe<Scalars['Int']['output']>;
|
|
4026
4140
|
/** The total number of NFTs bought over the pool's lifetime. */
|
|
4027
4141
|
nftsBoughtAllV2?: Maybe<Scalars['String']['output']>;
|
|
4028
|
-
/**
|
|
4142
|
+
/**
|
|
4143
|
+
* The total number of NFTs sold by the pool over the past 24 hours.
|
|
4144
|
+
* @deprecated nftsSold24 is changing from Int to String - use nftsSold24V2 instead.
|
|
4145
|
+
*/
|
|
4029
4146
|
nftsSold24?: Maybe<Scalars['Int']['output']>;
|
|
4030
4147
|
/** The total number of NFTs sold by the pool over the past 24 hours. */
|
|
4031
4148
|
nftsSold24V2?: Maybe<Scalars['String']['output']>;
|
|
4032
|
-
/**
|
|
4149
|
+
/**
|
|
4150
|
+
* The total number of NFTs sold over the pool's lifetime.
|
|
4151
|
+
* @deprecated nftsSoldAll is changing from Int to String - use nftsSoldAllV2 instead.
|
|
4152
|
+
*/
|
|
4033
4153
|
nftsSoldAll?: Maybe<Scalars['Int']['output']>;
|
|
4034
4154
|
/** The total number of NFTs sold over the pool's lifetime. */
|
|
4035
4155
|
nftsSoldAllV2?: Maybe<Scalars['String']['output']>;
|
|
@@ -4346,11 +4466,17 @@ export type NftPoolResponse = {
|
|
|
4346
4466
|
networkId: Scalars['Int']['output'];
|
|
4347
4467
|
/** The list of NFT assets in the pool. */
|
|
4348
4468
|
nftAssets?: Maybe<Array<Maybe<NftAsset>>>;
|
|
4349
|
-
/**
|
|
4469
|
+
/**
|
|
4470
|
+
* The current number of NFTs in the pool.
|
|
4471
|
+
* @deprecated nftBalance is changing from Int to String - use nftBalanceV2 instead.
|
|
4472
|
+
*/
|
|
4350
4473
|
nftBalance?: Maybe<Scalars['Int']['output']>;
|
|
4351
4474
|
/** The current number of NFTs in the pool. */
|
|
4352
4475
|
nftBalanceV2: Scalars['String']['output'];
|
|
4353
|
-
/**
|
|
4476
|
+
/**
|
|
4477
|
+
* The total number of NFTs bought and sold over the pool's lifetime.
|
|
4478
|
+
* @deprecated nftVolumeAllTime is changing from Int to String - use nftVolumeAllTimeV2 instead.
|
|
4479
|
+
*/
|
|
4354
4480
|
nftVolumeAllTime: Scalars['Int']['output'];
|
|
4355
4481
|
/** The total number of NFTs bought and sold over the pool's lifetime. */
|
|
4356
4482
|
nftVolumeAllTimeV2: Scalars['String']['output'];
|
|
@@ -4670,16 +4796,24 @@ export type OnEventsCreatedByMakerInput = {
|
|
|
4670
4796
|
makerAddress: Scalars['String']['input'];
|
|
4671
4797
|
};
|
|
4672
4798
|
export type OnLaunchpadTokenEventBatchInput = {
|
|
4799
|
+
/** The type of event. */
|
|
4800
|
+
eventType?: InputMaybe<LaunchpadTokenEventType>;
|
|
4801
|
+
/** 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. */
|
|
4802
|
+
launchpadName?: InputMaybe<Scalars['String']['input']>;
|
|
4803
|
+
/** The network ID that the token is deployed on. */
|
|
4673
4804
|
networkId?: InputMaybe<Scalars['Int']['input']>;
|
|
4805
|
+
/** The protocol of the token. */
|
|
4674
4806
|
protocol?: InputMaybe<LaunchpadTokenProtocol>;
|
|
4675
4807
|
};
|
|
4676
4808
|
/** Input for `onLaunchpadTokenEvent`. */
|
|
4677
4809
|
export type OnLaunchpadTokenEventInput = {
|
|
4678
|
-
/** The contract address of the token.
|
|
4810
|
+
/** The contract address of the token. Requires `networkId`. */
|
|
4679
4811
|
address?: InputMaybe<Scalars['String']['input']>;
|
|
4680
4812
|
/** The type of event. */
|
|
4681
4813
|
eventType?: InputMaybe<LaunchpadTokenEventType>;
|
|
4682
|
-
/** The
|
|
4814
|
+
/** 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. */
|
|
4815
|
+
launchpadName?: InputMaybe<Scalars['String']['input']>;
|
|
4816
|
+
/** The network ID that the token is deployed on. */
|
|
4683
4817
|
networkId?: InputMaybe<Scalars['Int']['input']>;
|
|
4684
4818
|
/** The protocol of the token. */
|
|
4685
4819
|
protocol?: InputMaybe<LaunchpadTokenProtocol>;
|
|
@@ -6081,7 +6215,10 @@ export type Query = {
|
|
|
6081
6215
|
detailedWalletStats?: Maybe<DetailedWalletStats>;
|
|
6082
6216
|
/** Returns a list of exchanges based on a variety of filters. */
|
|
6083
6217
|
filterExchanges?: Maybe<ExchangeFilterConnection>;
|
|
6084
|
-
/**
|
|
6218
|
+
/**
|
|
6219
|
+
* Returns a list of wallets with stats narrowed down to a specific network.
|
|
6220
|
+
* @deprecated Use filterWallets instead
|
|
6221
|
+
*/
|
|
6085
6222
|
filterNetworkWallets: NetworkWalletFilterConnection;
|
|
6086
6223
|
/** Returns a list of NFT collection based on a variety of filters. */
|
|
6087
6224
|
filterNftCollections?: Maybe<NftCollectionFilterConnection>;
|
|
@@ -6109,15 +6246,24 @@ export type Query = {
|
|
|
6109
6246
|
getDetailedPairStats?: Maybe<DetailedPairStats>;
|
|
6110
6247
|
/** Returns bucketed stats for a given token within a list of pairs. */
|
|
6111
6248
|
getDetailedPairsStats?: Maybe<Array<Maybe<DetailedPairStats>>>;
|
|
6112
|
-
/**
|
|
6249
|
+
/**
|
|
6250
|
+
* Returns bucketed stats for a given token within a pair.
|
|
6251
|
+
* @deprecated Use `getDetailedPairStats` instead, it has more resolutions and better support
|
|
6252
|
+
*/
|
|
6113
6253
|
getDetailedStats?: Maybe<DetailedStats>;
|
|
6114
6254
|
/** Returns a list of event labels for a pair. */
|
|
6115
6255
|
getEventLabels?: Maybe<EventLabelConnection>;
|
|
6116
6256
|
/** Returns a list of decentralized exchange metadata. */
|
|
6117
6257
|
getExchanges: Array<Exchange>;
|
|
6118
|
-
/**
|
|
6258
|
+
/**
|
|
6259
|
+
* Returns new tokens listed over the last three days.
|
|
6260
|
+
* @deprecated This query is longer supported. Instead use filterPairs with sort order on createdAt DESC
|
|
6261
|
+
*/
|
|
6119
6262
|
getLatestPairs?: Maybe<LatestPairConnection>;
|
|
6120
|
-
/**
|
|
6263
|
+
/**
|
|
6264
|
+
* Returns a list of latest tokens.
|
|
6265
|
+
* @deprecated This query is no longer supported. Use `filterTokens` with a createdAt: DESC filter instead.
|
|
6266
|
+
*/
|
|
6121
6267
|
getLatestTokens?: Maybe<LatestTokenConnection>;
|
|
6122
6268
|
/** Returns metadata for a given network supported on Codex. */
|
|
6123
6269
|
getNetworkStats?: Maybe<GetNetworkStatsResponse>;
|
|
@@ -6177,7 +6323,10 @@ export type Query = {
|
|
|
6177
6323
|
listPairsForToken: Array<Maybe<Pair>>;
|
|
6178
6324
|
/** Returns a list of pair metadata for a token. */
|
|
6179
6325
|
listPairsWithMetadataForToken: ListPairsForTokenResponse;
|
|
6180
|
-
/**
|
|
6326
|
+
/**
|
|
6327
|
+
* Returns a list of trending tokens across any given network(s).
|
|
6328
|
+
* @deprecated This query is no longer supported and will not return up to date data. Use `filterTokens` instead.
|
|
6329
|
+
*/
|
|
6181
6330
|
listTopTokens?: Maybe<Array<TokenWithMetadata>>;
|
|
6182
6331
|
/** Returns list of wallets that hold a given collection, ordered by holdings descending. Also has the unique count of holders for that collection. */
|
|
6183
6332
|
nftHolders: NftHoldersResponse;
|
|
@@ -6187,7 +6336,10 @@ export type Query = {
|
|
|
6187
6336
|
primeHolders: PrimeHolders;
|
|
6188
6337
|
/** Returns a list of NFT collections matching a given query string. */
|
|
6189
6338
|
searchNfts?: Maybe<NftSearchResponse>;
|
|
6190
|
-
/**
|
|
6339
|
+
/**
|
|
6340
|
+
* Returns a list of tokens matching a given query string.
|
|
6341
|
+
* @deprecated This query is no longer supported and will not return up to date data. Use `filterTokens` instead.
|
|
6342
|
+
*/
|
|
6191
6343
|
searchTokens?: Maybe<TokenSearchResponse>;
|
|
6192
6344
|
/** Returns a single token by its address & network id. */
|
|
6193
6345
|
token: EnhancedToken;
|
|
@@ -6814,9 +6966,15 @@ export type Subscription = {
|
|
|
6814
6966
|
onEventsCreatedByMaker?: Maybe<AddEventsByMakerOutput>;
|
|
6815
6967
|
/** Live-streamed list of wallets that hold a given token. Also has the unique count of holders for that token. */
|
|
6816
6968
|
onHoldersUpdated?: Maybe<HoldersUpdate>;
|
|
6817
|
-
/**
|
|
6969
|
+
/**
|
|
6970
|
+
* Live-streamed updates for newly listed pairs.
|
|
6971
|
+
* @deprecated No longer supported
|
|
6972
|
+
*/
|
|
6818
6973
|
onLatestPairUpdated?: Maybe<LatestPair>;
|
|
6819
|
-
/**
|
|
6974
|
+
/**
|
|
6975
|
+
* Live-streamed updates for newly listed tokens.
|
|
6976
|
+
* @deprecated No longer supported
|
|
6977
|
+
*/
|
|
6820
6978
|
onLatestTokens?: Maybe<LatestToken>;
|
|
6821
6979
|
/** Live-streamed launchpad token event. */
|
|
6822
6980
|
onLaunchpadTokenEvent: LaunchpadTokenEventOutput;
|
|
@@ -7141,6 +7299,7 @@ export type TokenFilterConnection = {
|
|
|
7141
7299
|
/** A token matching a set of filter parameters. */
|
|
7142
7300
|
export type TokenFilterResult = {
|
|
7143
7301
|
__typename?: 'TokenFilterResult';
|
|
7302
|
+
/** @deprecated Age isn't supported - use createdAt instead */
|
|
7144
7303
|
age?: Maybe<Scalars['Int']['output']>;
|
|
7145
7304
|
/** The number of buys in the past hour. */
|
|
7146
7305
|
buyCount1?: Maybe<Scalars['Int']['output']>;
|
|
@@ -7178,6 +7337,7 @@ export type TokenFilterResult = {
|
|
|
7178
7337
|
createdAt?: Maybe<Scalars['Int']['output']>;
|
|
7179
7338
|
/** The exchanges the token is listed on. */
|
|
7180
7339
|
exchanges?: Maybe<Array<Maybe<Exchange>>>;
|
|
7340
|
+
/** @deprecated FDV isn't supported - use marketCap instead */
|
|
7181
7341
|
fdv?: Maybe<Scalars['String']['output']>;
|
|
7182
7342
|
/** The highest price in USD in the past hour. */
|
|
7183
7343
|
high1?: Maybe<Scalars['String']['output']>;
|
|
@@ -7308,6 +7468,7 @@ export type TokenFilterResult = {
|
|
|
7308
7468
|
};
|
|
7309
7469
|
/** Input type of `TokenFilters`. */
|
|
7310
7470
|
export type TokenFilters = {
|
|
7471
|
+
/** @deprecated Age isn't supported - use createdAt instead */
|
|
7311
7472
|
age?: InputMaybe<NumberFilter>;
|
|
7312
7473
|
/** The number of buys in the past hour. */
|
|
7313
7474
|
buyCount1?: InputMaybe<NumberFilter>;
|
|
@@ -7349,6 +7510,7 @@ export type TokenFilters = {
|
|
|
7349
7510
|
exchangeAddress?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
7350
7511
|
/** 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
7512
|
exchangeId?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
7513
|
+
/** @deprecated FDV isn't supported - use marketCap instead */
|
|
7352
7514
|
fdv?: InputMaybe<NumberFilter>;
|
|
7353
7515
|
/** The token in freezable */
|
|
7354
7516
|
freezable?: InputMaybe<Scalars['Boolean']['input']>;
|
|
@@ -7432,7 +7594,7 @@ export type TokenFilters = {
|
|
|
7432
7594
|
swapPct1dOldWallet?: InputMaybe<NumberFilter>;
|
|
7433
7595
|
/** The percentage of wallets that are less than 7d old that have traded in the last 24h */
|
|
7434
7596
|
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 `
|
|
7597
|
+
/** 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
7598
|
trendingIgnored?: InputMaybe<Scalars['Boolean']['input']>;
|
|
7437
7599
|
/** The number of transactions in the past hour. */
|
|
7438
7600
|
txnCount1?: InputMaybe<NumberFilter>;
|
|
@@ -7674,6 +7836,7 @@ export type TokenRanking = {
|
|
|
7674
7836
|
};
|
|
7675
7837
|
/** The attribute used to rank tokens. */
|
|
7676
7838
|
export declare enum TokenRankingAttribute {
|
|
7839
|
+
/** @deprecated Use createdAt instead */
|
|
7677
7840
|
Age = "age",
|
|
7678
7841
|
BuyCount1 = "buyCount1",
|
|
7679
7842
|
BuyCount4 = "buyCount4",
|