@codex-data/sdk 1.0.5 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/resources/generated_queries/Balances.graphql +1 -0
- package/dist/resources/generated_queries/FilterPairs.graphql +64 -0
- package/dist/resources/generated_queries/FilterTokens.graphql +53 -0
- package/dist/resources/generated_queries/GetBars.graphql +26 -1
- package/dist/resources/generated_queries/GetCommunityNotes.graphql +13 -0
- package/dist/resources/generated_queries/GetDetailedPairStats.graphql +26 -0
- package/dist/resources/generated_queries/GetDetailedPairsStats.graphql +26 -0
- package/dist/resources/generated_queries/GetNetworkStats.graphql +7 -0
- package/dist/resources/generated_queries/GetTokenEvents.graphql +1 -0
- package/dist/resources/generated_queries/GetTokenEventsForMaker.graphql +1 -0
- package/dist/resources/generated_queries/Holders.graphql +1 -0
- package/dist/resources/generated_queries/LiquidityLocks.graphql +1 -1
- package/dist/resources/generated_queries/ListPairsForToken.graphql +26 -0
- package/dist/resources/generated_queries/ListPairsWithMetadataForToken.graphql +52 -0
- package/dist/resources/generated_queries/PairMetadata.graphql +26 -0
- package/dist/resources/generated_queries/PrimeHolders.graphql +1 -0
- package/dist/resources/generated_queries/Token.graphql +13 -0
- package/dist/resources/generated_queries/TokenTopTraders.graphql +26 -0
- package/dist/resources/generated_queries/Tokens.graphql +13 -0
- package/dist/resources/generated_subscriptions/OnBalanceUpdated.graphql +12 -0
- package/dist/resources/generated_subscriptions/OnEventsCreated.graphql +8 -1
- package/dist/resources/generated_subscriptions/OnHoldersUpdated.graphql +1 -0
- package/dist/resources/generated_subscriptions/OnLaunchpadTokenEvent.graphql +91 -0
- package/dist/resources/generated_subscriptions/OnLaunchpadTokenEventBatch.graphql +91 -0
- package/dist/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +26 -0
- package/dist/resources/generated_subscriptions/OnTokenBarsUpdated.graphql +6 -1
- package/dist/resources/generated_subscriptions/OnTokenEventsCreated.graphql +1 -0
- package/dist/resources/graphql.d.ts +402 -11
- package/dist/resources/graphql.d.ts.map +1 -1
- package/dist/resources/graphql.js +64 -2
- package/dist/resources/graphql.js.map +1 -1
- package/dist/resources/graphql.schema.json +2536 -23
- package/dist/resources/graphql.ts +418 -11
- package/dist/resources/schema.graphql +555 -10
- package/dist/resources/subscriptions_override/OnLaunchpadTokenEventBatch.graphql +91 -0
- package/dist/scripts/generateGraphql.js +3 -4
- package/dist/scripts/generateGraphql.js.map +1 -1
- package/dist/sdk/Mutation.d.ts +1 -1
- package/dist/sdk/Mutation.d.ts.map +1 -1
- package/dist/sdk/Mutation.js +1 -1
- package/dist/sdk/Mutation.js.map +1 -1
- package/dist/sdk/Query.d.ts +50 -50
- package/dist/sdk/Query.d.ts.map +1 -1
- package/dist/sdk/Query.js +49 -49
- package/dist/sdk/Query.js.map +1 -1
- package/dist/sdk/Subscribe.d.ts +17 -14
- package/dist/sdk/Subscribe.d.ts.map +1 -1
- package/dist/sdk/Subscribe.js +179 -71
- package/dist/sdk/Subscribe.js.map +1 -1
- package/dist/sdk/generated/gql.d.ts +76 -55
- package/dist/sdk/generated/gql.d.ts.map +1 -1
- package/dist/sdk/generated/gql.js +27 -24
- package/dist/sdk/generated/gql.js.map +1 -1
- package/dist/sdk/generated/graphql.d.ts +1075 -62
- package/dist/sdk/generated/graphql.d.ts.map +1 -1
- package/dist/sdk/generated/graphql.js +93 -28
- package/dist/sdk/generated/graphql.js.map +1 -1
- package/package.json +2 -2
- package/src/resources/generated_queries/Balances.graphql +1 -0
- package/src/resources/generated_queries/FilterPairs.graphql +64 -0
- package/src/resources/generated_queries/FilterTokens.graphql +53 -0
- package/src/resources/generated_queries/GetBars.graphql +26 -1
- package/src/resources/generated_queries/GetCommunityNotes.graphql +13 -0
- package/src/resources/generated_queries/GetDetailedPairStats.graphql +26 -0
- package/src/resources/generated_queries/GetDetailedPairsStats.graphql +26 -0
- package/src/resources/generated_queries/GetNetworkStats.graphql +7 -0
- package/src/resources/generated_queries/GetTokenEvents.graphql +1 -0
- package/src/resources/generated_queries/GetTokenEventsForMaker.graphql +1 -0
- package/src/resources/generated_queries/Holders.graphql +1 -0
- package/src/resources/generated_queries/LiquidityLocks.graphql +1 -1
- package/src/resources/generated_queries/ListPairsForToken.graphql +26 -0
- package/src/resources/generated_queries/ListPairsWithMetadataForToken.graphql +52 -0
- package/src/resources/generated_queries/PairMetadata.graphql +26 -0
- package/src/resources/generated_queries/PrimeHolders.graphql +1 -0
- package/src/resources/generated_queries/Token.graphql +13 -0
- package/src/resources/generated_queries/TokenTopTraders.graphql +26 -0
- package/src/resources/generated_queries/Tokens.graphql +13 -0
- package/src/resources/generated_subscriptions/OnBalanceUpdated.graphql +12 -0
- package/src/resources/generated_subscriptions/OnEventsCreated.graphql +8 -1
- package/src/resources/generated_subscriptions/OnHoldersUpdated.graphql +1 -0
- package/src/resources/generated_subscriptions/OnLaunchpadTokenEvent.graphql +91 -0
- package/src/resources/generated_subscriptions/OnLaunchpadTokenEventBatch.graphql +91 -0
- package/src/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +26 -0
- package/src/resources/generated_subscriptions/OnTokenBarsUpdated.graphql +6 -1
- package/src/resources/generated_subscriptions/OnTokenEventsCreated.graphql +1 -0
- package/src/resources/graphql.schema.json +2536 -23
- package/src/resources/graphql.ts +418 -11
- package/src/resources/schema.graphql +555 -10
- package/src/resources/subscriptions_override/OnLaunchpadTokenEventBatch.graphql +91 -0
- package/src/scripts/generateGraphql.ts +2 -4
- package/src/sdk/Mutation.ts +2 -2
- package/src/sdk/Query.ts +105 -105
- package/src/sdk/Subscribe.ts +245 -113
- package/src/sdk/generated/gql.ts +66 -51
- package/src/sdk/generated/graphql.ts +495 -66
- package/dist/resources/generated_queries/GetLatestTokens.graphql +0 -39
- package/src/resources/generated_queries/GetLatestTokens.graphql +0 -39
|
@@ -165,9 +165,12 @@ type Balance {
|
|
|
165
165
|
"""The ID of the token (`tokenAddress:networkId`)."""
|
|
166
166
|
tokenId: String!
|
|
167
167
|
|
|
168
|
-
"""The wallet address"""
|
|
168
|
+
"""The wallet address."""
|
|
169
169
|
address: String!
|
|
170
170
|
|
|
171
|
+
"""The wallet network."""
|
|
172
|
+
networkId: Int!
|
|
173
|
+
|
|
171
174
|
"""The contract address of the token."""
|
|
172
175
|
tokenAddress: String!
|
|
173
176
|
|
|
@@ -179,24 +182,38 @@ type Balance {
|
|
|
179
182
|
"""
|
|
180
183
|
shiftedBalance: Float!
|
|
181
184
|
|
|
182
|
-
"""The time that this address first held a token"""
|
|
185
|
+
"""The time that this address first held a token."""
|
|
183
186
|
firstHeldTimestamp: Int
|
|
184
187
|
}
|
|
185
188
|
|
|
186
189
|
input BalancesInput {
|
|
187
190
|
"""The ID of the wallet (`walletAddress:networkId`)."""
|
|
188
|
-
walletId: String
|
|
191
|
+
walletId: String @deprecated(reason: "Use walletAddress and networkId instead")
|
|
192
|
+
|
|
193
|
+
"""The wallet address to filter by."""
|
|
194
|
+
walletAddress: String
|
|
189
195
|
|
|
190
196
|
"""A cursor for use in pagination."""
|
|
191
197
|
cursor: String
|
|
192
198
|
|
|
193
|
-
"""
|
|
194
|
-
|
|
199
|
+
"""The network IDs to filter by."""
|
|
200
|
+
networks: [Int!]
|
|
201
|
+
|
|
202
|
+
"""
|
|
203
|
+
The token IDs (`address:networkId`) or addresses to request the balance for. Only applied when using `walletAddress` and `networks` (not `walletId`).
|
|
204
|
+
"""
|
|
205
|
+
tokens: [String!]
|
|
206
|
+
|
|
207
|
+
"""Optional token specifically request the balance for."""
|
|
208
|
+
filterToken: String @deprecated(reason: "Use tokens list instead")
|
|
195
209
|
|
|
196
210
|
"""
|
|
197
211
|
If set to true, native tokens in the response, they will have the id: native:<networkId>
|
|
198
212
|
"""
|
|
199
213
|
includeNative: Boolean
|
|
214
|
+
|
|
215
|
+
"""The maximum number of holdings to return."""
|
|
216
|
+
limit: Int
|
|
200
217
|
}
|
|
201
218
|
|
|
202
219
|
type BalancesResponse {
|
|
@@ -222,7 +239,7 @@ type BarsResponse {
|
|
|
222
239
|
c: [Float]!
|
|
223
240
|
|
|
224
241
|
"""The volume."""
|
|
225
|
-
v: [Int]!
|
|
242
|
+
v: [Int]! @deprecated(reason: "Use volume field instead")
|
|
226
243
|
|
|
227
244
|
"""The timestamp for the bar."""
|
|
228
245
|
t: [Int!]!
|
|
@@ -1188,6 +1205,9 @@ type EnhancedToken {
|
|
|
1188
1205
|
|
|
1189
1206
|
"""Whether or not the token is freezable"""
|
|
1190
1207
|
freezable: String
|
|
1208
|
+
|
|
1209
|
+
"""The launchpad data for the token, if applicable."""
|
|
1210
|
+
launchpad: LaunchpadData
|
|
1191
1211
|
}
|
|
1192
1212
|
|
|
1193
1213
|
enum Entitlement {
|
|
@@ -1293,6 +1313,9 @@ type Event {
|
|
|
1293
1313
|
|
|
1294
1314
|
"""Labels attributed to the event."""
|
|
1295
1315
|
labels: LabelsForEvent
|
|
1316
|
+
|
|
1317
|
+
"""The age of the wallet in seconds."""
|
|
1318
|
+
walletAge: Int
|
|
1296
1319
|
}
|
|
1297
1320
|
|
|
1298
1321
|
"""Response returned by `getTokenEvents`."""
|
|
@@ -1419,6 +1442,9 @@ input EventsQueryInput {
|
|
|
1419
1442
|
The total amount of `quoteToken` involved in the swap in USD (`amountNonLiquidityToken` x `priceUsd`).
|
|
1420
1443
|
"""
|
|
1421
1444
|
priceUsdTotal: NumberFilter
|
|
1445
|
+
|
|
1446
|
+
"""Specify the type of symbol you want to fetch values for (TOKEN | POOL)"""
|
|
1447
|
+
symbolType: SymbolType
|
|
1422
1448
|
}
|
|
1423
1449
|
|
|
1424
1450
|
"""The event type for a token transaction."""
|
|
@@ -1756,6 +1782,24 @@ type GetNetworkStatsResponse {
|
|
|
1756
1782
|
"""The network trade volume in USD over the past hour."""
|
|
1757
1783
|
volume1: Float!
|
|
1758
1784
|
|
|
1785
|
+
"""The network trade volume in USD over the past 5 minutes."""
|
|
1786
|
+
volume5m: Float!
|
|
1787
|
+
|
|
1788
|
+
"""The network trade volume change over the last 24 hours"""
|
|
1789
|
+
volumeChange24: Float!
|
|
1790
|
+
|
|
1791
|
+
"""The network trade volume change over the last 12 hours"""
|
|
1792
|
+
volumeChange12: Float!
|
|
1793
|
+
|
|
1794
|
+
"""The network trade volume change over the last 4 hours"""
|
|
1795
|
+
volumeChange4: Float!
|
|
1796
|
+
|
|
1797
|
+
"""The network trade volume change over the last hour"""
|
|
1798
|
+
volumeChange1: Float!
|
|
1799
|
+
|
|
1800
|
+
"""The network trade volume change over the last 5 minutes"""
|
|
1801
|
+
volumeChange5m: Float!
|
|
1802
|
+
|
|
1759
1803
|
"""The network liquidity in USD."""
|
|
1760
1804
|
liquidity: Float!
|
|
1761
1805
|
|
|
@@ -1770,6 +1814,9 @@ type GetNetworkStatsResponse {
|
|
|
1770
1814
|
|
|
1771
1815
|
"""The unique number of transactions in the past hour."""
|
|
1772
1816
|
transactions1: Int!
|
|
1817
|
+
|
|
1818
|
+
"""The unique number of transactions in the past 5 minutes."""
|
|
1819
|
+
transactions5m: Int!
|
|
1773
1820
|
}
|
|
1774
1821
|
|
|
1775
1822
|
"""Response returned by `getNftPoolCollectionsByExchange`."""
|
|
@@ -2219,6 +2266,107 @@ type LatestTokenSimResults {
|
|
|
2219
2266
|
openTradingCall: String
|
|
2220
2267
|
}
|
|
2221
2268
|
|
|
2269
|
+
type LaunchpadData {
|
|
2270
|
+
"""The name of the launchpad."""
|
|
2271
|
+
name: String
|
|
2272
|
+
|
|
2273
|
+
"""The percentage of the pool that was sold to the public."""
|
|
2274
|
+
graduationPercent: Float
|
|
2275
|
+
|
|
2276
|
+
"""The address of the pool."""
|
|
2277
|
+
poolAddress: String
|
|
2278
|
+
|
|
2279
|
+
"""The unix timestamp when the launchpad was completed."""
|
|
2280
|
+
completedAt: Int
|
|
2281
|
+
|
|
2282
|
+
"""Indicates if the launchpad is completed."""
|
|
2283
|
+
completed: Boolean
|
|
2284
|
+
|
|
2285
|
+
"""The slot number when the launchpad was completed."""
|
|
2286
|
+
completedSlot: Int
|
|
2287
|
+
|
|
2288
|
+
"""The slot number when the launchpad was migrated."""
|
|
2289
|
+
migratedSlot: Int
|
|
2290
|
+
|
|
2291
|
+
"""The unix timestamp when the launchpad was migrated."""
|
|
2292
|
+
migratedAt: Int
|
|
2293
|
+
|
|
2294
|
+
"""Indicates if the launchpad was migrated."""
|
|
2295
|
+
migrated: Boolean
|
|
2296
|
+
|
|
2297
|
+
"""The pool address after the launchpad was migrated."""
|
|
2298
|
+
migratedPoolAddress: String
|
|
2299
|
+
|
|
2300
|
+
"""The launchpad protocol"""
|
|
2301
|
+
launchpadProtocol: String
|
|
2302
|
+
}
|
|
2303
|
+
|
|
2304
|
+
"""Response returned by `onLaunchpadTokenEvent`."""
|
|
2305
|
+
type LaunchpadTokenEventOutput {
|
|
2306
|
+
"""The contract address of the token."""
|
|
2307
|
+
address: String!
|
|
2308
|
+
|
|
2309
|
+
"""The network ID that the token is deployed on."""
|
|
2310
|
+
networkId: Int!
|
|
2311
|
+
|
|
2312
|
+
"""The protocol of the token."""
|
|
2313
|
+
protocol: String!
|
|
2314
|
+
|
|
2315
|
+
"""Metadata for the token."""
|
|
2316
|
+
token: EnhancedToken!
|
|
2317
|
+
|
|
2318
|
+
"""The number of buys in the last 24 hours."""
|
|
2319
|
+
buyCount1: Int
|
|
2320
|
+
|
|
2321
|
+
"""The type of event."""
|
|
2322
|
+
eventType: LaunchpadTokenEventType!
|
|
2323
|
+
|
|
2324
|
+
"""The number of holders."""
|
|
2325
|
+
holders: Int
|
|
2326
|
+
|
|
2327
|
+
"""The market cap of the token."""
|
|
2328
|
+
marketCap: String
|
|
2329
|
+
|
|
2330
|
+
"""The price of the token."""
|
|
2331
|
+
price: Float
|
|
2332
|
+
|
|
2333
|
+
"""The number of sells in the last 24 hours."""
|
|
2334
|
+
sellCount1: Int
|
|
2335
|
+
|
|
2336
|
+
"""The volume of the token in the last 24 hours."""
|
|
2337
|
+
volume1: Int
|
|
2338
|
+
|
|
2339
|
+
"""The number of transactions in the last 24 hours."""
|
|
2340
|
+
transactions1: Int
|
|
2341
|
+
}
|
|
2342
|
+
|
|
2343
|
+
"""
|
|
2344
|
+
The type of event. Note that associated statistics such as `buyCount1`, `price`, etc. are only available for `Updated` events.
|
|
2345
|
+
"""
|
|
2346
|
+
enum LaunchpadTokenEventType {
|
|
2347
|
+
"""The token has been discovered"""
|
|
2348
|
+
Deployed
|
|
2349
|
+
|
|
2350
|
+
"""The token has been created with metadata"""
|
|
2351
|
+
Created
|
|
2352
|
+
|
|
2353
|
+
"""The token's statistics have been updated"""
|
|
2354
|
+
Updated
|
|
2355
|
+
|
|
2356
|
+
"""The token has been completed"""
|
|
2357
|
+
Completed
|
|
2358
|
+
|
|
2359
|
+
"""The token has been migrated"""
|
|
2360
|
+
Migrated
|
|
2361
|
+
}
|
|
2362
|
+
|
|
2363
|
+
"""The protocol of the token."""
|
|
2364
|
+
enum LaunchpadTokenProtocol {
|
|
2365
|
+
Pump
|
|
2366
|
+
FourMeme
|
|
2367
|
+
RaydiumLaunchpad
|
|
2368
|
+
}
|
|
2369
|
+
|
|
2222
2370
|
scalar link__Import
|
|
2223
2371
|
|
|
2224
2372
|
enum link__Purpose {
|
|
@@ -2265,7 +2413,10 @@ type LiquidityLock {
|
|
|
2265
2413
|
lockProtocol: LiquidityLockProtocol!
|
|
2266
2414
|
|
|
2267
2415
|
"""The protocol that created the pair"""
|
|
2268
|
-
liquidityProtocol: LiquidityProtocol!
|
|
2416
|
+
liquidityProtocol: LiquidityProtocol! @deprecated(reason: "Use liquidityProtocolV2 instead")
|
|
2417
|
+
|
|
2418
|
+
"""The protocol that created the pair"""
|
|
2419
|
+
liquidityProtocolV2: String!
|
|
2269
2420
|
|
|
2270
2421
|
"""The amount of liquidity locked."""
|
|
2271
2422
|
liquidityAmount: String!
|
|
@@ -2322,6 +2473,8 @@ enum LiquidityProtocol {
|
|
|
2322
2473
|
UNISWAP_V3
|
|
2323
2474
|
UNISWAP_V2
|
|
2324
2475
|
RAYDIUM_V4
|
|
2476
|
+
PUMP_V1
|
|
2477
|
+
USE_LIQUIDITY_PROTOCOL_V2
|
|
2325
2478
|
}
|
|
2326
2479
|
|
|
2327
2480
|
"""Response returned by `listPairsWithMetadataForToken`."""
|
|
@@ -6072,6 +6225,25 @@ input OneOfNumberConditionInput {
|
|
|
6072
6225
|
oneOf: [Int!]!
|
|
6073
6226
|
}
|
|
6074
6227
|
|
|
6228
|
+
"""Input for `onLaunchpadTokenEvent`."""
|
|
6229
|
+
input OnLaunchpadTokenEventInput {
|
|
6230
|
+
"""The protocol of the token."""
|
|
6231
|
+
protocol: LaunchpadTokenProtocol
|
|
6232
|
+
|
|
6233
|
+
"""The type of event."""
|
|
6234
|
+
eventType: LaunchpadTokenEventType
|
|
6235
|
+
|
|
6236
|
+
"""
|
|
6237
|
+
The contract address of the token. Required when `networkId` is provided.
|
|
6238
|
+
"""
|
|
6239
|
+
address: String
|
|
6240
|
+
|
|
6241
|
+
"""
|
|
6242
|
+
The network ID that the token is deployed on. Required when `address` is provided.
|
|
6243
|
+
"""
|
|
6244
|
+
networkId: Int
|
|
6245
|
+
}
|
|
6246
|
+
|
|
6075
6247
|
input OnPricesUpdatedInput {
|
|
6076
6248
|
address: String!
|
|
6077
6249
|
networkId: Int!
|
|
@@ -6115,7 +6287,7 @@ type OnTokenBarsUpdatedResponse {
|
|
|
6115
6287
|
}
|
|
6116
6288
|
|
|
6117
6289
|
input OnTokenEventsCreatedInput {
|
|
6118
|
-
tokenAddress: String
|
|
6290
|
+
tokenAddress: String
|
|
6119
6291
|
networkId: Int!
|
|
6120
6292
|
}
|
|
6121
6293
|
|
|
@@ -6438,6 +6610,48 @@ type PairFilterResult {
|
|
|
6438
6610
|
|
|
6439
6611
|
"""The trade volume in USD in the past 24 hours."""
|
|
6440
6612
|
volumeUSD24: String
|
|
6613
|
+
|
|
6614
|
+
"""The buy volume in USD in the past hour."""
|
|
6615
|
+
buyVolumeUSD1: String
|
|
6616
|
+
|
|
6617
|
+
"""The buy volume in USD in the past 12 hours."""
|
|
6618
|
+
buyVolumeUSD12: String
|
|
6619
|
+
|
|
6620
|
+
"""The buy volume in USD in the past 24 hours."""
|
|
6621
|
+
buyVolumeUSD24: String
|
|
6622
|
+
|
|
6623
|
+
"""The buy volume in USD in the past 4 hours."""
|
|
6624
|
+
buyVolumeUSD4: String
|
|
6625
|
+
|
|
6626
|
+
"""The sell volume in USD in the past hour."""
|
|
6627
|
+
sellVolumeUSD1: String
|
|
6628
|
+
|
|
6629
|
+
"""The sell volume in USD in the past 12 hours."""
|
|
6630
|
+
sellVolumeUSD12: String
|
|
6631
|
+
|
|
6632
|
+
"""The sell volume in USD in the past 24 hours."""
|
|
6633
|
+
sellVolumeUSD24: String
|
|
6634
|
+
|
|
6635
|
+
"""The sell volume in USD in the past 4 hours."""
|
|
6636
|
+
sellVolumeUSD4: String
|
|
6637
|
+
|
|
6638
|
+
"""The average age of the wallets that traded in the last 24h"""
|
|
6639
|
+
walletAgeAvg: String
|
|
6640
|
+
|
|
6641
|
+
"""
|
|
6642
|
+
The standard deviation of age of the wallets that traded in the last 24h
|
|
6643
|
+
"""
|
|
6644
|
+
walletAgeStd: String
|
|
6645
|
+
|
|
6646
|
+
"""
|
|
6647
|
+
The percentage of wallets that are less than 1d old that have traded in the last 24h
|
|
6648
|
+
"""
|
|
6649
|
+
swapPct1dOldWallet: String
|
|
6650
|
+
|
|
6651
|
+
"""
|
|
6652
|
+
The percentage of wallets that are less than 7d old that have traded in the last 24h
|
|
6653
|
+
"""
|
|
6654
|
+
swapPct7dOldWallet: String
|
|
6441
6655
|
}
|
|
6442
6656
|
|
|
6443
6657
|
"""Input type of `PairFilters`."""
|
|
@@ -6598,11 +6812,58 @@ input PairFilters {
|
|
|
6598
6812
|
"""The trade volume in USD in the past 4 hours."""
|
|
6599
6813
|
volumeUSD4: NumberFilter
|
|
6600
6814
|
|
|
6815
|
+
"""The buy volume in USD in the past hour."""
|
|
6816
|
+
buyVolumeUSD1: NumberFilter
|
|
6817
|
+
|
|
6818
|
+
"""The buy volume in USD in the past 12 hours."""
|
|
6819
|
+
buyVolumeUSD12: NumberFilter
|
|
6820
|
+
|
|
6821
|
+
"""The buy volume in USD in the past 24 hours."""
|
|
6822
|
+
buyVolumeUSD24: NumberFilter
|
|
6823
|
+
|
|
6824
|
+
"""The buy volume in USD in the past 4 hours."""
|
|
6825
|
+
buyVolumeUSD4: NumberFilter
|
|
6826
|
+
|
|
6827
|
+
"""The sell volume in USD in the past hour."""
|
|
6828
|
+
sellVolumeUSD1: NumberFilter
|
|
6829
|
+
|
|
6830
|
+
"""The sell volume in USD in the past 12 hours."""
|
|
6831
|
+
sellVolumeUSD12: NumberFilter
|
|
6832
|
+
|
|
6833
|
+
"""The sell volume in USD in the past 24 hours."""
|
|
6834
|
+
sellVolumeUSD24: NumberFilter
|
|
6835
|
+
|
|
6836
|
+
"""The sell volume in USD in the past 4 hours."""
|
|
6837
|
+
sellVolumeUSD4: NumberFilter
|
|
6838
|
+
|
|
6601
6839
|
"""Filter potential Scams"""
|
|
6602
6840
|
potentialScam: Boolean
|
|
6603
6841
|
|
|
6604
6842
|
"""Whether to ignore pairs/tokens not relevant to trending"""
|
|
6605
6843
|
trendingIgnored: Boolean
|
|
6844
|
+
|
|
6845
|
+
"""
|
|
6846
|
+
Whether to filter for pairs on testnet networks. Use `true` for testnet pairs only, `false` for mainnet pairs only and `undefined` (default) for both.
|
|
6847
|
+
"""
|
|
6848
|
+
isTestnet: Boolean
|
|
6849
|
+
|
|
6850
|
+
"""The average age of the wallets that traded in the last 24h"""
|
|
6851
|
+
walletAgeAvg: NumberFilter
|
|
6852
|
+
|
|
6853
|
+
"""
|
|
6854
|
+
The standard deviation of age of the wallets that traded in the last 24h
|
|
6855
|
+
"""
|
|
6856
|
+
walletAgeStd: NumberFilter
|
|
6857
|
+
|
|
6858
|
+
"""
|
|
6859
|
+
The percentage of wallets that are less than 1d old that have traded in the last 24h
|
|
6860
|
+
"""
|
|
6861
|
+
swapPct1dOldWallet: NumberFilter
|
|
6862
|
+
|
|
6863
|
+
"""
|
|
6864
|
+
The percentage of wallets that are less than 7d old that have traded in the last 24h
|
|
6865
|
+
"""
|
|
6866
|
+
swapPct7dOldWallet: NumberFilter
|
|
6606
6867
|
}
|
|
6607
6868
|
|
|
6608
6869
|
type PairMetadata {
|
|
@@ -6789,6 +7050,7 @@ enum PairRankingAttribute {
|
|
|
6789
7050
|
sellCount12
|
|
6790
7051
|
sellCount24
|
|
6791
7052
|
trendingScore
|
|
7053
|
+
trendingScore5m
|
|
6792
7054
|
trendingScore1
|
|
6793
7055
|
trendingScore4
|
|
6794
7056
|
trendingScore12
|
|
@@ -6813,6 +7075,18 @@ enum PairRankingAttribute {
|
|
|
6813
7075
|
volumeUSD4
|
|
6814
7076
|
volumeUSD12
|
|
6815
7077
|
volumeUSD24
|
|
7078
|
+
buyVolumeUSD1
|
|
7079
|
+
buyVolumeUSD4
|
|
7080
|
+
buyVolumeUSD12
|
|
7081
|
+
buyVolumeUSD24
|
|
7082
|
+
sellVolumeUSD1
|
|
7083
|
+
sellVolumeUSD4
|
|
7084
|
+
sellVolumeUSD12
|
|
7085
|
+
sellVolumeUSD24
|
|
7086
|
+
walletAgeAvg
|
|
7087
|
+
walletAgeStd
|
|
7088
|
+
swapPct1dOldWallet
|
|
7089
|
+
swapPct7dOldWallet
|
|
6816
7090
|
}
|
|
6817
7091
|
|
|
6818
7092
|
"""Response returned by `filterNftParallelAssets`."""
|
|
@@ -8438,7 +8712,7 @@ type Query {
|
|
|
8438
8712
|
"""
|
|
8439
8713
|
tokens: [String]
|
|
8440
8714
|
|
|
8441
|
-
"""A list of token IDs to exclude from results
|
|
8715
|
+
"""A list of token IDs (`address:networkId`) to exclude from results"""
|
|
8442
8716
|
excludeTokens: [String]
|
|
8443
8717
|
|
|
8444
8718
|
"""A list of ranking attributes to apply."""
|
|
@@ -8862,7 +9136,7 @@ type Query {
|
|
|
8862
9136
|
|
|
8863
9137
|
"""The offset to use for pagination."""
|
|
8864
9138
|
offset: Int
|
|
8865
|
-
): LatestTokenConnection
|
|
9139
|
+
): LatestTokenConnection @deprecated(reason: "This query is no longer supported. Use `filterTokens` with a createdAt: DESC filter instead.")
|
|
8866
9140
|
|
|
8867
9141
|
"""Returns liquidity locks for a given pair."""
|
|
8868
9142
|
liquidityLocks(
|
|
@@ -8887,6 +9161,9 @@ type Query {
|
|
|
8887
9161
|
networkId: Int!
|
|
8888
9162
|
): LiquidityMetadata
|
|
8889
9163
|
|
|
9164
|
+
"""Returns a list of top traders for a given token."""
|
|
9165
|
+
tokenTopTraders(input: TokenTopTradersInput!): TokenTopTradersConnection!
|
|
9166
|
+
|
|
8890
9167
|
"""Returns community gathered notes."""
|
|
8891
9168
|
getCommunityNotes(input: CommunityNotesInput): CommunityNotesResponse!
|
|
8892
9169
|
}
|
|
@@ -9418,6 +9695,25 @@ type SparklineValue {
|
|
|
9418
9695
|
value: Float!
|
|
9419
9696
|
}
|
|
9420
9697
|
|
|
9698
|
+
type StarknetNetworkConfig {
|
|
9699
|
+
id: ID!
|
|
9700
|
+
networkId: Int!
|
|
9701
|
+
baseTokenAddress: String!
|
|
9702
|
+
baseTokenSymbol: String!
|
|
9703
|
+
color: String
|
|
9704
|
+
defaultPairAddress: String!
|
|
9705
|
+
defaultPairQuoteToken: QuoteToken!
|
|
9706
|
+
enabled: Boolean!
|
|
9707
|
+
newTokensEnabled: Boolean
|
|
9708
|
+
mainnet: Boolean!
|
|
9709
|
+
name: String!
|
|
9710
|
+
networkIconUrl: String!
|
|
9711
|
+
networkName: String!
|
|
9712
|
+
networkShortName: String!
|
|
9713
|
+
stableCoinAddresses: [String!]
|
|
9714
|
+
wrappedBaseTokenSymbol: String!
|
|
9715
|
+
}
|
|
9716
|
+
|
|
9421
9717
|
"""Currency stats."""
|
|
9422
9718
|
input statsCurrency {
|
|
9423
9719
|
"""The volume over the time frame."""
|
|
@@ -9600,6 +9896,9 @@ type Subscription {
|
|
|
9600
9896
|
|
|
9601
9897
|
"""docs: hide"""
|
|
9602
9898
|
statsType: TokenPairStatisticsType
|
|
9899
|
+
|
|
9900
|
+
"""The networkId to use when getting all bars per network"""
|
|
9901
|
+
networkId: Int
|
|
9603
9902
|
): OnTokenBarsUpdatedResponse
|
|
9604
9903
|
|
|
9605
9904
|
"""Live-streamed transactions for a token."""
|
|
@@ -9612,6 +9911,9 @@ type Subscription {
|
|
|
9612
9911
|
|
|
9613
9912
|
"""The token of interest within the pair. Can be `token0` or `token1`."""
|
|
9614
9913
|
quoteToken: QuoteToken
|
|
9914
|
+
|
|
9915
|
+
"""The networkId to use when getting all events per network"""
|
|
9916
|
+
networkId: Int
|
|
9615
9917
|
): AddEventsOutput
|
|
9616
9918
|
|
|
9617
9919
|
"""Live-streamed unconfirmed transactions for a token. (Solana only)"""
|
|
@@ -9699,6 +10001,9 @@ type Subscription {
|
|
|
9699
10001
|
"""
|
|
9700
10002
|
onHoldersUpdated(tokenId: String!): HoldersUpdate
|
|
9701
10003
|
|
|
10004
|
+
"""Live-streamed balance updates for a given wallet."""
|
|
10005
|
+
onBalanceUpdated(walletAddress: String!): Balance!
|
|
10006
|
+
|
|
9702
10007
|
"""Live-streamed token lifecycle events (mints and burns)."""
|
|
9703
10008
|
onTokenLifecycleEventsCreated(
|
|
9704
10009
|
"""The token contract address."""
|
|
@@ -9707,6 +10012,8 @@ type Subscription {
|
|
|
9707
10012
|
"""The network ID the token is deployed on."""
|
|
9708
10013
|
networkId: Int
|
|
9709
10014
|
): AddTokenLifecycleEventsOutput!
|
|
10015
|
+
onLaunchpadTokenEventBatch: [LaunchpadTokenEventOutput!]!
|
|
10016
|
+
onLaunchpadTokenEvent(input: OnLaunchpadTokenEventInput): LaunchpadTokenEventOutput!
|
|
9710
10017
|
}
|
|
9711
10018
|
|
|
9712
10019
|
type SuiNetworkConfig {
|
|
@@ -10267,11 +10574,59 @@ type TokenFilterResult {
|
|
|
10267
10574
|
"""The trade volume in USD in the past 4 hours."""
|
|
10268
10575
|
volume4: String
|
|
10269
10576
|
|
|
10577
|
+
"""The buy volume in USD in the past hour."""
|
|
10578
|
+
buyVolume1: String
|
|
10579
|
+
|
|
10580
|
+
"""The buy volume in USD in the past 12 hours."""
|
|
10581
|
+
buyVolume12: String
|
|
10582
|
+
|
|
10583
|
+
"""The buy volume in USD in the past 24 hours."""
|
|
10584
|
+
buyVolume24: String
|
|
10585
|
+
|
|
10586
|
+
"""The buy volume in USD in the past 4 hours."""
|
|
10587
|
+
buyVolume4: String
|
|
10588
|
+
|
|
10589
|
+
"""The buy volume in USD in the past 5 minutes."""
|
|
10590
|
+
buyVolume5m: String
|
|
10591
|
+
|
|
10592
|
+
"""The sell volume in USD in the past hour."""
|
|
10593
|
+
sellVolume1: String
|
|
10594
|
+
|
|
10595
|
+
"""The sell volume in USD in the past 12 hours."""
|
|
10596
|
+
sellVolume12: String
|
|
10597
|
+
|
|
10598
|
+
"""The sell volume in USD in the past 24 hours."""
|
|
10599
|
+
sellVolume24: String
|
|
10600
|
+
|
|
10601
|
+
"""The sell volume in USD in the past 4 hours."""
|
|
10602
|
+
sellVolume4: String
|
|
10603
|
+
|
|
10604
|
+
"""The sell volume in USD in the past 5 minutes."""
|
|
10605
|
+
sellVolume5m: String
|
|
10606
|
+
|
|
10270
10607
|
"""Whether the token has been flagged as a scam."""
|
|
10271
10608
|
isScam: Boolean
|
|
10272
10609
|
|
|
10273
10610
|
"""The number of different wallets holding the token."""
|
|
10274
10611
|
holders: Int
|
|
10612
|
+
|
|
10613
|
+
"""The average age of the wallets that traded in the last 24h"""
|
|
10614
|
+
walletAgeAvg: String
|
|
10615
|
+
|
|
10616
|
+
"""
|
|
10617
|
+
The standard deviation of age of the wallets that traded in the last 24h
|
|
10618
|
+
"""
|
|
10619
|
+
walletAgeStd: String
|
|
10620
|
+
|
|
10621
|
+
"""
|
|
10622
|
+
The percentage of wallets that are less than 1d old that have traded in the last 24h
|
|
10623
|
+
"""
|
|
10624
|
+
swapPct1dOldWallet: String
|
|
10625
|
+
|
|
10626
|
+
"""
|
|
10627
|
+
The percentage of wallets that are less than 7d old that have traded in the last 24h
|
|
10628
|
+
"""
|
|
10629
|
+
swapPct7dOldWallet: String
|
|
10275
10630
|
}
|
|
10276
10631
|
|
|
10277
10632
|
"""Input type of `TokenFilters`."""
|
|
@@ -10477,11 +10832,46 @@ input TokenFilters {
|
|
|
10477
10832
|
"""The trade volume in USD in the past 5 minutes."""
|
|
10478
10833
|
volume5m: NumberFilter
|
|
10479
10834
|
|
|
10835
|
+
"""The buy volume in USD in the past hour."""
|
|
10836
|
+
buyVolume1: NumberFilter
|
|
10837
|
+
|
|
10838
|
+
"""The buy volume in USD in the past 12 hours."""
|
|
10839
|
+
buyVolume12: NumberFilter
|
|
10840
|
+
|
|
10841
|
+
"""The buy volume in USD in the past 24 hours."""
|
|
10842
|
+
buyVolume24: NumberFilter
|
|
10843
|
+
|
|
10844
|
+
"""The buy volume in USD in the past 4 hours."""
|
|
10845
|
+
buyVolume4: NumberFilter
|
|
10846
|
+
|
|
10847
|
+
"""The buy volume in USD in the past 5 minutes."""
|
|
10848
|
+
buyVolume5m: NumberFilter
|
|
10849
|
+
|
|
10850
|
+
"""The sell volume in USD in the past hour."""
|
|
10851
|
+
sellVolume1: NumberFilter
|
|
10852
|
+
|
|
10853
|
+
"""The sell volume in USD in the past 12 hours."""
|
|
10854
|
+
sellVolume12: NumberFilter
|
|
10855
|
+
|
|
10856
|
+
"""The sell volume in USD in the past 24 hours."""
|
|
10857
|
+
sellVolume24: NumberFilter
|
|
10858
|
+
|
|
10859
|
+
"""The sell volume in USD in the past 4 hours."""
|
|
10860
|
+
sellVolume4: NumberFilter
|
|
10861
|
+
|
|
10862
|
+
"""The sell volume in USD in the past 5 minutes."""
|
|
10863
|
+
sellVolume5m: NumberFilter
|
|
10864
|
+
|
|
10480
10865
|
"""
|
|
10481
10866
|
Whether to include tokens that have been flagged as scams. Default: false
|
|
10482
10867
|
"""
|
|
10483
10868
|
includeScams: Boolean
|
|
10484
10869
|
|
|
10870
|
+
"""
|
|
10871
|
+
Whether to filter for tokens on testnet networks. Use `true` for testnet tokens only, `false` for mainnet tokens only and `undefined` (default) for both.
|
|
10872
|
+
"""
|
|
10873
|
+
isTestnet: Boolean
|
|
10874
|
+
|
|
10485
10875
|
"""Only include verified tokens"""
|
|
10486
10876
|
isVerified: Boolean
|
|
10487
10877
|
|
|
@@ -10493,6 +10883,48 @@ input TokenFilters {
|
|
|
10493
10883
|
|
|
10494
10884
|
"""The address of the creator of the token"""
|
|
10495
10885
|
creatorAddress: String
|
|
10886
|
+
|
|
10887
|
+
"""The launchpad protocol"""
|
|
10888
|
+
launchpadProtocol: String
|
|
10889
|
+
|
|
10890
|
+
"""Indicates if the launchpad is completed"""
|
|
10891
|
+
launchpadCompleted: Boolean
|
|
10892
|
+
|
|
10893
|
+
"""Indicates if the launchpad has migrated"""
|
|
10894
|
+
launchpadMigrated: Boolean
|
|
10895
|
+
|
|
10896
|
+
"""The graduation percentage"""
|
|
10897
|
+
launchpadGraduationPercent: NumberFilter
|
|
10898
|
+
|
|
10899
|
+
"""The timestamp when the launchpad was completed"""
|
|
10900
|
+
launchpadCompletedAt: NumberFilter
|
|
10901
|
+
|
|
10902
|
+
"""The timestamp when the launchpad was migrated"""
|
|
10903
|
+
launchpadMigratedAt: NumberFilter
|
|
10904
|
+
|
|
10905
|
+
"""The token in freezable"""
|
|
10906
|
+
freezable: Boolean
|
|
10907
|
+
|
|
10908
|
+
"""The token in mintable"""
|
|
10909
|
+
mintable: Boolean
|
|
10910
|
+
|
|
10911
|
+
"""The average age of the wallets that traded in the last 24h"""
|
|
10912
|
+
walletAgeAvg: NumberFilter
|
|
10913
|
+
|
|
10914
|
+
"""
|
|
10915
|
+
The standard deviation of age of the wallets that traded in the last 24h
|
|
10916
|
+
"""
|
|
10917
|
+
walletAgeStd: NumberFilter
|
|
10918
|
+
|
|
10919
|
+
"""
|
|
10920
|
+
The percentage of wallets that are less than 1d old that have traded in the last 24h
|
|
10921
|
+
"""
|
|
10922
|
+
swapPct1dOldWallet: NumberFilter
|
|
10923
|
+
|
|
10924
|
+
"""
|
|
10925
|
+
The percentage of wallets that are less than 7d old that have traded in the last 24h
|
|
10926
|
+
"""
|
|
10927
|
+
swapPct7dOldWallet: NumberFilter
|
|
10496
10928
|
}
|
|
10497
10929
|
|
|
10498
10930
|
"""Metadata for a token."""
|
|
@@ -10765,6 +11197,7 @@ enum TokenRankingAttribute {
|
|
|
10765
11197
|
sellCount12
|
|
10766
11198
|
sellCount24
|
|
10767
11199
|
trendingScore
|
|
11200
|
+
trendingScore5m
|
|
10768
11201
|
trendingScore1
|
|
10769
11202
|
trendingScore4
|
|
10770
11203
|
trendingScore12
|
|
@@ -10794,6 +11227,23 @@ enum TokenRankingAttribute {
|
|
|
10794
11227
|
volume4
|
|
10795
11228
|
volume12
|
|
10796
11229
|
volume24
|
|
11230
|
+
buyVolume5m
|
|
11231
|
+
buyVolume1
|
|
11232
|
+
buyVolume4
|
|
11233
|
+
buyVolume12
|
|
11234
|
+
buyVolume24
|
|
11235
|
+
sellVolume5m
|
|
11236
|
+
sellVolume1
|
|
11237
|
+
sellVolume4
|
|
11238
|
+
sellVolume12
|
|
11239
|
+
sellVolume24
|
|
11240
|
+
launchpadCompletedAt
|
|
11241
|
+
launchpadMigratedAt
|
|
11242
|
+
graduationPercent
|
|
11243
|
+
walletAgeAvg
|
|
11244
|
+
walletAgeStd
|
|
11245
|
+
swapPct1dOldWallet
|
|
11246
|
+
swapPct7dOldWallet
|
|
10797
11247
|
}
|
|
10798
11248
|
|
|
10799
11249
|
"""Response returned by `searchTokens`."""
|
|
@@ -10830,6 +11280,93 @@ input TokenSparklineInput {
|
|
|
10830
11280
|
ids: [String!]!
|
|
10831
11281
|
}
|
|
10832
11282
|
|
|
11283
|
+
"""A top trader for a token."""
|
|
11284
|
+
type TokenTopTrader {
|
|
11285
|
+
"""The wallet address of the trader."""
|
|
11286
|
+
walletAddress: String!
|
|
11287
|
+
|
|
11288
|
+
"""The token address."""
|
|
11289
|
+
tokenAddress: String!
|
|
11290
|
+
|
|
11291
|
+
"""The network ID."""
|
|
11292
|
+
networkId: Int!
|
|
11293
|
+
|
|
11294
|
+
"""The amount of tokens bought."""
|
|
11295
|
+
tokenAmountBought: String!
|
|
11296
|
+
|
|
11297
|
+
"""The amount of tokens sold."""
|
|
11298
|
+
tokenAmountSold: String!
|
|
11299
|
+
|
|
11300
|
+
"""The amount of tokens bought in USD."""
|
|
11301
|
+
amountBoughtUsd: String!
|
|
11302
|
+
|
|
11303
|
+
"""The amount of tokens sold in USD."""
|
|
11304
|
+
amountSoldUsd: String!
|
|
11305
|
+
|
|
11306
|
+
"""The volume of tokens bought and sold in USD."""
|
|
11307
|
+
volumeUsd: String!
|
|
11308
|
+
|
|
11309
|
+
"""The realized profit in USD."""
|
|
11310
|
+
realizedProfitUsd: String!
|
|
11311
|
+
|
|
11312
|
+
"""The realized profit percentage."""
|
|
11313
|
+
realizedProfitPercentage: Float!
|
|
11314
|
+
|
|
11315
|
+
"""The single token acquisition cost in USD."""
|
|
11316
|
+
singleTokenAcquisitionCostUsd: String!
|
|
11317
|
+
|
|
11318
|
+
"""The number of buys."""
|
|
11319
|
+
buys: Int!
|
|
11320
|
+
|
|
11321
|
+
"""The number of sells."""
|
|
11322
|
+
sells: Int!
|
|
11323
|
+
|
|
11324
|
+
"""The token balance of the trader."""
|
|
11325
|
+
tokenBalance: String!
|
|
11326
|
+
|
|
11327
|
+
"""The unix timestamp for the first transaction from this wallet."""
|
|
11328
|
+
firstTransactionAt: Int
|
|
11329
|
+
|
|
11330
|
+
"""The unix timestamp for the last transaction from this wallet."""
|
|
11331
|
+
lastTransactionAt: Int!
|
|
11332
|
+
}
|
|
11333
|
+
|
|
11334
|
+
"""A paginated list of top traders for a token."""
|
|
11335
|
+
type TokenTopTradersConnection {
|
|
11336
|
+
"""The token address."""
|
|
11337
|
+
tokenAddress: String!
|
|
11338
|
+
|
|
11339
|
+
"""The network ID."""
|
|
11340
|
+
networkId: Int!
|
|
11341
|
+
|
|
11342
|
+
"""The trading period."""
|
|
11343
|
+
tradingPeriod: TradingPeriod!
|
|
11344
|
+
|
|
11345
|
+
"""The list of top traders."""
|
|
11346
|
+
items: [TokenTopTrader]!
|
|
11347
|
+
|
|
11348
|
+
"""The offset of the first trader in the connection."""
|
|
11349
|
+
offset: Int
|
|
11350
|
+
}
|
|
11351
|
+
|
|
11352
|
+
"""Input arguments for the `tokenTopTraders` query."""
|
|
11353
|
+
input TokenTopTradersInput {
|
|
11354
|
+
"""The token address"""
|
|
11355
|
+
tokenAddress: String!
|
|
11356
|
+
|
|
11357
|
+
"""The network ID"""
|
|
11358
|
+
networkId: Int!
|
|
11359
|
+
|
|
11360
|
+
"""The trading period"""
|
|
11361
|
+
tradingPeriod: TradingPeriod!
|
|
11362
|
+
|
|
11363
|
+
"""The number of traders to return"""
|
|
11364
|
+
limit: Int
|
|
11365
|
+
|
|
11366
|
+
"""Where in the list the server started when returning items"""
|
|
11367
|
+
offset: Int
|
|
11368
|
+
}
|
|
11369
|
+
|
|
10833
11370
|
"""A token with metadata."""
|
|
10834
11371
|
type TokenWithMetadata {
|
|
10835
11372
|
"""The contract address of the token."""
|
|
@@ -10951,6 +11488,14 @@ type TokenWithMetadata {
|
|
|
10951
11488
|
lastTransaction: Int
|
|
10952
11489
|
}
|
|
10953
11490
|
|
|
11491
|
+
"""A time period used when calculating wallet trading data."""
|
|
11492
|
+
enum TradingPeriod {
|
|
11493
|
+
DAY
|
|
11494
|
+
WEEK
|
|
11495
|
+
MONTH
|
|
11496
|
+
YEAR
|
|
11497
|
+
}
|
|
11498
|
+
|
|
10954
11499
|
"""An unconfirmed token transaction."""
|
|
10955
11500
|
type UnconfirmedEvent {
|
|
10956
11501
|
"""The contract address of the token's top pair."""
|