@codex-data/sdk 1.0.3 → 1.0.5
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 +2 -0
- package/dist/resources/generated_queries/FilterTokens.graphql +11 -0
- package/dist/resources/generated_queries/GetBars.graphql +143 -0
- package/dist/resources/generated_queries/Holders.graphql +2 -0
- package/dist/resources/generated_queries/PairMetadata.graphql +4 -0
- package/dist/resources/generated_queries/PrimeHolders.graphql +2 -0
- package/dist/resources/generated_subscriptions/OnHoldersUpdated.graphql +17 -0
- package/dist/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +4 -0
- package/dist/resources/generated_subscriptions/OnUnconfirmedEventsCreated.graphql +1 -0
- package/dist/resources/graphql.d.ts +207 -113
- package/dist/resources/graphql.d.ts.map +1 -1
- package/dist/resources/graphql.js +26 -2
- package/dist/resources/graphql.js.map +1 -1
- package/dist/resources/graphql.schema.json +1031 -764
- package/dist/resources/graphql.ts +213 -128
- package/dist/resources/schema.graphql +312 -158
- 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 +50 -59
- package/dist/sdk/Query.d.ts.map +1 -1
- package/dist/sdk/Query.js +49 -58
- package/dist/sdk/Query.js.map +1 -1
- package/dist/sdk/Subscribe.d.ts +13 -12
- package/dist/sdk/Subscribe.d.ts.map +1 -1
- package/dist/sdk/Subscribe.js +86 -79
- package/dist/sdk/Subscribe.js.map +1 -1
- package/dist/sdk/generated/gql.d.ts +24 -91
- package/dist/sdk/generated/gql.d.ts.map +1 -1
- package/dist/sdk/generated/gql.js +9 -17
- package/dist/sdk/generated/gql.js.map +1 -1
- package/dist/sdk/generated/graphql.d.ts +476 -494
- package/dist/sdk/generated/graphql.d.ts.map +1 -1
- package/dist/sdk/generated/graphql.js +37 -21
- package/dist/sdk/generated/graphql.js.map +1 -1
- package/package.json +1 -1
- package/src/resources/generated_queries/Balances.graphql +2 -0
- package/src/resources/generated_queries/FilterTokens.graphql +11 -0
- package/src/resources/generated_queries/GetBars.graphql +143 -0
- package/src/resources/generated_queries/Holders.graphql +2 -0
- package/src/resources/generated_queries/PairMetadata.graphql +4 -0
- package/src/resources/generated_queries/PrimeHolders.graphql +2 -0
- package/src/resources/generated_subscriptions/OnHoldersUpdated.graphql +17 -0
- package/src/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +4 -0
- package/src/resources/generated_subscriptions/OnUnconfirmedEventsCreated.graphql +1 -0
- package/src/resources/graphql.schema.json +1031 -764
- package/src/resources/graphql.ts +213 -128
- package/src/resources/schema.graphql +312 -158
- package/src/sdk/Mutation.ts +4 -4
- package/src/sdk/Query.ts +105 -141
- package/src/sdk/Subscribe.ts +125 -110
- package/src/sdk/generated/gql.ts +21 -61
- package/src/sdk/generated/graphql.ts +241 -227
- package/dist/resources/generated_queries/BackfillWalletState.graphql +0 -3
- package/dist/resources/generated_queries/GetLatestPairs.graphql +0 -57
- package/dist/resources/generated_queries/GetParallelAssets.graphql +0 -50
- package/dist/resources/generated_queries/GetTokenCount.graphql +0 -3
- package/dist/resources/generated_queries/GetTokenInfo.graphql +0 -18
- package/dist/resources/generated_queries/GetTokensInfo.graphql +0 -18
- package/dist/resources/generated_queries/GetUniV3Ticks.graphql +0 -22
- package/dist/resources/generated_queries/ListFavoriteTokens.graphql +0 -59
- package/dist/resources/generated_queries/PrimeBalance.graphql +0 -12
- package/src/resources/generated_queries/BackfillWalletState.graphql +0 -3
- package/src/resources/generated_queries/GetLatestPairs.graphql +0 -57
- package/src/resources/generated_queries/GetParallelAssets.graphql +0 -50
- package/src/resources/generated_queries/GetTokenCount.graphql +0 -3
- package/src/resources/generated_queries/GetTokenInfo.graphql +0 -18
- package/src/resources/generated_queries/GetTokensInfo.graphql +0 -18
- package/src/resources/generated_queries/GetUniV3Ticks.graphql +0 -22
- package/src/resources/generated_queries/ListFavoriteTokens.graphql +0 -59
- package/src/resources/generated_queries/PrimeBalance.graphql +0 -12
|
@@ -46,6 +46,7 @@ export type AddNftEventsOutput = {
|
|
|
46
46
|
networkId: Scalars['Int']['output'];
|
|
47
47
|
};
|
|
48
48
|
|
|
49
|
+
/** Response returned by `onNftPoolEventsCreated`. */
|
|
49
50
|
export type AddNftPoolEventsOutput = {
|
|
50
51
|
__typename?: 'AddNftPoolEventsOutput';
|
|
51
52
|
collectionAddress: Scalars['String']['output'];
|
|
@@ -56,12 +57,16 @@ export type AddNftPoolEventsOutput = {
|
|
|
56
57
|
poolAddress: Scalars['String']['output'];
|
|
57
58
|
};
|
|
58
59
|
|
|
60
|
+
/** Response returned by `onTokenEventsCreated`. */
|
|
59
61
|
export type AddTokenEventsOutput = {
|
|
60
62
|
__typename?: 'AddTokenEventsOutput';
|
|
63
|
+
/** A list of transactions for the token. */
|
|
61
64
|
events: Array<Event>;
|
|
65
|
+
/** The ID of the event (`address`:`networkId`). For example, `0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2:1`. */
|
|
62
66
|
id: Scalars['String']['output'];
|
|
63
67
|
};
|
|
64
68
|
|
|
69
|
+
/** Response returned by `onTokenLifecycleEventsCreated`. */
|
|
65
70
|
export type AddTokenLifecycleEventsOutput = {
|
|
66
71
|
__typename?: 'AddTokenLifecycleEventsOutput';
|
|
67
72
|
events: Array<TokenLifecycleEvent>;
|
|
@@ -119,15 +124,39 @@ export type ApiToken = {
|
|
|
119
124
|
token: Scalars['String']['output'];
|
|
120
125
|
};
|
|
121
126
|
|
|
127
|
+
export type AptosNetworkConfig = {
|
|
128
|
+
__typename?: 'AptosNetworkConfig';
|
|
129
|
+
baseTokenAddress: Scalars['String']['output'];
|
|
130
|
+
baseTokenSymbol: Scalars['String']['output'];
|
|
131
|
+
color?: Maybe<Scalars['String']['output']>;
|
|
132
|
+
defaultPairAddress: Scalars['String']['output'];
|
|
133
|
+
defaultPairQuoteToken: QuoteToken;
|
|
134
|
+
enabled: Scalars['Boolean']['output'];
|
|
135
|
+
id: Scalars['ID']['output'];
|
|
136
|
+
mainnet: Scalars['Boolean']['output'];
|
|
137
|
+
name: Scalars['String']['output'];
|
|
138
|
+
networkIconUrl: Scalars['String']['output'];
|
|
139
|
+
networkId: Scalars['Int']['output'];
|
|
140
|
+
networkName: Scalars['String']['output'];
|
|
141
|
+
networkShortName: Scalars['String']['output'];
|
|
142
|
+
newTokensEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
143
|
+
stableCoinAddresses?: Maybe<Array<Scalars['String']['output']>>;
|
|
144
|
+
wrappedBaseTokenSymbol: Scalars['String']['output'];
|
|
145
|
+
};
|
|
146
|
+
|
|
122
147
|
/** Wallet balance of a token. */
|
|
123
148
|
export type Balance = {
|
|
124
149
|
__typename?: 'Balance';
|
|
150
|
+
/** The wallet address */
|
|
151
|
+
address: Scalars['String']['output'];
|
|
125
152
|
/** The balance held by the wallet. */
|
|
126
153
|
balance: Scalars['String']['output'];
|
|
127
154
|
/** The time that this address first held a token */
|
|
128
155
|
firstHeldTimestamp?: Maybe<Scalars['Int']['output']>;
|
|
129
156
|
/** The balance held by the wallet, adjusted by the number of decimals in the token. */
|
|
130
157
|
shiftedBalance: Scalars['Float']['output'];
|
|
158
|
+
/** The contract address of the token. */
|
|
159
|
+
tokenAddress: Scalars['String']['output'];
|
|
131
160
|
/** The ID of the token (`tokenAddress:networkId`). */
|
|
132
161
|
tokenId: Scalars['String']['output'];
|
|
133
162
|
/** The ID of the wallet (`walletAddress:networkId`). */
|
|
@@ -168,10 +197,12 @@ export type BarsResponse = {
|
|
|
168
197
|
h: Array<Maybe<Scalars['Float']['output']>>;
|
|
169
198
|
/** The low price. */
|
|
170
199
|
l: Array<Maybe<Scalars['Float']['output']>>;
|
|
171
|
-
/**
|
|
200
|
+
/** Liquidity in USD */
|
|
172
201
|
liquidity: Array<Maybe<Scalars['String']['output']>>;
|
|
173
202
|
/** The opening price. */
|
|
174
203
|
o: Array<Maybe<Scalars['Float']['output']>>;
|
|
204
|
+
/** The pair that is being returned */
|
|
205
|
+
pair: Pair;
|
|
175
206
|
/** The status code for the batch: `ok` for successful data retrieval and `no_data` for empty responses signaling the end of server data. */
|
|
176
207
|
s: Scalars['String']['output'];
|
|
177
208
|
/** The sell volume in USD */
|
|
@@ -906,6 +937,13 @@ export type EnhancedToken = {
|
|
|
906
937
|
totalSupply?: Maybe<Scalars['String']['output']>;
|
|
907
938
|
};
|
|
908
939
|
|
|
940
|
+
export enum Entitlement {
|
|
941
|
+
BalanceFeed = 'BalanceFeed',
|
|
942
|
+
PriceFeed = 'PriceFeed',
|
|
943
|
+
TopTraders = 'TopTraders',
|
|
944
|
+
WalletStats = 'WalletStats'
|
|
945
|
+
}
|
|
946
|
+
|
|
909
947
|
/** A token transaction. */
|
|
910
948
|
export type Event = {
|
|
911
949
|
__typename?: 'Event';
|
|
@@ -1328,14 +1366,23 @@ export type GetGasEstimateInput = {
|
|
|
1328
1366
|
/** Response returned by `getNetworkStats`. */
|
|
1329
1367
|
export type GetNetworkStatsResponse = {
|
|
1330
1368
|
__typename?: 'GetNetworkStatsResponse';
|
|
1369
|
+
/** The network liquidity in USD. */
|
|
1331
1370
|
liquidity: Scalars['Float']['output'];
|
|
1371
|
+
/** The unique number of transactions in the past hour. */
|
|
1332
1372
|
transactions1: Scalars['Int']['output'];
|
|
1373
|
+
/** The unique number of transactions in the past 4 hours. */
|
|
1333
1374
|
transactions4: Scalars['Int']['output'];
|
|
1375
|
+
/** The unique number of transactions in the past 12 hours. */
|
|
1334
1376
|
transactions12: Scalars['Int']['output'];
|
|
1377
|
+
/** The unique number of transactions in the past 24 hours. */
|
|
1335
1378
|
transactions24: Scalars['Int']['output'];
|
|
1379
|
+
/** The network trade volume in USD over the past hour. */
|
|
1336
1380
|
volume1: Scalars['Float']['output'];
|
|
1381
|
+
/** The network trade volume in USD over the past 4 hours. */
|
|
1337
1382
|
volume4: Scalars['Float']['output'];
|
|
1383
|
+
/** The network trade volume in USD over the past 12 hours. */
|
|
1338
1384
|
volume12: Scalars['Float']['output'];
|
|
1385
|
+
/** The network trade volume in USD over the past 24 hours. */
|
|
1339
1386
|
volume24: Scalars['Float']['output'];
|
|
1340
1387
|
};
|
|
1341
1388
|
|
|
@@ -1431,17 +1478,18 @@ export type HoldersInputSort = {
|
|
|
1431
1478
|
direction?: InputMaybe<RankingDirection>;
|
|
1432
1479
|
};
|
|
1433
1480
|
|
|
1481
|
+
/** Response returned by `holders`. */
|
|
1434
1482
|
export type HoldersResponse = {
|
|
1435
1483
|
__typename?: 'HoldersResponse';
|
|
1436
|
-
/**
|
|
1484
|
+
/** The unique count of holders for the token. */
|
|
1437
1485
|
count: Scalars['Int']['output'];
|
|
1438
1486
|
/** A cursor for use in pagination. */
|
|
1439
1487
|
cursor?: Maybe<Scalars['String']['output']>;
|
|
1440
|
-
/** The list wallets
|
|
1488
|
+
/** The list of wallets holding the token. */
|
|
1441
1489
|
items: Array<Balance>;
|
|
1442
1490
|
/** Status of holder. Disabled if on unsupported network or there is insufficient holder data. */
|
|
1443
1491
|
status: HoldersStatus;
|
|
1444
|
-
/** What percentage of the total supply do the top 10 holders hold */
|
|
1492
|
+
/** What percentage of the total supply do the top 10 holders hold. */
|
|
1445
1493
|
top10HoldersPercent?: Maybe<Scalars['Float']['output']>;
|
|
1446
1494
|
};
|
|
1447
1495
|
|
|
@@ -1455,6 +1503,21 @@ export enum HoldersStatus {
|
|
|
1455
1503
|
Enabled = 'ENABLED'
|
|
1456
1504
|
}
|
|
1457
1505
|
|
|
1506
|
+
/** Response returned by `onHoldersUpdated`. */
|
|
1507
|
+
export type HoldersUpdate = {
|
|
1508
|
+
__typename?: 'HoldersUpdate';
|
|
1509
|
+
/** The list of wallets holding the token. */
|
|
1510
|
+
balances: Array<Balance>;
|
|
1511
|
+
/** The number of different wallets holding the token. */
|
|
1512
|
+
holders: Scalars['Int']['output'];
|
|
1513
|
+
/** The network ID that the token is deployed on. */
|
|
1514
|
+
networkId: Scalars['Int']['output'];
|
|
1515
|
+
/** The token's contract address. */
|
|
1516
|
+
tokenAddress: Scalars['String']['output'];
|
|
1517
|
+
/** The ID of the token (`tokenAddress:networkId`). */
|
|
1518
|
+
tokenId: Scalars['String']['output'];
|
|
1519
|
+
};
|
|
1520
|
+
|
|
1458
1521
|
/** Bar chart data. */
|
|
1459
1522
|
export type IndividualBarData = {
|
|
1460
1523
|
__typename?: 'IndividualBarData';
|
|
@@ -1470,7 +1533,7 @@ export type IndividualBarData = {
|
|
|
1470
1533
|
h: Scalars['Float']['output'];
|
|
1471
1534
|
/** The low price. */
|
|
1472
1535
|
l: Scalars['Float']['output'];
|
|
1473
|
-
/**
|
|
1536
|
+
/** Liquidity in USD */
|
|
1474
1537
|
liquidity: Scalars['String']['output'];
|
|
1475
1538
|
/** The opening price. */
|
|
1476
1539
|
o: Scalars['Float']['output'];
|
|
@@ -1802,7 +1865,10 @@ export type MakerEventsQueryInput = {
|
|
|
1802
1865
|
networkId?: InputMaybe<Scalars['Int']['input']>;
|
|
1803
1866
|
/** The total amount of `quoteToken` involved in the swap in USD (`amountNonLiquidityToken` x `priceUsd`). */
|
|
1804
1867
|
priceUsdTotal?: InputMaybe<NumberFilter>;
|
|
1805
|
-
/**
|
|
1868
|
+
/**
|
|
1869
|
+
* docs: hide
|
|
1870
|
+
* @deprecated Not used
|
|
1871
|
+
*/
|
|
1806
1872
|
quoteToken?: InputMaybe<QuoteToken>;
|
|
1807
1873
|
/** The time range to filter by. */
|
|
1808
1874
|
timestamp?: InputMaybe<EventQueryTimestampInput>;
|
|
@@ -4602,6 +4668,7 @@ export enum OrderState {
|
|
|
4602
4668
|
|
|
4603
4669
|
export enum OrderType {
|
|
4604
4670
|
Limit = 'LIMIT',
|
|
4671
|
+
LimitStrategy = 'LIMIT_STRATEGY',
|
|
4605
4672
|
Manual = 'MANUAL'
|
|
4606
4673
|
}
|
|
4607
4674
|
|
|
@@ -4626,9 +4693,11 @@ export type Pair = {
|
|
|
4626
4693
|
tickSpacing?: Maybe<Scalars['Int']['output']>;
|
|
4627
4694
|
/** The contract address of `token0`. */
|
|
4628
4695
|
token0: Scalars['String']['output'];
|
|
4696
|
+
/** Metadata for the first token in the pair. */
|
|
4629
4697
|
token0Data?: Maybe<EnhancedToken>;
|
|
4630
4698
|
/** The contract address of `token1`. */
|
|
4631
4699
|
token1: Scalars['String']['output'];
|
|
4700
|
+
/** Metadata for the second token in the pair. */
|
|
4632
4701
|
token1Data?: Maybe<EnhancedToken>;
|
|
4633
4702
|
};
|
|
4634
4703
|
|
|
@@ -4910,42 +4979,87 @@ export type PairFilters = {
|
|
|
4910
4979
|
|
|
4911
4980
|
export type PairMetadata = {
|
|
4912
4981
|
__typename?: 'PairMetadata';
|
|
4982
|
+
/** The unix timestamp for the creation of the pair. */
|
|
4983
|
+
createdAt?: Maybe<Scalars['Int']['output']>;
|
|
4984
|
+
/** Token metadata for the first token in the pair. */
|
|
4913
4985
|
enhancedToken0?: Maybe<EnhancedToken>;
|
|
4986
|
+
/** Token metadata for the second token in the pair. */
|
|
4914
4987
|
enhancedToken1?: Maybe<EnhancedToken>;
|
|
4988
|
+
/** The exchange contract ID. */
|
|
4915
4989
|
exchangeId?: Maybe<Scalars['String']['output']>;
|
|
4990
|
+
/** The exchange fee for swaps. */
|
|
4916
4991
|
fee?: Maybe<Scalars['Int']['output']>;
|
|
4992
|
+
/** The highest price in USD in the past hour. */
|
|
4917
4993
|
highPrice1?: Maybe<Scalars['String']['output']>;
|
|
4994
|
+
/** The highest price in USD in the past week. */
|
|
4918
4995
|
highPrice1w?: Maybe<Scalars['String']['output']>;
|
|
4996
|
+
/** The highest price in USD in the past 4 hours. */
|
|
4919
4997
|
highPrice4?: Maybe<Scalars['String']['output']>;
|
|
4998
|
+
/** The highest price in USD in the past 5 minutes. */
|
|
4999
|
+
highPrice5m?: Maybe<Scalars['String']['output']>;
|
|
5000
|
+
/** The highest price in USD in the past 12 hours. */
|
|
4920
5001
|
highPrice12?: Maybe<Scalars['String']['output']>;
|
|
5002
|
+
/** The highest price in USD in the past 24 hours. */
|
|
4921
5003
|
highPrice24?: Maybe<Scalars['String']['output']>;
|
|
5004
|
+
/** The ID for the pair (`address:networkId`). */
|
|
4922
5005
|
id: Scalars['String']['output'];
|
|
5006
|
+
/** The total liquidity in the pair. */
|
|
4923
5007
|
liquidity: Scalars['String']['output'];
|
|
5008
|
+
/** The token with higher liquidity within the pair. Can be `token0` or `token1`. */
|
|
4924
5009
|
liquidityToken?: Maybe<Scalars['String']['output']>;
|
|
5010
|
+
/** The lowest price in USD in the past hour. */
|
|
4925
5011
|
lowPrice1?: Maybe<Scalars['String']['output']>;
|
|
5012
|
+
/** The lowest price in USD in the past week. */
|
|
4926
5013
|
lowPrice1w?: Maybe<Scalars['String']['output']>;
|
|
5014
|
+
/** The lowest price in USD in the past 4 hours. */
|
|
4927
5015
|
lowPrice4?: Maybe<Scalars['String']['output']>;
|
|
5016
|
+
/** The lowest price in USD in the past 5 minutes. */
|
|
5017
|
+
lowPrice5m?: Maybe<Scalars['String']['output']>;
|
|
5018
|
+
/** The lowest price in USD in the past 12 hours. */
|
|
4928
5019
|
lowPrice12?: Maybe<Scalars['String']['output']>;
|
|
5020
|
+
/** The lowest price in USD in the past 24 hours. */
|
|
4929
5021
|
lowPrice24?: Maybe<Scalars['String']['output']>;
|
|
5022
|
+
/** The network ID the pair is deployed on. */
|
|
4930
5023
|
networkId?: Maybe<Scalars['Int']['output']>;
|
|
5024
|
+
/** The token with lower liquidity within the pair. Can be `token0` or `token1`. */
|
|
4931
5025
|
nonLiquidityToken?: Maybe<Scalars['String']['output']>;
|
|
5026
|
+
/** The contract address of the pair. */
|
|
4932
5027
|
pairAddress: Scalars['String']['output'];
|
|
5028
|
+
/** The quote token price in USD. */
|
|
4933
5029
|
price: Scalars['String']['output'];
|
|
5030
|
+
/** The percent price change in the past hour. Decimal format. */
|
|
4934
5031
|
priceChange1?: Maybe<Scalars['Float']['output']>;
|
|
5032
|
+
/** The percent price change in the past week. Decimal format. */
|
|
4935
5033
|
priceChange1w?: Maybe<Scalars['Float']['output']>;
|
|
5034
|
+
/** The percent price change in the past 4 hours. Decimal format. */
|
|
4936
5035
|
priceChange4?: Maybe<Scalars['Float']['output']>;
|
|
5036
|
+
/** The percent price change in the past 5 minutes. Decimal format. */
|
|
4937
5037
|
priceChange5m?: Maybe<Scalars['Float']['output']>;
|
|
5038
|
+
/** The percent price change in the past 12 hours. Decimal format. */
|
|
4938
5039
|
priceChange12?: Maybe<Scalars['Float']['output']>;
|
|
5040
|
+
/** The percent price change in the past 24 hours. Decimal format. */
|
|
4939
5041
|
priceChange24?: Maybe<Scalars['Float']['output']>;
|
|
5042
|
+
/** The token of interest within the pair. Can be `token0` or `token1`. */
|
|
4940
5043
|
quoteToken?: Maybe<QuoteToken>;
|
|
5044
|
+
/** The type of statistics returned. Can be `FILTERED` or `UNFILTERED` */
|
|
4941
5045
|
statsType: TokenPairStatisticsType;
|
|
5046
|
+
/** The amount of required tick separation. Only applicable for pairs on UniswapV3. */
|
|
4942
5047
|
tickSpacing?: Maybe<Scalars['Int']['output']>;
|
|
5048
|
+
/** Pair metadata for the first token in the pair. */
|
|
4943
5049
|
token0: PairMetadataToken;
|
|
5050
|
+
/** Pair metadata for the second token in the pair. */
|
|
4944
5051
|
token1: PairMetadataToken;
|
|
5052
|
+
/** The trade volume in USD in the past hour. */
|
|
4945
5053
|
volume1?: Maybe<Scalars['String']['output']>;
|
|
5054
|
+
/** The trade trade volume in USD in the past week. */
|
|
4946
5055
|
volume1w?: Maybe<Scalars['String']['output']>;
|
|
5056
|
+
/** The trade volume in USD in the past 4 hours. */
|
|
4947
5057
|
volume4?: Maybe<Scalars['String']['output']>;
|
|
5058
|
+
/** The trade volume in USD in the past 5 minutes. */
|
|
5059
|
+
volume5m?: Maybe<Scalars['String']['output']>;
|
|
5060
|
+
/** The trade volume in USD in the past 12 hours. */
|
|
4948
5061
|
volume12?: Maybe<Scalars['String']['output']>;
|
|
5062
|
+
/** The trade volume in USD in the past 24 hours. */
|
|
4949
5063
|
volume24?: Maybe<Scalars['String']['output']>;
|
|
4950
5064
|
};
|
|
4951
5065
|
|
|
@@ -5028,35 +5142,6 @@ export enum PairRankingAttribute {
|
|
|
5028
5142
|
VolumeUsd24 = 'volumeUSD24'
|
|
5029
5143
|
}
|
|
5030
5144
|
|
|
5031
|
-
/** A Parallel asset. */
|
|
5032
|
-
export type ParallelAsset = {
|
|
5033
|
-
__typename?: 'ParallelAsset';
|
|
5034
|
-
/** The contract address of the NFT collection. */
|
|
5035
|
-
address: Scalars['String']['output'];
|
|
5036
|
-
/** The attributes for the NFT asset. */
|
|
5037
|
-
attributes?: Maybe<Array<NftAssetAttribute>>;
|
|
5038
|
-
/** The description of the NFT asset. */
|
|
5039
|
-
description?: Maybe<Scalars['String']['output']>;
|
|
5040
|
-
/** The game data for the NFT asset. */
|
|
5041
|
-
gameData?: Maybe<ParallelAssetGameData>;
|
|
5042
|
-
/** The ID of the NFT asset (`address`:`tokenId`). */
|
|
5043
|
-
id: Scalars['String']['output'];
|
|
5044
|
-
/** The NFT asset media. */
|
|
5045
|
-
media?: Maybe<NftAssetMedia>;
|
|
5046
|
-
/** Metadata for the NFT asset. */
|
|
5047
|
-
metadata?: Maybe<ParallelAssetMetadata>;
|
|
5048
|
-
/** The name of the NFT asset. */
|
|
5049
|
-
name?: Maybe<Scalars['String']['output']>;
|
|
5050
|
-
/** The network ID the NFT collection is deployed on. */
|
|
5051
|
-
networkId: Scalars['Int']['output'];
|
|
5052
|
-
/** The source image URI linked by smart contract metadata. */
|
|
5053
|
-
originalImage?: Maybe<Scalars['String']['output']>;
|
|
5054
|
-
/** The token ID of the NFT asset. */
|
|
5055
|
-
tokenId: Scalars['String']['output'];
|
|
5056
|
-
/** The URI provided by the smart contract. Typically JSON that contains metadata. */
|
|
5057
|
-
uri?: Maybe<Scalars['String']['output']>;
|
|
5058
|
-
};
|
|
5059
|
-
|
|
5060
5145
|
/** Response returned by `filterNftParallelAssets`. */
|
|
5061
5146
|
export type ParallelAssetFilterConnection = {
|
|
5062
5147
|
__typename?: 'ParallelAssetFilterConnection';
|
|
@@ -5244,15 +5329,6 @@ export enum ParallelAssetRankingAttribute {
|
|
|
5244
5329
|
Supply = 'supply'
|
|
5245
5330
|
}
|
|
5246
5331
|
|
|
5247
|
-
/** Response returned by `getParallelAssets`. */
|
|
5248
|
-
export type ParallelAssetsConnection = {
|
|
5249
|
-
__typename?: 'ParallelAssetsConnection';
|
|
5250
|
-
/** A cursor for use in pagination. */
|
|
5251
|
-
cursor?: Maybe<Scalars['String']['output']>;
|
|
5252
|
-
/** A list of Parallel assets. */
|
|
5253
|
-
items?: Maybe<Array<Maybe<ParallelAsset>>>;
|
|
5254
|
-
};
|
|
5255
|
-
|
|
5256
5332
|
/** Tracked changes made to a Parallel card. */
|
|
5257
5333
|
export type ParallelCardChange = {
|
|
5258
5334
|
__typename?: 'ParallelCardChange';
|
|
@@ -5391,7 +5467,7 @@ export type Price = {
|
|
|
5391
5467
|
/** The token price in USD. */
|
|
5392
5468
|
priceUsd: Scalars['Float']['output'];
|
|
5393
5469
|
/** The unix timestamp for the price. */
|
|
5394
|
-
timestamp
|
|
5470
|
+
timestamp?: Maybe<Scalars['Int']['output']>;
|
|
5395
5471
|
};
|
|
5396
5472
|
|
|
5397
5473
|
/** Webhook conditions for a price event. */
|
|
@@ -5923,7 +5999,6 @@ export type Query = {
|
|
|
5923
5999
|
apiToken: ApiToken;
|
|
5924
6000
|
/** Get all active short-lived api tokens for this api key */
|
|
5925
6001
|
apiTokens: Array<ApiToken>;
|
|
5926
|
-
backfillWalletState: Scalars['Boolean']['output'];
|
|
5927
6002
|
/** Returns list of token balances that a wallet has */
|
|
5928
6003
|
balances: BalancesResponse;
|
|
5929
6004
|
/** Returns a URL for a pair chart. */
|
|
@@ -5961,14 +6036,17 @@ export type Query = {
|
|
|
5961
6036
|
getEventLabels?: Maybe<EventLabelConnection>;
|
|
5962
6037
|
/** Returns a list of decentralized exchange metadata. */
|
|
5963
6038
|
getExchanges: Array<Exchange>;
|
|
5964
|
-
/**
|
|
6039
|
+
/**
|
|
6040
|
+
* Returns new tokens listed over the last three days.
|
|
6041
|
+
* @deprecated This query is longer supported. Instead use filterPairs with sort order on createdAt DESC
|
|
6042
|
+
*/
|
|
5965
6043
|
getLatestPairs?: Maybe<LatestPairConnection>;
|
|
5966
6044
|
getLatestTokens?: Maybe<LatestTokenConnection>;
|
|
5967
|
-
/** Returns metadata for a given network. */
|
|
6045
|
+
/** Returns metadata for a given network supported on Codex. */
|
|
5968
6046
|
getNetworkStats?: Maybe<GetNetworkStatsResponse>;
|
|
5969
|
-
/** Returns the status of a list of networks supported on
|
|
6047
|
+
/** Returns the status of a list of networks supported on Codex. */
|
|
5970
6048
|
getNetworkStatus?: Maybe<Array<MetadataResponse>>;
|
|
5971
|
-
/** Returns a list of all networks supported on
|
|
6049
|
+
/** Returns a list of all networks supported on Codex. */
|
|
5972
6050
|
getNetworks: Array<Network>;
|
|
5973
6051
|
/** Returns a list of NFT assets in a given collection. */
|
|
5974
6052
|
getNftAssets?: Maybe<NftAssetsConnection>;
|
|
@@ -5992,8 +6070,6 @@ export type Query = {
|
|
|
5992
6070
|
getNftPoolsByCollectionAndExchange?: Maybe<GetNftPoolsResponse>;
|
|
5993
6071
|
/** Returns a list of NFT pools for a given owner. */
|
|
5994
6072
|
getNftPoolsByOwner?: Maybe<GetNftPoolsResponse>;
|
|
5995
|
-
/** Returns transactions for an NFT collection across any marketplace(s). */
|
|
5996
|
-
getParallelAssets?: Maybe<ParallelAssetsConnection>;
|
|
5997
6073
|
/** Returns changes made to Parallel card metadata over time. */
|
|
5998
6074
|
getParallelCardChanges?: Maybe<ParallelCardChangesConnection>;
|
|
5999
6075
|
/** Returns a list of Prime pool cached assets. */
|
|
@@ -6003,22 +6079,14 @@ export type Query = {
|
|
|
6003
6079
|
/** Returns a list of Prime pools. */
|
|
6004
6080
|
getPrimePools?: Maybe<PrimePoolConnection>;
|
|
6005
6081
|
getSimulateTokenContractResults: GetSimulateTokenContractResultsConnection;
|
|
6006
|
-
/** Returns metadata for a given pair. */
|
|
6082
|
+
/** Returns charting metadata for a given pair. Used for implementing a Trading View datafeed. */
|
|
6007
6083
|
getSymbol?: Maybe<SymbolResponse>;
|
|
6008
|
-
/** Returns the total count of tokens on Defined. This value is updated approximately every 6 hours. */
|
|
6009
|
-
getTokenCount: Scalars['String']['output'];
|
|
6010
6084
|
/** Returns transactions for a pair. */
|
|
6011
6085
|
getTokenEvents?: Maybe<EventConnection>;
|
|
6012
6086
|
/** Returns a list of token events for a given maker. */
|
|
6013
6087
|
getTokenEventsForMaker?: Maybe<MakerEventConnection>;
|
|
6014
|
-
/** Returns metadata for a given token. */
|
|
6015
|
-
getTokenInfo?: Maybe<TokenInfo>;
|
|
6016
6088
|
/** Returns real-time or historical prices for a list of tokens, fetched in batches. */
|
|
6017
6089
|
getTokenPrices?: Maybe<Array<Maybe<Price>>>;
|
|
6018
|
-
/** Returns metadata for a list of given tokens. */
|
|
6019
|
-
getTokensInfo?: Maybe<Array<Maybe<TokenInfo>>>;
|
|
6020
|
-
/** Returns tick data for a given Uniswap V3-style pool. */
|
|
6021
|
-
getUniV3Ticks?: Maybe<UniV3TickConnection>;
|
|
6022
6090
|
/** Returns a user's list of webhooks. */
|
|
6023
6091
|
getWebhooks?: Maybe<GetWebhooksResponse>;
|
|
6024
6092
|
/** Returns list of wallets that hold a given token, ordered by holdings descending. Also has the unique count of holders for that token */
|
|
@@ -6027,8 +6095,6 @@ export type Query = {
|
|
|
6027
6095
|
liquidityLocks?: Maybe<LiquidityLockConnection>;
|
|
6028
6096
|
/** Returns liquidity metadata for a given pair. Includes liquidity lock data. */
|
|
6029
6097
|
liquidityMetadata?: Maybe<LiquidityMetadata>;
|
|
6030
|
-
/** Returns a list of token metadata. */
|
|
6031
|
-
listFavoriteTokens?: Maybe<Array<TokenWithMetadata>>;
|
|
6032
6098
|
/** Returns a list of pairs containing a given token. */
|
|
6033
6099
|
listPairsForToken: Array<Maybe<Pair>>;
|
|
6034
6100
|
/** Returns a list of pair metadata for a token. */
|
|
@@ -6039,8 +6105,6 @@ export type Query = {
|
|
|
6039
6105
|
nftHolders: NftHoldersResponse;
|
|
6040
6106
|
/** Returns metadata for a pair of tokens. */
|
|
6041
6107
|
pairMetadata: PairMetadata;
|
|
6042
|
-
/** Fetch the balance of a wallet holding PRIME on ethereum */
|
|
6043
|
-
primeBalance: BalancesResponse;
|
|
6044
6108
|
/** Returns a list of holders of the PRIME token on ethereum. */
|
|
6045
6109
|
primeHolders: PrimeHolders;
|
|
6046
6110
|
/** Returns a list of NFT collections matching a given query string. */
|
|
@@ -6050,15 +6114,15 @@ export type Query = {
|
|
|
6050
6114
|
* @deprecated This query is no longer supported and will not return up to date data. Use `filterTokens` instead.
|
|
6051
6115
|
*/
|
|
6052
6116
|
searchTokens?: Maybe<TokenSearchResponse>;
|
|
6053
|
-
/**
|
|
6117
|
+
/** Returns a single token by its address & network id. */
|
|
6054
6118
|
token: EnhancedToken;
|
|
6055
6119
|
/** Returns a list of token lifecycle events. */
|
|
6056
6120
|
tokenLifecycleEvents?: Maybe<TokenLifecycleEventConnection>;
|
|
6057
6121
|
/** Returns a list of token simple chart data (sparklines) for the given tokens. */
|
|
6058
6122
|
tokenSparklines: Array<TokenSparkline>;
|
|
6059
|
-
/**
|
|
6123
|
+
/** Returns a list of tokens by their addresses & network id, with pagination. */
|
|
6060
6124
|
tokens: Array<Maybe<EnhancedToken>>;
|
|
6061
|
-
/**
|
|
6125
|
+
/** Returns the percentage of a token’s total supply held collectively by its top 10 holders. */
|
|
6062
6126
|
top10HoldersPercent?: Maybe<Scalars['Float']['output']>;
|
|
6063
6127
|
/** Returns list of NFT assets held by a given wallet for a single collection. */
|
|
6064
6128
|
walletNftCollectionAssets: WalletNftCollectionAssetsResponse;
|
|
@@ -6163,6 +6227,7 @@ export type QueryGetBarsArgs = {
|
|
|
6163
6227
|
resolution: Scalars['String']['input'];
|
|
6164
6228
|
statsType?: InputMaybe<TokenPairStatisticsType>;
|
|
6165
6229
|
symbol: Scalars['String']['input'];
|
|
6230
|
+
symbolType?: InputMaybe<SymbolType>;
|
|
6166
6231
|
to: Scalars['Int']['input'];
|
|
6167
6232
|
};
|
|
6168
6233
|
|
|
@@ -6344,13 +6409,6 @@ export type QueryGetNftPoolsByOwnerArgs = {
|
|
|
6344
6409
|
};
|
|
6345
6410
|
|
|
6346
6411
|
|
|
6347
|
-
export type QueryGetParallelAssetsArgs = {
|
|
6348
|
-
cursor?: InputMaybe<Scalars['String']['input']>;
|
|
6349
|
-
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
6350
|
-
tokenIds?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
6351
|
-
};
|
|
6352
|
-
|
|
6353
|
-
|
|
6354
6412
|
export type QueryGetParallelCardChangesArgs = {
|
|
6355
6413
|
cursor?: InputMaybe<Scalars['String']['input']>;
|
|
6356
6414
|
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
@@ -6420,30 +6478,11 @@ export type QueryGetTokenEventsForMakerArgs = {
|
|
|
6420
6478
|
};
|
|
6421
6479
|
|
|
6422
6480
|
|
|
6423
|
-
export type QueryGetTokenInfoArgs = {
|
|
6424
|
-
address: Scalars['String']['input'];
|
|
6425
|
-
networkId: Scalars['Int']['input'];
|
|
6426
|
-
};
|
|
6427
|
-
|
|
6428
|
-
|
|
6429
6481
|
export type QueryGetTokenPricesArgs = {
|
|
6430
6482
|
inputs?: InputMaybe<Array<InputMaybe<GetPriceInput>>>;
|
|
6431
6483
|
};
|
|
6432
6484
|
|
|
6433
6485
|
|
|
6434
|
-
export type QueryGetTokensInfoArgs = {
|
|
6435
|
-
input: Array<GetTokensInfoInput>;
|
|
6436
|
-
};
|
|
6437
|
-
|
|
6438
|
-
|
|
6439
|
-
export type QueryGetUniV3TicksArgs = {
|
|
6440
|
-
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
6441
|
-
networkId: Scalars['Int']['input'];
|
|
6442
|
-
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
6443
|
-
poolAddress: Scalars['String']['input'];
|
|
6444
|
-
};
|
|
6445
|
-
|
|
6446
|
-
|
|
6447
6486
|
export type QueryGetWebhooksArgs = {
|
|
6448
6487
|
bucketId?: InputMaybe<Scalars['String']['input']>;
|
|
6449
6488
|
bucketSortkey?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -6471,13 +6510,6 @@ export type QueryLiquidityMetadataArgs = {
|
|
|
6471
6510
|
};
|
|
6472
6511
|
|
|
6473
6512
|
|
|
6474
|
-
export type QueryListFavoriteTokensArgs = {
|
|
6475
|
-
keys: Array<Scalars['String']['input']>;
|
|
6476
|
-
networkFilter?: InputMaybe<Array<Scalars['Int']['input']>>;
|
|
6477
|
-
resolution?: InputMaybe<Scalars['String']['input']>;
|
|
6478
|
-
};
|
|
6479
|
-
|
|
6480
|
-
|
|
6481
6513
|
export type QueryListPairsForTokenArgs = {
|
|
6482
6514
|
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
6483
6515
|
networkId: Scalars['Int']['input'];
|
|
@@ -6511,11 +6543,6 @@ export type QueryPairMetadataArgs = {
|
|
|
6511
6543
|
};
|
|
6512
6544
|
|
|
6513
6545
|
|
|
6514
|
-
export type QueryPrimeBalanceArgs = {
|
|
6515
|
-
walletAddress: Scalars['String']['input'];
|
|
6516
|
-
};
|
|
6517
|
-
|
|
6518
|
-
|
|
6519
6546
|
export type QueryPrimeHoldersArgs = {
|
|
6520
6547
|
cursor?: InputMaybe<Scalars['String']['input']>;
|
|
6521
6548
|
};
|
|
@@ -7112,6 +7139,8 @@ export type Subscription = {
|
|
|
7112
7139
|
onEventLabelCreated?: Maybe<EventLabel>;
|
|
7113
7140
|
/** Live-streamed transactions for a token. */
|
|
7114
7141
|
onEventsCreated?: Maybe<AddEventsOutput>;
|
|
7142
|
+
/** Live-streamed list of wallets that hold a given token. Also has the unique count of holders for that token. */
|
|
7143
|
+
onHoldersUpdated?: Maybe<HoldersUpdate>;
|
|
7115
7144
|
/** Live-streamed updates for newly listed pairs. */
|
|
7116
7145
|
onLatestPairUpdated?: Maybe<LatestPair>;
|
|
7117
7146
|
onLatestTokens?: Maybe<LatestToken>;
|
|
@@ -7119,7 +7148,7 @@ export type Subscription = {
|
|
|
7119
7148
|
onNftAssetsCreated?: Maybe<NftAsset>;
|
|
7120
7149
|
/** Live-streamed transactions for an NFT collection. */
|
|
7121
7150
|
onNftEventsCreated?: Maybe<AddNftEventsOutput>;
|
|
7122
|
-
/** Live streamed
|
|
7151
|
+
/** Live streamed NFT pool events for a given pool address or collection address. */
|
|
7123
7152
|
onNftPoolEventsCreated?: Maybe<AddNftPoolEventsOutput>;
|
|
7124
7153
|
/** Live-streamed stat updates for a given token within a pair. */
|
|
7125
7154
|
onPairMetadataUpdated?: Maybe<PairMetadata>;
|
|
@@ -7130,9 +7159,9 @@ export type Subscription = {
|
|
|
7130
7159
|
onSimulateTokenContract: SimulateTokenContractResult;
|
|
7131
7160
|
/** Live-streamed bar chart data to track price changes over time for a token. */
|
|
7132
7161
|
onTokenBarsUpdated?: Maybe<OnTokenBarsUpdatedResponse>;
|
|
7133
|
-
/** Live
|
|
7162
|
+
/** Live-streamed events for a given token across all it's pools */
|
|
7134
7163
|
onTokenEventsCreated: AddTokenEventsOutput;
|
|
7135
|
-
/** Live-streamed token lifecycle events (mints and burns) */
|
|
7164
|
+
/** Live-streamed token lifecycle events (mints and burns). */
|
|
7136
7165
|
onTokenLifecycleEventsCreated: AddTokenLifecycleEventsOutput;
|
|
7137
7166
|
/** Unconfirmed live-streamed bar chart data to track price changes over time. (Solana only) */
|
|
7138
7167
|
onUnconfirmedBarsUpdated?: Maybe<OnUnconfirmedBarsUpdated>;
|
|
@@ -7167,6 +7196,11 @@ export type SubscriptionOnEventsCreatedArgs = {
|
|
|
7167
7196
|
};
|
|
7168
7197
|
|
|
7169
7198
|
|
|
7199
|
+
export type SubscriptionOnHoldersUpdatedArgs = {
|
|
7200
|
+
tokenId: Scalars['String']['input'];
|
|
7201
|
+
};
|
|
7202
|
+
|
|
7203
|
+
|
|
7170
7204
|
export type SubscriptionOnLatestPairUpdatedArgs = {
|
|
7171
7205
|
id?: InputMaybe<Scalars['String']['input']>;
|
|
7172
7206
|
networkId?: InputMaybe<Scalars['Int']['input']>;
|
|
@@ -7458,6 +7492,11 @@ export type SymbolResponse = {
|
|
|
7458
7492
|
ticker: Scalars['String']['output'];
|
|
7459
7493
|
};
|
|
7460
7494
|
|
|
7495
|
+
export enum SymbolType {
|
|
7496
|
+
Pool = 'POOL',
|
|
7497
|
+
Token = 'TOKEN'
|
|
7498
|
+
}
|
|
7499
|
+
|
|
7461
7500
|
/** Token burn event data. */
|
|
7462
7501
|
export type TokenBurnEventData = {
|
|
7463
7502
|
__typename?: 'TokenBurnEventData';
|
|
@@ -7489,6 +7528,8 @@ export type TokenFilterResult = {
|
|
|
7489
7528
|
buyCount1?: Maybe<Scalars['Int']['output']>;
|
|
7490
7529
|
/** The number of buys in the past 4 hours. */
|
|
7491
7530
|
buyCount4?: Maybe<Scalars['Int']['output']>;
|
|
7531
|
+
/** The number of buys in the past 5 minutes. */
|
|
7532
|
+
buyCount5m?: Maybe<Scalars['Int']['output']>;
|
|
7492
7533
|
/** The number of buys in the past 12 hours. */
|
|
7493
7534
|
buyCount12?: Maybe<Scalars['Int']['output']>;
|
|
7494
7535
|
/** The number of buys in the past 24 hours. */
|
|
@@ -7497,6 +7538,8 @@ export type TokenFilterResult = {
|
|
|
7497
7538
|
change1?: Maybe<Scalars['String']['output']>;
|
|
7498
7539
|
/** The percent price change in the past 4 hours. Decimal format. */
|
|
7499
7540
|
change4?: Maybe<Scalars['String']['output']>;
|
|
7541
|
+
/** The percent price change in the past 5 minutes. Decimal format. */
|
|
7542
|
+
change5m?: Maybe<Scalars['String']['output']>;
|
|
7500
7543
|
/** The percent price change in the past 12 hours. Decimal format. */
|
|
7501
7544
|
change12?: Maybe<Scalars['String']['output']>;
|
|
7502
7545
|
/** The percent price change in the past 24 hours. Decimal format. */
|
|
@@ -7511,6 +7554,8 @@ export type TokenFilterResult = {
|
|
|
7511
7554
|
high1?: Maybe<Scalars['String']['output']>;
|
|
7512
7555
|
/** The highest price in USD in the past 4 hours. */
|
|
7513
7556
|
high4?: Maybe<Scalars['String']['output']>;
|
|
7557
|
+
/** The highest price in USD in the past 5 minutes. */
|
|
7558
|
+
high5m?: Maybe<Scalars['String']['output']>;
|
|
7514
7559
|
/** The highest price in USD in the past 12 hours. */
|
|
7515
7560
|
high12?: Maybe<Scalars['String']['output']>;
|
|
7516
7561
|
/** The highest price in USD in the past 24 hours. */
|
|
@@ -7527,6 +7572,8 @@ export type TokenFilterResult = {
|
|
|
7527
7572
|
low1?: Maybe<Scalars['String']['output']>;
|
|
7528
7573
|
/** The lowest price in USD in the past 4 hours. */
|
|
7529
7574
|
low4?: Maybe<Scalars['String']['output']>;
|
|
7575
|
+
/** The lowest price in USD in the past 5 minutes. */
|
|
7576
|
+
low5m?: Maybe<Scalars['String']['output']>;
|
|
7530
7577
|
/** The lowest price in USD in the past 12 hours. */
|
|
7531
7578
|
low12?: Maybe<Scalars['String']['output']>;
|
|
7532
7579
|
/** The lowest price in USD in the past 24 hours. */
|
|
@@ -7543,6 +7590,8 @@ export type TokenFilterResult = {
|
|
|
7543
7590
|
sellCount1?: Maybe<Scalars['Int']['output']>;
|
|
7544
7591
|
/** The number of sells in the past 4 hours. */
|
|
7545
7592
|
sellCount4?: Maybe<Scalars['Int']['output']>;
|
|
7593
|
+
/** The number of sells in the past 5 minutes. */
|
|
7594
|
+
sellCount5m?: Maybe<Scalars['Int']['output']>;
|
|
7546
7595
|
/** The number of sells in the past 12 hours. */
|
|
7547
7596
|
sellCount12?: Maybe<Scalars['Int']['output']>;
|
|
7548
7597
|
/** The number of sells in the past 24 hours. */
|
|
@@ -7553,6 +7602,8 @@ export type TokenFilterResult = {
|
|
|
7553
7602
|
txnCount1?: Maybe<Scalars['Int']['output']>;
|
|
7554
7603
|
/** The number of transactions in the past 4 hours. */
|
|
7555
7604
|
txnCount4?: Maybe<Scalars['Int']['output']>;
|
|
7605
|
+
/** The number of transactions in the past 5 minutes. */
|
|
7606
|
+
txnCount5m?: Maybe<Scalars['Int']['output']>;
|
|
7556
7607
|
/** The number of transactions in the past 12 hours. */
|
|
7557
7608
|
txnCount12?: Maybe<Scalars['Int']['output']>;
|
|
7558
7609
|
/** The number of transactions in the past 24 hours. */
|
|
@@ -7561,6 +7612,8 @@ export type TokenFilterResult = {
|
|
|
7561
7612
|
uniqueBuys1?: Maybe<Scalars['Int']['output']>;
|
|
7562
7613
|
/** The unique number of buys in the past 4 hours. */
|
|
7563
7614
|
uniqueBuys4?: Maybe<Scalars['Int']['output']>;
|
|
7615
|
+
/** The unique number of buys in the past 5 minutes. */
|
|
7616
|
+
uniqueBuys5m?: Maybe<Scalars['Int']['output']>;
|
|
7564
7617
|
/** The unique number of buys in the past 12 hours. */
|
|
7565
7618
|
uniqueBuys12?: Maybe<Scalars['Int']['output']>;
|
|
7566
7619
|
/** The unique number of buys in the past 24 hours. */
|
|
@@ -7569,6 +7622,8 @@ export type TokenFilterResult = {
|
|
|
7569
7622
|
uniqueSells1?: Maybe<Scalars['Int']['output']>;
|
|
7570
7623
|
/** The unique number of sells in the past 4 hours. */
|
|
7571
7624
|
uniqueSells4?: Maybe<Scalars['Int']['output']>;
|
|
7625
|
+
/** The unique number of sells in the past 5 minutes. */
|
|
7626
|
+
uniqueSells5m?: Maybe<Scalars['Int']['output']>;
|
|
7572
7627
|
/** The unique number of sells in the past 12 hours. */
|
|
7573
7628
|
uniqueSells12?: Maybe<Scalars['Int']['output']>;
|
|
7574
7629
|
/** The unique number of sells in the past 24 hours. */
|
|
@@ -7577,6 +7632,8 @@ export type TokenFilterResult = {
|
|
|
7577
7632
|
uniqueTransactions1?: Maybe<Scalars['Int']['output']>;
|
|
7578
7633
|
/** The unique number of transactions in the past 4 hours. */
|
|
7579
7634
|
uniqueTransactions4?: Maybe<Scalars['Int']['output']>;
|
|
7635
|
+
/** The unique number of transactions in the past 5 minutes. */
|
|
7636
|
+
uniqueTransactions5m?: Maybe<Scalars['Int']['output']>;
|
|
7580
7637
|
/** The unique number of transactions in the past 12 hours. */
|
|
7581
7638
|
uniqueTransactions12?: Maybe<Scalars['Int']['output']>;
|
|
7582
7639
|
/** The unique number of transactions in the past 24 hours. */
|
|
@@ -7585,6 +7642,8 @@ export type TokenFilterResult = {
|
|
|
7585
7642
|
volume1?: Maybe<Scalars['String']['output']>;
|
|
7586
7643
|
/** The trade volume in USD in the past 4 hours. */
|
|
7587
7644
|
volume4?: Maybe<Scalars['String']['output']>;
|
|
7645
|
+
/** The trade volume in USD in the past 5 minutes. */
|
|
7646
|
+
volume5m?: Maybe<Scalars['String']['output']>;
|
|
7588
7647
|
/** The trade volume in USD in the past 12 hours. */
|
|
7589
7648
|
volume12?: Maybe<Scalars['String']['output']>;
|
|
7590
7649
|
/** The trade volume in USD in the past 24 hours. */
|
|
@@ -7593,6 +7652,8 @@ export type TokenFilterResult = {
|
|
|
7593
7652
|
volumeChange1?: Maybe<Scalars['String']['output']>;
|
|
7594
7653
|
/** The percent volume change in the past 4 hours. Decimal format. */
|
|
7595
7654
|
volumeChange4?: Maybe<Scalars['String']['output']>;
|
|
7655
|
+
/** The percent volume change in the past 5 minutes. Decimal format. */
|
|
7656
|
+
volumeChange5m?: Maybe<Scalars['String']['output']>;
|
|
7596
7657
|
/** The percent volume change in the past 12 hours. Decimal format. */
|
|
7597
7658
|
volumeChange12?: Maybe<Scalars['String']['output']>;
|
|
7598
7659
|
/** The percent volume change in the past 24 hours. Decimal format. */
|
|
@@ -7607,6 +7668,8 @@ export type TokenFilters = {
|
|
|
7607
7668
|
buyCount1?: InputMaybe<NumberFilter>;
|
|
7608
7669
|
/** The number of buys in the past 4 hours. */
|
|
7609
7670
|
buyCount4?: InputMaybe<NumberFilter>;
|
|
7671
|
+
/** The number of buys in the past 5 minutes. */
|
|
7672
|
+
buyCount5m?: InputMaybe<NumberFilter>;
|
|
7610
7673
|
/** The number of buys in the past 12 hours. */
|
|
7611
7674
|
buyCount12?: InputMaybe<NumberFilter>;
|
|
7612
7675
|
/** The number of buys in the past 24 hours. */
|
|
@@ -7615,6 +7678,8 @@ export type TokenFilters = {
|
|
|
7615
7678
|
change1?: InputMaybe<NumberFilter>;
|
|
7616
7679
|
/** The percent price change in the past 4 hours. Decimal format. */
|
|
7617
7680
|
change4?: InputMaybe<NumberFilter>;
|
|
7681
|
+
/** The percent price change in the past 5 minutes. Decimal format. */
|
|
7682
|
+
change5m?: InputMaybe<NumberFilter>;
|
|
7618
7683
|
/** The percent price change in the past 12 hours. Decimal format. */
|
|
7619
7684
|
change12?: InputMaybe<NumberFilter>;
|
|
7620
7685
|
/** The percent price change in the past 24 hours. Decimal format. */
|
|
@@ -7633,6 +7698,8 @@ export type TokenFilters = {
|
|
|
7633
7698
|
high1?: InputMaybe<NumberFilter>;
|
|
7634
7699
|
/** The highest price in USD in the past 4 hours. */
|
|
7635
7700
|
high4?: InputMaybe<NumberFilter>;
|
|
7701
|
+
/** The highest price in USD in the past 5 minutes. */
|
|
7702
|
+
high5m?: InputMaybe<NumberFilter>;
|
|
7636
7703
|
/** The highest price in USD in the past 12 hours. */
|
|
7637
7704
|
high12?: InputMaybe<NumberFilter>;
|
|
7638
7705
|
/** The highest price in USD in the past 24 hours. */
|
|
@@ -7651,6 +7718,8 @@ export type TokenFilters = {
|
|
|
7651
7718
|
low1?: InputMaybe<NumberFilter>;
|
|
7652
7719
|
/** The lowest price in USD in the past 4 hours. */
|
|
7653
7720
|
low4?: InputMaybe<NumberFilter>;
|
|
7721
|
+
/** The lowest price in USD in the past 5 minutes. */
|
|
7722
|
+
low5m?: InputMaybe<NumberFilter>;
|
|
7654
7723
|
/** The lowest price in USD in the past 12 hours. */
|
|
7655
7724
|
low12?: InputMaybe<NumberFilter>;
|
|
7656
7725
|
/** The lowest price in USD in the past 24 hours. */
|
|
@@ -7669,6 +7738,8 @@ export type TokenFilters = {
|
|
|
7669
7738
|
sellCount1?: InputMaybe<NumberFilter>;
|
|
7670
7739
|
/** The number of sells in the past 4 hours. */
|
|
7671
7740
|
sellCount4?: InputMaybe<NumberFilter>;
|
|
7741
|
+
/** The number of sells in the past 5 minutes. */
|
|
7742
|
+
sellCount5m?: InputMaybe<NumberFilter>;
|
|
7672
7743
|
/** The number of sells in the past 12 hours. */
|
|
7673
7744
|
sellCount12?: InputMaybe<NumberFilter>;
|
|
7674
7745
|
/** The number of sells in the past 24 hours. */
|
|
@@ -7679,6 +7750,8 @@ export type TokenFilters = {
|
|
|
7679
7750
|
txnCount1?: InputMaybe<NumberFilter>;
|
|
7680
7751
|
/** The number of transactions in the past 4 hours. */
|
|
7681
7752
|
txnCount4?: InputMaybe<NumberFilter>;
|
|
7753
|
+
/** The number of transactions in the past 5 minutes. */
|
|
7754
|
+
txnCount5m?: InputMaybe<NumberFilter>;
|
|
7682
7755
|
/** The number of transactions in the past 12 hours. */
|
|
7683
7756
|
txnCount12?: InputMaybe<NumberFilter>;
|
|
7684
7757
|
/** The number of transactions in the past 24 hours. */
|
|
@@ -7687,6 +7760,8 @@ export type TokenFilters = {
|
|
|
7687
7760
|
uniqueBuys1?: InputMaybe<NumberFilter>;
|
|
7688
7761
|
/** The unique number of buys in the past 4 hours. */
|
|
7689
7762
|
uniqueBuys4?: InputMaybe<NumberFilter>;
|
|
7763
|
+
/** The unique number of buys in the past 5 minutes. */
|
|
7764
|
+
uniqueBuys5m?: InputMaybe<NumberFilter>;
|
|
7690
7765
|
/** The unique number of buys in the past 12 hours. */
|
|
7691
7766
|
uniqueBuys12?: InputMaybe<NumberFilter>;
|
|
7692
7767
|
/** The unique number of buys in the past 24 hours. */
|
|
@@ -7695,6 +7770,8 @@ export type TokenFilters = {
|
|
|
7695
7770
|
uniqueSells1?: InputMaybe<NumberFilter>;
|
|
7696
7771
|
/** The unique number of sells in the past 4 hours. */
|
|
7697
7772
|
uniqueSells4?: InputMaybe<NumberFilter>;
|
|
7773
|
+
/** The unique number of sells in the past 5 minutes. */
|
|
7774
|
+
uniqueSells5m?: InputMaybe<NumberFilter>;
|
|
7698
7775
|
/** The unique number of sells in the past 12 hours. */
|
|
7699
7776
|
uniqueSells12?: InputMaybe<NumberFilter>;
|
|
7700
7777
|
/** The unique number of sells in the past 24 hours. */
|
|
@@ -7703,6 +7780,8 @@ export type TokenFilters = {
|
|
|
7703
7780
|
uniqueTransactions1?: InputMaybe<NumberFilter>;
|
|
7704
7781
|
/** The unique number of transactions in the past 4 hours. */
|
|
7705
7782
|
uniqueTransactions4?: InputMaybe<NumberFilter>;
|
|
7783
|
+
/** The unique number of transactions in the past 5 minutes. */
|
|
7784
|
+
uniqueTransactions5m?: InputMaybe<NumberFilter>;
|
|
7706
7785
|
/** The unique number of transactions in the past 12 hours. */
|
|
7707
7786
|
uniqueTransactions12?: InputMaybe<NumberFilter>;
|
|
7708
7787
|
/** The unique number of transactions in the past 24 hours. */
|
|
@@ -7711,6 +7790,8 @@ export type TokenFilters = {
|
|
|
7711
7790
|
volume1?: InputMaybe<NumberFilter>;
|
|
7712
7791
|
/** The trade volume in USD in the past 4 hours. */
|
|
7713
7792
|
volume4?: InputMaybe<NumberFilter>;
|
|
7793
|
+
/** The trade volume in USD in the past 5 minutes. */
|
|
7794
|
+
volume5m?: InputMaybe<NumberFilter>;
|
|
7714
7795
|
/** The trade volume in USD in the past 12 hours. */
|
|
7715
7796
|
volume12?: InputMaybe<NumberFilter>;
|
|
7716
7797
|
/** The trade volume in USD in the past 24 hours. */
|
|
@@ -7719,6 +7800,8 @@ export type TokenFilters = {
|
|
|
7719
7800
|
volumeChange1?: InputMaybe<NumberFilter>;
|
|
7720
7801
|
/** The percent volume change in the past 4 hours. Decimal format. */
|
|
7721
7802
|
volumeChange4?: InputMaybe<NumberFilter>;
|
|
7803
|
+
/** The percent volume change in the past 5 minutes. Decimal format. */
|
|
7804
|
+
volumeChange5m?: InputMaybe<NumberFilter>;
|
|
7722
7805
|
/** The percent volume change in the past 12 hours. Decimal format. */
|
|
7723
7806
|
volumeChange12?: InputMaybe<NumberFilter>;
|
|
7724
7807
|
/** The percent volume change in the past 24 hours. Decimal format. */
|
|
@@ -7795,10 +7878,12 @@ export type TokenLifecycleEvent = {
|
|
|
7795
7878
|
transactionIndex: Scalars['Int']['output'];
|
|
7796
7879
|
};
|
|
7797
7880
|
|
|
7798
|
-
/** Response returned by `
|
|
7881
|
+
/** Response returned by `tokenLifecycleEvents`. */
|
|
7799
7882
|
export type TokenLifecycleEventConnection = {
|
|
7800
7883
|
__typename?: 'TokenLifecycleEventConnection';
|
|
7884
|
+
/** A cursor for use in pagination. */
|
|
7801
7885
|
cursor?: Maybe<Scalars['String']['output']>;
|
|
7886
|
+
/** A list of transactions for a token's top pair. */
|
|
7802
7887
|
items: Array<Maybe<TokenLifecycleEvent>>;
|
|
7803
7888
|
};
|
|
7804
7889
|
|
|
@@ -7811,7 +7896,7 @@ export enum TokenLifecycleEventType {
|
|
|
7811
7896
|
Mint = 'MINT'
|
|
7812
7897
|
}
|
|
7813
7898
|
|
|
7814
|
-
/** Input type of `
|
|
7899
|
+
/** Input type of `tokenLifecycleEvents` query. */
|
|
7815
7900
|
export type TokenLifecycleEventsQueryInput = {
|
|
7816
7901
|
/** The token contract address to filter by. */
|
|
7817
7902
|
address: Scalars['String']['input'];
|
|
@@ -7918,15 +8003,18 @@ export enum TokenRankingAttribute {
|
|
|
7918
8003
|
Age = 'age',
|
|
7919
8004
|
BuyCount1 = 'buyCount1',
|
|
7920
8005
|
BuyCount4 = 'buyCount4',
|
|
8006
|
+
BuyCount5m = 'buyCount5m',
|
|
7921
8007
|
BuyCount12 = 'buyCount12',
|
|
7922
8008
|
BuyCount24 = 'buyCount24',
|
|
7923
8009
|
Change1 = 'change1',
|
|
7924
8010
|
Change4 = 'change4',
|
|
8011
|
+
Change5m = 'change5m',
|
|
7925
8012
|
Change12 = 'change12',
|
|
7926
8013
|
Change24 = 'change24',
|
|
7927
8014
|
CreatedAt = 'createdAt',
|
|
7928
8015
|
High1 = 'high1',
|
|
7929
8016
|
High4 = 'high4',
|
|
8017
|
+
High5m = 'high5m',
|
|
7930
8018
|
High12 = 'high12',
|
|
7931
8019
|
High24 = 'high24',
|
|
7932
8020
|
Holders = 'holders',
|
|
@@ -7934,6 +8022,7 @@ export enum TokenRankingAttribute {
|
|
|
7934
8022
|
Liquidity = 'liquidity',
|
|
7935
8023
|
Low1 = 'low1',
|
|
7936
8024
|
Low4 = 'low4',
|
|
8025
|
+
Low5m = 'low5m',
|
|
7937
8026
|
Low12 = 'low12',
|
|
7938
8027
|
Low24 = 'low24',
|
|
7939
8028
|
MarketCap = 'marketCap',
|
|
@@ -7941,6 +8030,7 @@ export enum TokenRankingAttribute {
|
|
|
7941
8030
|
PriceUsd = 'priceUSD',
|
|
7942
8031
|
SellCount1 = 'sellCount1',
|
|
7943
8032
|
SellCount4 = 'sellCount4',
|
|
8033
|
+
SellCount5m = 'sellCount5m',
|
|
7944
8034
|
SellCount12 = 'sellCount12',
|
|
7945
8035
|
SellCount24 = 'sellCount24',
|
|
7946
8036
|
TrendingScore = 'trendingScore',
|
|
@@ -7950,26 +8040,32 @@ export enum TokenRankingAttribute {
|
|
|
7950
8040
|
TrendingScore24 = 'trendingScore24',
|
|
7951
8041
|
TxnCount1 = 'txnCount1',
|
|
7952
8042
|
TxnCount4 = 'txnCount4',
|
|
8043
|
+
TxnCount5m = 'txnCount5m',
|
|
7953
8044
|
TxnCount12 = 'txnCount12',
|
|
7954
8045
|
TxnCount24 = 'txnCount24',
|
|
7955
8046
|
UniqueBuys1 = 'uniqueBuys1',
|
|
7956
8047
|
UniqueBuys4 = 'uniqueBuys4',
|
|
8048
|
+
UniqueBuys5m = 'uniqueBuys5m',
|
|
7957
8049
|
UniqueBuys12 = 'uniqueBuys12',
|
|
7958
8050
|
UniqueBuys24 = 'uniqueBuys24',
|
|
7959
8051
|
UniqueSells1 = 'uniqueSells1',
|
|
7960
8052
|
UniqueSells4 = 'uniqueSells4',
|
|
8053
|
+
UniqueSells5m = 'uniqueSells5m',
|
|
7961
8054
|
UniqueSells12 = 'uniqueSells12',
|
|
7962
8055
|
UniqueSells24 = 'uniqueSells24',
|
|
7963
8056
|
UniqueTransactions1 = 'uniqueTransactions1',
|
|
7964
8057
|
UniqueTransactions4 = 'uniqueTransactions4',
|
|
8058
|
+
UniqueTransactions5m = 'uniqueTransactions5m',
|
|
7965
8059
|
UniqueTransactions12 = 'uniqueTransactions12',
|
|
7966
8060
|
UniqueTransactions24 = 'uniqueTransactions24',
|
|
7967
8061
|
Volume1 = 'volume1',
|
|
7968
8062
|
Volume4 = 'volume4',
|
|
8063
|
+
Volume5m = 'volume5m',
|
|
7969
8064
|
Volume12 = 'volume12',
|
|
7970
8065
|
Volume24 = 'volume24',
|
|
7971
8066
|
VolumeChange1 = 'volumeChange1',
|
|
7972
8067
|
VolumeChange4 = 'volumeChange4',
|
|
8068
|
+
VolumeChange5m = 'volumeChange5m',
|
|
7973
8069
|
VolumeChange12 = 'volumeChange12',
|
|
7974
8070
|
VolumeChange24 = 'volumeChange24'
|
|
7975
8071
|
}
|
|
@@ -8170,6 +8266,8 @@ export type UnconfirmedResolutionBarData = {
|
|
|
8170
8266
|
|
|
8171
8267
|
export type UnconfirmedSwapEventData = {
|
|
8172
8268
|
__typename?: 'UnconfirmedSwapEventData';
|
|
8269
|
+
/** The amount of `baseToken` involved in the swap */
|
|
8270
|
+
amountBaseToken?: Maybe<Scalars['String']['output']>;
|
|
8173
8271
|
/** The amount of `quoteToken` involved in the swap. For example, if `quoteToken` is USDC for a USDC/WETH pair, `amountNonLiquidityToken` would be the amount of USDC involved in the swap. */
|
|
8174
8272
|
amountNonLiquidityToken?: Maybe<Scalars['String']['output']>;
|
|
8175
8273
|
/** The price per `quoteToken` at the time of the swap in the network's base token. For example, if `quoteToken` is USDC for a USDC/WETH pair on ETH network, `priceBaseToken` would the price of USDC in ETH. */
|
|
@@ -8184,23 +8282,10 @@ export type UnconfirmedSwapEventData = {
|
|
|
8184
8282
|
type: EventType;
|
|
8185
8283
|
};
|
|
8186
8284
|
|
|
8187
|
-
export type
|
|
8188
|
-
__typename?: '
|
|
8189
|
-
|
|
8190
|
-
|
|
8191
|
-
price1?: Maybe<Scalars['String']['output']>;
|
|
8192
|
-
tick?: Maybe<Scalars['Int']['output']>;
|
|
8193
|
-
};
|
|
8194
|
-
|
|
8195
|
-
/** Response returned by `getUniV3Ticks`. */
|
|
8196
|
-
export type UniV3TickConnection = {
|
|
8197
|
-
__typename?: 'UniV3TickConnection';
|
|
8198
|
-
/** The number of ticks returned. */
|
|
8199
|
-
count?: Maybe<Scalars['Int']['output']>;
|
|
8200
|
-
/** Where in the list the server started when returning items. */
|
|
8201
|
-
offset?: Maybe<Scalars['Int']['output']>;
|
|
8202
|
-
/** The list of Uni V3 ticks matching the filter parameters. */
|
|
8203
|
-
results?: Maybe<Array<Maybe<UniV3Tick>>>;
|
|
8285
|
+
export type WalletChartRange = {
|
|
8286
|
+
__typename?: 'WalletChartRange';
|
|
8287
|
+
end: Scalars['Int']['output'];
|
|
8288
|
+
start: Scalars['Int']['output'];
|
|
8204
8289
|
};
|
|
8205
8290
|
|
|
8206
8291
|
export type WalletNftCollection = {
|