@codex-data/sdk 1.0.5 → 1.0.7
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/generated_queries/Balances.graphql +1 -0
- package/dist/resources/generated_queries/FilterPairs.graphql +64 -0
- package/dist/resources/generated_queries/FilterTokens.graphql +53 -0
- package/dist/resources/generated_queries/GetBars.graphql +26 -1
- package/dist/resources/generated_queries/GetCommunityNotes.graphql +13 -0
- package/dist/resources/generated_queries/GetDetailedPairStats.graphql +26 -0
- package/dist/resources/generated_queries/GetDetailedPairsStats.graphql +26 -0
- package/dist/resources/generated_queries/GetNetworkStats.graphql +7 -0
- package/dist/resources/generated_queries/GetTokenEvents.graphql +1 -0
- package/dist/resources/generated_queries/GetTokenEventsForMaker.graphql +1 -0
- package/dist/resources/generated_queries/Holders.graphql +1 -0
- package/dist/resources/generated_queries/LiquidityLocks.graphql +1 -1
- package/dist/resources/generated_queries/ListPairsForToken.graphql +26 -0
- package/dist/resources/generated_queries/ListPairsWithMetadataForToken.graphql +52 -0
- package/dist/resources/generated_queries/PairMetadata.graphql +26 -0
- package/dist/resources/generated_queries/PrimeHolders.graphql +1 -0
- package/dist/resources/generated_queries/Token.graphql +13 -0
- package/dist/resources/generated_queries/TokenTopTraders.graphql +26 -0
- package/dist/resources/generated_queries/Tokens.graphql +13 -0
- package/dist/resources/generated_subscriptions/OnBalanceUpdated.graphql +12 -0
- package/dist/resources/generated_subscriptions/OnEventsCreated.graphql +8 -1
- package/dist/resources/generated_subscriptions/OnHoldersUpdated.graphql +1 -0
- package/dist/resources/generated_subscriptions/OnLaunchpadTokenEvent.graphql +91 -0
- package/dist/resources/generated_subscriptions/OnLaunchpadTokenEventBatch.graphql +91 -0
- package/dist/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +26 -0
- package/dist/resources/generated_subscriptions/OnTokenBarsUpdated.graphql +6 -1
- package/dist/resources/generated_subscriptions/OnTokenEventsCreated.graphql +1 -0
- package/dist/resources/graphql.d.ts +402 -11
- package/dist/resources/graphql.d.ts.map +1 -1
- package/dist/resources/graphql.js +64 -2
- package/dist/resources/graphql.js.map +1 -1
- package/dist/resources/graphql.schema.json +2536 -23
- package/dist/resources/graphql.ts +418 -11
- package/dist/resources/schema.graphql +555 -10
- package/dist/resources/subscriptions_override/OnLaunchpadTokenEventBatch.graphql +91 -0
- package/dist/scripts/generateGraphql.js +3 -4
- package/dist/scripts/generateGraphql.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 +50 -50
- package/dist/sdk/Query.d.ts.map +1 -1
- package/dist/sdk/Query.js +49 -49
- package/dist/sdk/Query.js.map +1 -1
- package/dist/sdk/Subscribe.d.ts +17 -14
- package/dist/sdk/Subscribe.d.ts.map +1 -1
- package/dist/sdk/Subscribe.js +179 -71
- package/dist/sdk/Subscribe.js.map +1 -1
- package/dist/sdk/generated/gql.d.ts +76 -55
- package/dist/sdk/generated/gql.d.ts.map +1 -1
- package/dist/sdk/generated/gql.js +27 -24
- package/dist/sdk/generated/gql.js.map +1 -1
- package/dist/sdk/generated/graphql.d.ts +1075 -62
- package/dist/sdk/generated/graphql.d.ts.map +1 -1
- package/dist/sdk/generated/graphql.js +93 -28
- package/dist/sdk/generated/graphql.js.map +1 -1
- package/package.json +2 -2
- package/src/resources/generated_queries/Balances.graphql +1 -0
- package/src/resources/generated_queries/FilterPairs.graphql +64 -0
- package/src/resources/generated_queries/FilterTokens.graphql +53 -0
- package/src/resources/generated_queries/GetBars.graphql +26 -1
- package/src/resources/generated_queries/GetCommunityNotes.graphql +13 -0
- package/src/resources/generated_queries/GetDetailedPairStats.graphql +26 -0
- package/src/resources/generated_queries/GetDetailedPairsStats.graphql +26 -0
- package/src/resources/generated_queries/GetNetworkStats.graphql +7 -0
- package/src/resources/generated_queries/GetTokenEvents.graphql +1 -0
- package/src/resources/generated_queries/GetTokenEventsForMaker.graphql +1 -0
- package/src/resources/generated_queries/Holders.graphql +1 -0
- package/src/resources/generated_queries/LiquidityLocks.graphql +1 -1
- package/src/resources/generated_queries/ListPairsForToken.graphql +26 -0
- package/src/resources/generated_queries/ListPairsWithMetadataForToken.graphql +52 -0
- package/src/resources/generated_queries/PairMetadata.graphql +26 -0
- package/src/resources/generated_queries/PrimeHolders.graphql +1 -0
- package/src/resources/generated_queries/Token.graphql +13 -0
- package/src/resources/generated_queries/TokenTopTraders.graphql +26 -0
- package/src/resources/generated_queries/Tokens.graphql +13 -0
- package/src/resources/generated_subscriptions/OnBalanceUpdated.graphql +12 -0
- package/src/resources/generated_subscriptions/OnEventsCreated.graphql +8 -1
- package/src/resources/generated_subscriptions/OnHoldersUpdated.graphql +1 -0
- package/src/resources/generated_subscriptions/OnLaunchpadTokenEvent.graphql +91 -0
- package/src/resources/generated_subscriptions/OnLaunchpadTokenEventBatch.graphql +91 -0
- package/src/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +26 -0
- package/src/resources/generated_subscriptions/OnTokenBarsUpdated.graphql +6 -1
- package/src/resources/generated_subscriptions/OnTokenEventsCreated.graphql +1 -0
- package/src/resources/graphql.schema.json +2536 -23
- package/src/resources/graphql.ts +418 -11
- package/src/resources/schema.graphql +555 -10
- package/src/resources/subscriptions_override/OnLaunchpadTokenEventBatch.graphql +91 -0
- package/src/scripts/generateGraphql.ts +2 -4
- package/src/sdk/Mutation.ts +2 -2
- package/src/sdk/Query.ts +105 -105
- package/src/sdk/Subscribe.ts +245 -113
- package/src/sdk/generated/gql.ts +66 -51
- package/src/sdk/generated/graphql.ts +495 -66
- package/dist/resources/generated_queries/GetLatestTokens.graphql +0 -39
- package/src/resources/generated_queries/GetLatestTokens.graphql +0 -39
|
@@ -175,12 +175,14 @@ export type AptosNetworkConfig = {
|
|
|
175
175
|
/** Wallet balance of a token. */
|
|
176
176
|
export type Balance = {
|
|
177
177
|
__typename?: 'Balance';
|
|
178
|
-
/** The wallet address */
|
|
178
|
+
/** The wallet address. */
|
|
179
179
|
address: Scalars['String']['output'];
|
|
180
180
|
/** The balance held by the wallet. */
|
|
181
181
|
balance: Scalars['String']['output'];
|
|
182
|
-
/** The time that this address first held a token */
|
|
182
|
+
/** The time that this address first held a token. */
|
|
183
183
|
firstHeldTimestamp?: Maybe<Scalars['Int']['output']>;
|
|
184
|
+
/** The wallet network. */
|
|
185
|
+
networkId: Scalars['Int']['output'];
|
|
184
186
|
/** The balance held by the wallet, adjusted by the number of decimals in the token. */
|
|
185
187
|
shiftedBalance: Scalars['Float']['output'];
|
|
186
188
|
/** The contract address of the token. */
|
|
@@ -193,12 +195,26 @@ export type Balance = {
|
|
|
193
195
|
export type BalancesInput = {
|
|
194
196
|
/** A cursor for use in pagination. */
|
|
195
197
|
cursor?: InputMaybe<Scalars['String']['input']>;
|
|
196
|
-
/**
|
|
198
|
+
/**
|
|
199
|
+
* Optional token specifically request the balance for.
|
|
200
|
+
* @deprecated Use tokens list instead
|
|
201
|
+
*/
|
|
197
202
|
filterToken?: InputMaybe<Scalars['String']['input']>;
|
|
198
203
|
/** If set to true, native tokens in the response, they will have the id: native:<networkId> */
|
|
199
204
|
includeNative?: InputMaybe<Scalars['Boolean']['input']>;
|
|
200
|
-
/** The
|
|
201
|
-
|
|
205
|
+
/** The maximum number of holdings to return. */
|
|
206
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
207
|
+
/** The network IDs to filter by. */
|
|
208
|
+
networks?: InputMaybe<Array<Scalars['Int']['input']>>;
|
|
209
|
+
/** The token IDs (`address:networkId`) or addresses to request the balance for. Only applied when using `walletAddress` and `networks` (not `walletId`). */
|
|
210
|
+
tokens?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
211
|
+
/** The wallet address to filter by. */
|
|
212
|
+
walletAddress?: InputMaybe<Scalars['String']['input']>;
|
|
213
|
+
/**
|
|
214
|
+
* The ID of the wallet (`walletAddress:networkId`).
|
|
215
|
+
* @deprecated Use walletAddress and networkId instead
|
|
216
|
+
*/
|
|
217
|
+
walletId?: InputMaybe<Scalars['String']['input']>;
|
|
202
218
|
};
|
|
203
219
|
export type BalancesResponse = {
|
|
204
220
|
__typename?: 'BalancesResponse';
|
|
@@ -242,7 +258,10 @@ export type BarsResponse = {
|
|
|
242
258
|
traders: Array<Maybe<Scalars['Int']['output']>>;
|
|
243
259
|
/** The number of transactions */
|
|
244
260
|
transactions: Array<Maybe<Scalars['Int']['output']>>;
|
|
245
|
-
/**
|
|
261
|
+
/**
|
|
262
|
+
* The volume.
|
|
263
|
+
* @deprecated Use volume field instead
|
|
264
|
+
*/
|
|
246
265
|
v: Array<Maybe<Scalars['Int']['output']>>;
|
|
247
266
|
/** The volume with higher precision. */
|
|
248
267
|
volume?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
@@ -888,6 +907,8 @@ export type EnhancedToken = {
|
|
|
888
907
|
info?: Maybe<TokenInfo>;
|
|
889
908
|
/** Whether the token has been flagged as a scam. */
|
|
890
909
|
isScam?: Maybe<Scalars['Boolean']['output']>;
|
|
910
|
+
/** The launchpad data for the token, if applicable. */
|
|
911
|
+
launchpad?: Maybe<LaunchpadData>;
|
|
891
912
|
/** Whether or not the token is mintable */
|
|
892
913
|
mintable?: Maybe<Scalars['String']['output']>;
|
|
893
914
|
/** The token name. For example, `ApeCoin`. */
|
|
@@ -968,6 +989,8 @@ export type Event = {
|
|
|
968
989
|
transactionHash: Scalars['String']['output'];
|
|
969
990
|
/** The index of the transaction within the block. */
|
|
970
991
|
transactionIndex: Scalars['Int']['output'];
|
|
992
|
+
/** The age of the wallet in seconds. */
|
|
993
|
+
walletAge?: Maybe<Scalars['Int']['output']>;
|
|
971
994
|
};
|
|
972
995
|
/** Response returned by `getTokenEvents`. */
|
|
973
996
|
export type EventConnection = {
|
|
@@ -1065,6 +1088,8 @@ export type EventsQueryInput = {
|
|
|
1065
1088
|
priceUsdTotal?: InputMaybe<NumberFilter>;
|
|
1066
1089
|
/** The token of interest. Can be `token0` or `token1`. */
|
|
1067
1090
|
quoteToken?: InputMaybe<QuoteToken>;
|
|
1091
|
+
/** Specify the type of symbol you want to fetch values for (TOKEN | POOL) */
|
|
1092
|
+
symbolType?: InputMaybe<SymbolType>;
|
|
1068
1093
|
/** The time range to filter by. */
|
|
1069
1094
|
timestamp?: InputMaybe<EventQueryTimestampInput>;
|
|
1070
1095
|
};
|
|
@@ -1315,6 +1340,8 @@ export type GetNetworkStatsResponse = {
|
|
|
1315
1340
|
transactions1: Scalars['Int']['output'];
|
|
1316
1341
|
/** The unique number of transactions in the past 4 hours. */
|
|
1317
1342
|
transactions4: Scalars['Int']['output'];
|
|
1343
|
+
/** The unique number of transactions in the past 5 minutes. */
|
|
1344
|
+
transactions5m: Scalars['Int']['output'];
|
|
1318
1345
|
/** The unique number of transactions in the past 12 hours. */
|
|
1319
1346
|
transactions12: Scalars['Int']['output'];
|
|
1320
1347
|
/** The unique number of transactions in the past 24 hours. */
|
|
@@ -1323,10 +1350,22 @@ export type GetNetworkStatsResponse = {
|
|
|
1323
1350
|
volume1: Scalars['Float']['output'];
|
|
1324
1351
|
/** The network trade volume in USD over the past 4 hours. */
|
|
1325
1352
|
volume4: Scalars['Float']['output'];
|
|
1353
|
+
/** The network trade volume in USD over the past 5 minutes. */
|
|
1354
|
+
volume5m: Scalars['Float']['output'];
|
|
1326
1355
|
/** The network trade volume in USD over the past 12 hours. */
|
|
1327
1356
|
volume12: Scalars['Float']['output'];
|
|
1328
1357
|
/** The network trade volume in USD over the past 24 hours. */
|
|
1329
1358
|
volume24: Scalars['Float']['output'];
|
|
1359
|
+
/** The network trade volume change over the last hour */
|
|
1360
|
+
volumeChange1: Scalars['Float']['output'];
|
|
1361
|
+
/** The network trade volume change over the last 4 hours */
|
|
1362
|
+
volumeChange4: Scalars['Float']['output'];
|
|
1363
|
+
/** The network trade volume change over the last 5 minutes */
|
|
1364
|
+
volumeChange5m: Scalars['Float']['output'];
|
|
1365
|
+
/** The network trade volume change over the last 12 hours */
|
|
1366
|
+
volumeChange12: Scalars['Float']['output'];
|
|
1367
|
+
/** The network trade volume change over the last 24 hours */
|
|
1368
|
+
volumeChange24: Scalars['Float']['output'];
|
|
1330
1369
|
};
|
|
1331
1370
|
/** Response returned by `getNftPoolCollectionsByExchange`. */
|
|
1332
1371
|
export type GetNftPoolCollectionsResponse = {
|
|
@@ -1638,6 +1677,78 @@ export type LatestTokenSimResults = {
|
|
|
1638
1677
|
/** Tax paid for a sell transaction during simulation. */
|
|
1639
1678
|
sellTax?: Maybe<Scalars['String']['output']>;
|
|
1640
1679
|
};
|
|
1680
|
+
export type LaunchpadData = {
|
|
1681
|
+
__typename?: 'LaunchpadData';
|
|
1682
|
+
/** Indicates if the launchpad is completed. */
|
|
1683
|
+
completed?: Maybe<Scalars['Boolean']['output']>;
|
|
1684
|
+
/** The unix timestamp when the launchpad was completed. */
|
|
1685
|
+
completedAt?: Maybe<Scalars['Int']['output']>;
|
|
1686
|
+
/** The slot number when the launchpad was completed. */
|
|
1687
|
+
completedSlot?: Maybe<Scalars['Int']['output']>;
|
|
1688
|
+
/** The percentage of the pool that was sold to the public. */
|
|
1689
|
+
graduationPercent?: Maybe<Scalars['Float']['output']>;
|
|
1690
|
+
/** The launchpad protocol */
|
|
1691
|
+
launchpadProtocol?: Maybe<Scalars['String']['output']>;
|
|
1692
|
+
/** Indicates if the launchpad was migrated. */
|
|
1693
|
+
migrated?: Maybe<Scalars['Boolean']['output']>;
|
|
1694
|
+
/** The unix timestamp when the launchpad was migrated. */
|
|
1695
|
+
migratedAt?: Maybe<Scalars['Int']['output']>;
|
|
1696
|
+
/** The pool address after the launchpad was migrated. */
|
|
1697
|
+
migratedPoolAddress?: Maybe<Scalars['String']['output']>;
|
|
1698
|
+
/** The slot number when the launchpad was migrated. */
|
|
1699
|
+
migratedSlot?: Maybe<Scalars['Int']['output']>;
|
|
1700
|
+
/** The name of the launchpad. */
|
|
1701
|
+
name?: Maybe<Scalars['String']['output']>;
|
|
1702
|
+
/** The address of the pool. */
|
|
1703
|
+
poolAddress?: Maybe<Scalars['String']['output']>;
|
|
1704
|
+
};
|
|
1705
|
+
/** Response returned by `onLaunchpadTokenEvent`. */
|
|
1706
|
+
export type LaunchpadTokenEventOutput = {
|
|
1707
|
+
__typename?: 'LaunchpadTokenEventOutput';
|
|
1708
|
+
/** The contract address of the token. */
|
|
1709
|
+
address: Scalars['String']['output'];
|
|
1710
|
+
/** The number of buys in the last 24 hours. */
|
|
1711
|
+
buyCount1?: Maybe<Scalars['Int']['output']>;
|
|
1712
|
+
/** The type of event. */
|
|
1713
|
+
eventType: LaunchpadTokenEventType;
|
|
1714
|
+
/** The number of holders. */
|
|
1715
|
+
holders?: Maybe<Scalars['Int']['output']>;
|
|
1716
|
+
/** The market cap of the token. */
|
|
1717
|
+
marketCap?: Maybe<Scalars['String']['output']>;
|
|
1718
|
+
/** The network ID that the token is deployed on. */
|
|
1719
|
+
networkId: Scalars['Int']['output'];
|
|
1720
|
+
/** The price of the token. */
|
|
1721
|
+
price?: Maybe<Scalars['Float']['output']>;
|
|
1722
|
+
/** The protocol of the token. */
|
|
1723
|
+
protocol: Scalars['String']['output'];
|
|
1724
|
+
/** The number of sells in the last 24 hours. */
|
|
1725
|
+
sellCount1?: Maybe<Scalars['Int']['output']>;
|
|
1726
|
+
/** Metadata for the token. */
|
|
1727
|
+
token: EnhancedToken;
|
|
1728
|
+
/** The number of transactions in the last 24 hours. */
|
|
1729
|
+
transactions1?: Maybe<Scalars['Int']['output']>;
|
|
1730
|
+
/** The volume of the token in the last 24 hours. */
|
|
1731
|
+
volume1?: Maybe<Scalars['Int']['output']>;
|
|
1732
|
+
};
|
|
1733
|
+
/** The type of event. Note that associated statistics such as `buyCount1`, `price`, etc. are only available for `Updated` events. */
|
|
1734
|
+
export declare enum LaunchpadTokenEventType {
|
|
1735
|
+
/** The token has been completed */
|
|
1736
|
+
Completed = "Completed",
|
|
1737
|
+
/** The token has been created with metadata */
|
|
1738
|
+
Created = "Created",
|
|
1739
|
+
/** The token has been discovered */
|
|
1740
|
+
Deployed = "Deployed",
|
|
1741
|
+
/** The token has been migrated */
|
|
1742
|
+
Migrated = "Migrated",
|
|
1743
|
+
/** The token's statistics have been updated */
|
|
1744
|
+
Updated = "Updated"
|
|
1745
|
+
}
|
|
1746
|
+
/** The protocol of the token. */
|
|
1747
|
+
export declare enum LaunchpadTokenProtocol {
|
|
1748
|
+
FourMeme = "FourMeme",
|
|
1749
|
+
Pump = "Pump",
|
|
1750
|
+
RaydiumLaunchpad = "RaydiumLaunchpad"
|
|
1751
|
+
}
|
|
1641
1752
|
export type LiquidityData = {
|
|
1642
1753
|
__typename?: 'LiquidityData';
|
|
1643
1754
|
/** The active liquidity in the pair. */
|
|
@@ -1658,8 +1769,13 @@ export type LiquidityLock = {
|
|
|
1658
1769
|
liquidityAmount: Scalars['String']['output'];
|
|
1659
1770
|
/** If the liquidity position is represented by an NFT, this will contain the NFT data. */
|
|
1660
1771
|
liquidityNftData?: Maybe<LiquidityNftData>;
|
|
1661
|
-
/**
|
|
1772
|
+
/**
|
|
1773
|
+
* The protocol that created the pair
|
|
1774
|
+
* @deprecated Use liquidityProtocolV2 instead
|
|
1775
|
+
*/
|
|
1662
1776
|
liquidityProtocol: LiquidityProtocol;
|
|
1777
|
+
/** The protocol that created the pair */
|
|
1778
|
+
liquidityProtocolV2: Scalars['String']['output'];
|
|
1663
1779
|
/** The protocol with which the liquidity is locked. */
|
|
1664
1780
|
lockProtocol: LiquidityLockProtocol;
|
|
1665
1781
|
/** The address of the locker contract. */
|
|
@@ -1706,9 +1822,11 @@ export type LiquidityNftData = {
|
|
|
1706
1822
|
};
|
|
1707
1823
|
/** Protocols that create trading pairs */
|
|
1708
1824
|
export declare enum LiquidityProtocol {
|
|
1825
|
+
PumpV1 = "PUMP_V1",
|
|
1709
1826
|
RaydiumV4 = "RAYDIUM_V4",
|
|
1710
1827
|
UniswapV2 = "UNISWAP_V2",
|
|
1711
|
-
UniswapV3 = "UNISWAP_V3"
|
|
1828
|
+
UniswapV3 = "UNISWAP_V3",
|
|
1829
|
+
UseLiquidityProtocolV2 = "USE_LIQUIDITY_PROTOCOL_V2"
|
|
1712
1830
|
}
|
|
1713
1831
|
/** Response returned by `listPairsWithMetadataForToken`. */
|
|
1714
1832
|
export type ListPairsForTokenResponse = {
|
|
@@ -4380,6 +4498,17 @@ export type OnBarsUpdatedResponse = {
|
|
|
4380
4498
|
/** The unix timestamp for the new bar. */
|
|
4381
4499
|
timestamp: Scalars['Int']['output'];
|
|
4382
4500
|
};
|
|
4501
|
+
/** Input for `onLaunchpadTokenEvent`. */
|
|
4502
|
+
export type OnLaunchpadTokenEventInput = {
|
|
4503
|
+
/** The contract address of the token. Required when `networkId` is provided. */
|
|
4504
|
+
address?: InputMaybe<Scalars['String']['input']>;
|
|
4505
|
+
/** The type of event. */
|
|
4506
|
+
eventType?: InputMaybe<LaunchpadTokenEventType>;
|
|
4507
|
+
/** The network ID that the token is deployed on. Required when `address` is provided. */
|
|
4508
|
+
networkId?: InputMaybe<Scalars['Int']['input']>;
|
|
4509
|
+
/** The protocol of the token. */
|
|
4510
|
+
protocol?: InputMaybe<LaunchpadTokenProtocol>;
|
|
4511
|
+
};
|
|
4383
4512
|
export type OnPricesUpdatedInput = {
|
|
4384
4513
|
address: Scalars['String']['input'];
|
|
4385
4514
|
networkId: Scalars['Int']['input'];
|
|
@@ -4414,7 +4543,7 @@ export type OnTokenBarsUpdatedResponse = {
|
|
|
4414
4543
|
};
|
|
4415
4544
|
export type OnTokenEventsCreatedInput = {
|
|
4416
4545
|
networkId: Scalars['Int']['input'];
|
|
4417
|
-
tokenAddress
|
|
4546
|
+
tokenAddress?: InputMaybe<Scalars['String']['input']>;
|
|
4418
4547
|
};
|
|
4419
4548
|
/** Response returned by `onUnconfirmedBarsUpdated`. */
|
|
4420
4549
|
export type OnUnconfirmedBarsUpdated = {
|
|
@@ -4542,6 +4671,14 @@ export type PairFilterResult = {
|
|
|
4542
4671
|
buyCount12?: Maybe<Scalars['Int']['output']>;
|
|
4543
4672
|
/** The number of buys in the past 24 hours. */
|
|
4544
4673
|
buyCount24?: Maybe<Scalars['Int']['output']>;
|
|
4674
|
+
/** The buy volume in USD in the past hour. */
|
|
4675
|
+
buyVolumeUSD1?: Maybe<Scalars['String']['output']>;
|
|
4676
|
+
/** The buy volume in USD in the past 4 hours. */
|
|
4677
|
+
buyVolumeUSD4?: Maybe<Scalars['String']['output']>;
|
|
4678
|
+
/** The buy volume in USD in the past 12 hours. */
|
|
4679
|
+
buyVolumeUSD12?: Maybe<Scalars['String']['output']>;
|
|
4680
|
+
/** The buy volume in USD in the past 24 hours. */
|
|
4681
|
+
buyVolumeUSD24?: Maybe<Scalars['String']['output']>;
|
|
4545
4682
|
/** The unix timestamp for the creation of the pair. */
|
|
4546
4683
|
createdAt?: Maybe<Scalars['Int']['output']>;
|
|
4547
4684
|
/** Exchange metadata for the pair. */
|
|
@@ -4596,6 +4733,18 @@ export type PairFilterResult = {
|
|
|
4596
4733
|
sellCount12?: Maybe<Scalars['Int']['output']>;
|
|
4597
4734
|
/** The number of sells in the past 24 hours. */
|
|
4598
4735
|
sellCount24?: Maybe<Scalars['Int']['output']>;
|
|
4736
|
+
/** The sell volume in USD in the past hour. */
|
|
4737
|
+
sellVolumeUSD1?: Maybe<Scalars['String']['output']>;
|
|
4738
|
+
/** The sell volume in USD in the past 4 hours. */
|
|
4739
|
+
sellVolumeUSD4?: Maybe<Scalars['String']['output']>;
|
|
4740
|
+
/** The sell volume in USD in the past 12 hours. */
|
|
4741
|
+
sellVolumeUSD12?: Maybe<Scalars['String']['output']>;
|
|
4742
|
+
/** The sell volume in USD in the past 24 hours. */
|
|
4743
|
+
sellVolumeUSD24?: Maybe<Scalars['String']['output']>;
|
|
4744
|
+
/** The percentage of wallets that are less than 1d old that have traded in the last 24h */
|
|
4745
|
+
swapPct1dOldWallet?: Maybe<Scalars['String']['output']>;
|
|
4746
|
+
/** The percentage of wallets that are less than 7d old that have traded in the last 24h */
|
|
4747
|
+
swapPct7dOldWallet?: Maybe<Scalars['String']['output']>;
|
|
4599
4748
|
/** Metadata for the first token in the pair. */
|
|
4600
4749
|
token0?: Maybe<EnhancedToken>;
|
|
4601
4750
|
/** Metadata for the second token in the pair. */
|
|
@@ -4648,6 +4797,10 @@ export type PairFilterResult = {
|
|
|
4648
4797
|
volumeUSD12?: Maybe<Scalars['String']['output']>;
|
|
4649
4798
|
/** The trade volume in USD in the past 24 hours. */
|
|
4650
4799
|
volumeUSD24?: Maybe<Scalars['String']['output']>;
|
|
4800
|
+
/** The average age of the wallets that traded in the last 24h */
|
|
4801
|
+
walletAgeAvg?: Maybe<Scalars['String']['output']>;
|
|
4802
|
+
/** The standard deviation of age of the wallets that traded in the last 24h */
|
|
4803
|
+
walletAgeStd?: Maybe<Scalars['String']['output']>;
|
|
4651
4804
|
};
|
|
4652
4805
|
/** Input type of `PairFilters`. */
|
|
4653
4806
|
export type PairFilters = {
|
|
@@ -4659,6 +4812,14 @@ export type PairFilters = {
|
|
|
4659
4812
|
buyCount12?: InputMaybe<NumberFilter>;
|
|
4660
4813
|
/** The number of buys in the past 24 hours. */
|
|
4661
4814
|
buyCount24?: InputMaybe<NumberFilter>;
|
|
4815
|
+
/** The buy volume in USD in the past hour. */
|
|
4816
|
+
buyVolumeUSD1?: InputMaybe<NumberFilter>;
|
|
4817
|
+
/** The buy volume in USD in the past 4 hours. */
|
|
4818
|
+
buyVolumeUSD4?: InputMaybe<NumberFilter>;
|
|
4819
|
+
/** The buy volume in USD in the past 12 hours. */
|
|
4820
|
+
buyVolumeUSD12?: InputMaybe<NumberFilter>;
|
|
4821
|
+
/** The buy volume in USD in the past 24 hours. */
|
|
4822
|
+
buyVolumeUSD24?: InputMaybe<NumberFilter>;
|
|
4662
4823
|
/** The unix timestamp for the creation of the pair. */
|
|
4663
4824
|
createdAt?: InputMaybe<NumberFilter>;
|
|
4664
4825
|
/** The list of exchange contract addresses to filter by. */
|
|
@@ -4671,6 +4832,8 @@ export type PairFilters = {
|
|
|
4671
4832
|
highPrice12?: InputMaybe<NumberFilter>;
|
|
4672
4833
|
/** The highest price in USD in the past 24 hours. */
|
|
4673
4834
|
highPrice24?: InputMaybe<NumberFilter>;
|
|
4835
|
+
/** Whether to filter for pairs on testnet networks. Use `true` for testnet pairs only, `false` for mainnet pairs only and `undefined` (default) for both. */
|
|
4836
|
+
isTestnet?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4674
4837
|
/** The unix timestamp for the last transaction to happen on the pair. */
|
|
4675
4838
|
lastTransaction?: InputMaybe<NumberFilter>;
|
|
4676
4839
|
/** The amount of liquidity in the pair. */
|
|
@@ -4707,6 +4870,18 @@ export type PairFilters = {
|
|
|
4707
4870
|
sellCount12?: InputMaybe<NumberFilter>;
|
|
4708
4871
|
/** The number of sells in the past 24 hours. */
|
|
4709
4872
|
sellCount24?: InputMaybe<NumberFilter>;
|
|
4873
|
+
/** The sell volume in USD in the past hour. */
|
|
4874
|
+
sellVolumeUSD1?: InputMaybe<NumberFilter>;
|
|
4875
|
+
/** The sell volume in USD in the past 4 hours. */
|
|
4876
|
+
sellVolumeUSD4?: InputMaybe<NumberFilter>;
|
|
4877
|
+
/** The sell volume in USD in the past 12 hours. */
|
|
4878
|
+
sellVolumeUSD12?: InputMaybe<NumberFilter>;
|
|
4879
|
+
/** The sell volume in USD in the past 24 hours. */
|
|
4880
|
+
sellVolumeUSD24?: InputMaybe<NumberFilter>;
|
|
4881
|
+
/** The percentage of wallets that are less than 1d old that have traded in the last 24h */
|
|
4882
|
+
swapPct1dOldWallet?: InputMaybe<NumberFilter>;
|
|
4883
|
+
/** The percentage of wallets that are less than 7d old that have traded in the last 24h */
|
|
4884
|
+
swapPct7dOldWallet?: InputMaybe<NumberFilter>;
|
|
4710
4885
|
/** The list of token contract addresses to filter by. */
|
|
4711
4886
|
tokenAddress?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
4712
4887
|
/** Whether to ignore pairs/tokens not relevant to trending */
|
|
@@ -4759,6 +4934,10 @@ export type PairFilters = {
|
|
|
4759
4934
|
volumeUSD12?: InputMaybe<NumberFilter>;
|
|
4760
4935
|
/** The trade volume in USD in the past 24 hours. */
|
|
4761
4936
|
volumeUSD24?: InputMaybe<NumberFilter>;
|
|
4937
|
+
/** The average age of the wallets that traded in the last 24h */
|
|
4938
|
+
walletAgeAvg?: InputMaybe<NumberFilter>;
|
|
4939
|
+
/** The standard deviation of age of the wallets that traded in the last 24h */
|
|
4940
|
+
walletAgeStd?: InputMaybe<NumberFilter>;
|
|
4762
4941
|
};
|
|
4763
4942
|
export type PairMetadata = {
|
|
4764
4943
|
__typename?: 'PairMetadata';
|
|
@@ -4869,6 +5048,10 @@ export declare enum PairRankingAttribute {
|
|
|
4869
5048
|
BuyCount4 = "buyCount4",
|
|
4870
5049
|
BuyCount12 = "buyCount12",
|
|
4871
5050
|
BuyCount24 = "buyCount24",
|
|
5051
|
+
BuyVolumeUsd1 = "buyVolumeUSD1",
|
|
5052
|
+
BuyVolumeUsd4 = "buyVolumeUSD4",
|
|
5053
|
+
BuyVolumeUsd12 = "buyVolumeUSD12",
|
|
5054
|
+
BuyVolumeUsd24 = "buyVolumeUSD24",
|
|
4872
5055
|
CreatedAt = "createdAt",
|
|
4873
5056
|
HighPrice1 = "highPrice1",
|
|
4874
5057
|
HighPrice4 = "highPrice4",
|
|
@@ -4891,9 +5074,16 @@ export declare enum PairRankingAttribute {
|
|
|
4891
5074
|
SellCount4 = "sellCount4",
|
|
4892
5075
|
SellCount12 = "sellCount12",
|
|
4893
5076
|
SellCount24 = "sellCount24",
|
|
5077
|
+
SellVolumeUsd1 = "sellVolumeUSD1",
|
|
5078
|
+
SellVolumeUsd4 = "sellVolumeUSD4",
|
|
5079
|
+
SellVolumeUsd12 = "sellVolumeUSD12",
|
|
5080
|
+
SellVolumeUsd24 = "sellVolumeUSD24",
|
|
5081
|
+
SwapPct1dOldWallet = "swapPct1dOldWallet",
|
|
5082
|
+
SwapPct7dOldWallet = "swapPct7dOldWallet",
|
|
4894
5083
|
TrendingScore = "trendingScore",
|
|
4895
5084
|
TrendingScore1 = "trendingScore1",
|
|
4896
5085
|
TrendingScore4 = "trendingScore4",
|
|
5086
|
+
TrendingScore5m = "trendingScore5m",
|
|
4897
5087
|
TrendingScore12 = "trendingScore12",
|
|
4898
5088
|
TrendingScore24 = "trendingScore24",
|
|
4899
5089
|
TxnCount1 = "txnCount1",
|
|
@@ -4919,7 +5109,9 @@ export declare enum PairRankingAttribute {
|
|
|
4919
5109
|
VolumeUsd1 = "volumeUSD1",
|
|
4920
5110
|
VolumeUsd4 = "volumeUSD4",
|
|
4921
5111
|
VolumeUsd12 = "volumeUSD12",
|
|
4922
|
-
VolumeUsd24 = "volumeUSD24"
|
|
5112
|
+
VolumeUsd24 = "volumeUSD24",
|
|
5113
|
+
WalletAgeAvg = "walletAgeAvg",
|
|
5114
|
+
WalletAgeStd = "walletAgeStd"
|
|
4923
5115
|
}
|
|
4924
5116
|
/** Response returned by `filterNftParallelAssets`. */
|
|
4925
5117
|
export type ParallelAssetFilterConnection = {
|
|
@@ -5763,6 +5955,7 @@ export type Query = {
|
|
|
5763
5955
|
* @deprecated This query is longer supported. Instead use filterPairs with sort order on createdAt DESC
|
|
5764
5956
|
*/
|
|
5765
5957
|
getLatestPairs?: Maybe<LatestPairConnection>;
|
|
5958
|
+
/** @deprecated This query is no longer supported. Use `filterTokens` with a createdAt: DESC filter instead. */
|
|
5766
5959
|
getLatestTokens?: Maybe<LatestTokenConnection>;
|
|
5767
5960
|
/** Returns metadata for a given network supported on Codex. */
|
|
5768
5961
|
getNetworkStats?: Maybe<GetNetworkStatsResponse>;
|
|
@@ -5842,6 +6035,8 @@ export type Query = {
|
|
|
5842
6035
|
tokenLifecycleEvents?: Maybe<TokenLifecycleEventConnection>;
|
|
5843
6036
|
/** Returns a list of token simple chart data (sparklines) for the given tokens. */
|
|
5844
6037
|
tokenSparklines: Array<TokenSparkline>;
|
|
6038
|
+
/** Returns a list of top traders for a given token. */
|
|
6039
|
+
tokenTopTraders: TokenTopTradersConnection;
|
|
5845
6040
|
/** Returns a list of tokens by their addresses & network id, with pagination. */
|
|
5846
6041
|
tokens: Array<Maybe<EnhancedToken>>;
|
|
5847
6042
|
/** Returns the percentage of a token’s total supply held collectively by its top 10 holders. */
|
|
@@ -6190,6 +6385,9 @@ export type QueryTokenLifecycleEventsArgs = {
|
|
|
6190
6385
|
export type QueryTokenSparklinesArgs = {
|
|
6191
6386
|
input: TokenSparklineInput;
|
|
6192
6387
|
};
|
|
6388
|
+
export type QueryTokenTopTradersArgs = {
|
|
6389
|
+
input: TokenTopTradersInput;
|
|
6390
|
+
};
|
|
6193
6391
|
export type QueryTokensArgs = {
|
|
6194
6392
|
ids?: InputMaybe<Array<TokenInput>>;
|
|
6195
6393
|
};
|
|
@@ -6627,6 +6825,25 @@ export type SparklineValue = {
|
|
|
6627
6825
|
timestamp: Scalars['Int']['output'];
|
|
6628
6826
|
value: Scalars['Float']['output'];
|
|
6629
6827
|
};
|
|
6828
|
+
export type StarknetNetworkConfig = {
|
|
6829
|
+
__typename?: 'StarknetNetworkConfig';
|
|
6830
|
+
baseTokenAddress: Scalars['String']['output'];
|
|
6831
|
+
baseTokenSymbol: Scalars['String']['output'];
|
|
6832
|
+
color?: Maybe<Scalars['String']['output']>;
|
|
6833
|
+
defaultPairAddress: Scalars['String']['output'];
|
|
6834
|
+
defaultPairQuoteToken: QuoteToken;
|
|
6835
|
+
enabled: Scalars['Boolean']['output'];
|
|
6836
|
+
id: Scalars['ID']['output'];
|
|
6837
|
+
mainnet: Scalars['Boolean']['output'];
|
|
6838
|
+
name: Scalars['String']['output'];
|
|
6839
|
+
networkIconUrl: Scalars['String']['output'];
|
|
6840
|
+
networkId: Scalars['Int']['output'];
|
|
6841
|
+
networkName: Scalars['String']['output'];
|
|
6842
|
+
networkShortName: Scalars['String']['output'];
|
|
6843
|
+
newTokensEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
6844
|
+
stableCoinAddresses?: Maybe<Array<Scalars['String']['output']>>;
|
|
6845
|
+
wrappedBaseTokenSymbol: Scalars['String']['output'];
|
|
6846
|
+
};
|
|
6630
6847
|
/** Filter for NFT stats. */
|
|
6631
6848
|
export type StatsFilter = {
|
|
6632
6849
|
/** The percent change between the `current` and `previous`. */
|
|
@@ -6675,6 +6892,8 @@ export type StringFilter = {
|
|
|
6675
6892
|
};
|
|
6676
6893
|
export type Subscription = {
|
|
6677
6894
|
__typename?: 'Subscription';
|
|
6895
|
+
/** Live-streamed balance updates for a given wallet. */
|
|
6896
|
+
onBalanceUpdated: Balance;
|
|
6678
6897
|
/** Live-streamed bar chart data to track price changes over time. */
|
|
6679
6898
|
onBarsUpdated?: Maybe<OnBarsUpdatedResponse>;
|
|
6680
6899
|
/** Live-streamed bucketed stats for a given token within a pair. */
|
|
@@ -6688,6 +6907,8 @@ export type Subscription = {
|
|
|
6688
6907
|
/** Live-streamed updates for newly listed pairs. */
|
|
6689
6908
|
onLatestPairUpdated?: Maybe<LatestPair>;
|
|
6690
6909
|
onLatestTokens?: Maybe<LatestToken>;
|
|
6910
|
+
onLaunchpadTokenEvent: LaunchpadTokenEventOutput;
|
|
6911
|
+
onLaunchpadTokenEventBatch: Array<LaunchpadTokenEventOutput>;
|
|
6691
6912
|
/** Live-streamed transactions for an NFT asset. */
|
|
6692
6913
|
onNftAssetsCreated?: Maybe<NftAsset>;
|
|
6693
6914
|
/** Live-streamed transactions for an NFT collection. */
|
|
@@ -6712,6 +6933,9 @@ export type Subscription = {
|
|
|
6712
6933
|
/** Live-streamed unconfirmed transactions for a token. (Solana only) */
|
|
6713
6934
|
onUnconfirmedEventsCreated?: Maybe<AddUnconfirmedEventsOutput>;
|
|
6714
6935
|
};
|
|
6936
|
+
export type SubscriptionOnBalanceUpdatedArgs = {
|
|
6937
|
+
walletAddress: Scalars['String']['input'];
|
|
6938
|
+
};
|
|
6715
6939
|
export type SubscriptionOnBarsUpdatedArgs = {
|
|
6716
6940
|
pairId?: InputMaybe<Scalars['String']['input']>;
|
|
6717
6941
|
quoteToken?: InputMaybe<QuoteToken>;
|
|
@@ -6728,6 +6952,7 @@ export type SubscriptionOnEventLabelCreatedArgs = {
|
|
|
6728
6952
|
export type SubscriptionOnEventsCreatedArgs = {
|
|
6729
6953
|
address?: InputMaybe<Scalars['String']['input']>;
|
|
6730
6954
|
id?: InputMaybe<Scalars['String']['input']>;
|
|
6955
|
+
networkId?: InputMaybe<Scalars['Int']['input']>;
|
|
6731
6956
|
quoteToken?: InputMaybe<QuoteToken>;
|
|
6732
6957
|
};
|
|
6733
6958
|
export type SubscriptionOnHoldersUpdatedArgs = {
|
|
@@ -6742,6 +6967,9 @@ export type SubscriptionOnLatestTokensArgs = {
|
|
|
6742
6967
|
networkId?: InputMaybe<Scalars['Int']['input']>;
|
|
6743
6968
|
tokenAddress?: InputMaybe<Scalars['String']['input']>;
|
|
6744
6969
|
};
|
|
6970
|
+
export type SubscriptionOnLaunchpadTokenEventArgs = {
|
|
6971
|
+
input?: InputMaybe<OnLaunchpadTokenEventInput>;
|
|
6972
|
+
};
|
|
6745
6973
|
export type SubscriptionOnNftAssetsCreatedArgs = {
|
|
6746
6974
|
address?: InputMaybe<Scalars['String']['input']>;
|
|
6747
6975
|
networkId?: InputMaybe<Scalars['Int']['input']>;
|
|
@@ -6776,6 +7004,7 @@ export type SubscriptionOnSimulateTokenContractArgs = {
|
|
|
6776
7004
|
simulationId?: InputMaybe<Scalars['String']['input']>;
|
|
6777
7005
|
};
|
|
6778
7006
|
export type SubscriptionOnTokenBarsUpdatedArgs = {
|
|
7007
|
+
networkId?: InputMaybe<Scalars['Int']['input']>;
|
|
6779
7008
|
statsType?: InputMaybe<TokenPairStatisticsType>;
|
|
6780
7009
|
tokenId?: InputMaybe<Scalars['String']['input']>;
|
|
6781
7010
|
};
|
|
@@ -7029,6 +7258,16 @@ export type TokenFilterResult = {
|
|
|
7029
7258
|
buyCount12?: Maybe<Scalars['Int']['output']>;
|
|
7030
7259
|
/** The number of buys in the past 24 hours. */
|
|
7031
7260
|
buyCount24?: Maybe<Scalars['Int']['output']>;
|
|
7261
|
+
/** The buy volume in USD in the past hour. */
|
|
7262
|
+
buyVolume1?: Maybe<Scalars['String']['output']>;
|
|
7263
|
+
/** The buy volume in USD in the past 4 hours. */
|
|
7264
|
+
buyVolume4?: Maybe<Scalars['String']['output']>;
|
|
7265
|
+
/** The buy volume in USD in the past 5 minutes. */
|
|
7266
|
+
buyVolume5m?: Maybe<Scalars['String']['output']>;
|
|
7267
|
+
/** The buy volume in USD in the past 12 hours. */
|
|
7268
|
+
buyVolume12?: Maybe<Scalars['String']['output']>;
|
|
7269
|
+
/** The buy volume in USD in the past 24 hours. */
|
|
7270
|
+
buyVolume24?: Maybe<Scalars['String']['output']>;
|
|
7032
7271
|
/** The percent price change in the past hour. Decimal format. */
|
|
7033
7272
|
change1?: Maybe<Scalars['String']['output']>;
|
|
7034
7273
|
/** The percent price change in the past 4 hours. Decimal format. */
|
|
@@ -7091,6 +7330,20 @@ export type TokenFilterResult = {
|
|
|
7091
7330
|
sellCount12?: Maybe<Scalars['Int']['output']>;
|
|
7092
7331
|
/** The number of sells in the past 24 hours. */
|
|
7093
7332
|
sellCount24?: Maybe<Scalars['Int']['output']>;
|
|
7333
|
+
/** The sell volume in USD in the past hour. */
|
|
7334
|
+
sellVolume1?: Maybe<Scalars['String']['output']>;
|
|
7335
|
+
/** The sell volume in USD in the past 4 hours. */
|
|
7336
|
+
sellVolume4?: Maybe<Scalars['String']['output']>;
|
|
7337
|
+
/** The sell volume in USD in the past 5 minutes. */
|
|
7338
|
+
sellVolume5m?: Maybe<Scalars['String']['output']>;
|
|
7339
|
+
/** The sell volume in USD in the past 12 hours. */
|
|
7340
|
+
sellVolume12?: Maybe<Scalars['String']['output']>;
|
|
7341
|
+
/** The sell volume in USD in the past 24 hours. */
|
|
7342
|
+
sellVolume24?: Maybe<Scalars['String']['output']>;
|
|
7343
|
+
/** The percentage of wallets that are less than 1d old that have traded in the last 24h */
|
|
7344
|
+
swapPct1dOldWallet?: Maybe<Scalars['String']['output']>;
|
|
7345
|
+
/** The percentage of wallets that are less than 7d old that have traded in the last 24h */
|
|
7346
|
+
swapPct7dOldWallet?: Maybe<Scalars['String']['output']>;
|
|
7094
7347
|
/** Metadata for the token. */
|
|
7095
7348
|
token?: Maybe<EnhancedToken>;
|
|
7096
7349
|
/** The number of transactions in the past hour. */
|
|
@@ -7153,6 +7406,10 @@ export type TokenFilterResult = {
|
|
|
7153
7406
|
volumeChange12?: Maybe<Scalars['String']['output']>;
|
|
7154
7407
|
/** The percent volume change in the past 24 hours. Decimal format. */
|
|
7155
7408
|
volumeChange24?: Maybe<Scalars['String']['output']>;
|
|
7409
|
+
/** The average age of the wallets that traded in the last 24h */
|
|
7410
|
+
walletAgeAvg?: Maybe<Scalars['String']['output']>;
|
|
7411
|
+
/** The standard deviation of age of the wallets that traded in the last 24h */
|
|
7412
|
+
walletAgeStd?: Maybe<Scalars['String']['output']>;
|
|
7156
7413
|
};
|
|
7157
7414
|
/** Input type of `TokenFilters`. */
|
|
7158
7415
|
export type TokenFilters = {
|
|
@@ -7168,6 +7425,16 @@ export type TokenFilters = {
|
|
|
7168
7425
|
buyCount12?: InputMaybe<NumberFilter>;
|
|
7169
7426
|
/** The number of buys in the past 24 hours. */
|
|
7170
7427
|
buyCount24?: InputMaybe<NumberFilter>;
|
|
7428
|
+
/** The buy volume in USD in the past hour. */
|
|
7429
|
+
buyVolume1?: InputMaybe<NumberFilter>;
|
|
7430
|
+
/** The buy volume in USD in the past 4 hours. */
|
|
7431
|
+
buyVolume4?: InputMaybe<NumberFilter>;
|
|
7432
|
+
/** The buy volume in USD in the past 5 minutes. */
|
|
7433
|
+
buyVolume5m?: InputMaybe<NumberFilter>;
|
|
7434
|
+
/** The buy volume in USD in the past 12 hours. */
|
|
7435
|
+
buyVolume12?: InputMaybe<NumberFilter>;
|
|
7436
|
+
/** The buy volume in USD in the past 24 hours. */
|
|
7437
|
+
buyVolume24?: InputMaybe<NumberFilter>;
|
|
7171
7438
|
/** The percent price change in the past hour. Decimal format. */
|
|
7172
7439
|
change1?: InputMaybe<NumberFilter>;
|
|
7173
7440
|
/** The percent price change in the past 4 hours. Decimal format. */
|
|
@@ -7188,6 +7455,8 @@ export type TokenFilters = {
|
|
|
7188
7455
|
exchangeId?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
7189
7456
|
/** @deprecated FDV isn't supported - use marketCap instead */
|
|
7190
7457
|
fdv?: InputMaybe<NumberFilter>;
|
|
7458
|
+
/** The token in freezable */
|
|
7459
|
+
freezable?: InputMaybe<Scalars['Boolean']['input']>;
|
|
7191
7460
|
/** The highest price in USD in the past hour. */
|
|
7192
7461
|
high1?: InputMaybe<NumberFilter>;
|
|
7193
7462
|
/** The highest price in USD in the past 4 hours. */
|
|
@@ -7202,10 +7471,24 @@ export type TokenFilters = {
|
|
|
7202
7471
|
holders?: InputMaybe<NumberFilter>;
|
|
7203
7472
|
/** Whether to include tokens that have been flagged as scams. Default: false */
|
|
7204
7473
|
includeScams?: InputMaybe<Scalars['Boolean']['input']>;
|
|
7474
|
+
/** Whether to filter for tokens on testnet networks. Use `true` for testnet tokens only, `false` for mainnet tokens only and `undefined` (default) for both. */
|
|
7475
|
+
isTestnet?: InputMaybe<Scalars['Boolean']['input']>;
|
|
7205
7476
|
/** Only include verified tokens */
|
|
7206
7477
|
isVerified?: InputMaybe<Scalars['Boolean']['input']>;
|
|
7207
7478
|
/** The unix timestamp for the token's last transaction. */
|
|
7208
7479
|
lastTransaction?: InputMaybe<NumberFilter>;
|
|
7480
|
+
/** Indicates if the launchpad is completed */
|
|
7481
|
+
launchpadCompleted?: InputMaybe<Scalars['Boolean']['input']>;
|
|
7482
|
+
/** The timestamp when the launchpad was completed */
|
|
7483
|
+
launchpadCompletedAt?: InputMaybe<NumberFilter>;
|
|
7484
|
+
/** The graduation percentage */
|
|
7485
|
+
launchpadGraduationPercent?: InputMaybe<NumberFilter>;
|
|
7486
|
+
/** Indicates if the launchpad has migrated */
|
|
7487
|
+
launchpadMigrated?: InputMaybe<Scalars['Boolean']['input']>;
|
|
7488
|
+
/** The timestamp when the launchpad was migrated */
|
|
7489
|
+
launchpadMigratedAt?: InputMaybe<NumberFilter>;
|
|
7490
|
+
/** The launchpad protocol */
|
|
7491
|
+
launchpadProtocol?: InputMaybe<Scalars['String']['input']>;
|
|
7209
7492
|
/** The amount of liquidity in the token's top pair. */
|
|
7210
7493
|
liquidity?: InputMaybe<NumberFilter>;
|
|
7211
7494
|
/** The lowest price in USD in the past hour. */
|
|
@@ -7220,6 +7503,8 @@ export type TokenFilters = {
|
|
|
7220
7503
|
low24?: InputMaybe<NumberFilter>;
|
|
7221
7504
|
/** The market cap of circulating supply. */
|
|
7222
7505
|
marketCap?: InputMaybe<NumberFilter>;
|
|
7506
|
+
/** The token in mintable */
|
|
7507
|
+
mintable?: InputMaybe<Scalars['Boolean']['input']>;
|
|
7223
7508
|
/** 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. */
|
|
7224
7509
|
network?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
|
|
7225
7510
|
/** docs: hide */
|
|
@@ -7238,6 +7523,20 @@ export type TokenFilters = {
|
|
|
7238
7523
|
sellCount12?: InputMaybe<NumberFilter>;
|
|
7239
7524
|
/** The number of sells in the past 24 hours. */
|
|
7240
7525
|
sellCount24?: InputMaybe<NumberFilter>;
|
|
7526
|
+
/** The sell volume in USD in the past hour. */
|
|
7527
|
+
sellVolume1?: InputMaybe<NumberFilter>;
|
|
7528
|
+
/** The sell volume in USD in the past 4 hours. */
|
|
7529
|
+
sellVolume4?: InputMaybe<NumberFilter>;
|
|
7530
|
+
/** The sell volume in USD in the past 5 minutes. */
|
|
7531
|
+
sellVolume5m?: InputMaybe<NumberFilter>;
|
|
7532
|
+
/** The sell volume in USD in the past 12 hours. */
|
|
7533
|
+
sellVolume12?: InputMaybe<NumberFilter>;
|
|
7534
|
+
/** The sell volume in USD in the past 24 hours. */
|
|
7535
|
+
sellVolume24?: InputMaybe<NumberFilter>;
|
|
7536
|
+
/** The percentage of wallets that are less than 1d old that have traded in the last 24h */
|
|
7537
|
+
swapPct1dOldWallet?: InputMaybe<NumberFilter>;
|
|
7538
|
+
/** The percentage of wallets that are less than 7d old that have traded in the last 24h */
|
|
7539
|
+
swapPct7dOldWallet?: InputMaybe<NumberFilter>;
|
|
7241
7540
|
/** Whether to ignore pairs/tokens not relevant to trending */
|
|
7242
7541
|
trendingIgnored?: InputMaybe<Scalars['Boolean']['input']>;
|
|
7243
7542
|
/** The number of transactions in the past hour. */
|
|
@@ -7300,6 +7599,10 @@ export type TokenFilters = {
|
|
|
7300
7599
|
volumeChange12?: InputMaybe<NumberFilter>;
|
|
7301
7600
|
/** The percent volume change in the past 24 hours. Decimal format. */
|
|
7302
7601
|
volumeChange24?: InputMaybe<NumberFilter>;
|
|
7602
|
+
/** The average age of the wallets that traded in the last 24h */
|
|
7603
|
+
walletAgeAvg?: InputMaybe<NumberFilter>;
|
|
7604
|
+
/** The standard deviation of age of the wallets that traded in the last 24h */
|
|
7605
|
+
walletAgeStd?: InputMaybe<NumberFilter>;
|
|
7303
7606
|
};
|
|
7304
7607
|
/** Metadata for a token. */
|
|
7305
7608
|
export type TokenInfo = {
|
|
@@ -7483,12 +7786,18 @@ export declare enum TokenRankingAttribute {
|
|
|
7483
7786
|
BuyCount5m = "buyCount5m",
|
|
7484
7787
|
BuyCount12 = "buyCount12",
|
|
7485
7788
|
BuyCount24 = "buyCount24",
|
|
7789
|
+
BuyVolume1 = "buyVolume1",
|
|
7790
|
+
BuyVolume4 = "buyVolume4",
|
|
7791
|
+
BuyVolume5m = "buyVolume5m",
|
|
7792
|
+
BuyVolume12 = "buyVolume12",
|
|
7793
|
+
BuyVolume24 = "buyVolume24",
|
|
7486
7794
|
Change1 = "change1",
|
|
7487
7795
|
Change4 = "change4",
|
|
7488
7796
|
Change5m = "change5m",
|
|
7489
7797
|
Change12 = "change12",
|
|
7490
7798
|
Change24 = "change24",
|
|
7491
7799
|
CreatedAt = "createdAt",
|
|
7800
|
+
GraduationPercent = "graduationPercent",
|
|
7492
7801
|
High1 = "high1",
|
|
7493
7802
|
High4 = "high4",
|
|
7494
7803
|
High5m = "high5m",
|
|
@@ -7496,6 +7805,8 @@ export declare enum TokenRankingAttribute {
|
|
|
7496
7805
|
High24 = "high24",
|
|
7497
7806
|
Holders = "holders",
|
|
7498
7807
|
LastTransaction = "lastTransaction",
|
|
7808
|
+
LaunchpadCompletedAt = "launchpadCompletedAt",
|
|
7809
|
+
LaunchpadMigratedAt = "launchpadMigratedAt",
|
|
7499
7810
|
Liquidity = "liquidity",
|
|
7500
7811
|
Low1 = "low1",
|
|
7501
7812
|
Low4 = "low4",
|
|
@@ -7510,9 +7821,17 @@ export declare enum TokenRankingAttribute {
|
|
|
7510
7821
|
SellCount5m = "sellCount5m",
|
|
7511
7822
|
SellCount12 = "sellCount12",
|
|
7512
7823
|
SellCount24 = "sellCount24",
|
|
7824
|
+
SellVolume1 = "sellVolume1",
|
|
7825
|
+
SellVolume4 = "sellVolume4",
|
|
7826
|
+
SellVolume5m = "sellVolume5m",
|
|
7827
|
+
SellVolume12 = "sellVolume12",
|
|
7828
|
+
SellVolume24 = "sellVolume24",
|
|
7829
|
+
SwapPct1dOldWallet = "swapPct1dOldWallet",
|
|
7830
|
+
SwapPct7dOldWallet = "swapPct7dOldWallet",
|
|
7513
7831
|
TrendingScore = "trendingScore",
|
|
7514
7832
|
TrendingScore1 = "trendingScore1",
|
|
7515
7833
|
TrendingScore4 = "trendingScore4",
|
|
7834
|
+
TrendingScore5m = "trendingScore5m",
|
|
7516
7835
|
TrendingScore12 = "trendingScore12",
|
|
7517
7836
|
TrendingScore24 = "trendingScore24",
|
|
7518
7837
|
TxnCount1 = "txnCount1",
|
|
@@ -7544,7 +7863,9 @@ export declare enum TokenRankingAttribute {
|
|
|
7544
7863
|
VolumeChange4 = "volumeChange4",
|
|
7545
7864
|
VolumeChange5m = "volumeChange5m",
|
|
7546
7865
|
VolumeChange12 = "volumeChange12",
|
|
7547
|
-
VolumeChange24 = "volumeChange24"
|
|
7866
|
+
VolumeChange24 = "volumeChange24",
|
|
7867
|
+
WalletAgeAvg = "walletAgeAvg",
|
|
7868
|
+
WalletAgeStd = "walletAgeStd"
|
|
7548
7869
|
}
|
|
7549
7870
|
/** Response returned by `searchTokens`. */
|
|
7550
7871
|
export type TokenSearchResponse = {
|
|
@@ -7569,6 +7890,69 @@ export type TokenSparklineInput = {
|
|
|
7569
7890
|
/** The contract address & networkId of the token, joined by a colon. ex: 0xbe042e9d09cb588331ff911c2b46fd833a3e5bd6:1 */
|
|
7570
7891
|
ids: Array<Scalars['String']['input']>;
|
|
7571
7892
|
};
|
|
7893
|
+
/** A top trader for a token. */
|
|
7894
|
+
export type TokenTopTrader = {
|
|
7895
|
+
__typename?: 'TokenTopTrader';
|
|
7896
|
+
/** The amount of tokens bought in USD. */
|
|
7897
|
+
amountBoughtUsd: Scalars['String']['output'];
|
|
7898
|
+
/** The amount of tokens sold in USD. */
|
|
7899
|
+
amountSoldUsd: Scalars['String']['output'];
|
|
7900
|
+
/** The number of buys. */
|
|
7901
|
+
buys: Scalars['Int']['output'];
|
|
7902
|
+
/** The unix timestamp for the first transaction from this wallet. */
|
|
7903
|
+
firstTransactionAt?: Maybe<Scalars['Int']['output']>;
|
|
7904
|
+
/** The unix timestamp for the last transaction from this wallet. */
|
|
7905
|
+
lastTransactionAt: Scalars['Int']['output'];
|
|
7906
|
+
/** The network ID. */
|
|
7907
|
+
networkId: Scalars['Int']['output'];
|
|
7908
|
+
/** The realized profit percentage. */
|
|
7909
|
+
realizedProfitPercentage: Scalars['Float']['output'];
|
|
7910
|
+
/** The realized profit in USD. */
|
|
7911
|
+
realizedProfitUsd: Scalars['String']['output'];
|
|
7912
|
+
/** The number of sells. */
|
|
7913
|
+
sells: Scalars['Int']['output'];
|
|
7914
|
+
/** The single token acquisition cost in USD. */
|
|
7915
|
+
singleTokenAcquisitionCostUsd: Scalars['String']['output'];
|
|
7916
|
+
/** The token address. */
|
|
7917
|
+
tokenAddress: Scalars['String']['output'];
|
|
7918
|
+
/** The amount of tokens bought. */
|
|
7919
|
+
tokenAmountBought: Scalars['String']['output'];
|
|
7920
|
+
/** The amount of tokens sold. */
|
|
7921
|
+
tokenAmountSold: Scalars['String']['output'];
|
|
7922
|
+
/** The token balance of the trader. */
|
|
7923
|
+
tokenBalance: Scalars['String']['output'];
|
|
7924
|
+
/** The volume of tokens bought and sold in USD. */
|
|
7925
|
+
volumeUsd: Scalars['String']['output'];
|
|
7926
|
+
/** The wallet address of the trader. */
|
|
7927
|
+
walletAddress: Scalars['String']['output'];
|
|
7928
|
+
};
|
|
7929
|
+
/** A paginated list of top traders for a token. */
|
|
7930
|
+
export type TokenTopTradersConnection = {
|
|
7931
|
+
__typename?: 'TokenTopTradersConnection';
|
|
7932
|
+
/** The list of top traders. */
|
|
7933
|
+
items: Array<Maybe<TokenTopTrader>>;
|
|
7934
|
+
/** The network ID. */
|
|
7935
|
+
networkId: Scalars['Int']['output'];
|
|
7936
|
+
/** The offset of the first trader in the connection. */
|
|
7937
|
+
offset?: Maybe<Scalars['Int']['output']>;
|
|
7938
|
+
/** The token address. */
|
|
7939
|
+
tokenAddress: Scalars['String']['output'];
|
|
7940
|
+
/** The trading period. */
|
|
7941
|
+
tradingPeriod: TradingPeriod;
|
|
7942
|
+
};
|
|
7943
|
+
/** Input arguments for the `tokenTopTraders` query. */
|
|
7944
|
+
export type TokenTopTradersInput = {
|
|
7945
|
+
/** The number of traders to return */
|
|
7946
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
7947
|
+
/** The network ID */
|
|
7948
|
+
networkId: Scalars['Int']['input'];
|
|
7949
|
+
/** Where in the list the server started when returning items */
|
|
7950
|
+
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
7951
|
+
/** The token address */
|
|
7952
|
+
tokenAddress: Scalars['String']['input'];
|
|
7953
|
+
/** The trading period */
|
|
7954
|
+
tradingPeriod: TradingPeriod;
|
|
7955
|
+
};
|
|
7572
7956
|
/** A token with metadata. */
|
|
7573
7957
|
export type TokenWithMetadata = {
|
|
7574
7958
|
__typename?: 'TokenWithMetadata';
|
|
@@ -7649,6 +8033,13 @@ export type TokenWithMetadata = {
|
|
|
7649
8033
|
/** The volume over the time frame requested in USD. */
|
|
7650
8034
|
volume: Scalars['String']['output'];
|
|
7651
8035
|
};
|
|
8036
|
+
/** A time period used when calculating wallet trading data. */
|
|
8037
|
+
export declare enum TradingPeriod {
|
|
8038
|
+
Day = "DAY",
|
|
8039
|
+
Month = "MONTH",
|
|
8040
|
+
Week = "WEEK",
|
|
8041
|
+
Year = "YEAR"
|
|
8042
|
+
}
|
|
7652
8043
|
/** An unconfirmed token transaction. */
|
|
7653
8044
|
export type UnconfirmedEvent = {
|
|
7654
8045
|
__typename?: 'UnconfirmedEvent';
|