@codex-data/sdk 1.0.5 → 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 +1 -0
- package/dist/resources/generated_queries/FilterPairs.graphql +44 -0
- package/dist/resources/generated_queries/FilterTokens.graphql +33 -0
- package/dist/resources/generated_queries/GetBars.graphql +22 -0
- package/dist/resources/generated_queries/GetCommunityNotes.graphql +11 -0
- package/dist/resources/generated_queries/GetDetailedPairStats.graphql +22 -0
- package/dist/resources/generated_queries/GetDetailedPairsStats.graphql +22 -0
- package/dist/resources/generated_queries/GetNetworkStats.graphql +7 -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 +22 -0
- package/dist/resources/generated_queries/ListPairsWithMetadataForToken.graphql +44 -0
- package/dist/resources/generated_queries/PairMetadata.graphql +22 -0
- package/dist/resources/generated_queries/PrimeHolders.graphql +1 -0
- package/dist/resources/generated_queries/Token.graphql +11 -0
- package/dist/resources/generated_queries/TokenTopTraders.graphql +26 -0
- package/dist/resources/generated_queries/Tokens.graphql +11 -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 +1 -0
- package/dist/resources/generated_subscriptions/OnLaunchpadTokenEvent.graphql +89 -0
- package/dist/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +22 -0
- package/dist/resources/generated_subscriptions/OnTokenBarsUpdated.graphql +6 -1
- package/dist/resources/graphql.d.ts +238 -6
- package/dist/resources/graphql.d.ts.map +1 -1
- package/dist/resources/graphql.js +31 -2
- package/dist/resources/graphql.js.map +1 -1
- package/dist/resources/graphql.schema.json +1627 -18
- package/dist/resources/graphql.ts +254 -6
- package/dist/resources/schema.graphql +309 -6
- package/dist/sdk/Query.d.ts +2 -2
- package/dist/sdk/Query.d.ts.map +1 -1
- package/dist/sdk/Query.js +1 -1
- package/dist/sdk/Query.js.map +1 -1
- package/dist/sdk/Subscribe.d.ts +3 -1
- package/dist/sdk/Subscribe.d.ts.map +1 -1
- package/dist/sdk/Subscribe.js +20 -6
- package/dist/sdk/Subscribe.js.map +1 -1
- package/dist/sdk/generated/gql.d.ts +63 -49
- package/dist/sdk/generated/gql.d.ts.map +1 -1
- package/dist/sdk/generated/gql.js +23 -21
- package/dist/sdk/generated/gql.js.map +1 -1
- package/dist/sdk/generated/graphql.d.ts +723 -56
- package/dist/sdk/generated/graphql.d.ts.map +1 -1
- package/dist/sdk/generated/graphql.js +56 -25
- 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 +44 -0
- package/src/resources/generated_queries/FilterTokens.graphql +33 -0
- package/src/resources/generated_queries/GetBars.graphql +22 -0
- package/src/resources/generated_queries/GetCommunityNotes.graphql +11 -0
- package/src/resources/generated_queries/GetDetailedPairStats.graphql +22 -0
- package/src/resources/generated_queries/GetDetailedPairsStats.graphql +22 -0
- package/src/resources/generated_queries/GetNetworkStats.graphql +7 -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 +22 -0
- package/src/resources/generated_queries/ListPairsWithMetadataForToken.graphql +44 -0
- package/src/resources/generated_queries/PairMetadata.graphql +22 -0
- package/src/resources/generated_queries/PrimeHolders.graphql +1 -0
- package/src/resources/generated_queries/Token.graphql +11 -0
- package/src/resources/generated_queries/TokenTopTraders.graphql +26 -0
- package/src/resources/generated_queries/Tokens.graphql +11 -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 +1 -0
- package/src/resources/generated_subscriptions/OnLaunchpadTokenEvent.graphql +89 -0
- package/src/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +22 -0
- package/src/resources/generated_subscriptions/OnTokenBarsUpdated.graphql +6 -1
- package/src/resources/graphql.schema.json +1627 -18
- package/src/resources/graphql.ts +254 -6
- package/src/resources/schema.graphql +309 -6
- package/src/sdk/Query.ts +4 -4
- package/src/sdk/Subscribe.ts +36 -6
- package/src/sdk/generated/gql.ts +55 -45
- package/src/sdk/generated/graphql.ts +318 -54
- 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,13 +182,16 @@ 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
|
|
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
|
|
@@ -197,6 +203,9 @@ input BalancesInput {
|
|
|
197
203
|
If set to true, native tokens in the response, they will have the id: native:<networkId>
|
|
198
204
|
"""
|
|
199
205
|
includeNative: Boolean
|
|
206
|
+
|
|
207
|
+
"""The maximum number of holdings to return."""
|
|
208
|
+
limit: Int
|
|
200
209
|
}
|
|
201
210
|
|
|
202
211
|
type BalancesResponse {
|
|
@@ -1188,6 +1197,9 @@ type EnhancedToken {
|
|
|
1188
1197
|
|
|
1189
1198
|
"""Whether or not the token is freezable"""
|
|
1190
1199
|
freezable: String
|
|
1200
|
+
|
|
1201
|
+
"""The launchpad data for the token, if applicable."""
|
|
1202
|
+
launchpad: LaunchpadData
|
|
1191
1203
|
}
|
|
1192
1204
|
|
|
1193
1205
|
enum Entitlement {
|
|
@@ -1419,6 +1431,9 @@ input EventsQueryInput {
|
|
|
1419
1431
|
The total amount of `quoteToken` involved in the swap in USD (`amountNonLiquidityToken` x `priceUsd`).
|
|
1420
1432
|
"""
|
|
1421
1433
|
priceUsdTotal: NumberFilter
|
|
1434
|
+
|
|
1435
|
+
"""Specify the type of symbol you want to fetch values for (TOKEN | POOL)"""
|
|
1436
|
+
symbolType: SymbolType
|
|
1422
1437
|
}
|
|
1423
1438
|
|
|
1424
1439
|
"""The event type for a token transaction."""
|
|
@@ -1756,6 +1771,24 @@ type GetNetworkStatsResponse {
|
|
|
1756
1771
|
"""The network trade volume in USD over the past hour."""
|
|
1757
1772
|
volume1: Float!
|
|
1758
1773
|
|
|
1774
|
+
"""The network trade volume in USD over the past 5 minutes."""
|
|
1775
|
+
volume5m: Float!
|
|
1776
|
+
|
|
1777
|
+
"""The network trade volume change over the last 24 hours"""
|
|
1778
|
+
volumeChange24: Float!
|
|
1779
|
+
|
|
1780
|
+
"""The network trade volume change over the last 12 hours"""
|
|
1781
|
+
volumeChange12: Float!
|
|
1782
|
+
|
|
1783
|
+
"""The network trade volume change over the last 4 hours"""
|
|
1784
|
+
volumeChange4: Float!
|
|
1785
|
+
|
|
1786
|
+
"""The network trade volume change over the last hour"""
|
|
1787
|
+
volumeChange1: Float!
|
|
1788
|
+
|
|
1789
|
+
"""The network trade volume change over the last 5 minutes"""
|
|
1790
|
+
volumeChange5m: Float!
|
|
1791
|
+
|
|
1759
1792
|
"""The network liquidity in USD."""
|
|
1760
1793
|
liquidity: Float!
|
|
1761
1794
|
|
|
@@ -1770,6 +1803,9 @@ type GetNetworkStatsResponse {
|
|
|
1770
1803
|
|
|
1771
1804
|
"""The unique number of transactions in the past hour."""
|
|
1772
1805
|
transactions1: Int!
|
|
1806
|
+
|
|
1807
|
+
"""The unique number of transactions in the past 5 minutes."""
|
|
1808
|
+
transactions5m: Int!
|
|
1773
1809
|
}
|
|
1774
1810
|
|
|
1775
1811
|
"""Response returned by `getNftPoolCollectionsByExchange`."""
|
|
@@ -2219,6 +2255,90 @@ type LatestTokenSimResults {
|
|
|
2219
2255
|
openTradingCall: String
|
|
2220
2256
|
}
|
|
2221
2257
|
|
|
2258
|
+
type LaunchpadData {
|
|
2259
|
+
"""The percentage of the pool that was sold to the public."""
|
|
2260
|
+
graduationPercent: Float
|
|
2261
|
+
|
|
2262
|
+
"""The address of the pool."""
|
|
2263
|
+
poolAddress: String
|
|
2264
|
+
|
|
2265
|
+
"""The unix timestamp when the launchpad was completed."""
|
|
2266
|
+
completedAt: Int
|
|
2267
|
+
|
|
2268
|
+
"""Indicates if the launchpad is completed."""
|
|
2269
|
+
completed: Boolean
|
|
2270
|
+
|
|
2271
|
+
"""The slot number when the launchpad was completed."""
|
|
2272
|
+
completedSlot: Int
|
|
2273
|
+
|
|
2274
|
+
"""The slot number when the launchpad was migrated."""
|
|
2275
|
+
migratedSlot: Int
|
|
2276
|
+
|
|
2277
|
+
"""The unix timestamp when the launchpad was migrated."""
|
|
2278
|
+
migratedAt: Int
|
|
2279
|
+
|
|
2280
|
+
"""Indicates if the launchpad was migrated."""
|
|
2281
|
+
migrated: Boolean
|
|
2282
|
+
|
|
2283
|
+
"""The pool address after the launchpad was migrated."""
|
|
2284
|
+
migratedPoolAddress: String
|
|
2285
|
+
}
|
|
2286
|
+
|
|
2287
|
+
"""Response returned by `onLaunchpadTokenEvent`."""
|
|
2288
|
+
type LaunchpadTokenEventOutput {
|
|
2289
|
+
"""The contract address of the token."""
|
|
2290
|
+
address: String!
|
|
2291
|
+
|
|
2292
|
+
"""The network ID that the token is deployed on."""
|
|
2293
|
+
networkId: Int!
|
|
2294
|
+
|
|
2295
|
+
"""The protocol of the token."""
|
|
2296
|
+
protocol: String!
|
|
2297
|
+
|
|
2298
|
+
"""Metadata for the token."""
|
|
2299
|
+
token: EnhancedToken!
|
|
2300
|
+
|
|
2301
|
+
"""The number of buys in the last 24 hours."""
|
|
2302
|
+
buyCount1: Int
|
|
2303
|
+
|
|
2304
|
+
"""The type of event."""
|
|
2305
|
+
eventType: LaunchpadTokenEventType!
|
|
2306
|
+
|
|
2307
|
+
"""The number of holders."""
|
|
2308
|
+
holders: Int
|
|
2309
|
+
|
|
2310
|
+
"""The market cap of the token."""
|
|
2311
|
+
marketCap: String
|
|
2312
|
+
|
|
2313
|
+
"""The price of the token."""
|
|
2314
|
+
price: Float
|
|
2315
|
+
|
|
2316
|
+
"""The number of sells in the last 24 hours."""
|
|
2317
|
+
sellCount1: Int
|
|
2318
|
+
|
|
2319
|
+
"""The volume of the token in the last 24 hours."""
|
|
2320
|
+
volume1: Int
|
|
2321
|
+
|
|
2322
|
+
"""The number of transactions in the last 24 hours."""
|
|
2323
|
+
transactions1: Int
|
|
2324
|
+
}
|
|
2325
|
+
|
|
2326
|
+
"""
|
|
2327
|
+
The type of event. Note that associated statistics such as `buyCount1`, `price`, etc. are only available for `Updated` events.
|
|
2328
|
+
"""
|
|
2329
|
+
enum LaunchpadTokenEventType {
|
|
2330
|
+
Updated
|
|
2331
|
+
Created
|
|
2332
|
+
Completed
|
|
2333
|
+
Migrated
|
|
2334
|
+
}
|
|
2335
|
+
|
|
2336
|
+
"""The protocol of the token."""
|
|
2337
|
+
enum LaunchpadTokenProtocol {
|
|
2338
|
+
Pump
|
|
2339
|
+
FourMeme
|
|
2340
|
+
}
|
|
2341
|
+
|
|
2222
2342
|
scalar link__Import
|
|
2223
2343
|
|
|
2224
2344
|
enum link__Purpose {
|
|
@@ -2265,7 +2385,10 @@ type LiquidityLock {
|
|
|
2265
2385
|
lockProtocol: LiquidityLockProtocol!
|
|
2266
2386
|
|
|
2267
2387
|
"""The protocol that created the pair"""
|
|
2268
|
-
liquidityProtocol: LiquidityProtocol!
|
|
2388
|
+
liquidityProtocol: LiquidityProtocol! @deprecated(reason: "Use liquidityProtocolV2 instead")
|
|
2389
|
+
|
|
2390
|
+
"""The protocol that created the pair"""
|
|
2391
|
+
liquidityProtocolV2: String!
|
|
2269
2392
|
|
|
2270
2393
|
"""The amount of liquidity locked."""
|
|
2271
2394
|
liquidityAmount: String!
|
|
@@ -2322,6 +2445,8 @@ enum LiquidityProtocol {
|
|
|
2322
2445
|
UNISWAP_V3
|
|
2323
2446
|
UNISWAP_V2
|
|
2324
2447
|
RAYDIUM_V4
|
|
2448
|
+
PUMP_V1
|
|
2449
|
+
USE_LIQUIDITY_PROTOCOL_V2
|
|
2325
2450
|
}
|
|
2326
2451
|
|
|
2327
2452
|
"""Response returned by `listPairsWithMetadataForToken`."""
|
|
@@ -6072,6 +6197,21 @@ input OneOfNumberConditionInput {
|
|
|
6072
6197
|
oneOf: [Int!]!
|
|
6073
6198
|
}
|
|
6074
6199
|
|
|
6200
|
+
"""Input for `onLaunchpadTokenEvent`."""
|
|
6201
|
+
input OnLaunchpadTokenEventInput {
|
|
6202
|
+
"""The protocol of the token."""
|
|
6203
|
+
protocol: LaunchpadTokenProtocol
|
|
6204
|
+
|
|
6205
|
+
"""The type of event."""
|
|
6206
|
+
eventType: LaunchpadTokenEventType
|
|
6207
|
+
|
|
6208
|
+
"""The contract address of the token."""
|
|
6209
|
+
address: String
|
|
6210
|
+
|
|
6211
|
+
"""The network ID that the token is deployed on."""
|
|
6212
|
+
networkId: Int
|
|
6213
|
+
}
|
|
6214
|
+
|
|
6075
6215
|
input OnPricesUpdatedInput {
|
|
6076
6216
|
address: String!
|
|
6077
6217
|
networkId: Int!
|
|
@@ -6115,7 +6255,7 @@ type OnTokenBarsUpdatedResponse {
|
|
|
6115
6255
|
}
|
|
6116
6256
|
|
|
6117
6257
|
input OnTokenEventsCreatedInput {
|
|
6118
|
-
tokenAddress: String
|
|
6258
|
+
tokenAddress: String
|
|
6119
6259
|
networkId: Int!
|
|
6120
6260
|
}
|
|
6121
6261
|
|
|
@@ -6603,6 +6743,11 @@ input PairFilters {
|
|
|
6603
6743
|
|
|
6604
6744
|
"""Whether to ignore pairs/tokens not relevant to trending"""
|
|
6605
6745
|
trendingIgnored: Boolean
|
|
6746
|
+
|
|
6747
|
+
"""
|
|
6748
|
+
Whether to filter for pairs on testnet networks. Use `true` for testnet pairs only, `false` for mainnet pairs only and `undefined` (default) for both.
|
|
6749
|
+
"""
|
|
6750
|
+
isTestnet: Boolean
|
|
6606
6751
|
}
|
|
6607
6752
|
|
|
6608
6753
|
type PairMetadata {
|
|
@@ -6789,6 +6934,7 @@ enum PairRankingAttribute {
|
|
|
6789
6934
|
sellCount12
|
|
6790
6935
|
sellCount24
|
|
6791
6936
|
trendingScore
|
|
6937
|
+
trendingScore5m
|
|
6792
6938
|
trendingScore1
|
|
6793
6939
|
trendingScore4
|
|
6794
6940
|
trendingScore12
|
|
@@ -8862,7 +9008,7 @@ type Query {
|
|
|
8862
9008
|
|
|
8863
9009
|
"""The offset to use for pagination."""
|
|
8864
9010
|
offset: Int
|
|
8865
|
-
): LatestTokenConnection
|
|
9011
|
+
): LatestTokenConnection @deprecated(reason: "This query is no longer supported. Use `filterTokens` with a createdAt: DESC filter instead.")
|
|
8866
9012
|
|
|
8867
9013
|
"""Returns liquidity locks for a given pair."""
|
|
8868
9014
|
liquidityLocks(
|
|
@@ -8887,6 +9033,9 @@ type Query {
|
|
|
8887
9033
|
networkId: Int!
|
|
8888
9034
|
): LiquidityMetadata
|
|
8889
9035
|
|
|
9036
|
+
"""Returns a list of top traders for a given token."""
|
|
9037
|
+
tokenTopTraders(input: TokenTopTradersInput!): TokenTopTradersConnection!
|
|
9038
|
+
|
|
8890
9039
|
"""Returns community gathered notes."""
|
|
8891
9040
|
getCommunityNotes(input: CommunityNotesInput): CommunityNotesResponse!
|
|
8892
9041
|
}
|
|
@@ -9418,6 +9567,25 @@ type SparklineValue {
|
|
|
9418
9567
|
value: Float!
|
|
9419
9568
|
}
|
|
9420
9569
|
|
|
9570
|
+
type StarknetNetworkConfig {
|
|
9571
|
+
id: ID!
|
|
9572
|
+
networkId: Int!
|
|
9573
|
+
baseTokenAddress: String!
|
|
9574
|
+
baseTokenSymbol: String!
|
|
9575
|
+
color: String
|
|
9576
|
+
defaultPairAddress: String!
|
|
9577
|
+
defaultPairQuoteToken: QuoteToken!
|
|
9578
|
+
enabled: Boolean!
|
|
9579
|
+
newTokensEnabled: Boolean
|
|
9580
|
+
mainnet: Boolean!
|
|
9581
|
+
name: String!
|
|
9582
|
+
networkIconUrl: String!
|
|
9583
|
+
networkName: String!
|
|
9584
|
+
networkShortName: String!
|
|
9585
|
+
stableCoinAddresses: [String!]
|
|
9586
|
+
wrappedBaseTokenSymbol: String!
|
|
9587
|
+
}
|
|
9588
|
+
|
|
9421
9589
|
"""Currency stats."""
|
|
9422
9590
|
input statsCurrency {
|
|
9423
9591
|
"""The volume over the time frame."""
|
|
@@ -9600,6 +9768,9 @@ type Subscription {
|
|
|
9600
9768
|
|
|
9601
9769
|
"""docs: hide"""
|
|
9602
9770
|
statsType: TokenPairStatisticsType
|
|
9771
|
+
|
|
9772
|
+
"""The networkId to use when getting all bars per network"""
|
|
9773
|
+
networkId: Int
|
|
9603
9774
|
): OnTokenBarsUpdatedResponse
|
|
9604
9775
|
|
|
9605
9776
|
"""Live-streamed transactions for a token."""
|
|
@@ -9612,6 +9783,9 @@ type Subscription {
|
|
|
9612
9783
|
|
|
9613
9784
|
"""The token of interest within the pair. Can be `token0` or `token1`."""
|
|
9614
9785
|
quoteToken: QuoteToken
|
|
9786
|
+
|
|
9787
|
+
"""The networkId to use when getting all events per network"""
|
|
9788
|
+
networkId: Int
|
|
9615
9789
|
): AddEventsOutput
|
|
9616
9790
|
|
|
9617
9791
|
"""Live-streamed unconfirmed transactions for a token. (Solana only)"""
|
|
@@ -9699,6 +9873,9 @@ type Subscription {
|
|
|
9699
9873
|
"""
|
|
9700
9874
|
onHoldersUpdated(tokenId: String!): HoldersUpdate
|
|
9701
9875
|
|
|
9876
|
+
"""Live-streamed balance updates for a given wallet."""
|
|
9877
|
+
onBalanceUpdated(walletAddress: String!): Balance!
|
|
9878
|
+
|
|
9702
9879
|
"""Live-streamed token lifecycle events (mints and burns)."""
|
|
9703
9880
|
onTokenLifecycleEventsCreated(
|
|
9704
9881
|
"""The token contract address."""
|
|
@@ -9707,6 +9884,7 @@ type Subscription {
|
|
|
9707
9884
|
"""The network ID the token is deployed on."""
|
|
9708
9885
|
networkId: Int
|
|
9709
9886
|
): AddTokenLifecycleEventsOutput!
|
|
9887
|
+
onLaunchpadTokenEvent(input: OnLaunchpadTokenEventInput): LaunchpadTokenEventOutput!
|
|
9710
9888
|
}
|
|
9711
9889
|
|
|
9712
9890
|
type SuiNetworkConfig {
|
|
@@ -10482,6 +10660,11 @@ input TokenFilters {
|
|
|
10482
10660
|
"""
|
|
10483
10661
|
includeScams: Boolean
|
|
10484
10662
|
|
|
10663
|
+
"""
|
|
10664
|
+
Whether to filter for tokens on testnet networks. Use `true` for testnet tokens only, `false` for mainnet tokens only and `undefined` (default) for both.
|
|
10665
|
+
"""
|
|
10666
|
+
isTestnet: Boolean
|
|
10667
|
+
|
|
10485
10668
|
"""Only include verified tokens"""
|
|
10486
10669
|
isVerified: Boolean
|
|
10487
10670
|
|
|
@@ -10493,6 +10676,27 @@ input TokenFilters {
|
|
|
10493
10676
|
|
|
10494
10677
|
"""The address of the creator of the token"""
|
|
10495
10678
|
creatorAddress: String
|
|
10679
|
+
|
|
10680
|
+
"""Indicates if the launchpad is completed"""
|
|
10681
|
+
launchpadCompleted: Boolean
|
|
10682
|
+
|
|
10683
|
+
"""Indicates if the launchpad has migrated"""
|
|
10684
|
+
launchpadMigrated: Boolean
|
|
10685
|
+
|
|
10686
|
+
"""The graduation percentage"""
|
|
10687
|
+
launchpadGraduationPercent: NumberFilter
|
|
10688
|
+
|
|
10689
|
+
"""The timestamp when the launchpad was completed"""
|
|
10690
|
+
launchpadCompletedAt: NumberFilter
|
|
10691
|
+
|
|
10692
|
+
"""The timestamp when the launchpad was migrated"""
|
|
10693
|
+
launchpadMigratedAt: NumberFilter
|
|
10694
|
+
|
|
10695
|
+
"""The token in freezable"""
|
|
10696
|
+
freezable: Boolean
|
|
10697
|
+
|
|
10698
|
+
"""The token in mintable"""
|
|
10699
|
+
mintable: Boolean
|
|
10496
10700
|
}
|
|
10497
10701
|
|
|
10498
10702
|
"""Metadata for a token."""
|
|
@@ -10765,6 +10969,7 @@ enum TokenRankingAttribute {
|
|
|
10765
10969
|
sellCount12
|
|
10766
10970
|
sellCount24
|
|
10767
10971
|
trendingScore
|
|
10972
|
+
trendingScore5m
|
|
10768
10973
|
trendingScore1
|
|
10769
10974
|
trendingScore4
|
|
10770
10975
|
trendingScore12
|
|
@@ -10794,6 +10999,9 @@ enum TokenRankingAttribute {
|
|
|
10794
10999
|
volume4
|
|
10795
11000
|
volume12
|
|
10796
11001
|
volume24
|
|
11002
|
+
launchpadCompletedAt
|
|
11003
|
+
launchpadMigratedAt
|
|
11004
|
+
graduationPercent
|
|
10797
11005
|
}
|
|
10798
11006
|
|
|
10799
11007
|
"""Response returned by `searchTokens`."""
|
|
@@ -10830,6 +11038,93 @@ input TokenSparklineInput {
|
|
|
10830
11038
|
ids: [String!]!
|
|
10831
11039
|
}
|
|
10832
11040
|
|
|
11041
|
+
"""A top trader for a token."""
|
|
11042
|
+
type TokenTopTrader {
|
|
11043
|
+
"""The wallet address of the trader."""
|
|
11044
|
+
walletAddress: String!
|
|
11045
|
+
|
|
11046
|
+
"""The token address."""
|
|
11047
|
+
tokenAddress: String!
|
|
11048
|
+
|
|
11049
|
+
"""The network ID."""
|
|
11050
|
+
networkId: Int!
|
|
11051
|
+
|
|
11052
|
+
"""The amount of tokens bought."""
|
|
11053
|
+
tokenAmountBought: String!
|
|
11054
|
+
|
|
11055
|
+
"""The amount of tokens sold."""
|
|
11056
|
+
tokenAmountSold: String!
|
|
11057
|
+
|
|
11058
|
+
"""The amount of tokens bought in USD."""
|
|
11059
|
+
amountBoughtUsd: String!
|
|
11060
|
+
|
|
11061
|
+
"""The amount of tokens sold in USD."""
|
|
11062
|
+
amountSoldUsd: String!
|
|
11063
|
+
|
|
11064
|
+
"""The volume of tokens bought and sold in USD."""
|
|
11065
|
+
volumeUsd: String!
|
|
11066
|
+
|
|
11067
|
+
"""The realized profit in USD."""
|
|
11068
|
+
realizedProfitUsd: String!
|
|
11069
|
+
|
|
11070
|
+
"""The realized profit percentage."""
|
|
11071
|
+
realizedProfitPercentage: Float!
|
|
11072
|
+
|
|
11073
|
+
"""The single token acquisition cost in USD."""
|
|
11074
|
+
singleTokenAcquisitionCostUsd: String!
|
|
11075
|
+
|
|
11076
|
+
"""The number of buys."""
|
|
11077
|
+
buys: Int!
|
|
11078
|
+
|
|
11079
|
+
"""The number of sells."""
|
|
11080
|
+
sells: Int!
|
|
11081
|
+
|
|
11082
|
+
"""The token balance of the trader."""
|
|
11083
|
+
tokenBalance: String!
|
|
11084
|
+
|
|
11085
|
+
"""The unix timestamp for the first transaction from this wallet."""
|
|
11086
|
+
firstTransactionAt: Int
|
|
11087
|
+
|
|
11088
|
+
"""The unix timestamp for the last transaction from this wallet."""
|
|
11089
|
+
lastTransactionAt: Int!
|
|
11090
|
+
}
|
|
11091
|
+
|
|
11092
|
+
"""A paginated list of top traders for a token."""
|
|
11093
|
+
type TokenTopTradersConnection {
|
|
11094
|
+
"""The token address."""
|
|
11095
|
+
tokenAddress: String!
|
|
11096
|
+
|
|
11097
|
+
"""The network ID."""
|
|
11098
|
+
networkId: Int!
|
|
11099
|
+
|
|
11100
|
+
"""The trading period."""
|
|
11101
|
+
tradingPeriod: TradingPeriod!
|
|
11102
|
+
|
|
11103
|
+
"""The list of top traders."""
|
|
11104
|
+
items: [TokenTopTrader]!
|
|
11105
|
+
|
|
11106
|
+
"""The offset of the first trader in the connection."""
|
|
11107
|
+
offset: Int
|
|
11108
|
+
}
|
|
11109
|
+
|
|
11110
|
+
"""Input arguments for the `tokenTopTraders` query."""
|
|
11111
|
+
input TokenTopTradersInput {
|
|
11112
|
+
"""The token address"""
|
|
11113
|
+
tokenAddress: String!
|
|
11114
|
+
|
|
11115
|
+
"""The network ID"""
|
|
11116
|
+
networkId: Int!
|
|
11117
|
+
|
|
11118
|
+
"""The trading period"""
|
|
11119
|
+
tradingPeriod: TradingPeriod!
|
|
11120
|
+
|
|
11121
|
+
"""The number of traders to return"""
|
|
11122
|
+
limit: Int
|
|
11123
|
+
|
|
11124
|
+
"""Where in the list the server started when returning items"""
|
|
11125
|
+
offset: Int
|
|
11126
|
+
}
|
|
11127
|
+
|
|
10833
11128
|
"""A token with metadata."""
|
|
10834
11129
|
type TokenWithMetadata {
|
|
10835
11130
|
"""The contract address of the token."""
|
|
@@ -10951,6 +11246,14 @@ type TokenWithMetadata {
|
|
|
10951
11246
|
lastTransaction: Int
|
|
10952
11247
|
}
|
|
10953
11248
|
|
|
11249
|
+
"""A time period used when calculating wallet trading data."""
|
|
11250
|
+
enum TradingPeriod {
|
|
11251
|
+
DAY
|
|
11252
|
+
WEEK
|
|
11253
|
+
MONTH
|
|
11254
|
+
YEAR
|
|
11255
|
+
}
|
|
11256
|
+
|
|
10954
11257
|
"""An unconfirmed token transaction."""
|
|
10955
11258
|
type UnconfirmedEvent {
|
|
10956
11259
|
"""The contract address of the token's top pair."""
|
package/dist/sdk/Query.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ApiTokenQueryVariables, ApiTokensQueryVariables, BalancesQueryVariables, ChartUrlsQueryVariables, FilterExchangesQueryVariables, FilterNftCollectionsQueryVariables, FilterNftParallelAssetsQueryVariables, FilterNftPoolCollectionsQueryVariables, FilterNftPoolsQueryVariables, FilterPairsQueryVariables, FilterTokensQueryVariables, GetBarsQueryVariables, GetCommunityNotesQueryVariables, GetDetailedNftStatsQueryVariables, GetDetailedPairsStatsQueryVariables, GetDetailedPairStatsQueryVariables, GetEventLabelsQueryVariables, GetExchangesQueryVariables,
|
|
1
|
+
import { ApiTokenQueryVariables, ApiTokensQueryVariables, BalancesQueryVariables, ChartUrlsQueryVariables, FilterExchangesQueryVariables, FilterNftCollectionsQueryVariables, FilterNftParallelAssetsQueryVariables, FilterNftPoolCollectionsQueryVariables, FilterNftPoolsQueryVariables, FilterPairsQueryVariables, FilterTokensQueryVariables, GetBarsQueryVariables, GetCommunityNotesQueryVariables, GetDetailedNftStatsQueryVariables, GetDetailedPairsStatsQueryVariables, GetDetailedPairStatsQueryVariables, GetEventLabelsQueryVariables, GetExchangesQueryVariables, GetNetworksQueryVariables, GetNetworkStatsQueryVariables, GetNetworkStatusQueryVariables, GetNftAssetsQueryVariables, GetNftCollectionMetadataQueryVariables, GetNftContractsQueryVariables, GetNftEventsQueryVariables, GetNftPoolCollectionQueryVariables, GetNftPoolCollectionsByExchangeQueryVariables, GetNftPoolEventsQueryVariables, GetNftPoolQueryVariables, GetNftPoolsByCollectionAndExchangeQueryVariables, GetNftPoolsByOwnerQueryVariables, GetNftPoolStatsQueryVariables, GetParallelCardChangesQueryVariables, GetPrimePoolAssetsQueryVariables, GetPrimePoolEventsQueryVariables, GetPrimePoolsQueryVariables, GetSimulateTokenContractResultsQueryVariables, GetSymbolQueryVariables, GetTokenEventsForMakerQueryVariables, GetTokenEventsQueryVariables, GetTokenPricesQueryVariables, GetWebhooksQueryVariables, HoldersQueryVariables, LiquidityLocksQueryVariables, LiquidityMetadataQueryVariables, ListPairsForTokenQueryVariables, ListPairsWithMetadataForTokenQueryVariables, ListTopTokensQueryVariables, NftHoldersQueryVariables, PairMetadataQueryVariables, PrimeHoldersQueryVariables, SearchNftsQueryVariables, TokenLifecycleEventsQueryVariables, TokenQueryVariables, TokenSparklinesQueryVariables, TokensQueryVariables, TokenTopTradersQueryVariables, Top10HoldersPercentQueryVariables, WalletNftCollectionAssetsQueryVariables, WalletNftCollectionsQueryVariables } from "./generated/graphql";
|
|
2
2
|
import { Codex } from "./index";
|
|
3
3
|
export declare class Query {
|
|
4
4
|
private sdk;
|
|
@@ -22,7 +22,6 @@ export declare class Query {
|
|
|
22
22
|
filterExchanges: (vars: FilterExchangesQueryVariables) => Promise<import("./generated/graphql").FilterExchangesQuery>;
|
|
23
23
|
getPrimePools: (vars: GetPrimePoolsQueryVariables) => Promise<import("./generated/graphql").GetPrimePoolsQuery>;
|
|
24
24
|
getDetailedPairStats: (vars: GetDetailedPairStatsQueryVariables) => Promise<import("./generated/graphql").GetDetailedPairStatsQuery>;
|
|
25
|
-
getLatestTokens: (vars: GetLatestTokensQueryVariables) => Promise<import("./generated/graphql").GetLatestTokensQuery>;
|
|
26
25
|
getNftContracts: (vars: GetNftContractsQueryVariables) => Promise<import("./generated/graphql").GetNftContractsQuery>;
|
|
27
26
|
getNftPoolEvents: (vars: GetNftPoolEventsQueryVariables) => Promise<import("./generated/graphql").GetNftPoolEventsQuery>;
|
|
28
27
|
getTokenPrices: (vars: GetTokenPricesQueryVariables) => Promise<import("./generated/graphql").GetTokenPricesQuery>;
|
|
@@ -43,6 +42,7 @@ export declare class Query {
|
|
|
43
42
|
getSimulateTokenContractResults: (vars: GetSimulateTokenContractResultsQueryVariables) => Promise<import("./generated/graphql").GetSimulateTokenContractResultsQuery>;
|
|
44
43
|
top10HoldersPercent: (vars: Top10HoldersPercentQueryVariables) => Promise<import("./generated/graphql").Top10HoldersPercentQuery>;
|
|
45
44
|
getBars: (vars: GetBarsQueryVariables) => Promise<import("./generated/graphql").GetBarsQuery>;
|
|
45
|
+
tokenTopTraders: (vars: TokenTopTradersQueryVariables) => Promise<import("./generated/graphql").TokenTopTradersQuery>;
|
|
46
46
|
nftHolders: (vars: NftHoldersQueryVariables) => Promise<import("./generated/graphql").NftHoldersQuery>;
|
|
47
47
|
getNftEvents: (vars: GetNftEventsQueryVariables) => Promise<import("./generated/graphql").GetNftEventsQuery>;
|
|
48
48
|
balances: (vars: BalancesQueryVariables) => Promise<import("./generated/graphql").BalancesQuery>;
|
package/dist/sdk/Query.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../src/sdk/Query.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,sBAAsB,EAEtB,uBAAuB,EAEvB,sBAAsB,EAEtB,uBAAuB,EAEvB,6BAA6B,EAE7B,kCAAkC,EAElC,qCAAqC,EAErC,sCAAsC,EAEtC,4BAA4B,EAE5B,yBAAyB,EAEzB,0BAA0B,EAE1B,qBAAqB,EAErB,+BAA+B,EAE/B,iCAAiC,EAEjC,mCAAmC,EAEnC,kCAAkC,EAElC,4BAA4B,EAE5B,0BAA0B,EAE1B,
|
|
1
|
+
{"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../src/sdk/Query.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,sBAAsB,EAEtB,uBAAuB,EAEvB,sBAAsB,EAEtB,uBAAuB,EAEvB,6BAA6B,EAE7B,kCAAkC,EAElC,qCAAqC,EAErC,sCAAsC,EAEtC,4BAA4B,EAE5B,yBAAyB,EAEzB,0BAA0B,EAE1B,qBAAqB,EAErB,+BAA+B,EAE/B,iCAAiC,EAEjC,mCAAmC,EAEnC,kCAAkC,EAElC,4BAA4B,EAE5B,0BAA0B,EAE1B,yBAAyB,EAEzB,6BAA6B,EAE7B,8BAA8B,EAE9B,0BAA0B,EAE1B,sCAAsC,EAEtC,6BAA6B,EAE7B,0BAA0B,EAE1B,kCAAkC,EAElC,6CAA6C,EAG7C,8BAA8B,EAC9B,wBAAwB,EAExB,gDAAgD,EAEhD,gCAAgC,EAEhC,6BAA6B,EAE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D,YAAY,SAAgB,0BAA0B,8DACT;IAC7C,6BAA6B,SACrB,2CAA2C,+EACc;IACjE,wBAAwB,SAChB,sCAAsC,0EACc;IAC5D,WAAW,SAAgB,yBAAyB,6DACR;IAC5C,+BAA+B,SACvB,6CAA6C,iFACc;IACnE,YAAY,SAAgB,0BAA0B,8DACT;IAC7C,cAAc,SAAgB,4BAA4B,gEACX;CAChD"}
|
package/dist/sdk/Query.js
CHANGED
|
@@ -34,7 +34,6 @@ class Query {
|
|
|
34
34
|
this.filterExchanges = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.FilterExchangesDocument, vars); });
|
|
35
35
|
this.getPrimePools = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetPrimePoolsDocument, vars); });
|
|
36
36
|
this.getDetailedPairStats = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetDetailedPairStatsDocument, vars); });
|
|
37
|
-
this.getLatestTokens = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetLatestTokensDocument, vars); });
|
|
38
37
|
this.getNftContracts = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetNftContractsDocument, vars); });
|
|
39
38
|
this.getNftPoolEvents = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetNftPoolEventsDocument, vars); });
|
|
40
39
|
this.getTokenPrices = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetTokenPricesDocument, vars); });
|
|
@@ -55,6 +54,7 @@ class Query {
|
|
|
55
54
|
this.getSimulateTokenContractResults = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetSimulateTokenContractResultsDocument, vars); });
|
|
56
55
|
this.top10HoldersPercent = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.Top10HoldersPercentDocument, vars); });
|
|
57
56
|
this.getBars = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetBarsDocument, vars); });
|
|
57
|
+
this.tokenTopTraders = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.TokenTopTradersDocument, vars); });
|
|
58
58
|
this.nftHolders = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.NftHoldersDocument, vars); });
|
|
59
59
|
this.getNftEvents = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetNftEventsDocument, vars); });
|
|
60
60
|
this.balances = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.BalancesDocument, vars); });
|
package/dist/sdk/Query.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Query.js","sourceRoot":"","sources":["../../src/sdk/Query.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,gEAAgE;AAChE,iDAyH6B;AAG7B,MAAa,KAAK;IAChB,YAAoB,GAAU;QAAV,QAAG,GAAH,GAAG,CAAO;QAC9B,iBAAY,GAAG,CAAO,IAAgC,EAAE,EAAE,gDACxD,OAAA,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,8BAAoB,EAAE,IAAI,CAAC,CAAA,GAAA,CAAC;QAC7C,gBAAW,GAAG,CAAO,IAA+B,EAAE,EAAE,gDACtD,OAAA,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,6BAAmB,EAAE,IAAI,CAAC,CAAA,GAAA,CAAC;QAC5C,sBAAiB,GAAG,CAAO,IAAqC,EAAE,EAAE,gDAClE,OAAA,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,mCAAyB,EAAE,IAAI,CAAC,CAAA,GAAA,CAAC;QAClD,eAAU,GAAG,CAAO,IAA8B,EAAE,EAAE,gDACpD,OAAA,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,4BAAkB,EAAE,IAAI,CAAC,CAAA,GAAA,CAAC;QAC3C,yBAAoB,GAAG,CAAO,IAAwC,E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AI,CAAC,GAAG,CAAC,KAAK,CAAC,8BAAoB,EAAE,IAAI,CAAC,CAAA,GAAA,CAAC;QAC7C,kCAA6B,GAAG,CAC9B,IAAiD,EACjD,EAAE,gDAAC,OAAA,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,+CAAqC,EAAE,IAAI,CAAC,CAAA,GAAA,CAAC;QACjE,6BAAwB,GAAG,CACzB,IAA4C,EAC5C,EAAE,gDAAC,OAAA,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,0CAAgC,EAAE,IAAI,CAAC,CAAA,GAAA,CAAC;QAC5D,gBAAW,GAAG,CAAO,IAA+B,EAAE,EAAE,gDACtD,OAAA,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,6BAAmB,EAAE,IAAI,CAAC,CAAA,GAAA,CAAC;QAC5C,oCAA+B,GAAG,CAChC,IAAmD,EACnD,EAAE,gDAAC,OAAA,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,iDAAuC,EAAE,IAAI,CAAC,CAAA,GAAA,CAAC;QACnE,iBAAY,GAAG,CAAO,IAAgC,EAAE,EAAE,gDACxD,OAAA,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,8BAAoB,EAAE,IAAI,CAAC,CAAA,GAAA,CAAC;QAC7C,mBAAc,GAAG,CAAO,IAAkC,EAAE,EAAE,gDAC5D,OAAA,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,gCAAsB,EAAE,IAAI,CAAC,CAAA,GAAA,CAAC;IAhId,CAAC;CAiInC;AAlID,sBAkIC"}
|
package/dist/sdk/Subscribe.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ExecutionResult, Sink } from "graphql-ws";
|
|
2
|
-
import { OnBarsUpdatedSubscription, OnBarsUpdatedSubscriptionVariables, OnDetailedStatsUpdatedSubscription, OnDetailedStatsUpdatedSubscriptionVariables, OnEventLabelCreatedSubscription, OnEventLabelCreatedSubscriptionVariables, OnEventsCreatedSubscription, OnEventsCreatedSubscriptionVariables, OnHoldersUpdatedSubscription, OnHoldersUpdatedSubscriptionVariables, OnLatestPairUpdatedSubscription, OnLatestPairUpdatedSubscriptionVariables, OnLatestTokensSubscription, OnLatestTokensSubscriptionVariables, OnNftAssetsCreatedSubscription, OnNftAssetsCreatedSubscriptionVariables, OnNftEventsCreatedSubscription, OnNftEventsCreatedSubscriptionVariables, OnNftPoolEventsCreatedSubscription, OnNftPoolEventsCreatedSubscriptionVariables, OnPairMetadataUpdatedSubscription, OnPairMetadataUpdatedSubscriptionVariables, OnPricesUpdatedSubscription, OnPricesUpdatedSubscriptionVariables, OnPriceUpdatedSubscription, OnPriceUpdatedSubscriptionVariables, OnSimulateTokenContractSubscription, OnSimulateTokenContractSubscriptionVariables, OnTokenBarsUpdatedSubscription, OnTokenBarsUpdatedSubscriptionVariables, OnTokenEventsCreatedSubscription, OnTokenEventsCreatedSubscriptionVariables, OnTokenLifecycleEventsCreatedSubscription, OnTokenLifecycleEventsCreatedSubscriptionVariables, OnUnconfirmedBarsUpdatedSubscription, OnUnconfirmedBarsUpdatedSubscriptionVariables, OnUnconfirmedEventsCreatedSubscription, OnUnconfirmedEventsCreatedSubscriptionVariables } from "./generated/graphql";
|
|
2
|
+
import { OnBalanceUpdatedSubscription, OnBalanceUpdatedSubscriptionVariables, OnBarsUpdatedSubscription, OnBarsUpdatedSubscriptionVariables, OnDetailedStatsUpdatedSubscription, OnDetailedStatsUpdatedSubscriptionVariables, OnEventLabelCreatedSubscription, OnEventLabelCreatedSubscriptionVariables, OnEventsCreatedSubscription, OnEventsCreatedSubscriptionVariables, OnHoldersUpdatedSubscription, OnHoldersUpdatedSubscriptionVariables, OnLatestPairUpdatedSubscription, OnLatestPairUpdatedSubscriptionVariables, OnLatestTokensSubscription, OnLatestTokensSubscriptionVariables, OnLaunchpadTokenEventSubscription, OnLaunchpadTokenEventSubscriptionVariables, OnNftAssetsCreatedSubscription, OnNftAssetsCreatedSubscriptionVariables, OnNftEventsCreatedSubscription, OnNftEventsCreatedSubscriptionVariables, OnNftPoolEventsCreatedSubscription, OnNftPoolEventsCreatedSubscriptionVariables, OnPairMetadataUpdatedSubscription, OnPairMetadataUpdatedSubscriptionVariables, OnPricesUpdatedSubscription, OnPricesUpdatedSubscriptionVariables, OnPriceUpdatedSubscription, OnPriceUpdatedSubscriptionVariables, OnSimulateTokenContractSubscription, OnSimulateTokenContractSubscriptionVariables, OnTokenBarsUpdatedSubscription, OnTokenBarsUpdatedSubscriptionVariables, OnTokenEventsCreatedSubscription, OnTokenEventsCreatedSubscriptionVariables, OnTokenLifecycleEventsCreatedSubscription, OnTokenLifecycleEventsCreatedSubscriptionVariables, OnUnconfirmedBarsUpdatedSubscription, OnUnconfirmedBarsUpdatedSubscriptionVariables, OnUnconfirmedEventsCreatedSubscription, OnUnconfirmedEventsCreatedSubscriptionVariables } from "./generated/graphql";
|
|
3
3
|
import { Codex } from "./index";
|
|
4
4
|
export declare class Subscribe {
|
|
5
5
|
private sdk;
|
|
@@ -20,8 +20,10 @@ export declare class Subscribe {
|
|
|
20
20
|
onLatestPairUpdated: (vars: OnLatestPairUpdatedSubscriptionVariables, sink: Sink<ExecutionResult<OnLatestPairUpdatedSubscription>>) => Promise<import("./index").CleanupFunction>;
|
|
21
21
|
onEventsCreated: (vars: OnEventsCreatedSubscriptionVariables, sink: Sink<ExecutionResult<OnEventsCreatedSubscription>>) => Promise<import("./index").CleanupFunction>;
|
|
22
22
|
onBarsUpdated: (vars: OnBarsUpdatedSubscriptionVariables, sink: Sink<ExecutionResult<OnBarsUpdatedSubscription>>) => Promise<import("./index").CleanupFunction>;
|
|
23
|
+
onLaunchpadTokenEvent: (vars: OnLaunchpadTokenEventSubscriptionVariables, sink: Sink<ExecutionResult<OnLaunchpadTokenEventSubscription>>) => Promise<import("./index").CleanupFunction>;
|
|
23
24
|
onNftAssetsCreated: (vars: OnNftAssetsCreatedSubscriptionVariables, sink: Sink<ExecutionResult<OnNftAssetsCreatedSubscription>>) => Promise<import("./index").CleanupFunction>;
|
|
24
25
|
onDetailedStatsUpdated: (vars: OnDetailedStatsUpdatedSubscriptionVariables, sink: Sink<ExecutionResult<OnDetailedStatsUpdatedSubscription>>) => Promise<import("./index").CleanupFunction>;
|
|
26
|
+
onBalanceUpdated: (vars: OnBalanceUpdatedSubscriptionVariables, sink: Sink<ExecutionResult<OnBalanceUpdatedSubscription>>) => Promise<import("./index").CleanupFunction>;
|
|
25
27
|
onPricesUpdated: (vars: OnPricesUpdatedSubscriptionVariables, sink: Sink<ExecutionResult<OnPricesUpdatedSubscription>>) => Promise<import("./index").CleanupFunction>;
|
|
26
28
|
}
|
|
27
29
|
//# sourceMappingURL=Subscribe.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Subscribe.d.ts","sourceRoot":"","sources":["../../src/sdk/Subscribe.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAEnD,OAAO,EACL,yBAAyB,EACzB,kCAAkC,EAClC,kCAAkC,EAClC,2CAA2C,EAC3C,+BAA+B,EAC/B,wCAAwC,EACxC,2BAA2B,EAC3B,oCAAoC,EACpC,4BAA4B,EAC5B,qCAAqC,EACrC,+BAA+B,EAC/B,wCAAwC,EACxC,0BAA0B,EAC1B,mCAAmC,EACnC,8BAA8B,EAC9B,uCAAuC,EACvC,8BAA8B,EAC9B,uCAAuC,EACvC,kCAAkC,EAClC,2CAA2C,EAC3C,iCAAiC,EACjC,0CAA0C,EAC1C,2BAA2B,EAC3B,oCAAoC,EACpC,0BAA0B,EAC1B,mCAAmC,EACnC,mCAAmC,EACnC,4CAA4C,EAC5C,8BAA8B,EAC9B,uCAAuC,EACvC,gCAAgC,EAChC,yCAAyC,EACzC,yCAAyC,EACzC,kDAAkD,EAClD,oCAAoC,EACpC,6CAA6C,EAC7C,sCAAsC,EACtC,+CAA+C,EAChD,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,KAAK,EAAE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