@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
|
@@ -147,12 +147,14 @@ export type AptosNetworkConfig = {
|
|
|
147
147
|
/** Wallet balance of a token. */
|
|
148
148
|
export type Balance = {
|
|
149
149
|
__typename?: 'Balance';
|
|
150
|
-
/** The wallet address */
|
|
150
|
+
/** The wallet address. */
|
|
151
151
|
address: Scalars['String']['output'];
|
|
152
152
|
/** The balance held by the wallet. */
|
|
153
153
|
balance: Scalars['String']['output'];
|
|
154
|
-
/** The time that this address first held a token */
|
|
154
|
+
/** The time that this address first held a token. */
|
|
155
155
|
firstHeldTimestamp?: Maybe<Scalars['Int']['output']>;
|
|
156
|
+
/** The wallet network. */
|
|
157
|
+
networkId: Scalars['Int']['output'];
|
|
156
158
|
/** The balance held by the wallet, adjusted by the number of decimals in the token. */
|
|
157
159
|
shiftedBalance: Scalars['Float']['output'];
|
|
158
160
|
/** The contract address of the token. */
|
|
@@ -166,12 +168,26 @@ export type Balance = {
|
|
|
166
168
|
export type BalancesInput = {
|
|
167
169
|
/** A cursor for use in pagination. */
|
|
168
170
|
cursor?: InputMaybe<Scalars['String']['input']>;
|
|
169
|
-
/**
|
|
171
|
+
/**
|
|
172
|
+
* Optional token specifically request the balance for.
|
|
173
|
+
* @deprecated Use tokens list instead
|
|
174
|
+
*/
|
|
170
175
|
filterToken?: InputMaybe<Scalars['String']['input']>;
|
|
171
176
|
/** If set to true, native tokens in the response, they will have the id: native:<networkId> */
|
|
172
177
|
includeNative?: InputMaybe<Scalars['Boolean']['input']>;
|
|
173
|
-
/** The
|
|
174
|
-
|
|
178
|
+
/** The maximum number of holdings to return. */
|
|
179
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
180
|
+
/** The network IDs to filter by. */
|
|
181
|
+
networks?: InputMaybe<Array<Scalars['Int']['input']>>;
|
|
182
|
+
/** The token IDs (`address:networkId`) or addresses to request the balance for. Only applied when using `walletAddress` and `networks` (not `walletId`). */
|
|
183
|
+
tokens?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
184
|
+
/** The wallet address to filter by. */
|
|
185
|
+
walletAddress?: InputMaybe<Scalars['String']['input']>;
|
|
186
|
+
/**
|
|
187
|
+
* The ID of the wallet (`walletAddress:networkId`).
|
|
188
|
+
* @deprecated Use walletAddress and networkId instead
|
|
189
|
+
*/
|
|
190
|
+
walletId?: InputMaybe<Scalars['String']['input']>;
|
|
175
191
|
};
|
|
176
192
|
|
|
177
193
|
export type BalancesResponse = {
|
|
@@ -217,7 +233,10 @@ export type BarsResponse = {
|
|
|
217
233
|
traders: Array<Maybe<Scalars['Int']['output']>>;
|
|
218
234
|
/** The number of transactions */
|
|
219
235
|
transactions: Array<Maybe<Scalars['Int']['output']>>;
|
|
220
|
-
/**
|
|
236
|
+
/**
|
|
237
|
+
* The volume.
|
|
238
|
+
* @deprecated Use volume field instead
|
|
239
|
+
*/
|
|
221
240
|
v: Array<Maybe<Scalars['Int']['output']>>;
|
|
222
241
|
/** The volume with higher precision. */
|
|
223
242
|
volume?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
@@ -915,6 +934,8 @@ export type EnhancedToken = {
|
|
|
915
934
|
info?: Maybe<TokenInfo>;
|
|
916
935
|
/** Whether the token has been flagged as a scam. */
|
|
917
936
|
isScam?: Maybe<Scalars['Boolean']['output']>;
|
|
937
|
+
/** The launchpad data for the token, if applicable. */
|
|
938
|
+
launchpad?: Maybe<LaunchpadData>;
|
|
918
939
|
/** Whether or not the token is mintable */
|
|
919
940
|
mintable?: Maybe<Scalars['String']['output']>;
|
|
920
941
|
/** The token name. For example, `ApeCoin`. */
|
|
@@ -997,6 +1018,8 @@ export type Event = {
|
|
|
997
1018
|
transactionHash: Scalars['String']['output'];
|
|
998
1019
|
/** The index of the transaction within the block. */
|
|
999
1020
|
transactionIndex: Scalars['Int']['output'];
|
|
1021
|
+
/** The age of the wallet in seconds. */
|
|
1022
|
+
walletAge?: Maybe<Scalars['Int']['output']>;
|
|
1000
1023
|
};
|
|
1001
1024
|
|
|
1002
1025
|
/** Response returned by `getTokenEvents`. */
|
|
@@ -1104,6 +1127,8 @@ export type EventsQueryInput = {
|
|
|
1104
1127
|
priceUsdTotal?: InputMaybe<NumberFilter>;
|
|
1105
1128
|
/** The token of interest. Can be `token0` or `token1`. */
|
|
1106
1129
|
quoteToken?: InputMaybe<QuoteToken>;
|
|
1130
|
+
/** Specify the type of symbol you want to fetch values for (TOKEN | POOL) */
|
|
1131
|
+
symbolType?: InputMaybe<SymbolType>;
|
|
1107
1132
|
/** The time range to filter by. */
|
|
1108
1133
|
timestamp?: InputMaybe<EventQueryTimestampInput>;
|
|
1109
1134
|
};
|
|
@@ -1372,6 +1397,8 @@ export type GetNetworkStatsResponse = {
|
|
|
1372
1397
|
transactions1: Scalars['Int']['output'];
|
|
1373
1398
|
/** The unique number of transactions in the past 4 hours. */
|
|
1374
1399
|
transactions4: Scalars['Int']['output'];
|
|
1400
|
+
/** The unique number of transactions in the past 5 minutes. */
|
|
1401
|
+
transactions5m: Scalars['Int']['output'];
|
|
1375
1402
|
/** The unique number of transactions in the past 12 hours. */
|
|
1376
1403
|
transactions12: Scalars['Int']['output'];
|
|
1377
1404
|
/** The unique number of transactions in the past 24 hours. */
|
|
@@ -1380,10 +1407,22 @@ export type GetNetworkStatsResponse = {
|
|
|
1380
1407
|
volume1: Scalars['Float']['output'];
|
|
1381
1408
|
/** The network trade volume in USD over the past 4 hours. */
|
|
1382
1409
|
volume4: Scalars['Float']['output'];
|
|
1410
|
+
/** The network trade volume in USD over the past 5 minutes. */
|
|
1411
|
+
volume5m: Scalars['Float']['output'];
|
|
1383
1412
|
/** The network trade volume in USD over the past 12 hours. */
|
|
1384
1413
|
volume12: Scalars['Float']['output'];
|
|
1385
1414
|
/** The network trade volume in USD over the past 24 hours. */
|
|
1386
1415
|
volume24: Scalars['Float']['output'];
|
|
1416
|
+
/** The network trade volume change over the last hour */
|
|
1417
|
+
volumeChange1: Scalars['Float']['output'];
|
|
1418
|
+
/** The network trade volume change over the last 4 hours */
|
|
1419
|
+
volumeChange4: Scalars['Float']['output'];
|
|
1420
|
+
/** The network trade volume change over the last 5 minutes */
|
|
1421
|
+
volumeChange5m: Scalars['Float']['output'];
|
|
1422
|
+
/** The network trade volume change over the last 12 hours */
|
|
1423
|
+
volumeChange12: Scalars['Float']['output'];
|
|
1424
|
+
/** The network trade volume change over the last 24 hours */
|
|
1425
|
+
volumeChange24: Scalars['Float']['output'];
|
|
1387
1426
|
};
|
|
1388
1427
|
|
|
1389
1428
|
/** Response returned by `getNftPoolCollectionsByExchange`. */
|
|
@@ -1720,6 +1759,82 @@ export type LatestTokenSimResults = {
|
|
|
1720
1759
|
sellTax?: Maybe<Scalars['String']['output']>;
|
|
1721
1760
|
};
|
|
1722
1761
|
|
|
1762
|
+
export type LaunchpadData = {
|
|
1763
|
+
__typename?: 'LaunchpadData';
|
|
1764
|
+
/** Indicates if the launchpad is completed. */
|
|
1765
|
+
completed?: Maybe<Scalars['Boolean']['output']>;
|
|
1766
|
+
/** The unix timestamp when the launchpad was completed. */
|
|
1767
|
+
completedAt?: Maybe<Scalars['Int']['output']>;
|
|
1768
|
+
/** The slot number when the launchpad was completed. */
|
|
1769
|
+
completedSlot?: Maybe<Scalars['Int']['output']>;
|
|
1770
|
+
/** The percentage of the pool that was sold to the public. */
|
|
1771
|
+
graduationPercent?: Maybe<Scalars['Float']['output']>;
|
|
1772
|
+
/** The launchpad protocol */
|
|
1773
|
+
launchpadProtocol?: Maybe<Scalars['String']['output']>;
|
|
1774
|
+
/** Indicates if the launchpad was migrated. */
|
|
1775
|
+
migrated?: Maybe<Scalars['Boolean']['output']>;
|
|
1776
|
+
/** The unix timestamp when the launchpad was migrated. */
|
|
1777
|
+
migratedAt?: Maybe<Scalars['Int']['output']>;
|
|
1778
|
+
/** The pool address after the launchpad was migrated. */
|
|
1779
|
+
migratedPoolAddress?: Maybe<Scalars['String']['output']>;
|
|
1780
|
+
/** The slot number when the launchpad was migrated. */
|
|
1781
|
+
migratedSlot?: Maybe<Scalars['Int']['output']>;
|
|
1782
|
+
/** The name of the launchpad. */
|
|
1783
|
+
name?: Maybe<Scalars['String']['output']>;
|
|
1784
|
+
/** The address of the pool. */
|
|
1785
|
+
poolAddress?: Maybe<Scalars['String']['output']>;
|
|
1786
|
+
};
|
|
1787
|
+
|
|
1788
|
+
/** Response returned by `onLaunchpadTokenEvent`. */
|
|
1789
|
+
export type LaunchpadTokenEventOutput = {
|
|
1790
|
+
__typename?: 'LaunchpadTokenEventOutput';
|
|
1791
|
+
/** The contract address of the token. */
|
|
1792
|
+
address: Scalars['String']['output'];
|
|
1793
|
+
/** The number of buys in the last 24 hours. */
|
|
1794
|
+
buyCount1?: Maybe<Scalars['Int']['output']>;
|
|
1795
|
+
/** The type of event. */
|
|
1796
|
+
eventType: LaunchpadTokenEventType;
|
|
1797
|
+
/** The number of holders. */
|
|
1798
|
+
holders?: Maybe<Scalars['Int']['output']>;
|
|
1799
|
+
/** The market cap of the token. */
|
|
1800
|
+
marketCap?: Maybe<Scalars['String']['output']>;
|
|
1801
|
+
/** The network ID that the token is deployed on. */
|
|
1802
|
+
networkId: Scalars['Int']['output'];
|
|
1803
|
+
/** The price of the token. */
|
|
1804
|
+
price?: Maybe<Scalars['Float']['output']>;
|
|
1805
|
+
/** The protocol of the token. */
|
|
1806
|
+
protocol: Scalars['String']['output'];
|
|
1807
|
+
/** The number of sells in the last 24 hours. */
|
|
1808
|
+
sellCount1?: Maybe<Scalars['Int']['output']>;
|
|
1809
|
+
/** Metadata for the token. */
|
|
1810
|
+
token: EnhancedToken;
|
|
1811
|
+
/** The number of transactions in the last 24 hours. */
|
|
1812
|
+
transactions1?: Maybe<Scalars['Int']['output']>;
|
|
1813
|
+
/** The volume of the token in the last 24 hours. */
|
|
1814
|
+
volume1?: Maybe<Scalars['Int']['output']>;
|
|
1815
|
+
};
|
|
1816
|
+
|
|
1817
|
+
/** The type of event. Note that associated statistics such as `buyCount1`, `price`, etc. are only available for `Updated` events. */
|
|
1818
|
+
export enum LaunchpadTokenEventType {
|
|
1819
|
+
/** The token has been completed */
|
|
1820
|
+
Completed = 'Completed',
|
|
1821
|
+
/** The token has been created with metadata */
|
|
1822
|
+
Created = 'Created',
|
|
1823
|
+
/** The token has been discovered */
|
|
1824
|
+
Deployed = 'Deployed',
|
|
1825
|
+
/** The token has been migrated */
|
|
1826
|
+
Migrated = 'Migrated',
|
|
1827
|
+
/** The token's statistics have been updated */
|
|
1828
|
+
Updated = 'Updated'
|
|
1829
|
+
}
|
|
1830
|
+
|
|
1831
|
+
/** The protocol of the token. */
|
|
1832
|
+
export enum LaunchpadTokenProtocol {
|
|
1833
|
+
FourMeme = 'FourMeme',
|
|
1834
|
+
Pump = 'Pump',
|
|
1835
|
+
RaydiumLaunchpad = 'RaydiumLaunchpad'
|
|
1836
|
+
}
|
|
1837
|
+
|
|
1723
1838
|
export type LiquidityData = {
|
|
1724
1839
|
__typename?: 'LiquidityData';
|
|
1725
1840
|
/** The active liquidity in the pair. */
|
|
@@ -1741,8 +1856,13 @@ export type LiquidityLock = {
|
|
|
1741
1856
|
liquidityAmount: Scalars['String']['output'];
|
|
1742
1857
|
/** If the liquidity position is represented by an NFT, this will contain the NFT data. */
|
|
1743
1858
|
liquidityNftData?: Maybe<LiquidityNftData>;
|
|
1744
|
-
/**
|
|
1859
|
+
/**
|
|
1860
|
+
* The protocol that created the pair
|
|
1861
|
+
* @deprecated Use liquidityProtocolV2 instead
|
|
1862
|
+
*/
|
|
1745
1863
|
liquidityProtocol: LiquidityProtocol;
|
|
1864
|
+
/** The protocol that created the pair */
|
|
1865
|
+
liquidityProtocolV2: Scalars['String']['output'];
|
|
1746
1866
|
/** The protocol with which the liquidity is locked. */
|
|
1747
1867
|
lockProtocol: LiquidityLockProtocol;
|
|
1748
1868
|
/** The address of the locker contract. */
|
|
@@ -1794,9 +1914,11 @@ export type LiquidityNftData = {
|
|
|
1794
1914
|
|
|
1795
1915
|
/** Protocols that create trading pairs */
|
|
1796
1916
|
export enum LiquidityProtocol {
|
|
1917
|
+
PumpV1 = 'PUMP_V1',
|
|
1797
1918
|
RaydiumV4 = 'RAYDIUM_V4',
|
|
1798
1919
|
UniswapV2 = 'UNISWAP_V2',
|
|
1799
|
-
UniswapV3 = 'UNISWAP_V3'
|
|
1920
|
+
UniswapV3 = 'UNISWAP_V3',
|
|
1921
|
+
UseLiquidityProtocolV2 = 'USE_LIQUIDITY_PROTOCOL_V2'
|
|
1800
1922
|
}
|
|
1801
1923
|
|
|
1802
1924
|
/** Response returned by `listPairsWithMetadataForToken`. */
|
|
@@ -4582,6 +4704,18 @@ export type OnBarsUpdatedResponse = {
|
|
|
4582
4704
|
timestamp: Scalars['Int']['output'];
|
|
4583
4705
|
};
|
|
4584
4706
|
|
|
4707
|
+
/** Input for `onLaunchpadTokenEvent`. */
|
|
4708
|
+
export type OnLaunchpadTokenEventInput = {
|
|
4709
|
+
/** The contract address of the token. Required when `networkId` is provided. */
|
|
4710
|
+
address?: InputMaybe<Scalars['String']['input']>;
|
|
4711
|
+
/** The type of event. */
|
|
4712
|
+
eventType?: InputMaybe<LaunchpadTokenEventType>;
|
|
4713
|
+
/** The network ID that the token is deployed on. Required when `address` is provided. */
|
|
4714
|
+
networkId?: InputMaybe<Scalars['Int']['input']>;
|
|
4715
|
+
/** The protocol of the token. */
|
|
4716
|
+
protocol?: InputMaybe<LaunchpadTokenProtocol>;
|
|
4717
|
+
};
|
|
4718
|
+
|
|
4585
4719
|
export type OnPricesUpdatedInput = {
|
|
4586
4720
|
address: Scalars['String']['input'];
|
|
4587
4721
|
networkId: Scalars['Int']['input'];
|
|
@@ -4618,7 +4752,7 @@ export type OnTokenBarsUpdatedResponse = {
|
|
|
4618
4752
|
|
|
4619
4753
|
export type OnTokenEventsCreatedInput = {
|
|
4620
4754
|
networkId: Scalars['Int']['input'];
|
|
4621
|
-
tokenAddress
|
|
4755
|
+
tokenAddress?: InputMaybe<Scalars['String']['input']>;
|
|
4622
4756
|
};
|
|
4623
4757
|
|
|
4624
4758
|
/** Response returned by `onUnconfirmedBarsUpdated`. */
|
|
@@ -4757,6 +4891,14 @@ export type PairFilterResult = {
|
|
|
4757
4891
|
buyCount12?: Maybe<Scalars['Int']['output']>;
|
|
4758
4892
|
/** The number of buys in the past 24 hours. */
|
|
4759
4893
|
buyCount24?: Maybe<Scalars['Int']['output']>;
|
|
4894
|
+
/** The buy volume in USD in the past hour. */
|
|
4895
|
+
buyVolumeUSD1?: Maybe<Scalars['String']['output']>;
|
|
4896
|
+
/** The buy volume in USD in the past 4 hours. */
|
|
4897
|
+
buyVolumeUSD4?: Maybe<Scalars['String']['output']>;
|
|
4898
|
+
/** The buy volume in USD in the past 12 hours. */
|
|
4899
|
+
buyVolumeUSD12?: Maybe<Scalars['String']['output']>;
|
|
4900
|
+
/** The buy volume in USD in the past 24 hours. */
|
|
4901
|
+
buyVolumeUSD24?: Maybe<Scalars['String']['output']>;
|
|
4760
4902
|
/** The unix timestamp for the creation of the pair. */
|
|
4761
4903
|
createdAt?: Maybe<Scalars['Int']['output']>;
|
|
4762
4904
|
/** Exchange metadata for the pair. */
|
|
@@ -4811,6 +4953,18 @@ export type PairFilterResult = {
|
|
|
4811
4953
|
sellCount12?: Maybe<Scalars['Int']['output']>;
|
|
4812
4954
|
/** The number of sells in the past 24 hours. */
|
|
4813
4955
|
sellCount24?: Maybe<Scalars['Int']['output']>;
|
|
4956
|
+
/** The sell volume in USD in the past hour. */
|
|
4957
|
+
sellVolumeUSD1?: Maybe<Scalars['String']['output']>;
|
|
4958
|
+
/** The sell volume in USD in the past 4 hours. */
|
|
4959
|
+
sellVolumeUSD4?: Maybe<Scalars['String']['output']>;
|
|
4960
|
+
/** The sell volume in USD in the past 12 hours. */
|
|
4961
|
+
sellVolumeUSD12?: Maybe<Scalars['String']['output']>;
|
|
4962
|
+
/** The sell volume in USD in the past 24 hours. */
|
|
4963
|
+
sellVolumeUSD24?: Maybe<Scalars['String']['output']>;
|
|
4964
|
+
/** The percentage of wallets that are less than 1d old that have traded in the last 24h */
|
|
4965
|
+
swapPct1dOldWallet?: Maybe<Scalars['String']['output']>;
|
|
4966
|
+
/** The percentage of wallets that are less than 7d old that have traded in the last 24h */
|
|
4967
|
+
swapPct7dOldWallet?: Maybe<Scalars['String']['output']>;
|
|
4814
4968
|
/** Metadata for the first token in the pair. */
|
|
4815
4969
|
token0?: Maybe<EnhancedToken>;
|
|
4816
4970
|
/** Metadata for the second token in the pair. */
|
|
@@ -4863,6 +5017,10 @@ export type PairFilterResult = {
|
|
|
4863
5017
|
volumeUSD12?: Maybe<Scalars['String']['output']>;
|
|
4864
5018
|
/** The trade volume in USD in the past 24 hours. */
|
|
4865
5019
|
volumeUSD24?: Maybe<Scalars['String']['output']>;
|
|
5020
|
+
/** The average age of the wallets that traded in the last 24h */
|
|
5021
|
+
walletAgeAvg?: Maybe<Scalars['String']['output']>;
|
|
5022
|
+
/** The standard deviation of age of the wallets that traded in the last 24h */
|
|
5023
|
+
walletAgeStd?: Maybe<Scalars['String']['output']>;
|
|
4866
5024
|
};
|
|
4867
5025
|
|
|
4868
5026
|
/** Input type of `PairFilters`. */
|
|
@@ -4875,6 +5033,14 @@ export type PairFilters = {
|
|
|
4875
5033
|
buyCount12?: InputMaybe<NumberFilter>;
|
|
4876
5034
|
/** The number of buys in the past 24 hours. */
|
|
4877
5035
|
buyCount24?: InputMaybe<NumberFilter>;
|
|
5036
|
+
/** The buy volume in USD in the past hour. */
|
|
5037
|
+
buyVolumeUSD1?: InputMaybe<NumberFilter>;
|
|
5038
|
+
/** The buy volume in USD in the past 4 hours. */
|
|
5039
|
+
buyVolumeUSD4?: InputMaybe<NumberFilter>;
|
|
5040
|
+
/** The buy volume in USD in the past 12 hours. */
|
|
5041
|
+
buyVolumeUSD12?: InputMaybe<NumberFilter>;
|
|
5042
|
+
/** The buy volume in USD in the past 24 hours. */
|
|
5043
|
+
buyVolumeUSD24?: InputMaybe<NumberFilter>;
|
|
4878
5044
|
/** The unix timestamp for the creation of the pair. */
|
|
4879
5045
|
createdAt?: InputMaybe<NumberFilter>;
|
|
4880
5046
|
/** The list of exchange contract addresses to filter by. */
|
|
@@ -4887,6 +5053,8 @@ export type PairFilters = {
|
|
|
4887
5053
|
highPrice12?: InputMaybe<NumberFilter>;
|
|
4888
5054
|
/** The highest price in USD in the past 24 hours. */
|
|
4889
5055
|
highPrice24?: InputMaybe<NumberFilter>;
|
|
5056
|
+
/** Whether to filter for pairs on testnet networks. Use `true` for testnet pairs only, `false` for mainnet pairs only and `undefined` (default) for both. */
|
|
5057
|
+
isTestnet?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4890
5058
|
/** The unix timestamp for the last transaction to happen on the pair. */
|
|
4891
5059
|
lastTransaction?: InputMaybe<NumberFilter>;
|
|
4892
5060
|
/** The amount of liquidity in the pair. */
|
|
@@ -4923,6 +5091,18 @@ export type PairFilters = {
|
|
|
4923
5091
|
sellCount12?: InputMaybe<NumberFilter>;
|
|
4924
5092
|
/** The number of sells in the past 24 hours. */
|
|
4925
5093
|
sellCount24?: InputMaybe<NumberFilter>;
|
|
5094
|
+
/** The sell volume in USD in the past hour. */
|
|
5095
|
+
sellVolumeUSD1?: InputMaybe<NumberFilter>;
|
|
5096
|
+
/** The sell volume in USD in the past 4 hours. */
|
|
5097
|
+
sellVolumeUSD4?: InputMaybe<NumberFilter>;
|
|
5098
|
+
/** The sell volume in USD in the past 12 hours. */
|
|
5099
|
+
sellVolumeUSD12?: InputMaybe<NumberFilter>;
|
|
5100
|
+
/** The sell volume in USD in the past 24 hours. */
|
|
5101
|
+
sellVolumeUSD24?: InputMaybe<NumberFilter>;
|
|
5102
|
+
/** The percentage of wallets that are less than 1d old that have traded in the last 24h */
|
|
5103
|
+
swapPct1dOldWallet?: InputMaybe<NumberFilter>;
|
|
5104
|
+
/** The percentage of wallets that are less than 7d old that have traded in the last 24h */
|
|
5105
|
+
swapPct7dOldWallet?: InputMaybe<NumberFilter>;
|
|
4926
5106
|
/** The list of token contract addresses to filter by. */
|
|
4927
5107
|
tokenAddress?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
4928
5108
|
/** Whether to ignore pairs/tokens not relevant to trending */
|
|
@@ -4975,6 +5155,10 @@ export type PairFilters = {
|
|
|
4975
5155
|
volumeUSD12?: InputMaybe<NumberFilter>;
|
|
4976
5156
|
/** The trade volume in USD in the past 24 hours. */
|
|
4977
5157
|
volumeUSD24?: InputMaybe<NumberFilter>;
|
|
5158
|
+
/** The average age of the wallets that traded in the last 24h */
|
|
5159
|
+
walletAgeAvg?: InputMaybe<NumberFilter>;
|
|
5160
|
+
/** The standard deviation of age of the wallets that traded in the last 24h */
|
|
5161
|
+
walletAgeStd?: InputMaybe<NumberFilter>;
|
|
4978
5162
|
};
|
|
4979
5163
|
|
|
4980
5164
|
export type PairMetadata = {
|
|
@@ -5089,6 +5273,10 @@ export enum PairRankingAttribute {
|
|
|
5089
5273
|
BuyCount4 = 'buyCount4',
|
|
5090
5274
|
BuyCount12 = 'buyCount12',
|
|
5091
5275
|
BuyCount24 = 'buyCount24',
|
|
5276
|
+
BuyVolumeUsd1 = 'buyVolumeUSD1',
|
|
5277
|
+
BuyVolumeUsd4 = 'buyVolumeUSD4',
|
|
5278
|
+
BuyVolumeUsd12 = 'buyVolumeUSD12',
|
|
5279
|
+
BuyVolumeUsd24 = 'buyVolumeUSD24',
|
|
5092
5280
|
CreatedAt = 'createdAt',
|
|
5093
5281
|
HighPrice1 = 'highPrice1',
|
|
5094
5282
|
HighPrice4 = 'highPrice4',
|
|
@@ -5111,9 +5299,16 @@ export enum PairRankingAttribute {
|
|
|
5111
5299
|
SellCount4 = 'sellCount4',
|
|
5112
5300
|
SellCount12 = 'sellCount12',
|
|
5113
5301
|
SellCount24 = 'sellCount24',
|
|
5302
|
+
SellVolumeUsd1 = 'sellVolumeUSD1',
|
|
5303
|
+
SellVolumeUsd4 = 'sellVolumeUSD4',
|
|
5304
|
+
SellVolumeUsd12 = 'sellVolumeUSD12',
|
|
5305
|
+
SellVolumeUsd24 = 'sellVolumeUSD24',
|
|
5306
|
+
SwapPct1dOldWallet = 'swapPct1dOldWallet',
|
|
5307
|
+
SwapPct7dOldWallet = 'swapPct7dOldWallet',
|
|
5114
5308
|
TrendingScore = 'trendingScore',
|
|
5115
5309
|
TrendingScore1 = 'trendingScore1',
|
|
5116
5310
|
TrendingScore4 = 'trendingScore4',
|
|
5311
|
+
TrendingScore5m = 'trendingScore5m',
|
|
5117
5312
|
TrendingScore12 = 'trendingScore12',
|
|
5118
5313
|
TrendingScore24 = 'trendingScore24',
|
|
5119
5314
|
TxnCount1 = 'txnCount1',
|
|
@@ -5139,7 +5334,9 @@ export enum PairRankingAttribute {
|
|
|
5139
5334
|
VolumeUsd1 = 'volumeUSD1',
|
|
5140
5335
|
VolumeUsd4 = 'volumeUSD4',
|
|
5141
5336
|
VolumeUsd12 = 'volumeUSD12',
|
|
5142
|
-
VolumeUsd24 = 'volumeUSD24'
|
|
5337
|
+
VolumeUsd24 = 'volumeUSD24',
|
|
5338
|
+
WalletAgeAvg = 'walletAgeAvg',
|
|
5339
|
+
WalletAgeStd = 'walletAgeStd'
|
|
5143
5340
|
}
|
|
5144
5341
|
|
|
5145
5342
|
/** Response returned by `filterNftParallelAssets`. */
|
|
@@ -6041,6 +6238,7 @@ export type Query = {
|
|
|
6041
6238
|
* @deprecated This query is longer supported. Instead use filterPairs with sort order on createdAt DESC
|
|
6042
6239
|
*/
|
|
6043
6240
|
getLatestPairs?: Maybe<LatestPairConnection>;
|
|
6241
|
+
/** @deprecated This query is no longer supported. Use `filterTokens` with a createdAt: DESC filter instead. */
|
|
6044
6242
|
getLatestTokens?: Maybe<LatestTokenConnection>;
|
|
6045
6243
|
/** Returns metadata for a given network supported on Codex. */
|
|
6046
6244
|
getNetworkStats?: Maybe<GetNetworkStatsResponse>;
|
|
@@ -6120,6 +6318,8 @@ export type Query = {
|
|
|
6120
6318
|
tokenLifecycleEvents?: Maybe<TokenLifecycleEventConnection>;
|
|
6121
6319
|
/** Returns a list of token simple chart data (sparklines) for the given tokens. */
|
|
6122
6320
|
tokenSparklines: Array<TokenSparkline>;
|
|
6321
|
+
/** Returns a list of top traders for a given token. */
|
|
6322
|
+
tokenTopTraders: TokenTopTradersConnection;
|
|
6123
6323
|
/** Returns a list of tokens by their addresses & network id, with pagination. */
|
|
6124
6324
|
tokens: Array<Maybe<EnhancedToken>>;
|
|
6125
6325
|
/** Returns the percentage of a token’s total supply held collectively by its top 10 holders. */
|
|
@@ -6584,6 +6784,11 @@ export type QueryTokenSparklinesArgs = {
|
|
|
6584
6784
|
};
|
|
6585
6785
|
|
|
6586
6786
|
|
|
6787
|
+
export type QueryTokenTopTradersArgs = {
|
|
6788
|
+
input: TokenTopTradersInput;
|
|
6789
|
+
};
|
|
6790
|
+
|
|
6791
|
+
|
|
6587
6792
|
export type QueryTokensArgs = {
|
|
6588
6793
|
ids?: InputMaybe<Array<TokenInput>>;
|
|
6589
6794
|
};
|
|
@@ -7077,6 +7282,26 @@ export type SparklineValue = {
|
|
|
7077
7282
|
value: Scalars['Float']['output'];
|
|
7078
7283
|
};
|
|
7079
7284
|
|
|
7285
|
+
export type StarknetNetworkConfig = {
|
|
7286
|
+
__typename?: 'StarknetNetworkConfig';
|
|
7287
|
+
baseTokenAddress: Scalars['String']['output'];
|
|
7288
|
+
baseTokenSymbol: Scalars['String']['output'];
|
|
7289
|
+
color?: Maybe<Scalars['String']['output']>;
|
|
7290
|
+
defaultPairAddress: Scalars['String']['output'];
|
|
7291
|
+
defaultPairQuoteToken: QuoteToken;
|
|
7292
|
+
enabled: Scalars['Boolean']['output'];
|
|
7293
|
+
id: Scalars['ID']['output'];
|
|
7294
|
+
mainnet: Scalars['Boolean']['output'];
|
|
7295
|
+
name: Scalars['String']['output'];
|
|
7296
|
+
networkIconUrl: Scalars['String']['output'];
|
|
7297
|
+
networkId: Scalars['Int']['output'];
|
|
7298
|
+
networkName: Scalars['String']['output'];
|
|
7299
|
+
networkShortName: Scalars['String']['output'];
|
|
7300
|
+
newTokensEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
7301
|
+
stableCoinAddresses?: Maybe<Array<Scalars['String']['output']>>;
|
|
7302
|
+
wrappedBaseTokenSymbol: Scalars['String']['output'];
|
|
7303
|
+
};
|
|
7304
|
+
|
|
7080
7305
|
/** Filter for NFT stats. */
|
|
7081
7306
|
export type StatsFilter = {
|
|
7082
7307
|
/** The percent change between the `current` and `previous`. */
|
|
@@ -7131,6 +7356,8 @@ export type StringFilter = {
|
|
|
7131
7356
|
|
|
7132
7357
|
export type Subscription = {
|
|
7133
7358
|
__typename?: 'Subscription';
|
|
7359
|
+
/** Live-streamed balance updates for a given wallet. */
|
|
7360
|
+
onBalanceUpdated: Balance;
|
|
7134
7361
|
/** Live-streamed bar chart data to track price changes over time. */
|
|
7135
7362
|
onBarsUpdated?: Maybe<OnBarsUpdatedResponse>;
|
|
7136
7363
|
/** Live-streamed bucketed stats for a given token within a pair. */
|
|
@@ -7144,6 +7371,8 @@ export type Subscription = {
|
|
|
7144
7371
|
/** Live-streamed updates for newly listed pairs. */
|
|
7145
7372
|
onLatestPairUpdated?: Maybe<LatestPair>;
|
|
7146
7373
|
onLatestTokens?: Maybe<LatestToken>;
|
|
7374
|
+
onLaunchpadTokenEvent: LaunchpadTokenEventOutput;
|
|
7375
|
+
onLaunchpadTokenEventBatch: Array<LaunchpadTokenEventOutput>;
|
|
7147
7376
|
/** Live-streamed transactions for an NFT asset. */
|
|
7148
7377
|
onNftAssetsCreated?: Maybe<NftAsset>;
|
|
7149
7378
|
/** Live-streamed transactions for an NFT collection. */
|
|
@@ -7170,6 +7399,11 @@ export type Subscription = {
|
|
|
7170
7399
|
};
|
|
7171
7400
|
|
|
7172
7401
|
|
|
7402
|
+
export type SubscriptionOnBalanceUpdatedArgs = {
|
|
7403
|
+
walletAddress: Scalars['String']['input'];
|
|
7404
|
+
};
|
|
7405
|
+
|
|
7406
|
+
|
|
7173
7407
|
export type SubscriptionOnBarsUpdatedArgs = {
|
|
7174
7408
|
pairId?: InputMaybe<Scalars['String']['input']>;
|
|
7175
7409
|
quoteToken?: InputMaybe<QuoteToken>;
|
|
@@ -7192,6 +7426,7 @@ export type SubscriptionOnEventLabelCreatedArgs = {
|
|
|
7192
7426
|
export type SubscriptionOnEventsCreatedArgs = {
|
|
7193
7427
|
address?: InputMaybe<Scalars['String']['input']>;
|
|
7194
7428
|
id?: InputMaybe<Scalars['String']['input']>;
|
|
7429
|
+
networkId?: InputMaybe<Scalars['Int']['input']>;
|
|
7195
7430
|
quoteToken?: InputMaybe<QuoteToken>;
|
|
7196
7431
|
};
|
|
7197
7432
|
|
|
@@ -7214,6 +7449,11 @@ export type SubscriptionOnLatestTokensArgs = {
|
|
|
7214
7449
|
};
|
|
7215
7450
|
|
|
7216
7451
|
|
|
7452
|
+
export type SubscriptionOnLaunchpadTokenEventArgs = {
|
|
7453
|
+
input?: InputMaybe<OnLaunchpadTokenEventInput>;
|
|
7454
|
+
};
|
|
7455
|
+
|
|
7456
|
+
|
|
7217
7457
|
export type SubscriptionOnNftAssetsCreatedArgs = {
|
|
7218
7458
|
address?: InputMaybe<Scalars['String']['input']>;
|
|
7219
7459
|
networkId?: InputMaybe<Scalars['Int']['input']>;
|
|
@@ -7262,6 +7502,7 @@ export type SubscriptionOnSimulateTokenContractArgs = {
|
|
|
7262
7502
|
|
|
7263
7503
|
|
|
7264
7504
|
export type SubscriptionOnTokenBarsUpdatedArgs = {
|
|
7505
|
+
networkId?: InputMaybe<Scalars['Int']['input']>;
|
|
7265
7506
|
statsType?: InputMaybe<TokenPairStatisticsType>;
|
|
7266
7507
|
tokenId?: InputMaybe<Scalars['String']['input']>;
|
|
7267
7508
|
};
|
|
@@ -7534,6 +7775,16 @@ export type TokenFilterResult = {
|
|
|
7534
7775
|
buyCount12?: Maybe<Scalars['Int']['output']>;
|
|
7535
7776
|
/** The number of buys in the past 24 hours. */
|
|
7536
7777
|
buyCount24?: Maybe<Scalars['Int']['output']>;
|
|
7778
|
+
/** The buy volume in USD in the past hour. */
|
|
7779
|
+
buyVolume1?: Maybe<Scalars['String']['output']>;
|
|
7780
|
+
/** The buy volume in USD in the past 4 hours. */
|
|
7781
|
+
buyVolume4?: Maybe<Scalars['String']['output']>;
|
|
7782
|
+
/** The buy volume in USD in the past 5 minutes. */
|
|
7783
|
+
buyVolume5m?: Maybe<Scalars['String']['output']>;
|
|
7784
|
+
/** The buy volume in USD in the past 12 hours. */
|
|
7785
|
+
buyVolume12?: Maybe<Scalars['String']['output']>;
|
|
7786
|
+
/** The buy volume in USD in the past 24 hours. */
|
|
7787
|
+
buyVolume24?: Maybe<Scalars['String']['output']>;
|
|
7537
7788
|
/** The percent price change in the past hour. Decimal format. */
|
|
7538
7789
|
change1?: Maybe<Scalars['String']['output']>;
|
|
7539
7790
|
/** The percent price change in the past 4 hours. Decimal format. */
|
|
@@ -7596,6 +7847,20 @@ export type TokenFilterResult = {
|
|
|
7596
7847
|
sellCount12?: Maybe<Scalars['Int']['output']>;
|
|
7597
7848
|
/** The number of sells in the past 24 hours. */
|
|
7598
7849
|
sellCount24?: Maybe<Scalars['Int']['output']>;
|
|
7850
|
+
/** The sell volume in USD in the past hour. */
|
|
7851
|
+
sellVolume1?: Maybe<Scalars['String']['output']>;
|
|
7852
|
+
/** The sell volume in USD in the past 4 hours. */
|
|
7853
|
+
sellVolume4?: Maybe<Scalars['String']['output']>;
|
|
7854
|
+
/** The sell volume in USD in the past 5 minutes. */
|
|
7855
|
+
sellVolume5m?: Maybe<Scalars['String']['output']>;
|
|
7856
|
+
/** The sell volume in USD in the past 12 hours. */
|
|
7857
|
+
sellVolume12?: Maybe<Scalars['String']['output']>;
|
|
7858
|
+
/** The sell volume in USD in the past 24 hours. */
|
|
7859
|
+
sellVolume24?: Maybe<Scalars['String']['output']>;
|
|
7860
|
+
/** The percentage of wallets that are less than 1d old that have traded in the last 24h */
|
|
7861
|
+
swapPct1dOldWallet?: Maybe<Scalars['String']['output']>;
|
|
7862
|
+
/** The percentage of wallets that are less than 7d old that have traded in the last 24h */
|
|
7863
|
+
swapPct7dOldWallet?: Maybe<Scalars['String']['output']>;
|
|
7599
7864
|
/** Metadata for the token. */
|
|
7600
7865
|
token?: Maybe<EnhancedToken>;
|
|
7601
7866
|
/** The number of transactions in the past hour. */
|
|
@@ -7658,6 +7923,10 @@ export type TokenFilterResult = {
|
|
|
7658
7923
|
volumeChange12?: Maybe<Scalars['String']['output']>;
|
|
7659
7924
|
/** The percent volume change in the past 24 hours. Decimal format. */
|
|
7660
7925
|
volumeChange24?: Maybe<Scalars['String']['output']>;
|
|
7926
|
+
/** The average age of the wallets that traded in the last 24h */
|
|
7927
|
+
walletAgeAvg?: Maybe<Scalars['String']['output']>;
|
|
7928
|
+
/** The standard deviation of age of the wallets that traded in the last 24h */
|
|
7929
|
+
walletAgeStd?: Maybe<Scalars['String']['output']>;
|
|
7661
7930
|
};
|
|
7662
7931
|
|
|
7663
7932
|
/** Input type of `TokenFilters`. */
|
|
@@ -7674,6 +7943,16 @@ export type TokenFilters = {
|
|
|
7674
7943
|
buyCount12?: InputMaybe<NumberFilter>;
|
|
7675
7944
|
/** The number of buys in the past 24 hours. */
|
|
7676
7945
|
buyCount24?: InputMaybe<NumberFilter>;
|
|
7946
|
+
/** The buy volume in USD in the past hour. */
|
|
7947
|
+
buyVolume1?: InputMaybe<NumberFilter>;
|
|
7948
|
+
/** The buy volume in USD in the past 4 hours. */
|
|
7949
|
+
buyVolume4?: InputMaybe<NumberFilter>;
|
|
7950
|
+
/** The buy volume in USD in the past 5 minutes. */
|
|
7951
|
+
buyVolume5m?: InputMaybe<NumberFilter>;
|
|
7952
|
+
/** The buy volume in USD in the past 12 hours. */
|
|
7953
|
+
buyVolume12?: InputMaybe<NumberFilter>;
|
|
7954
|
+
/** The buy volume in USD in the past 24 hours. */
|
|
7955
|
+
buyVolume24?: InputMaybe<NumberFilter>;
|
|
7677
7956
|
/** The percent price change in the past hour. Decimal format. */
|
|
7678
7957
|
change1?: InputMaybe<NumberFilter>;
|
|
7679
7958
|
/** The percent price change in the past 4 hours. Decimal format. */
|
|
@@ -7694,6 +7973,8 @@ export type TokenFilters = {
|
|
|
7694
7973
|
exchangeId?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
7695
7974
|
/** @deprecated FDV isn't supported - use marketCap instead */
|
|
7696
7975
|
fdv?: InputMaybe<NumberFilter>;
|
|
7976
|
+
/** The token in freezable */
|
|
7977
|
+
freezable?: InputMaybe<Scalars['Boolean']['input']>;
|
|
7697
7978
|
/** The highest price in USD in the past hour. */
|
|
7698
7979
|
high1?: InputMaybe<NumberFilter>;
|
|
7699
7980
|
/** The highest price in USD in the past 4 hours. */
|
|
@@ -7708,10 +7989,24 @@ export type TokenFilters = {
|
|
|
7708
7989
|
holders?: InputMaybe<NumberFilter>;
|
|
7709
7990
|
/** Whether to include tokens that have been flagged as scams. Default: false */
|
|
7710
7991
|
includeScams?: InputMaybe<Scalars['Boolean']['input']>;
|
|
7992
|
+
/** Whether to filter for tokens on testnet networks. Use `true` for testnet tokens only, `false` for mainnet tokens only and `undefined` (default) for both. */
|
|
7993
|
+
isTestnet?: InputMaybe<Scalars['Boolean']['input']>;
|
|
7711
7994
|
/** Only include verified tokens */
|
|
7712
7995
|
isVerified?: InputMaybe<Scalars['Boolean']['input']>;
|
|
7713
7996
|
/** The unix timestamp for the token's last transaction. */
|
|
7714
7997
|
lastTransaction?: InputMaybe<NumberFilter>;
|
|
7998
|
+
/** Indicates if the launchpad is completed */
|
|
7999
|
+
launchpadCompleted?: InputMaybe<Scalars['Boolean']['input']>;
|
|
8000
|
+
/** The timestamp when the launchpad was completed */
|
|
8001
|
+
launchpadCompletedAt?: InputMaybe<NumberFilter>;
|
|
8002
|
+
/** The graduation percentage */
|
|
8003
|
+
launchpadGraduationPercent?: InputMaybe<NumberFilter>;
|
|
8004
|
+
/** Indicates if the launchpad has migrated */
|
|
8005
|
+
launchpadMigrated?: InputMaybe<Scalars['Boolean']['input']>;
|
|
8006
|
+
/** The timestamp when the launchpad was migrated */
|
|
8007
|
+
launchpadMigratedAt?: InputMaybe<NumberFilter>;
|
|
8008
|
+
/** The launchpad protocol */
|
|
8009
|
+
launchpadProtocol?: InputMaybe<Scalars['String']['input']>;
|
|
7715
8010
|
/** The amount of liquidity in the token's top pair. */
|
|
7716
8011
|
liquidity?: InputMaybe<NumberFilter>;
|
|
7717
8012
|
/** The lowest price in USD in the past hour. */
|
|
@@ -7726,6 +8021,8 @@ export type TokenFilters = {
|
|
|
7726
8021
|
low24?: InputMaybe<NumberFilter>;
|
|
7727
8022
|
/** The market cap of circulating supply. */
|
|
7728
8023
|
marketCap?: InputMaybe<NumberFilter>;
|
|
8024
|
+
/** The token in mintable */
|
|
8025
|
+
mintable?: InputMaybe<Scalars['Boolean']['input']>;
|
|
7729
8026
|
/** 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. */
|
|
7730
8027
|
network?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
|
|
7731
8028
|
/** docs: hide */
|
|
@@ -7744,6 +8041,20 @@ export type TokenFilters = {
|
|
|
7744
8041
|
sellCount12?: InputMaybe<NumberFilter>;
|
|
7745
8042
|
/** The number of sells in the past 24 hours. */
|
|
7746
8043
|
sellCount24?: InputMaybe<NumberFilter>;
|
|
8044
|
+
/** The sell volume in USD in the past hour. */
|
|
8045
|
+
sellVolume1?: InputMaybe<NumberFilter>;
|
|
8046
|
+
/** The sell volume in USD in the past 4 hours. */
|
|
8047
|
+
sellVolume4?: InputMaybe<NumberFilter>;
|
|
8048
|
+
/** The sell volume in USD in the past 5 minutes. */
|
|
8049
|
+
sellVolume5m?: InputMaybe<NumberFilter>;
|
|
8050
|
+
/** The sell volume in USD in the past 12 hours. */
|
|
8051
|
+
sellVolume12?: InputMaybe<NumberFilter>;
|
|
8052
|
+
/** The sell volume in USD in the past 24 hours. */
|
|
8053
|
+
sellVolume24?: InputMaybe<NumberFilter>;
|
|
8054
|
+
/** The percentage of wallets that are less than 1d old that have traded in the last 24h */
|
|
8055
|
+
swapPct1dOldWallet?: InputMaybe<NumberFilter>;
|
|
8056
|
+
/** The percentage of wallets that are less than 7d old that have traded in the last 24h */
|
|
8057
|
+
swapPct7dOldWallet?: InputMaybe<NumberFilter>;
|
|
7747
8058
|
/** Whether to ignore pairs/tokens not relevant to trending */
|
|
7748
8059
|
trendingIgnored?: InputMaybe<Scalars['Boolean']['input']>;
|
|
7749
8060
|
/** The number of transactions in the past hour. */
|
|
@@ -7806,6 +8117,10 @@ export type TokenFilters = {
|
|
|
7806
8117
|
volumeChange12?: InputMaybe<NumberFilter>;
|
|
7807
8118
|
/** The percent volume change in the past 24 hours. Decimal format. */
|
|
7808
8119
|
volumeChange24?: InputMaybe<NumberFilter>;
|
|
8120
|
+
/** The average age of the wallets that traded in the last 24h */
|
|
8121
|
+
walletAgeAvg?: InputMaybe<NumberFilter>;
|
|
8122
|
+
/** The standard deviation of age of the wallets that traded in the last 24h */
|
|
8123
|
+
walletAgeStd?: InputMaybe<NumberFilter>;
|
|
7809
8124
|
};
|
|
7810
8125
|
|
|
7811
8126
|
/** Metadata for a token. */
|
|
@@ -8006,12 +8321,18 @@ export enum TokenRankingAttribute {
|
|
|
8006
8321
|
BuyCount5m = 'buyCount5m',
|
|
8007
8322
|
BuyCount12 = 'buyCount12',
|
|
8008
8323
|
BuyCount24 = 'buyCount24',
|
|
8324
|
+
BuyVolume1 = 'buyVolume1',
|
|
8325
|
+
BuyVolume4 = 'buyVolume4',
|
|
8326
|
+
BuyVolume5m = 'buyVolume5m',
|
|
8327
|
+
BuyVolume12 = 'buyVolume12',
|
|
8328
|
+
BuyVolume24 = 'buyVolume24',
|
|
8009
8329
|
Change1 = 'change1',
|
|
8010
8330
|
Change4 = 'change4',
|
|
8011
8331
|
Change5m = 'change5m',
|
|
8012
8332
|
Change12 = 'change12',
|
|
8013
8333
|
Change24 = 'change24',
|
|
8014
8334
|
CreatedAt = 'createdAt',
|
|
8335
|
+
GraduationPercent = 'graduationPercent',
|
|
8015
8336
|
High1 = 'high1',
|
|
8016
8337
|
High4 = 'high4',
|
|
8017
8338
|
High5m = 'high5m',
|
|
@@ -8019,6 +8340,8 @@ export enum TokenRankingAttribute {
|
|
|
8019
8340
|
High24 = 'high24',
|
|
8020
8341
|
Holders = 'holders',
|
|
8021
8342
|
LastTransaction = 'lastTransaction',
|
|
8343
|
+
LaunchpadCompletedAt = 'launchpadCompletedAt',
|
|
8344
|
+
LaunchpadMigratedAt = 'launchpadMigratedAt',
|
|
8022
8345
|
Liquidity = 'liquidity',
|
|
8023
8346
|
Low1 = 'low1',
|
|
8024
8347
|
Low4 = 'low4',
|
|
@@ -8033,9 +8356,17 @@ export enum TokenRankingAttribute {
|
|
|
8033
8356
|
SellCount5m = 'sellCount5m',
|
|
8034
8357
|
SellCount12 = 'sellCount12',
|
|
8035
8358
|
SellCount24 = 'sellCount24',
|
|
8359
|
+
SellVolume1 = 'sellVolume1',
|
|
8360
|
+
SellVolume4 = 'sellVolume4',
|
|
8361
|
+
SellVolume5m = 'sellVolume5m',
|
|
8362
|
+
SellVolume12 = 'sellVolume12',
|
|
8363
|
+
SellVolume24 = 'sellVolume24',
|
|
8364
|
+
SwapPct1dOldWallet = 'swapPct1dOldWallet',
|
|
8365
|
+
SwapPct7dOldWallet = 'swapPct7dOldWallet',
|
|
8036
8366
|
TrendingScore = 'trendingScore',
|
|
8037
8367
|
TrendingScore1 = 'trendingScore1',
|
|
8038
8368
|
TrendingScore4 = 'trendingScore4',
|
|
8369
|
+
TrendingScore5m = 'trendingScore5m',
|
|
8039
8370
|
TrendingScore12 = 'trendingScore12',
|
|
8040
8371
|
TrendingScore24 = 'trendingScore24',
|
|
8041
8372
|
TxnCount1 = 'txnCount1',
|
|
@@ -8067,7 +8398,9 @@ export enum TokenRankingAttribute {
|
|
|
8067
8398
|
VolumeChange4 = 'volumeChange4',
|
|
8068
8399
|
VolumeChange5m = 'volumeChange5m',
|
|
8069
8400
|
VolumeChange12 = 'volumeChange12',
|
|
8070
|
-
VolumeChange24 = 'volumeChange24'
|
|
8401
|
+
VolumeChange24 = 'volumeChange24',
|
|
8402
|
+
WalletAgeAvg = 'walletAgeAvg',
|
|
8403
|
+
WalletAgeStd = 'walletAgeStd'
|
|
8071
8404
|
}
|
|
8072
8405
|
|
|
8073
8406
|
/** Response returned by `searchTokens`. */
|
|
@@ -8096,6 +8429,72 @@ export type TokenSparklineInput = {
|
|
|
8096
8429
|
ids: Array<Scalars['String']['input']>;
|
|
8097
8430
|
};
|
|
8098
8431
|
|
|
8432
|
+
/** A top trader for a token. */
|
|
8433
|
+
export type TokenTopTrader = {
|
|
8434
|
+
__typename?: 'TokenTopTrader';
|
|
8435
|
+
/** The amount of tokens bought in USD. */
|
|
8436
|
+
amountBoughtUsd: Scalars['String']['output'];
|
|
8437
|
+
/** The amount of tokens sold in USD. */
|
|
8438
|
+
amountSoldUsd: Scalars['String']['output'];
|
|
8439
|
+
/** The number of buys. */
|
|
8440
|
+
buys: Scalars['Int']['output'];
|
|
8441
|
+
/** The unix timestamp for the first transaction from this wallet. */
|
|
8442
|
+
firstTransactionAt?: Maybe<Scalars['Int']['output']>;
|
|
8443
|
+
/** The unix timestamp for the last transaction from this wallet. */
|
|
8444
|
+
lastTransactionAt: Scalars['Int']['output'];
|
|
8445
|
+
/** The network ID. */
|
|
8446
|
+
networkId: Scalars['Int']['output'];
|
|
8447
|
+
/** The realized profit percentage. */
|
|
8448
|
+
realizedProfitPercentage: Scalars['Float']['output'];
|
|
8449
|
+
/** The realized profit in USD. */
|
|
8450
|
+
realizedProfitUsd: Scalars['String']['output'];
|
|
8451
|
+
/** The number of sells. */
|
|
8452
|
+
sells: Scalars['Int']['output'];
|
|
8453
|
+
/** The single token acquisition cost in USD. */
|
|
8454
|
+
singleTokenAcquisitionCostUsd: Scalars['String']['output'];
|
|
8455
|
+
/** The token address. */
|
|
8456
|
+
tokenAddress: Scalars['String']['output'];
|
|
8457
|
+
/** The amount of tokens bought. */
|
|
8458
|
+
tokenAmountBought: Scalars['String']['output'];
|
|
8459
|
+
/** The amount of tokens sold. */
|
|
8460
|
+
tokenAmountSold: Scalars['String']['output'];
|
|
8461
|
+
/** The token balance of the trader. */
|
|
8462
|
+
tokenBalance: Scalars['String']['output'];
|
|
8463
|
+
/** The volume of tokens bought and sold in USD. */
|
|
8464
|
+
volumeUsd: Scalars['String']['output'];
|
|
8465
|
+
/** The wallet address of the trader. */
|
|
8466
|
+
walletAddress: Scalars['String']['output'];
|
|
8467
|
+
};
|
|
8468
|
+
|
|
8469
|
+
/** A paginated list of top traders for a token. */
|
|
8470
|
+
export type TokenTopTradersConnection = {
|
|
8471
|
+
__typename?: 'TokenTopTradersConnection';
|
|
8472
|
+
/** The list of top traders. */
|
|
8473
|
+
items: Array<Maybe<TokenTopTrader>>;
|
|
8474
|
+
/** The network ID. */
|
|
8475
|
+
networkId: Scalars['Int']['output'];
|
|
8476
|
+
/** The offset of the first trader in the connection. */
|
|
8477
|
+
offset?: Maybe<Scalars['Int']['output']>;
|
|
8478
|
+
/** The token address. */
|
|
8479
|
+
tokenAddress: Scalars['String']['output'];
|
|
8480
|
+
/** The trading period. */
|
|
8481
|
+
tradingPeriod: TradingPeriod;
|
|
8482
|
+
};
|
|
8483
|
+
|
|
8484
|
+
/** Input arguments for the `tokenTopTraders` query. */
|
|
8485
|
+
export type TokenTopTradersInput = {
|
|
8486
|
+
/** The number of traders to return */
|
|
8487
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
8488
|
+
/** The network ID */
|
|
8489
|
+
networkId: Scalars['Int']['input'];
|
|
8490
|
+
/** Where in the list the server started when returning items */
|
|
8491
|
+
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
8492
|
+
/** The token address */
|
|
8493
|
+
tokenAddress: Scalars['String']['input'];
|
|
8494
|
+
/** The trading period */
|
|
8495
|
+
tradingPeriod: TradingPeriod;
|
|
8496
|
+
};
|
|
8497
|
+
|
|
8099
8498
|
/** A token with metadata. */
|
|
8100
8499
|
export type TokenWithMetadata = {
|
|
8101
8500
|
__typename?: 'TokenWithMetadata';
|
|
@@ -8177,6 +8576,14 @@ export type TokenWithMetadata = {
|
|
|
8177
8576
|
volume: Scalars['String']['output'];
|
|
8178
8577
|
};
|
|
8179
8578
|
|
|
8579
|
+
/** A time period used when calculating wallet trading data. */
|
|
8580
|
+
export enum TradingPeriod {
|
|
8581
|
+
Day = 'DAY',
|
|
8582
|
+
Month = 'MONTH',
|
|
8583
|
+
Week = 'WEEK',
|
|
8584
|
+
Year = 'YEAR'
|
|
8585
|
+
}
|
|
8586
|
+
|
|
8180
8587
|
/** An unconfirmed token transaction. */
|
|
8181
8588
|
export type UnconfirmedEvent = {
|
|
8182
8589
|
__typename?: 'UnconfirmedEvent';
|