@codex-data/sdk 1.0.4 → 1.0.6
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 +3 -0
- package/dist/resources/generated_queries/GetNetworkStats.graphql +7 -0
- package/dist/resources/generated_queries/Holders.graphql +3 -0
- package/dist/resources/generated_queries/LiquidityLocks.graphql +1 -1
- package/dist/resources/generated_queries/PrimeHolders.graphql +3 -0
- package/dist/resources/generated_queries/TokenTopTraders.graphql +26 -0
- package/dist/resources/generated_subscriptions/OnBalanceUpdated.graphql +12 -0
- package/dist/resources/generated_subscriptions/OnEventsCreated.graphql +7 -1
- package/dist/resources/generated_subscriptions/OnHoldersUpdated.graphql +3 -0
- package/dist/resources/generated_subscriptions/OnLaunchpadTokenEvent.graphql +89 -0
- package/dist/resources/generated_subscriptions/OnTokenBarsUpdated.graphql +6 -1
- package/dist/resources/graphql.d.ts +245 -12
- package/dist/resources/graphql.d.ts.map +1 -1
- package/dist/resources/graphql.js +38 -2
- package/dist/resources/graphql.js.map +1 -1
- package/dist/resources/graphql.schema.json +1800 -27
- package/dist/resources/graphql.ts +261 -12
- package/dist/resources/schema.graphql +311 -12
- package/dist/sdk/Mutation.d.ts +2 -2
- package/dist/sdk/Mutation.d.ts.map +1 -1
- package/dist/sdk/Mutation.js +2 -2
- package/dist/sdk/Mutation.js.map +1 -1
- package/dist/sdk/Query.d.ts +48 -48
- package/dist/sdk/Query.d.ts.map +1 -1
- package/dist/sdk/Query.js +47 -47
- package/dist/sdk/Query.js.map +1 -1
- package/dist/sdk/Subscribe.d.ts +16 -14
- package/dist/sdk/Subscribe.d.ts.map +1 -1
- package/dist/sdk/Subscribe.js +93 -79
- package/dist/sdk/Subscribe.js.map +1 -1
- package/dist/sdk/generated/gql.d.ts +39 -25
- package/dist/sdk/generated/gql.d.ts.map +1 -1
- package/dist/sdk/generated/gql.js +11 -9
- package/dist/sdk/generated/gql.js.map +1 -1
- package/dist/sdk/generated/graphql.d.ts +426 -62
- package/dist/sdk/generated/graphql.d.ts.map +1 -1
- package/dist/sdk/generated/graphql.js +51 -13
- package/dist/sdk/generated/graphql.js.map +1 -1
- package/package.json +2 -2
- package/src/resources/generated_queries/Balances.graphql +3 -0
- package/src/resources/generated_queries/GetNetworkStats.graphql +7 -0
- package/src/resources/generated_queries/Holders.graphql +3 -0
- package/src/resources/generated_queries/LiquidityLocks.graphql +1 -1
- package/src/resources/generated_queries/PrimeHolders.graphql +3 -0
- package/src/resources/generated_queries/TokenTopTraders.graphql +26 -0
- package/src/resources/generated_subscriptions/OnBalanceUpdated.graphql +12 -0
- package/src/resources/generated_subscriptions/OnEventsCreated.graphql +7 -1
- package/src/resources/generated_subscriptions/OnHoldersUpdated.graphql +3 -0
- package/src/resources/generated_subscriptions/OnLaunchpadTokenEvent.graphql +89 -0
- package/src/resources/generated_subscriptions/OnTokenBarsUpdated.graphql +6 -1
- package/src/resources/graphql.schema.json +1800 -27
- package/src/resources/graphql.ts +261 -12
- package/src/resources/schema.graphql +311 -12
- package/src/sdk/Mutation.ts +4 -4
- package/src/sdk/Query.ts +101 -101
- package/src/sdk/Subscribe.ts +151 -121
- package/src/sdk/generated/gql.ts +31 -21
- package/src/sdk/generated/graphql.ts +301 -36
- package/dist/resources/generated_queries/GetLatestTokens.graphql +0 -39
- package/src/resources/generated_queries/GetLatestTokens.graphql +0 -39
|
@@ -154,15 +154,40 @@ export type ApiToken = {
|
|
|
154
154
|
/** JWT to be passed into the Authorization header for API requests */
|
|
155
155
|
token: Scalars['String']['output'];
|
|
156
156
|
};
|
|
157
|
+
export type AptosNetworkConfig = {
|
|
158
|
+
__typename?: 'AptosNetworkConfig';
|
|
159
|
+
baseTokenAddress: Scalars['String']['output'];
|
|
160
|
+
baseTokenSymbol: Scalars['String']['output'];
|
|
161
|
+
color?: Maybe<Scalars['String']['output']>;
|
|
162
|
+
defaultPairAddress: Scalars['String']['output'];
|
|
163
|
+
defaultPairQuoteToken: QuoteToken;
|
|
164
|
+
enabled: Scalars['Boolean']['output'];
|
|
165
|
+
id: Scalars['ID']['output'];
|
|
166
|
+
mainnet: Scalars['Boolean']['output'];
|
|
167
|
+
name: Scalars['String']['output'];
|
|
168
|
+
networkIconUrl: Scalars['String']['output'];
|
|
169
|
+
networkId: Scalars['Int']['output'];
|
|
170
|
+
networkName: Scalars['String']['output'];
|
|
171
|
+
networkShortName: Scalars['String']['output'];
|
|
172
|
+
newTokensEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
173
|
+
stableCoinAddresses?: Maybe<Array<Scalars['String']['output']>>;
|
|
174
|
+
wrappedBaseTokenSymbol: Scalars['String']['output'];
|
|
175
|
+
};
|
|
157
176
|
/** Wallet balance of a token. */
|
|
158
177
|
export type Balance = {
|
|
159
178
|
__typename?: 'Balance';
|
|
179
|
+
/** The wallet address. */
|
|
180
|
+
address: Scalars['String']['output'];
|
|
160
181
|
/** The balance held by the wallet. */
|
|
161
182
|
balance: Scalars['String']['output'];
|
|
162
|
-
/** The time that this address first held a token */
|
|
183
|
+
/** The time that this address first held a token. */
|
|
163
184
|
firstHeldTimestamp?: Maybe<Scalars['Int']['output']>;
|
|
185
|
+
/** The wallet network. */
|
|
186
|
+
networkId: Scalars['Int']['output'];
|
|
164
187
|
/** The balance held by the wallet, adjusted by the number of decimals in the token. */
|
|
165
188
|
shiftedBalance: Scalars['Float']['output'];
|
|
189
|
+
/** The contract address of the token. */
|
|
190
|
+
tokenAddress: Scalars['String']['output'];
|
|
166
191
|
/** The ID of the token (`tokenAddress:networkId`). */
|
|
167
192
|
tokenId: Scalars['String']['output'];
|
|
168
193
|
/** The ID of the wallet (`walletAddress:networkId`). */
|
|
@@ -175,8 +200,12 @@ export type BalancesInput = {
|
|
|
175
200
|
filterToken?: InputMaybe<Scalars['String']['input']>;
|
|
176
201
|
/** If set to true, native tokens in the response, they will have the id: native:<networkId> */
|
|
177
202
|
includeNative?: InputMaybe<Scalars['Boolean']['input']>;
|
|
203
|
+
/** The maximum number of holdings to return. */
|
|
204
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
205
|
+
/** The wallet address to filter by. */
|
|
206
|
+
walletAddress?: InputMaybe<Scalars['String']['input']>;
|
|
178
207
|
/** The ID of the wallet (`walletAddress:networkId`). */
|
|
179
|
-
walletId
|
|
208
|
+
walletId?: InputMaybe<Scalars['String']['input']>;
|
|
180
209
|
};
|
|
181
210
|
export type BalancesResponse = {
|
|
182
211
|
__typename?: 'BalancesResponse';
|
|
@@ -866,7 +895,7 @@ export type EnhancedToken = {
|
|
|
866
895
|
info?: Maybe<TokenInfo>;
|
|
867
896
|
/** Whether the token has been flagged as a scam. */
|
|
868
897
|
isScam?: Maybe<Scalars['Boolean']['output']>;
|
|
869
|
-
/**
|
|
898
|
+
/** The launchpad data for the token, if applicable. */
|
|
870
899
|
launchpad?: Maybe<LaunchpadData>;
|
|
871
900
|
/** Whether or not the token is mintable */
|
|
872
901
|
mintable?: Maybe<Scalars['String']['output']>;
|
|
@@ -889,6 +918,12 @@ export type EnhancedToken = {
|
|
|
889
918
|
*/
|
|
890
919
|
totalSupply?: Maybe<Scalars['String']['output']>;
|
|
891
920
|
};
|
|
921
|
+
export declare enum Entitlement {
|
|
922
|
+
BalanceFeed = "BalanceFeed",
|
|
923
|
+
PriceFeed = "PriceFeed",
|
|
924
|
+
TopTraders = "TopTraders",
|
|
925
|
+
WalletStats = "WalletStats"
|
|
926
|
+
}
|
|
892
927
|
/** A token transaction. */
|
|
893
928
|
export type Event = {
|
|
894
929
|
__typename?: 'Event';
|
|
@@ -1039,6 +1074,8 @@ export type EventsQueryInput = {
|
|
|
1039
1074
|
priceUsdTotal?: InputMaybe<NumberFilter>;
|
|
1040
1075
|
/** The token of interest. Can be `token0` or `token1`. */
|
|
1041
1076
|
quoteToken?: InputMaybe<QuoteToken>;
|
|
1077
|
+
/** Specify the type of symbol you want to fetch values for (TOKEN | POOL) */
|
|
1078
|
+
symbolType?: InputMaybe<SymbolType>;
|
|
1042
1079
|
/** The time range to filter by. */
|
|
1043
1080
|
timestamp?: InputMaybe<EventQueryTimestampInput>;
|
|
1044
1081
|
};
|
|
@@ -1289,6 +1326,8 @@ export type GetNetworkStatsResponse = {
|
|
|
1289
1326
|
transactions1: Scalars['Int']['output'];
|
|
1290
1327
|
/** The unique number of transactions in the past 4 hours. */
|
|
1291
1328
|
transactions4: Scalars['Int']['output'];
|
|
1329
|
+
/** The unique number of transactions in the past 5 minutes. */
|
|
1330
|
+
transactions5m: Scalars['Int']['output'];
|
|
1292
1331
|
/** The unique number of transactions in the past 12 hours. */
|
|
1293
1332
|
transactions12: Scalars['Int']['output'];
|
|
1294
1333
|
/** The unique number of transactions in the past 24 hours. */
|
|
@@ -1297,10 +1336,22 @@ export type GetNetworkStatsResponse = {
|
|
|
1297
1336
|
volume1: Scalars['Float']['output'];
|
|
1298
1337
|
/** The network trade volume in USD over the past 4 hours. */
|
|
1299
1338
|
volume4: Scalars['Float']['output'];
|
|
1339
|
+
/** The network trade volume in USD over the past 5 minutes. */
|
|
1340
|
+
volume5m: Scalars['Float']['output'];
|
|
1300
1341
|
/** The network trade volume in USD over the past 12 hours. */
|
|
1301
1342
|
volume12: Scalars['Float']['output'];
|
|
1302
1343
|
/** The network trade volume in USD over the past 24 hours. */
|
|
1303
1344
|
volume24: Scalars['Float']['output'];
|
|
1345
|
+
/** The network trade volume change over the last hour */
|
|
1346
|
+
volumeChange1: Scalars['Float']['output'];
|
|
1347
|
+
/** The network trade volume change over the last 4 hours */
|
|
1348
|
+
volumeChange4: Scalars['Float']['output'];
|
|
1349
|
+
/** The network trade volume change over the last 5 minutes */
|
|
1350
|
+
volumeChange5m: Scalars['Float']['output'];
|
|
1351
|
+
/** The network trade volume change over the last 12 hours */
|
|
1352
|
+
volumeChange12: Scalars['Float']['output'];
|
|
1353
|
+
/** The network trade volume change over the last 24 hours */
|
|
1354
|
+
volumeChange24: Scalars['Float']['output'];
|
|
1304
1355
|
};
|
|
1305
1356
|
/** Response returned by `getNftPoolCollectionsByExchange`. */
|
|
1306
1357
|
export type GetNftPoolCollectionsResponse = {
|
|
@@ -1612,7 +1663,6 @@ export type LatestTokenSimResults = {
|
|
|
1612
1663
|
/** Tax paid for a sell transaction during simulation. */
|
|
1613
1664
|
sellTax?: Maybe<Scalars['String']['output']>;
|
|
1614
1665
|
};
|
|
1615
|
-
/** Launchpad data for the token */
|
|
1616
1666
|
export type LaunchpadData = {
|
|
1617
1667
|
__typename?: 'LaunchpadData';
|
|
1618
1668
|
/** Indicates if the launchpad is completed. */
|
|
@@ -1634,6 +1684,46 @@ export type LaunchpadData = {
|
|
|
1634
1684
|
/** The address of the pool. */
|
|
1635
1685
|
poolAddress?: Maybe<Scalars['String']['output']>;
|
|
1636
1686
|
};
|
|
1687
|
+
/** Response returned by `onLaunchpadTokenEvent`. */
|
|
1688
|
+
export type LaunchpadTokenEventOutput = {
|
|
1689
|
+
__typename?: 'LaunchpadTokenEventOutput';
|
|
1690
|
+
/** The contract address of the token. */
|
|
1691
|
+
address: Scalars['String']['output'];
|
|
1692
|
+
/** The number of buys in the last 24 hours. */
|
|
1693
|
+
buyCount1?: Maybe<Scalars['Int']['output']>;
|
|
1694
|
+
/** The type of event. */
|
|
1695
|
+
eventType: LaunchpadTokenEventType;
|
|
1696
|
+
/** The number of holders. */
|
|
1697
|
+
holders?: Maybe<Scalars['Int']['output']>;
|
|
1698
|
+
/** The market cap of the token. */
|
|
1699
|
+
marketCap?: Maybe<Scalars['String']['output']>;
|
|
1700
|
+
/** The network ID that the token is deployed on. */
|
|
1701
|
+
networkId: Scalars['Int']['output'];
|
|
1702
|
+
/** The price of the token. */
|
|
1703
|
+
price?: Maybe<Scalars['Float']['output']>;
|
|
1704
|
+
/** The protocol of the token. */
|
|
1705
|
+
protocol: Scalars['String']['output'];
|
|
1706
|
+
/** The number of sells in the last 24 hours. */
|
|
1707
|
+
sellCount1?: Maybe<Scalars['Int']['output']>;
|
|
1708
|
+
/** Metadata for the token. */
|
|
1709
|
+
token: EnhancedToken;
|
|
1710
|
+
/** The number of transactions in the last 24 hours. */
|
|
1711
|
+
transactions1?: Maybe<Scalars['Int']['output']>;
|
|
1712
|
+
/** The volume of the token in the last 24 hours. */
|
|
1713
|
+
volume1?: Maybe<Scalars['Int']['output']>;
|
|
1714
|
+
};
|
|
1715
|
+
/** The type of event. Note that associated statistics such as `buyCount1`, `price`, etc. are only available for `Updated` events. */
|
|
1716
|
+
export declare enum LaunchpadTokenEventType {
|
|
1717
|
+
Completed = "Completed",
|
|
1718
|
+
Created = "Created",
|
|
1719
|
+
Migrated = "Migrated",
|
|
1720
|
+
Updated = "Updated"
|
|
1721
|
+
}
|
|
1722
|
+
/** The protocol of the token. */
|
|
1723
|
+
export declare enum LaunchpadTokenProtocol {
|
|
1724
|
+
FourMeme = "FourMeme",
|
|
1725
|
+
Pump = "Pump"
|
|
1726
|
+
}
|
|
1637
1727
|
export type LiquidityData = {
|
|
1638
1728
|
__typename?: 'LiquidityData';
|
|
1639
1729
|
/** The active liquidity in the pair. */
|
|
@@ -1654,8 +1744,13 @@ export type LiquidityLock = {
|
|
|
1654
1744
|
liquidityAmount: Scalars['String']['output'];
|
|
1655
1745
|
/** If the liquidity position is represented by an NFT, this will contain the NFT data. */
|
|
1656
1746
|
liquidityNftData?: Maybe<LiquidityNftData>;
|
|
1657
|
-
/**
|
|
1747
|
+
/**
|
|
1748
|
+
* The protocol that created the pair
|
|
1749
|
+
* @deprecated Use liquidityProtocolV2 instead
|
|
1750
|
+
*/
|
|
1658
1751
|
liquidityProtocol: LiquidityProtocol;
|
|
1752
|
+
/** The protocol that created the pair */
|
|
1753
|
+
liquidityProtocolV2: Scalars['String']['output'];
|
|
1659
1754
|
/** The protocol with which the liquidity is locked. */
|
|
1660
1755
|
lockProtocol: LiquidityLockProtocol;
|
|
1661
1756
|
/** The address of the locker contract. */
|
|
@@ -1702,9 +1797,11 @@ export type LiquidityNftData = {
|
|
|
1702
1797
|
};
|
|
1703
1798
|
/** Protocols that create trading pairs */
|
|
1704
1799
|
export declare enum LiquidityProtocol {
|
|
1800
|
+
PumpV1 = "PUMP_V1",
|
|
1705
1801
|
RaydiumV4 = "RAYDIUM_V4",
|
|
1706
1802
|
UniswapV2 = "UNISWAP_V2",
|
|
1707
|
-
UniswapV3 = "UNISWAP_V3"
|
|
1803
|
+
UniswapV3 = "UNISWAP_V3",
|
|
1804
|
+
UseLiquidityProtocolV2 = "USE_LIQUIDITY_PROTOCOL_V2"
|
|
1708
1805
|
}
|
|
1709
1806
|
/** Response returned by `listPairsWithMetadataForToken`. */
|
|
1710
1807
|
export type ListPairsForTokenResponse = {
|
|
@@ -4376,9 +4473,16 @@ export type OnBarsUpdatedResponse = {
|
|
|
4376
4473
|
/** The unix timestamp for the new bar. */
|
|
4377
4474
|
timestamp: Scalars['Int']['output'];
|
|
4378
4475
|
};
|
|
4379
|
-
|
|
4476
|
+
/** Input for `onLaunchpadTokenEvent`. */
|
|
4477
|
+
export type OnLaunchpadTokenEventInput = {
|
|
4478
|
+
/** The contract address of the token. */
|
|
4380
4479
|
address?: InputMaybe<Scalars['String']['input']>;
|
|
4480
|
+
/** The type of event. */
|
|
4481
|
+
eventType?: InputMaybe<LaunchpadTokenEventType>;
|
|
4482
|
+
/** The network ID that the token is deployed on. */
|
|
4381
4483
|
networkId?: InputMaybe<Scalars['Int']['input']>;
|
|
4484
|
+
/** The protocol of the token. */
|
|
4485
|
+
protocol?: InputMaybe<LaunchpadTokenProtocol>;
|
|
4382
4486
|
};
|
|
4383
4487
|
export type OnPricesUpdatedInput = {
|
|
4384
4488
|
address: Scalars['String']['input'];
|
|
@@ -4414,7 +4518,7 @@ export type OnTokenBarsUpdatedResponse = {
|
|
|
4414
4518
|
};
|
|
4415
4519
|
export type OnTokenEventsCreatedInput = {
|
|
4416
4520
|
networkId: Scalars['Int']['input'];
|
|
4417
|
-
tokenAddress
|
|
4521
|
+
tokenAddress?: InputMaybe<Scalars['String']['input']>;
|
|
4418
4522
|
};
|
|
4419
4523
|
/** Response returned by `onUnconfirmedBarsUpdated`. */
|
|
4420
4524
|
export type OnUnconfirmedBarsUpdated = {
|
|
@@ -4671,6 +4775,8 @@ export type PairFilters = {
|
|
|
4671
4775
|
highPrice12?: InputMaybe<NumberFilter>;
|
|
4672
4776
|
/** The highest price in USD in the past 24 hours. */
|
|
4673
4777
|
highPrice24?: InputMaybe<NumberFilter>;
|
|
4778
|
+
/** Whether to filter for pairs on testnet networks. Use `true` for testnet pairs only, `false` for mainnet pairs only and `undefined` (default) for both. */
|
|
4779
|
+
isTestnet?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4674
4780
|
/** The unix timestamp for the last transaction to happen on the pair. */
|
|
4675
4781
|
lastTransaction?: InputMaybe<NumberFilter>;
|
|
4676
4782
|
/** The amount of liquidity in the pair. */
|
|
@@ -4894,6 +5000,7 @@ export declare enum PairRankingAttribute {
|
|
|
4894
5000
|
TrendingScore = "trendingScore",
|
|
4895
5001
|
TrendingScore1 = "trendingScore1",
|
|
4896
5002
|
TrendingScore4 = "trendingScore4",
|
|
5003
|
+
TrendingScore5m = "trendingScore5m",
|
|
4897
5004
|
TrendingScore12 = "trendingScore12",
|
|
4898
5005
|
TrendingScore24 = "trendingScore24",
|
|
4899
5006
|
TxnCount1 = "txnCount1",
|
|
@@ -5763,12 +5870,13 @@ export type Query = {
|
|
|
5763
5870
|
* @deprecated This query is longer supported. Instead use filterPairs with sort order on createdAt DESC
|
|
5764
5871
|
*/
|
|
5765
5872
|
getLatestPairs?: Maybe<LatestPairConnection>;
|
|
5873
|
+
/** @deprecated This query is no longer supported. Use `filterTokens` with a createdAt: DESC filter instead. */
|
|
5766
5874
|
getLatestTokens?: Maybe<LatestTokenConnection>;
|
|
5767
|
-
/** Returns metadata for a given network. */
|
|
5875
|
+
/** Returns metadata for a given network supported on Codex. */
|
|
5768
5876
|
getNetworkStats?: Maybe<GetNetworkStatsResponse>;
|
|
5769
|
-
/** Returns the status of a list of networks supported on
|
|
5877
|
+
/** Returns the status of a list of networks supported on Codex. */
|
|
5770
5878
|
getNetworkStatus?: Maybe<Array<MetadataResponse>>;
|
|
5771
|
-
/** Returns a list of all networks supported on
|
|
5879
|
+
/** Returns a list of all networks supported on Codex. */
|
|
5772
5880
|
getNetworks: Array<Network>;
|
|
5773
5881
|
/** Returns a list of NFT assets in a given collection. */
|
|
5774
5882
|
getNftAssets?: Maybe<NftAssetsConnection>;
|
|
@@ -5801,7 +5909,7 @@ export type Query = {
|
|
|
5801
5909
|
/** Returns a list of Prime pools. */
|
|
5802
5910
|
getPrimePools?: Maybe<PrimePoolConnection>;
|
|
5803
5911
|
getSimulateTokenContractResults: GetSimulateTokenContractResultsConnection;
|
|
5804
|
-
/** Returns metadata for a given pair. */
|
|
5912
|
+
/** Returns charting metadata for a given pair. Used for implementing a Trading View datafeed. */
|
|
5805
5913
|
getSymbol?: Maybe<SymbolResponse>;
|
|
5806
5914
|
/** Returns transactions for a pair. */
|
|
5807
5915
|
getTokenEvents?: Maybe<EventConnection>;
|
|
@@ -5842,6 +5950,8 @@ export type Query = {
|
|
|
5842
5950
|
tokenLifecycleEvents?: Maybe<TokenLifecycleEventConnection>;
|
|
5843
5951
|
/** Returns a list of token simple chart data (sparklines) for the given tokens. */
|
|
5844
5952
|
tokenSparklines: Array<TokenSparkline>;
|
|
5953
|
+
/** Returns a list of top traders for a given token. */
|
|
5954
|
+
tokenTopTraders: TokenTopTradersConnection;
|
|
5845
5955
|
/** Returns a list of tokens by their addresses & network id, with pagination. */
|
|
5846
5956
|
tokens: Array<Maybe<EnhancedToken>>;
|
|
5847
5957
|
/** Returns the percentage of a token’s total supply held collectively by its top 10 holders. */
|
|
@@ -6190,6 +6300,9 @@ export type QueryTokenLifecycleEventsArgs = {
|
|
|
6190
6300
|
export type QueryTokenSparklinesArgs = {
|
|
6191
6301
|
input: TokenSparklineInput;
|
|
6192
6302
|
};
|
|
6303
|
+
export type QueryTokenTopTradersArgs = {
|
|
6304
|
+
input: TokenTopTradersInput;
|
|
6305
|
+
};
|
|
6193
6306
|
export type QueryTokensArgs = {
|
|
6194
6307
|
ids?: InputMaybe<Array<TokenInput>>;
|
|
6195
6308
|
};
|
|
@@ -6627,6 +6740,25 @@ export type SparklineValue = {
|
|
|
6627
6740
|
timestamp: Scalars['Int']['output'];
|
|
6628
6741
|
value: Scalars['Float']['output'];
|
|
6629
6742
|
};
|
|
6743
|
+
export type StarknetNetworkConfig = {
|
|
6744
|
+
__typename?: 'StarknetNetworkConfig';
|
|
6745
|
+
baseTokenAddress: Scalars['String']['output'];
|
|
6746
|
+
baseTokenSymbol: Scalars['String']['output'];
|
|
6747
|
+
color?: Maybe<Scalars['String']['output']>;
|
|
6748
|
+
defaultPairAddress: Scalars['String']['output'];
|
|
6749
|
+
defaultPairQuoteToken: QuoteToken;
|
|
6750
|
+
enabled: Scalars['Boolean']['output'];
|
|
6751
|
+
id: Scalars['ID']['output'];
|
|
6752
|
+
mainnet: Scalars['Boolean']['output'];
|
|
6753
|
+
name: Scalars['String']['output'];
|
|
6754
|
+
networkIconUrl: Scalars['String']['output'];
|
|
6755
|
+
networkId: Scalars['Int']['output'];
|
|
6756
|
+
networkName: Scalars['String']['output'];
|
|
6757
|
+
networkShortName: Scalars['String']['output'];
|
|
6758
|
+
newTokensEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
6759
|
+
stableCoinAddresses?: Maybe<Array<Scalars['String']['output']>>;
|
|
6760
|
+
wrappedBaseTokenSymbol: Scalars['String']['output'];
|
|
6761
|
+
};
|
|
6630
6762
|
/** Filter for NFT stats. */
|
|
6631
6763
|
export type StatsFilter = {
|
|
6632
6764
|
/** The percent change between the `current` and `previous`. */
|
|
@@ -6675,6 +6807,8 @@ export type StringFilter = {
|
|
|
6675
6807
|
};
|
|
6676
6808
|
export type Subscription = {
|
|
6677
6809
|
__typename?: 'Subscription';
|
|
6810
|
+
/** Live-streamed balance updates for a given wallet. */
|
|
6811
|
+
onBalanceUpdated: Balance;
|
|
6678
6812
|
/** Live-streamed bar chart data to track price changes over time. */
|
|
6679
6813
|
onBarsUpdated?: Maybe<OnBarsUpdatedResponse>;
|
|
6680
6814
|
/** Live-streamed bucketed stats for a given token within a pair. */
|
|
@@ -6688,6 +6822,7 @@ export type Subscription = {
|
|
|
6688
6822
|
/** Live-streamed updates for newly listed pairs. */
|
|
6689
6823
|
onLatestPairUpdated?: Maybe<LatestPair>;
|
|
6690
6824
|
onLatestTokens?: Maybe<LatestToken>;
|
|
6825
|
+
onLaunchpadTokenEvent: LaunchpadTokenEventOutput;
|
|
6691
6826
|
/** Live-streamed transactions for an NFT asset. */
|
|
6692
6827
|
onNftAssetsCreated?: Maybe<NftAsset>;
|
|
6693
6828
|
/** Live-streamed transactions for an NFT collection. */
|
|
@@ -6712,6 +6847,9 @@ export type Subscription = {
|
|
|
6712
6847
|
/** Live-streamed unconfirmed transactions for a token. (Solana only) */
|
|
6713
6848
|
onUnconfirmedEventsCreated?: Maybe<AddUnconfirmedEventsOutput>;
|
|
6714
6849
|
};
|
|
6850
|
+
export type SubscriptionOnBalanceUpdatedArgs = {
|
|
6851
|
+
walletAddress: Scalars['String']['input'];
|
|
6852
|
+
};
|
|
6715
6853
|
export type SubscriptionOnBarsUpdatedArgs = {
|
|
6716
6854
|
pairId?: InputMaybe<Scalars['String']['input']>;
|
|
6717
6855
|
quoteToken?: InputMaybe<QuoteToken>;
|
|
@@ -6728,6 +6866,7 @@ export type SubscriptionOnEventLabelCreatedArgs = {
|
|
|
6728
6866
|
export type SubscriptionOnEventsCreatedArgs = {
|
|
6729
6867
|
address?: InputMaybe<Scalars['String']['input']>;
|
|
6730
6868
|
id?: InputMaybe<Scalars['String']['input']>;
|
|
6869
|
+
networkId?: InputMaybe<Scalars['Int']['input']>;
|
|
6731
6870
|
quoteToken?: InputMaybe<QuoteToken>;
|
|
6732
6871
|
};
|
|
6733
6872
|
export type SubscriptionOnHoldersUpdatedArgs = {
|
|
@@ -6742,6 +6881,9 @@ export type SubscriptionOnLatestTokensArgs = {
|
|
|
6742
6881
|
networkId?: InputMaybe<Scalars['Int']['input']>;
|
|
6743
6882
|
tokenAddress?: InputMaybe<Scalars['String']['input']>;
|
|
6744
6883
|
};
|
|
6884
|
+
export type SubscriptionOnLaunchpadTokenEventArgs = {
|
|
6885
|
+
input?: InputMaybe<OnLaunchpadTokenEventInput>;
|
|
6886
|
+
};
|
|
6745
6887
|
export type SubscriptionOnNftAssetsCreatedArgs = {
|
|
6746
6888
|
address?: InputMaybe<Scalars['String']['input']>;
|
|
6747
6889
|
networkId?: InputMaybe<Scalars['Int']['input']>;
|
|
@@ -6776,6 +6918,7 @@ export type SubscriptionOnSimulateTokenContractArgs = {
|
|
|
6776
6918
|
simulationId?: InputMaybe<Scalars['String']['input']>;
|
|
6777
6919
|
};
|
|
6778
6920
|
export type SubscriptionOnTokenBarsUpdatedArgs = {
|
|
6921
|
+
networkId?: InputMaybe<Scalars['Int']['input']>;
|
|
6779
6922
|
statsType?: InputMaybe<TokenPairStatisticsType>;
|
|
6780
6923
|
tokenId?: InputMaybe<Scalars['String']['input']>;
|
|
6781
6924
|
};
|
|
@@ -7188,6 +7331,8 @@ export type TokenFilters = {
|
|
|
7188
7331
|
exchangeId?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
7189
7332
|
/** @deprecated FDV isn't supported - use marketCap instead */
|
|
7190
7333
|
fdv?: InputMaybe<NumberFilter>;
|
|
7334
|
+
/** The token in freezable */
|
|
7335
|
+
freezable?: InputMaybe<Scalars['Boolean']['input']>;
|
|
7191
7336
|
/** The highest price in USD in the past hour. */
|
|
7192
7337
|
high1?: InputMaybe<NumberFilter>;
|
|
7193
7338
|
/** The highest price in USD in the past 4 hours. */
|
|
@@ -7202,10 +7347,22 @@ export type TokenFilters = {
|
|
|
7202
7347
|
holders?: InputMaybe<NumberFilter>;
|
|
7203
7348
|
/** Whether to include tokens that have been flagged as scams. Default: false */
|
|
7204
7349
|
includeScams?: InputMaybe<Scalars['Boolean']['input']>;
|
|
7350
|
+
/** Whether to filter for tokens on testnet networks. Use `true` for testnet tokens only, `false` for mainnet tokens only and `undefined` (default) for both. */
|
|
7351
|
+
isTestnet?: InputMaybe<Scalars['Boolean']['input']>;
|
|
7205
7352
|
/** Only include verified tokens */
|
|
7206
7353
|
isVerified?: InputMaybe<Scalars['Boolean']['input']>;
|
|
7207
7354
|
/** The unix timestamp for the token's last transaction. */
|
|
7208
7355
|
lastTransaction?: InputMaybe<NumberFilter>;
|
|
7356
|
+
/** Indicates if the launchpad is completed */
|
|
7357
|
+
launchpadCompleted?: InputMaybe<Scalars['Boolean']['input']>;
|
|
7358
|
+
/** The timestamp when the launchpad was completed */
|
|
7359
|
+
launchpadCompletedAt?: InputMaybe<NumberFilter>;
|
|
7360
|
+
/** The graduation percentage */
|
|
7361
|
+
launchpadGraduationPercent?: InputMaybe<NumberFilter>;
|
|
7362
|
+
/** Indicates if the launchpad has migrated */
|
|
7363
|
+
launchpadMigrated?: InputMaybe<Scalars['Boolean']['input']>;
|
|
7364
|
+
/** The timestamp when the launchpad was migrated */
|
|
7365
|
+
launchpadMigratedAt?: InputMaybe<NumberFilter>;
|
|
7209
7366
|
/** The amount of liquidity in the token's top pair. */
|
|
7210
7367
|
liquidity?: InputMaybe<NumberFilter>;
|
|
7211
7368
|
/** The lowest price in USD in the past hour. */
|
|
@@ -7220,6 +7377,8 @@ export type TokenFilters = {
|
|
|
7220
7377
|
low24?: InputMaybe<NumberFilter>;
|
|
7221
7378
|
/** The market cap of circulating supply. */
|
|
7222
7379
|
marketCap?: InputMaybe<NumberFilter>;
|
|
7380
|
+
/** The token in mintable */
|
|
7381
|
+
mintable?: InputMaybe<Scalars['Boolean']['input']>;
|
|
7223
7382
|
/** 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
7383
|
network?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
|
|
7225
7384
|
/** docs: hide */
|
|
@@ -7489,6 +7648,7 @@ export declare enum TokenRankingAttribute {
|
|
|
7489
7648
|
Change12 = "change12",
|
|
7490
7649
|
Change24 = "change24",
|
|
7491
7650
|
CreatedAt = "createdAt",
|
|
7651
|
+
GraduationPercent = "graduationPercent",
|
|
7492
7652
|
High1 = "high1",
|
|
7493
7653
|
High4 = "high4",
|
|
7494
7654
|
High5m = "high5m",
|
|
@@ -7496,6 +7656,8 @@ export declare enum TokenRankingAttribute {
|
|
|
7496
7656
|
High24 = "high24",
|
|
7497
7657
|
Holders = "holders",
|
|
7498
7658
|
LastTransaction = "lastTransaction",
|
|
7659
|
+
LaunchpadCompletedAt = "launchpadCompletedAt",
|
|
7660
|
+
LaunchpadMigratedAt = "launchpadMigratedAt",
|
|
7499
7661
|
Liquidity = "liquidity",
|
|
7500
7662
|
Low1 = "low1",
|
|
7501
7663
|
Low4 = "low4",
|
|
@@ -7513,6 +7675,7 @@ export declare enum TokenRankingAttribute {
|
|
|
7513
7675
|
TrendingScore = "trendingScore",
|
|
7514
7676
|
TrendingScore1 = "trendingScore1",
|
|
7515
7677
|
TrendingScore4 = "trendingScore4",
|
|
7678
|
+
TrendingScore5m = "trendingScore5m",
|
|
7516
7679
|
TrendingScore12 = "trendingScore12",
|
|
7517
7680
|
TrendingScore24 = "trendingScore24",
|
|
7518
7681
|
TxnCount1 = "txnCount1",
|
|
@@ -7569,6 +7732,69 @@ export type TokenSparklineInput = {
|
|
|
7569
7732
|
/** The contract address & networkId of the token, joined by a colon. ex: 0xbe042e9d09cb588331ff911c2b46fd833a3e5bd6:1 */
|
|
7570
7733
|
ids: Array<Scalars['String']['input']>;
|
|
7571
7734
|
};
|
|
7735
|
+
/** A top trader for a token. */
|
|
7736
|
+
export type TokenTopTrader = {
|
|
7737
|
+
__typename?: 'TokenTopTrader';
|
|
7738
|
+
/** The amount of tokens bought in USD. */
|
|
7739
|
+
amountBoughtUsd: Scalars['String']['output'];
|
|
7740
|
+
/** The amount of tokens sold in USD. */
|
|
7741
|
+
amountSoldUsd: Scalars['String']['output'];
|
|
7742
|
+
/** The number of buys. */
|
|
7743
|
+
buys: Scalars['Int']['output'];
|
|
7744
|
+
/** The unix timestamp for the first transaction from this wallet. */
|
|
7745
|
+
firstTransactionAt?: Maybe<Scalars['Int']['output']>;
|
|
7746
|
+
/** The unix timestamp for the last transaction from this wallet. */
|
|
7747
|
+
lastTransactionAt: Scalars['Int']['output'];
|
|
7748
|
+
/** The network ID. */
|
|
7749
|
+
networkId: Scalars['Int']['output'];
|
|
7750
|
+
/** The realized profit percentage. */
|
|
7751
|
+
realizedProfitPercentage: Scalars['Float']['output'];
|
|
7752
|
+
/** The realized profit in USD. */
|
|
7753
|
+
realizedProfitUsd: Scalars['String']['output'];
|
|
7754
|
+
/** The number of sells. */
|
|
7755
|
+
sells: Scalars['Int']['output'];
|
|
7756
|
+
/** The single token acquisition cost in USD. */
|
|
7757
|
+
singleTokenAcquisitionCostUsd: Scalars['String']['output'];
|
|
7758
|
+
/** The token address. */
|
|
7759
|
+
tokenAddress: Scalars['String']['output'];
|
|
7760
|
+
/** The amount of tokens bought. */
|
|
7761
|
+
tokenAmountBought: Scalars['String']['output'];
|
|
7762
|
+
/** The amount of tokens sold. */
|
|
7763
|
+
tokenAmountSold: Scalars['String']['output'];
|
|
7764
|
+
/** The token balance of the trader. */
|
|
7765
|
+
tokenBalance: Scalars['String']['output'];
|
|
7766
|
+
/** The volume of tokens bought and sold in USD. */
|
|
7767
|
+
volumeUsd: Scalars['String']['output'];
|
|
7768
|
+
/** The wallet address of the trader. */
|
|
7769
|
+
walletAddress: Scalars['String']['output'];
|
|
7770
|
+
};
|
|
7771
|
+
/** A paginated list of top traders for a token. */
|
|
7772
|
+
export type TokenTopTradersConnection = {
|
|
7773
|
+
__typename?: 'TokenTopTradersConnection';
|
|
7774
|
+
/** The list of top traders. */
|
|
7775
|
+
items: Array<Maybe<TokenTopTrader>>;
|
|
7776
|
+
/** The network ID. */
|
|
7777
|
+
networkId: Scalars['Int']['output'];
|
|
7778
|
+
/** The offset of the first trader in the connection. */
|
|
7779
|
+
offset?: Maybe<Scalars['Int']['output']>;
|
|
7780
|
+
/** The token address. */
|
|
7781
|
+
tokenAddress: Scalars['String']['output'];
|
|
7782
|
+
/** The trading period. */
|
|
7783
|
+
tradingPeriod: TradingPeriod;
|
|
7784
|
+
};
|
|
7785
|
+
/** Input arguments for the `tokenTopTraders` query. */
|
|
7786
|
+
export type TokenTopTradersInput = {
|
|
7787
|
+
/** The number of traders to return */
|
|
7788
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
7789
|
+
/** The network ID */
|
|
7790
|
+
networkId: Scalars['Int']['input'];
|
|
7791
|
+
/** Where in the list the server started when returning items */
|
|
7792
|
+
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
7793
|
+
/** The token address */
|
|
7794
|
+
tokenAddress: Scalars['String']['input'];
|
|
7795
|
+
/** The trading period */
|
|
7796
|
+
tradingPeriod: TradingPeriod;
|
|
7797
|
+
};
|
|
7572
7798
|
/** A token with metadata. */
|
|
7573
7799
|
export type TokenWithMetadata = {
|
|
7574
7800
|
__typename?: 'TokenWithMetadata';
|
|
@@ -7649,6 +7875,13 @@ export type TokenWithMetadata = {
|
|
|
7649
7875
|
/** The volume over the time frame requested in USD. */
|
|
7650
7876
|
volume: Scalars['String']['output'];
|
|
7651
7877
|
};
|
|
7878
|
+
/** A time period used when calculating wallet trading data. */
|
|
7879
|
+
export declare enum TradingPeriod {
|
|
7880
|
+
Day = "DAY",
|
|
7881
|
+
Month = "MONTH",
|
|
7882
|
+
Week = "WEEK",
|
|
7883
|
+
Year = "YEAR"
|
|
7884
|
+
}
|
|
7652
7885
|
/** An unconfirmed token transaction. */
|
|
7653
7886
|
export type UnconfirmedEvent = {
|
|
7654
7887
|
__typename?: 'UnconfirmedEvent';
|
|
@@ -8704,9 +8937,12 @@ export type BalancesQuery = {
|
|
|
8704
8937
|
cursor?: string | null;
|
|
8705
8938
|
items: Array<{
|
|
8706
8939
|
__typename?: 'Balance';
|
|
8940
|
+
address: string;
|
|
8707
8941
|
balance: string;
|
|
8708
8942
|
firstHeldTimestamp?: number | null;
|
|
8943
|
+
networkId: number;
|
|
8709
8944
|
shiftedBalance: number;
|
|
8945
|
+
tokenAddress: string;
|
|
8710
8946
|
tokenId: string;
|
|
8711
8947
|
walletId: string;
|
|
8712
8948
|
}>;
|
|
@@ -14078,50 +14314,6 @@ export type GetExchangesQuery = {
|
|
|
14078
14314
|
tradeUrl?: string | null;
|
|
14079
14315
|
}>;
|
|
14080
14316
|
};
|
|
14081
|
-
export type GetLatestTokensQueryVariables = Exact<{
|
|
14082
|
-
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
14083
|
-
networkFilter?: InputMaybe<Array<Scalars['Int']['input']> | Scalars['Int']['input']>;
|
|
14084
|
-
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
14085
|
-
}>;
|
|
14086
|
-
export type GetLatestTokensQuery = {
|
|
14087
|
-
__typename?: 'Query';
|
|
14088
|
-
getLatestTokens?: {
|
|
14089
|
-
__typename?: 'LatestTokenConnection';
|
|
14090
|
-
items: Array<{
|
|
14091
|
-
__typename?: 'LatestToken';
|
|
14092
|
-
blockHash: string;
|
|
14093
|
-
blockNumber: number;
|
|
14094
|
-
creatorAddress: string;
|
|
14095
|
-
creatorBalance: string;
|
|
14096
|
-
decimals: number;
|
|
14097
|
-
id: string;
|
|
14098
|
-
networkId: number;
|
|
14099
|
-
timeCreated: number;
|
|
14100
|
-
tokenAddress: string;
|
|
14101
|
-
tokenName: string;
|
|
14102
|
-
tokenSymbol: string;
|
|
14103
|
-
totalSupply: string;
|
|
14104
|
-
traceIndex: number;
|
|
14105
|
-
transactionHash: string;
|
|
14106
|
-
transactionIndex: number;
|
|
14107
|
-
simulationResults: Array<{
|
|
14108
|
-
__typename?: 'LatestTokenSimResults';
|
|
14109
|
-
buyGasUsed?: string | null;
|
|
14110
|
-
buySuccess?: boolean | null;
|
|
14111
|
-
buyTax?: string | null;
|
|
14112
|
-
canRenounceOwnership?: boolean | null;
|
|
14113
|
-
canTransferOwnership?: boolean | null;
|
|
14114
|
-
isOwnerRenounced?: boolean | null;
|
|
14115
|
-
maxBuyAmount?: string | null;
|
|
14116
|
-
maxSellAmount?: string | null;
|
|
14117
|
-
openTradingCall?: string | null;
|
|
14118
|
-
sellGasUsed?: string | null;
|
|
14119
|
-
sellSuccess?: boolean | null;
|
|
14120
|
-
sellTax?: string | null;
|
|
14121
|
-
}>;
|
|
14122
|
-
}>;
|
|
14123
|
-
} | null;
|
|
14124
|
-
};
|
|
14125
14317
|
export type GetNetworkStatsQueryVariables = Exact<{
|
|
14126
14318
|
exchangeAddress?: InputMaybe<Scalars['String']['input']>;
|
|
14127
14319
|
networkId: Scalars['Int']['input'];
|
|
@@ -14133,12 +14325,19 @@ export type GetNetworkStatsQuery = {
|
|
|
14133
14325
|
liquidity: number;
|
|
14134
14326
|
transactions1: number;
|
|
14135
14327
|
transactions4: number;
|
|
14328
|
+
transactions5m: number;
|
|
14136
14329
|
transactions12: number;
|
|
14137
14330
|
transactions24: number;
|
|
14138
14331
|
volume1: number;
|
|
14139
14332
|
volume4: number;
|
|
14333
|
+
volume5m: number;
|
|
14140
14334
|
volume12: number;
|
|
14141
14335
|
volume24: number;
|
|
14336
|
+
volumeChange1: number;
|
|
14337
|
+
volumeChange4: number;
|
|
14338
|
+
volumeChange5m: number;
|
|
14339
|
+
volumeChange12: number;
|
|
14340
|
+
volumeChange24: number;
|
|
14142
14341
|
} | null;
|
|
14143
14342
|
};
|
|
14144
14343
|
export type GetNetworkStatusQueryVariables = Exact<{
|
|
@@ -16103,9 +16302,12 @@ export type HoldersQuery = {
|
|
|
16103
16302
|
top10HoldersPercent?: number | null;
|
|
16104
16303
|
items: Array<{
|
|
16105
16304
|
__typename?: 'Balance';
|
|
16305
|
+
address: string;
|
|
16106
16306
|
balance: string;
|
|
16107
16307
|
firstHeldTimestamp?: number | null;
|
|
16308
|
+
networkId: number;
|
|
16108
16309
|
shiftedBalance: number;
|
|
16310
|
+
tokenAddress: string;
|
|
16109
16311
|
tokenId: string;
|
|
16110
16312
|
walletId: string;
|
|
16111
16313
|
}>;
|
|
@@ -16127,7 +16329,7 @@ export type LiquidityLocksQuery = {
|
|
|
16127
16329
|
initialAmountToken0: string;
|
|
16128
16330
|
initialAmountToken1: string;
|
|
16129
16331
|
liquidityAmount: string;
|
|
16130
|
-
|
|
16332
|
+
liquidityProtocolV2: string;
|
|
16131
16333
|
lockProtocol: LiquidityLockProtocol;
|
|
16132
16334
|
lockerAddress: string;
|
|
16133
16335
|
networkId: number;
|
|
@@ -17038,9 +17240,12 @@ export type PrimeHoldersQuery = {
|
|
|
17038
17240
|
cursor?: string | null;
|
|
17039
17241
|
items: Array<{
|
|
17040
17242
|
__typename?: 'Balance';
|
|
17243
|
+
address: string;
|
|
17041
17244
|
balance: string;
|
|
17042
17245
|
firstHeldTimestamp?: number | null;
|
|
17246
|
+
networkId: number;
|
|
17043
17247
|
shiftedBalance: number;
|
|
17248
|
+
tokenAddress: string;
|
|
17044
17249
|
tokenId: string;
|
|
17045
17250
|
walletId: string;
|
|
17046
17251
|
}>;
|
|
@@ -17216,6 +17421,38 @@ export type TokenSparklinesQuery = {
|
|
|
17216
17421
|
}>;
|
|
17217
17422
|
}>;
|
|
17218
17423
|
};
|
|
17424
|
+
export type TokenTopTradersQueryVariables = Exact<{
|
|
17425
|
+
input: TokenTopTradersInput;
|
|
17426
|
+
}>;
|
|
17427
|
+
export type TokenTopTradersQuery = {
|
|
17428
|
+
__typename?: 'Query';
|
|
17429
|
+
tokenTopTraders: {
|
|
17430
|
+
__typename?: 'TokenTopTradersConnection';
|
|
17431
|
+
networkId: number;
|
|
17432
|
+
offset?: number | null;
|
|
17433
|
+
tokenAddress: string;
|
|
17434
|
+
tradingPeriod: TradingPeriod;
|
|
17435
|
+
items: Array<{
|
|
17436
|
+
__typename?: 'TokenTopTrader';
|
|
17437
|
+
amountBoughtUsd: string;
|
|
17438
|
+
amountSoldUsd: string;
|
|
17439
|
+
buys: number;
|
|
17440
|
+
firstTransactionAt?: number | null;
|
|
17441
|
+
lastTransactionAt: number;
|
|
17442
|
+
networkId: number;
|
|
17443
|
+
realizedProfitPercentage: number;
|
|
17444
|
+
realizedProfitUsd: string;
|
|
17445
|
+
sells: number;
|
|
17446
|
+
singleTokenAcquisitionCostUsd: string;
|
|
17447
|
+
tokenAddress: string;
|
|
17448
|
+
tokenAmountBought: string;
|
|
17449
|
+
tokenAmountSold: string;
|
|
17450
|
+
tokenBalance: string;
|
|
17451
|
+
volumeUsd: string;
|
|
17452
|
+
walletAddress: string;
|
|
17453
|
+
} | null>;
|
|
17454
|
+
};
|
|
17455
|
+
};
|
|
17219
17456
|
export type TokensQueryVariables = Exact<{
|
|
17220
17457
|
ids?: InputMaybe<Array<TokenInput> | TokenInput>;
|
|
17221
17458
|
}>;
|
|
@@ -17341,6 +17578,23 @@ export type WalletNftCollectionsQuery = {
|
|
|
17341
17578
|
}>;
|
|
17342
17579
|
};
|
|
17343
17580
|
};
|
|
17581
|
+
export type OnBalanceUpdatedSubscriptionVariables = Exact<{
|
|
17582
|
+
walletAddress: Scalars['String']['input'];
|
|
17583
|
+
}>;
|
|
17584
|
+
export type OnBalanceUpdatedSubscription = {
|
|
17585
|
+
__typename?: 'Subscription';
|
|
17586
|
+
onBalanceUpdated: {
|
|
17587
|
+
__typename?: 'Balance';
|
|
17588
|
+
address: string;
|
|
17589
|
+
balance: string;
|
|
17590
|
+
firstHeldTimestamp?: number | null;
|
|
17591
|
+
networkId: number;
|
|
17592
|
+
shiftedBalance: number;
|
|
17593
|
+
tokenAddress: string;
|
|
17594
|
+
tokenId: string;
|
|
17595
|
+
walletId: string;
|
|
17596
|
+
};
|
|
17597
|
+
};
|
|
17344
17598
|
export type OnBarsUpdatedSubscriptionVariables = Exact<{
|
|
17345
17599
|
pairId?: InputMaybe<Scalars['String']['input']>;
|
|
17346
17600
|
quoteToken?: InputMaybe<QuoteToken>;
|
|
@@ -18350,6 +18604,7 @@ export type OnEventLabelCreatedSubscription = {
|
|
|
18350
18604
|
export type OnEventsCreatedSubscriptionVariables = Exact<{
|
|
18351
18605
|
address?: InputMaybe<Scalars['String']['input']>;
|
|
18352
18606
|
id?: InputMaybe<Scalars['String']['input']>;
|
|
18607
|
+
networkId?: InputMaybe<Scalars['Int']['input']>;
|
|
18353
18608
|
quoteToken?: InputMaybe<QuoteToken>;
|
|
18354
18609
|
}>;
|
|
18355
18610
|
export type OnEventsCreatedSubscription = {
|
|
@@ -18463,9 +18718,12 @@ export type OnHoldersUpdatedSubscription = {
|
|
|
18463
18718
|
tokenId: string;
|
|
18464
18719
|
balances: Array<{
|
|
18465
18720
|
__typename?: 'Balance';
|
|
18721
|
+
address: string;
|
|
18466
18722
|
balance: string;
|
|
18467
18723
|
firstHeldTimestamp?: number | null;
|
|
18724
|
+
networkId: number;
|
|
18468
18725
|
shiftedBalance: number;
|
|
18726
|
+
tokenAddress: string;
|
|
18469
18727
|
tokenId: string;
|
|
18470
18728
|
walletId: string;
|
|
18471
18729
|
}>;
|
|
@@ -18562,6 +18820,105 @@ export type OnLatestTokensSubscription = {
|
|
|
18562
18820
|
}>;
|
|
18563
18821
|
} | null;
|
|
18564
18822
|
};
|
|
18823
|
+
export type OnLaunchpadTokenEventSubscriptionVariables = Exact<{
|
|
18824
|
+
input?: InputMaybe<OnLaunchpadTokenEventInput>;
|
|
18825
|
+
}>;
|
|
18826
|
+
export type OnLaunchpadTokenEventSubscription = {
|
|
18827
|
+
__typename?: 'Subscription';
|
|
18828
|
+
onLaunchpadTokenEvent: {
|
|
18829
|
+
__typename?: 'LaunchpadTokenEventOutput';
|
|
18830
|
+
address: string;
|
|
18831
|
+
buyCount1?: number | null;
|
|
18832
|
+
eventType: LaunchpadTokenEventType;
|
|
18833
|
+
holders?: number | null;
|
|
18834
|
+
marketCap?: string | null;
|
|
18835
|
+
networkId: number;
|
|
18836
|
+
price?: number | null;
|
|
18837
|
+
protocol: string;
|
|
18838
|
+
sellCount1?: number | null;
|
|
18839
|
+
transactions1?: number | null;
|
|
18840
|
+
volume1?: number | null;
|
|
18841
|
+
token: {
|
|
18842
|
+
__typename?: 'EnhancedToken';
|
|
18843
|
+
address: string;
|
|
18844
|
+
cmcId?: number | null;
|
|
18845
|
+
createBlockNumber?: number | null;
|
|
18846
|
+
createTransactionHash?: string | null;
|
|
18847
|
+
createdAt?: number | null;
|
|
18848
|
+
creatorAddress?: string | null;
|
|
18849
|
+
decimals: number;
|
|
18850
|
+
freezable?: string | null;
|
|
18851
|
+
id: string;
|
|
18852
|
+
isScam?: boolean | null;
|
|
18853
|
+
mintable?: string | null;
|
|
18854
|
+
name?: string | null;
|
|
18855
|
+
networkId: number;
|
|
18856
|
+
symbol?: string | null;
|
|
18857
|
+
exchanges?: Array<{
|
|
18858
|
+
__typename?: 'Exchange';
|
|
18859
|
+
address: string;
|
|
18860
|
+
color?: string | null;
|
|
18861
|
+
exchangeVersion?: string | null;
|
|
18862
|
+
iconUrl?: string | null;
|
|
18863
|
+
id: string;
|
|
18864
|
+
name?: string | null;
|
|
18865
|
+
networkId: number;
|
|
18866
|
+
tradeUrl?: string | null;
|
|
18867
|
+
}> | null;
|
|
18868
|
+
info?: {
|
|
18869
|
+
__typename?: 'TokenInfo';
|
|
18870
|
+
address: string;
|
|
18871
|
+
circulatingSupply?: string | null;
|
|
18872
|
+
cmcId?: number | null;
|
|
18873
|
+
description?: string | null;
|
|
18874
|
+
id: string;
|
|
18875
|
+
imageBannerUrl?: string | null;
|
|
18876
|
+
imageLargeUrl?: string | null;
|
|
18877
|
+
imageSmallUrl?: string | null;
|
|
18878
|
+
imageThumbUrl?: string | null;
|
|
18879
|
+
isScam?: boolean | null;
|
|
18880
|
+
name?: string | null;
|
|
18881
|
+
networkId: number;
|
|
18882
|
+
symbol: string;
|
|
18883
|
+
totalSupply?: string | null;
|
|
18884
|
+
} | null;
|
|
18885
|
+
launchpad?: {
|
|
18886
|
+
__typename?: 'LaunchpadData';
|
|
18887
|
+
completed?: boolean | null;
|
|
18888
|
+
completedAt?: number | null;
|
|
18889
|
+
completedSlot?: number | null;
|
|
18890
|
+
graduationPercent?: number | null;
|
|
18891
|
+
migrated?: boolean | null;
|
|
18892
|
+
migratedAt?: number | null;
|
|
18893
|
+
migratedPoolAddress?: string | null;
|
|
18894
|
+
migratedSlot?: number | null;
|
|
18895
|
+
poolAddress?: string | null;
|
|
18896
|
+
} | null;
|
|
18897
|
+
socialLinks?: {
|
|
18898
|
+
__typename?: 'SocialLinks';
|
|
18899
|
+
bitcointalk?: string | null;
|
|
18900
|
+
blog?: string | null;
|
|
18901
|
+
coingecko?: string | null;
|
|
18902
|
+
coinmarketcap?: string | null;
|
|
18903
|
+
discord?: string | null;
|
|
18904
|
+
email?: string | null;
|
|
18905
|
+
facebook?: string | null;
|
|
18906
|
+
github?: string | null;
|
|
18907
|
+
instagram?: string | null;
|
|
18908
|
+
linkedin?: string | null;
|
|
18909
|
+
reddit?: string | null;
|
|
18910
|
+
slack?: string | null;
|
|
18911
|
+
telegram?: string | null;
|
|
18912
|
+
twitch?: string | null;
|
|
18913
|
+
twitter?: string | null;
|
|
18914
|
+
website?: string | null;
|
|
18915
|
+
wechat?: string | null;
|
|
18916
|
+
whitepaper?: string | null;
|
|
18917
|
+
youtube?: string | null;
|
|
18918
|
+
} | null;
|
|
18919
|
+
};
|
|
18920
|
+
};
|
|
18921
|
+
};
|
|
18565
18922
|
export type OnNftAssetsCreatedSubscriptionVariables = Exact<{
|
|
18566
18923
|
address?: InputMaybe<Scalars['String']['input']>;
|
|
18567
18924
|
networkId?: InputMaybe<Scalars['Int']['input']>;
|
|
@@ -19536,6 +19893,7 @@ export type OnSimulateTokenContractSubscription = {
|
|
|
19536
19893
|
};
|
|
19537
19894
|
};
|
|
19538
19895
|
export type OnTokenBarsUpdatedSubscriptionVariables = Exact<{
|
|
19896
|
+
networkId?: InputMaybe<Scalars['Int']['input']>;
|
|
19539
19897
|
statsType?: InputMaybe<TokenPairStatisticsType>;
|
|
19540
19898
|
tokenId?: InputMaybe<Scalars['String']['input']>;
|
|
19541
19899
|
}>;
|
|
@@ -20518,11 +20876,6 @@ export declare const GetEventLabelsDocument: DocumentNode<GetEventLabelsQuery, E
|
|
|
20518
20876
|
export declare const GetExchangesDocument: DocumentNode<GetExchangesQuery, Exact<{
|
|
20519
20877
|
showNameless?: InputMaybe<boolean> | undefined;
|
|
20520
20878
|
}>>;
|
|
20521
|
-
export declare const GetLatestTokensDocument: DocumentNode<GetLatestTokensQuery, Exact<{
|
|
20522
|
-
limit?: InputMaybe<number> | undefined;
|
|
20523
|
-
networkFilter?: InputMaybe<number | number[]> | undefined;
|
|
20524
|
-
offset?: InputMaybe<number> | undefined;
|
|
20525
|
-
}>>;
|
|
20526
20879
|
export declare const GetNetworkStatsDocument: DocumentNode<GetNetworkStatsQuery, Exact<{
|
|
20527
20880
|
exchangeAddress?: InputMaybe<string> | undefined;
|
|
20528
20881
|
networkId: Scalars['Int']['input'];
|
|
@@ -20727,6 +21080,9 @@ export declare const TokenLifecycleEventsDocument: DocumentNode<TokenLifecycleEv
|
|
|
20727
21080
|
export declare const TokenSparklinesDocument: DocumentNode<TokenSparklinesQuery, Exact<{
|
|
20728
21081
|
input: TokenSparklineInput;
|
|
20729
21082
|
}>>;
|
|
21083
|
+
export declare const TokenTopTradersDocument: DocumentNode<TokenTopTradersQuery, Exact<{
|
|
21084
|
+
input: TokenTopTradersInput;
|
|
21085
|
+
}>>;
|
|
20730
21086
|
export declare const TokensDocument: DocumentNode<TokensQuery, Exact<{
|
|
20731
21087
|
ids?: InputMaybe<TokenInput | TokenInput[]> | undefined;
|
|
20732
21088
|
}>>;
|
|
@@ -20739,6 +21095,9 @@ export declare const WalletNftCollectionAssetsDocument: DocumentNode<WalletNftCo
|
|
|
20739
21095
|
export declare const WalletNftCollectionsDocument: DocumentNode<WalletNftCollectionsQuery, Exact<{
|
|
20740
21096
|
input: WalletNftCollectionsInput;
|
|
20741
21097
|
}>>;
|
|
21098
|
+
export declare const OnBalanceUpdatedDocument: DocumentNode<OnBalanceUpdatedSubscription, Exact<{
|
|
21099
|
+
walletAddress: Scalars['String']['input'];
|
|
21100
|
+
}>>;
|
|
20742
21101
|
export declare const OnBarsUpdatedDocument: DocumentNode<OnBarsUpdatedSubscription, Exact<{
|
|
20743
21102
|
pairId?: InputMaybe<string> | undefined;
|
|
20744
21103
|
quoteToken?: InputMaybe<QuoteToken> | undefined;
|
|
@@ -20755,6 +21114,7 @@ export declare const OnEventLabelCreatedDocument: DocumentNode<OnEventLabelCreat
|
|
|
20755
21114
|
export declare const OnEventsCreatedDocument: DocumentNode<OnEventsCreatedSubscription, Exact<{
|
|
20756
21115
|
address?: InputMaybe<string> | undefined;
|
|
20757
21116
|
id?: InputMaybe<string> | undefined;
|
|
21117
|
+
networkId?: InputMaybe<number> | undefined;
|
|
20758
21118
|
quoteToken?: InputMaybe<QuoteToken> | undefined;
|
|
20759
21119
|
}>>;
|
|
20760
21120
|
export declare const OnHoldersUpdatedDocument: DocumentNode<OnHoldersUpdatedSubscription, Exact<{
|
|
@@ -20769,6 +21129,9 @@ export declare const OnLatestTokensDocument: DocumentNode<OnLatestTokensSubscrip
|
|
|
20769
21129
|
networkId?: InputMaybe<number> | undefined;
|
|
20770
21130
|
tokenAddress?: InputMaybe<string> | undefined;
|
|
20771
21131
|
}>>;
|
|
21132
|
+
export declare const OnLaunchpadTokenEventDocument: DocumentNode<OnLaunchpadTokenEventSubscription, Exact<{
|
|
21133
|
+
input?: InputMaybe<OnLaunchpadTokenEventInput> | undefined;
|
|
21134
|
+
}>>;
|
|
20772
21135
|
export declare const OnNftAssetsCreatedDocument: DocumentNode<OnNftAssetsCreatedSubscription, Exact<{
|
|
20773
21136
|
address?: InputMaybe<string> | undefined;
|
|
20774
21137
|
networkId?: InputMaybe<number> | undefined;
|
|
@@ -20803,6 +21166,7 @@ export declare const OnSimulateTokenContractDocument: DocumentNode<OnSimulateTok
|
|
|
20803
21166
|
simulationId?: InputMaybe<string> | undefined;
|
|
20804
21167
|
}>>;
|
|
20805
21168
|
export declare const OnTokenBarsUpdatedDocument: DocumentNode<OnTokenBarsUpdatedSubscription, Exact<{
|
|
21169
|
+
networkId?: InputMaybe<number> | undefined;
|
|
20806
21170
|
statsType?: InputMaybe<TokenPairStatisticsType> | undefined;
|
|
20807
21171
|
tokenId?: InputMaybe<string> | undefined;
|
|
20808
21172
|
}>>;
|