@codex-data/sdk 1.0.6 → 1.0.8
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/graphql.d.ts +1336 -16
- package/dist/resources/graphql.d.ts.map +1 -1
- package/dist/resources/graphql.js +224 -1
- package/dist/resources/graphql.js.map +1 -1
- 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 +54 -50
- package/dist/sdk/Query.d.ts.map +1 -1
- package/dist/sdk/Query.js +53 -49
- package/dist/sdk/Query.js.map +1 -1
- package/dist/sdk/Subscribe.d.ts +18 -17
- package/dist/sdk/Subscribe.d.ts.map +1 -1
- package/dist/sdk/Subscribe.js +170 -76
- package/dist/sdk/Subscribe.js.map +1 -1
- package/dist/sdk/generated/gql.d.ts +69 -34
- package/dist/sdk/generated/gql.d.ts.map +1 -1
- package/dist/sdk/generated/gql.js +22 -17
- package/dist/sdk/generated/gql.js.map +1 -1
- package/dist/sdk/generated/graphql.d.ts +2002 -17
- package/dist/sdk/generated/graphql.d.ts.map +1 -1
- package/dist/sdk/generated/graphql.js +248 -20
- package/dist/sdk/generated/graphql.js.map +1 -1
- package/dist/sdk/index.d.ts +11 -3
- package/dist/sdk/index.d.ts.map +1 -1
- package/dist/sdk/index.js +33 -19
- package/dist/sdk/index.js.map +1 -1
- package/dist/sdk/index.test.js +2 -2
- package/dist/sdk/index.test.js.map +1 -1
- package/package.json +1 -2
- package/src/resources/generated_queries/DetailedWalletStats.graphql +197 -0
- package/src/resources/generated_queries/FilterPairs.graphql +20 -0
- package/src/resources/generated_queries/FilterTokenWallets.graphql +139 -0
- package/src/resources/generated_queries/FilterTokens.graphql +21 -0
- package/src/resources/generated_queries/FilterWallets.graphql +56 -0
- package/src/resources/generated_queries/GetBars.graphql +4 -1
- package/src/resources/generated_queries/GetCommunityNotes.graphql +2 -0
- package/src/resources/generated_queries/GetDetailedPairStats.graphql +4 -0
- package/src/resources/generated_queries/GetDetailedPairsStats.graphql +4 -0
- package/src/resources/generated_queries/GetTokenEvents.graphql +1 -0
- package/src/resources/generated_queries/GetTokenEventsForMaker.graphql +1 -0
- package/src/resources/generated_queries/ListPairsForToken.graphql +4 -0
- package/src/resources/generated_queries/ListPairsWithMetadataForToken.graphql +8 -0
- package/src/resources/generated_queries/PairMetadata.graphql +4 -0
- package/src/resources/generated_queries/Token.graphql +2 -0
- package/src/resources/generated_queries/Tokens.graphql +2 -0
- package/src/resources/generated_queries/WalletChart.graphql +19 -0
- package/src/resources/generated_subscriptions/OnEventsCreated.graphql +1 -0
- package/src/resources/generated_subscriptions/OnLaunchpadTokenEvent.graphql +2 -0
- package/{dist/resources/generated_subscriptions/OnLaunchpadTokenEvent.graphql → src/resources/generated_subscriptions/OnLaunchpadTokenEventBatch.graphql} +4 -2
- package/src/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +4 -0
- package/src/resources/generated_subscriptions/OnTokenEventsCreated.graphql +1 -0
- package/src/resources/graphql.schema.json +16044 -7731
- package/src/resources/graphql.ts +1378 -16
- package/src/resources/schema.graphql +1882 -25
- 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 +120 -104
- package/src/sdk/Subscribe.ts +217 -115
- package/src/sdk/generated/gql.ts +59 -34
- package/src/sdk/generated/graphql.ts +1450 -50
- package/src/sdk/index.test.ts +3 -3
- package/src/sdk/index.ts +69 -18
- package/dist/resources/generated_mutations/CreateApiTokens.graphql +0 -9
- package/dist/resources/generated_mutations/CreateWebhooks.graphql +0 -472
- package/dist/resources/generated_mutations/DeleteApiToken.graphql +0 -3
- package/dist/resources/generated_mutations/DeleteWebhooks.graphql +0 -5
- package/dist/resources/generated_queries/ApiToken.graphql +0 -9
- package/dist/resources/generated_queries/ApiTokens.graphql +0 -9
- package/dist/resources/generated_queries/Balances.graphql +0 -15
- package/dist/resources/generated_queries/ChartUrls.graphql +0 -7
- package/dist/resources/generated_queries/FilterExchanges.graphql +0 -43
- package/dist/resources/generated_queries/FilterNftCollections.graphql +0 -569
- package/dist/resources/generated_queries/FilterNftParallelAssets.graphql +0 -60
- package/dist/resources/generated_queries/FilterNftPoolCollections.graphql +0 -71
- package/dist/resources/generated_queries/FilterNftPools.graphql +0 -124
- package/dist/resources/generated_queries/FilterPairs.graphql +0 -399
- package/dist/resources/generated_queries/FilterTokens.graphql +0 -336
- package/dist/resources/generated_queries/GetBars.graphql +0 -209
- package/dist/resources/generated_queries/GetCommunityNotes.graphql +0 -133
- package/dist/resources/generated_queries/GetDetailedNftStats.graphql +0 -831
- package/dist/resources/generated_queries/GetDetailedPairStats.graphql +0 -966
- package/dist/resources/generated_queries/GetDetailedPairsStats.graphql +0 -950
- package/dist/resources/generated_queries/GetEventLabels.graphql +0 -35
- package/dist/resources/generated_queries/GetExchanges.graphql +0 -12
- package/dist/resources/generated_queries/GetNetworkStats.graphql +0 -20
- package/dist/resources/generated_queries/GetNetworkStatus.graphql +0 -8
- package/dist/resources/generated_queries/GetNetworks.graphql +0 -7
- package/dist/resources/generated_queries/GetNftAssets.graphql +0 -59
- package/dist/resources/generated_queries/GetNftCollectionMetadata.graphql +0 -75
- package/dist/resources/generated_queries/GetNftContracts.graphql +0 -39
- package/dist/resources/generated_queries/GetNftEvents.graphql +0 -100
- package/dist/resources/generated_queries/GetNftPool.graphql +0 -74
- package/dist/resources/generated_queries/GetNftPoolCollection.graphql +0 -33
- package/dist/resources/generated_queries/GetNftPoolCollectionsByExchange.graphql +0 -38
- package/dist/resources/generated_queries/GetNftPoolEvents.graphql +0 -416
- package/dist/resources/generated_queries/GetNftPoolStats.graphql +0 -40
- package/dist/resources/generated_queries/GetNftPoolsByCollectionAndExchange.graphql +0 -89
- package/dist/resources/generated_queries/GetNftPoolsByOwner.graphql +0 -89
- package/dist/resources/generated_queries/GetParallelCardChanges.graphql +0 -57
- package/dist/resources/generated_queries/GetPrimePoolAssets.graphql +0 -32
- package/dist/resources/generated_queries/GetPrimePoolEvents.graphql +0 -156
- package/dist/resources/generated_queries/GetPrimePools.graphql +0 -62
- package/dist/resources/generated_queries/GetSimulateTokenContractResults.graphql +0 -128
- package/dist/resources/generated_queries/GetSymbol.graphql +0 -11
- package/dist/resources/generated_queries/GetTokenEvents.graphql +0 -100
- package/dist/resources/generated_queries/GetTokenEventsForMaker.graphql +0 -100
- package/dist/resources/generated_queries/GetTokenPrices.graphql +0 -10
- package/dist/resources/generated_queries/GetWebhooks.graphql +0 -134
- package/dist/resources/generated_queries/Holders.graphql +0 -18
- package/dist/resources/generated_queries/LiquidityLocks.graphql +0 -26
- package/dist/resources/generated_queries/LiquidityMetadata.graphql +0 -17
- package/dist/resources/generated_queries/ListPairsForToken.graphql +0 -169
- package/dist/resources/generated_queries/ListPairsWithMetadataForToken.graphql +0 -338
- package/dist/resources/generated_queries/ListTopTokens.graphql +0 -55
- package/dist/resources/generated_queries/NftHolders.graphql +0 -12
- package/dist/resources/generated_queries/PairMetadata.graphql +0 -225
- package/dist/resources/generated_queries/PrimeHolders.graphql +0 -16
- package/dist/resources/generated_queries/SearchNfts.graphql +0 -35
- package/dist/resources/generated_queries/Token.graphql +0 -76
- package/dist/resources/generated_queries/TokenLifecycleEvents.graphql +0 -34
- package/dist/resources/generated_queries/TokenSparklines.graphql +0 -10
- package/dist/resources/generated_queries/TokenTopTraders.graphql +0 -26
- package/dist/resources/generated_queries/Tokens.graphql +0 -76
- package/dist/resources/generated_queries/Top10HoldersPercent.graphql +0 -3
- package/dist/resources/generated_queries/WalletNftCollectionAssets.graphql +0 -11
- package/dist/resources/generated_queries/WalletNftCollections.graphql +0 -10
- package/dist/resources/generated_subscriptions/OnBalanceUpdated.graphql +0 -12
- package/dist/resources/generated_subscriptions/OnBarsUpdated.graphql +0 -555
- package/dist/resources/generated_subscriptions/OnDetailedStatsUpdated.graphql +0 -332
- package/dist/resources/generated_subscriptions/OnEventLabelCreated.graphql +0 -22
- package/dist/resources/generated_subscriptions/OnEventsCreated.graphql +0 -103
- package/dist/resources/generated_subscriptions/OnHoldersUpdated.graphql +0 -18
- package/dist/resources/generated_subscriptions/OnLatestPairUpdated.graphql +0 -42
- package/dist/resources/generated_subscriptions/OnLatestTokens.graphql +0 -37
- package/dist/resources/generated_subscriptions/OnNftAssetsCreated.graphql +0 -42
- package/dist/resources/generated_subscriptions/OnNftEventsCreated.graphql +0 -82
- package/dist/resources/generated_subscriptions/OnNftPoolEventsCreated.graphql +0 -412
- package/dist/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +0 -225
- package/dist/resources/generated_subscriptions/OnPriceUpdated.graphql +0 -18
- package/dist/resources/generated_subscriptions/OnPricesUpdated.graphql +0 -10
- package/dist/resources/generated_subscriptions/OnSimulateTokenContract.graphql +0 -121
- package/dist/resources/generated_subscriptions/OnTokenBarsUpdated.graphql +0 -556
- package/dist/resources/generated_subscriptions/OnTokenEventsCreated.graphql +0 -90
- package/dist/resources/generated_subscriptions/OnTokenLifecycleEventsCreated.graphql +0 -30
- package/dist/resources/generated_subscriptions/OnUnconfirmedBarsUpdated.graphql +0 -70
- package/dist/resources/generated_subscriptions/OnUnconfirmedEventsCreated.graphql +0 -50
- package/dist/resources/graphql.schema.json +0 -55231
- package/dist/resources/graphql.ts +0 -8865
- package/dist/resources/mutations_override/CreateWebhooks.graphql +0 -472
- package/dist/resources/queries_override/GetEventLabels.graphql +0 -35
- package/dist/resources/queries_override/GetWebhooks.graphql +0 -134
- package/dist/resources/schema.graphql +0 -11771
- package/dist/resources/subscriptions_override/OnEventLabelCreated.graphql +0 -22
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
query FilterWallets($input: FilterWalletsInput!) {
|
|
2
|
+
filterWallets(input: $input) {
|
|
3
|
+
count
|
|
4
|
+
offset
|
|
5
|
+
results {
|
|
6
|
+
address
|
|
7
|
+
averageProfitUsdPerTrade1d
|
|
8
|
+
averageProfitUsdPerTrade1w
|
|
9
|
+
averageProfitUsdPerTrade1y
|
|
10
|
+
averageProfitUsdPerTrade30d
|
|
11
|
+
averageSwapAmountUsd1d
|
|
12
|
+
averageSwapAmountUsd1w
|
|
13
|
+
averageSwapAmountUsd1y
|
|
14
|
+
averageSwapAmountUsd30d
|
|
15
|
+
botScore
|
|
16
|
+
firstTransactionAt
|
|
17
|
+
labels
|
|
18
|
+
lastTransactionAt
|
|
19
|
+
nativeTokenBalance
|
|
20
|
+
networkId
|
|
21
|
+
realizedProfitPercentage1d
|
|
22
|
+
realizedProfitPercentage1w
|
|
23
|
+
realizedProfitPercentage1y
|
|
24
|
+
realizedProfitPercentage30d
|
|
25
|
+
realizedProfitUsd1d
|
|
26
|
+
realizedProfitUsd1w
|
|
27
|
+
realizedProfitUsd1y
|
|
28
|
+
realizedProfitUsd30d
|
|
29
|
+
scammerScore
|
|
30
|
+
swaps1d
|
|
31
|
+
swaps1w
|
|
32
|
+
swaps1y
|
|
33
|
+
swaps30d
|
|
34
|
+
swapsAll1d
|
|
35
|
+
swapsAll1w
|
|
36
|
+
swapsAll1y
|
|
37
|
+
swapsAll30d
|
|
38
|
+
uniqueTokens1d
|
|
39
|
+
uniqueTokens1w
|
|
40
|
+
uniqueTokens1y
|
|
41
|
+
uniqueTokens30d
|
|
42
|
+
volumeUsd1d
|
|
43
|
+
volumeUsd1w
|
|
44
|
+
volumeUsd1y
|
|
45
|
+
volumeUsd30d
|
|
46
|
+
volumeUsdAll1d
|
|
47
|
+
volumeUsdAll1w
|
|
48
|
+
volumeUsdAll1y
|
|
49
|
+
volumeUsdAll30d
|
|
50
|
+
winRate1d
|
|
51
|
+
winRate1w
|
|
52
|
+
winRate1y
|
|
53
|
+
winRate30d
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
@@ -87,6 +87,8 @@ query GetBars(
|
|
|
87
87
|
completedAt
|
|
88
88
|
completedSlot
|
|
89
89
|
graduationPercent
|
|
90
|
+
launchpadName
|
|
91
|
+
launchpadProtocol
|
|
90
92
|
migrated
|
|
91
93
|
migratedAt
|
|
92
94
|
migratedPoolAddress
|
|
@@ -162,6 +164,8 @@ query GetBars(
|
|
|
162
164
|
completedAt
|
|
163
165
|
completedSlot
|
|
164
166
|
graduationPercent
|
|
167
|
+
launchpadName
|
|
168
|
+
launchpadProtocol
|
|
165
169
|
migrated
|
|
166
170
|
migratedAt
|
|
167
171
|
migratedPoolAddress
|
|
@@ -202,7 +206,6 @@ query GetBars(
|
|
|
202
206
|
t
|
|
203
207
|
traders
|
|
204
208
|
transactions
|
|
205
|
-
v
|
|
206
209
|
volume
|
|
207
210
|
volumeNativeToken
|
|
208
211
|
}
|
|
@@ -74,6 +74,8 @@ query GetDetailedPairStats(
|
|
|
74
74
|
completedAt
|
|
75
75
|
completedSlot
|
|
76
76
|
graduationPercent
|
|
77
|
+
launchpadName
|
|
78
|
+
launchpadProtocol
|
|
77
79
|
migrated
|
|
78
80
|
migratedAt
|
|
79
81
|
migratedPoolAddress
|
|
@@ -149,6 +151,8 @@ query GetDetailedPairStats(
|
|
|
149
151
|
completedAt
|
|
150
152
|
completedSlot
|
|
151
153
|
graduationPercent
|
|
154
|
+
launchpadName
|
|
155
|
+
launchpadProtocol
|
|
152
156
|
migrated
|
|
153
157
|
migratedAt
|
|
154
158
|
migratedPoolAddress
|
|
@@ -58,6 +58,8 @@ query GetDetailedPairsStats($input: [GetDetailedPairsStatsInput!]!) {
|
|
|
58
58
|
completedAt
|
|
59
59
|
completedSlot
|
|
60
60
|
graduationPercent
|
|
61
|
+
launchpadName
|
|
62
|
+
launchpadProtocol
|
|
61
63
|
migrated
|
|
62
64
|
migratedAt
|
|
63
65
|
migratedPoolAddress
|
|
@@ -133,6 +135,8 @@ query GetDetailedPairsStats($input: [GetDetailedPairsStatsInput!]!) {
|
|
|
133
135
|
completedAt
|
|
134
136
|
completedSlot
|
|
135
137
|
graduationPercent
|
|
138
|
+
launchpadName
|
|
139
|
+
launchpadProtocol
|
|
136
140
|
migrated
|
|
137
141
|
migratedAt
|
|
138
142
|
migratedPoolAddress
|
|
@@ -58,6 +58,8 @@ query ListPairsForToken($limit: Int, $networkId: Int!, $tokenAddress: String!) {
|
|
|
58
58
|
completedAt
|
|
59
59
|
completedSlot
|
|
60
60
|
graduationPercent
|
|
61
|
+
launchpadName
|
|
62
|
+
launchpadProtocol
|
|
61
63
|
migrated
|
|
62
64
|
migratedAt
|
|
63
65
|
migratedPoolAddress
|
|
@@ -133,6 +135,8 @@ query ListPairsForToken($limit: Int, $networkId: Int!, $tokenAddress: String!) {
|
|
|
133
135
|
completedAt
|
|
134
136
|
completedSlot
|
|
135
137
|
graduationPercent
|
|
138
|
+
launchpadName
|
|
139
|
+
launchpadProtocol
|
|
136
140
|
migrated
|
|
137
141
|
migratedAt
|
|
138
142
|
migratedPoolAddress
|
|
@@ -51,6 +51,8 @@ query ListPairsWithMetadataForToken(
|
|
|
51
51
|
completedAt
|
|
52
52
|
completedSlot
|
|
53
53
|
graduationPercent
|
|
54
|
+
launchpadName
|
|
55
|
+
launchpadProtocol
|
|
54
56
|
migrated
|
|
55
57
|
migratedAt
|
|
56
58
|
migratedPoolAddress
|
|
@@ -149,6 +151,8 @@ query ListPairsWithMetadataForToken(
|
|
|
149
151
|
completedAt
|
|
150
152
|
completedSlot
|
|
151
153
|
graduationPercent
|
|
154
|
+
launchpadName
|
|
155
|
+
launchpadProtocol
|
|
152
156
|
migrated
|
|
153
157
|
migratedAt
|
|
154
158
|
migratedPoolAddress
|
|
@@ -224,6 +228,8 @@ query ListPairsWithMetadataForToken(
|
|
|
224
228
|
completedAt
|
|
225
229
|
completedSlot
|
|
226
230
|
graduationPercent
|
|
231
|
+
launchpadName
|
|
232
|
+
launchpadProtocol
|
|
227
233
|
migrated
|
|
228
234
|
migratedAt
|
|
229
235
|
migratedPoolAddress
|
|
@@ -300,6 +306,8 @@ query ListPairsWithMetadataForToken(
|
|
|
300
306
|
completedAt
|
|
301
307
|
completedSlot
|
|
302
308
|
graduationPercent
|
|
309
|
+
launchpadName
|
|
310
|
+
launchpadProtocol
|
|
303
311
|
migrated
|
|
304
312
|
migratedAt
|
|
305
313
|
migratedPoolAddress
|
|
@@ -51,6 +51,8 @@ query PairMetadata(
|
|
|
51
51
|
completedAt
|
|
52
52
|
completedSlot
|
|
53
53
|
graduationPercent
|
|
54
|
+
launchpadName
|
|
55
|
+
launchpadProtocol
|
|
54
56
|
migrated
|
|
55
57
|
migratedAt
|
|
56
58
|
migratedPoolAddress
|
|
@@ -125,6 +127,8 @@ query PairMetadata(
|
|
|
125
127
|
completedAt
|
|
126
128
|
completedSlot
|
|
127
129
|
graduationPercent
|
|
130
|
+
launchpadName
|
|
131
|
+
launchpadProtocol
|
|
128
132
|
migrated
|
|
129
133
|
migratedAt
|
|
130
134
|
migratedPoolAddress
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
query WalletChart($input: WalletChartInput!) {
|
|
2
|
+
walletChart(input: $input) {
|
|
3
|
+
data {
|
|
4
|
+
realizedProfitUsd
|
|
5
|
+
resolution
|
|
6
|
+
swaps
|
|
7
|
+
timestamp
|
|
8
|
+
volumeUsd
|
|
9
|
+
volumeUsdAll
|
|
10
|
+
}
|
|
11
|
+
networkId
|
|
12
|
+
range {
|
|
13
|
+
end
|
|
14
|
+
start
|
|
15
|
+
}
|
|
16
|
+
resolution
|
|
17
|
+
walletAddress
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
subscription
|
|
2
|
-
|
|
1
|
+
subscription OnLaunchpadTokenEventBatch {
|
|
2
|
+
onLaunchpadTokenEventBatch {
|
|
3
3
|
address
|
|
4
4
|
buyCount1
|
|
5
5
|
eventType
|
|
@@ -51,10 +51,12 @@ subscription OnLaunchpadTokenEvent($input: OnLaunchpadTokenEventInput) {
|
|
|
51
51
|
completedAt
|
|
52
52
|
completedSlot
|
|
53
53
|
graduationPercent
|
|
54
|
+
launchpadProtocol
|
|
54
55
|
migrated
|
|
55
56
|
migratedAt
|
|
56
57
|
migratedPoolAddress
|
|
57
58
|
migratedSlot
|
|
59
|
+
name
|
|
58
60
|
poolAddress
|
|
59
61
|
}
|
|
60
62
|
mintable
|
|
@@ -51,6 +51,8 @@ subscription OnPairMetadataUpdated(
|
|
|
51
51
|
completedAt
|
|
52
52
|
completedSlot
|
|
53
53
|
graduationPercent
|
|
54
|
+
launchpadName
|
|
55
|
+
launchpadProtocol
|
|
54
56
|
migrated
|
|
55
57
|
migratedAt
|
|
56
58
|
migratedPoolAddress
|
|
@@ -125,6 +127,8 @@ subscription OnPairMetadataUpdated(
|
|
|
125
127
|
completedAt
|
|
126
128
|
completedSlot
|
|
127
129
|
graduationPercent
|
|
130
|
+
launchpadName
|
|
131
|
+
launchpadProtocol
|
|
128
132
|
migrated
|
|
129
133
|
migratedAt
|
|
130
134
|
migratedPoolAddress
|