@codex-data/sdk 1.0.22 → 1.0.24
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 +89 -17
- package/dist/resources/graphql.d.ts.map +1 -1
- package/dist/resources/graphql.js +4 -0
- package/dist/resources/graphql.js.map +1 -1
- package/dist/sdk/Mutation.d.ts +3 -2
- package/dist/sdk/Mutation.d.ts.map +1 -1
- package/dist/sdk/Mutation.js +2 -1
- package/dist/sdk/Mutation.js.map +1 -1
- package/dist/sdk/Query.d.ts +49 -48
- package/dist/sdk/Query.d.ts.map +1 -1
- package/dist/sdk/Query.js +48 -47
- package/dist/sdk/Query.js.map +1 -1
- package/dist/sdk/Subscribe.d.ts +17 -17
- package/dist/sdk/Subscribe.d.ts.map +1 -1
- package/dist/sdk/Subscribe.js +83 -83
- package/dist/sdk/Subscribe.js.map +1 -1
- package/dist/sdk/generated/gql.d.ts +52 -38
- package/dist/sdk/generated/gql.d.ts.map +1 -1
- package/dist/sdk/generated/gql.js +21 -19
- package/dist/sdk/generated/gql.js.map +1 -1
- package/dist/sdk/generated/graphql.d.ts +441 -17
- package/dist/sdk/generated/graphql.d.ts.map +1 -1
- package/dist/sdk/generated/graphql.js +28 -22
- package/dist/sdk/generated/graphql.js.map +1 -1
- package/dist/sdk/index.d.ts +1 -0
- package/dist/sdk/index.d.ts.map +1 -1
- package/dist/sdk/index.js +1 -0
- package/dist/sdk/index.js.map +1 -1
- package/dist/sdk/index.test.js +18 -0
- package/dist/sdk/index.test.js.map +1 -1
- package/package.json +1 -1
- package/src/resources/generated_mutations/BackfillWalletAggregates.graphql +6 -0
- package/src/resources/generated_queries/Balances.graphql +2 -0
- package/src/resources/generated_queries/FilterPairs.graphql +18 -0
- package/src/resources/generated_queries/FilterTokenWallets.graphql +2 -0
- package/src/resources/generated_queries/FilterTokens.graphql +198 -0
- package/src/resources/generated_queries/GetBars.graphql +14 -0
- package/src/resources/generated_queries/GetCommunityNotes.graphql +2 -0
- package/src/resources/generated_queries/GetDetailedPairStats.graphql +14 -0
- package/src/resources/generated_queries/GetDetailedPairsStats.graphql +14 -0
- package/src/resources/generated_queries/Holders.graphql +2 -0
- package/src/resources/generated_queries/ListPairsForToken.graphql +14 -0
- package/src/resources/generated_queries/ListPairsWithMetadataForToken.graphql +18 -0
- package/src/resources/generated_queries/PairMetadata.graphql +4 -0
- package/src/resources/generated_queries/PrimeHolders.graphql +2 -0
- package/src/resources/generated_queries/Token.graphql +2 -0
- package/src/resources/generated_queries/Tokens.graphql +2 -0
- package/src/resources/generated_queries/WalletAggregateBackfillState.graphql +6 -0
- package/src/resources/generated_subscriptions/OnBalanceUpdated.graphql +2 -0
- package/src/resources/generated_subscriptions/OnHoldersUpdated.graphql +2 -0
- package/src/resources/generated_subscriptions/OnLaunchpadTokenEvent.graphql +4 -0
- package/src/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +4 -0
- package/src/resources/graphql.schema.json +391 -27
- package/src/resources/graphql.ts +89 -17
- package/src/resources/schema.graphql +71 -17
- package/src/sdk/Mutation.ts +7 -2
- package/src/sdk/Query.ts +105 -100
- package/src/sdk/Subscribe.ts +165 -165
- package/src/sdk/generated/gql.ts +48 -38
- package/src/sdk/generated/graphql.ts +143 -55
- package/src/sdk/index.test.ts +25 -0
- package/src/sdk/index.ts +4 -0
|
@@ -38,6 +38,7 @@ query Holders($input: HoldersInput!) {
|
|
|
38
38
|
imageBannerUrl
|
|
39
39
|
imageLargeUrl
|
|
40
40
|
imageSmallUrl
|
|
41
|
+
imageThumbHash
|
|
41
42
|
imageThumbUrl
|
|
42
43
|
isScam
|
|
43
44
|
name
|
|
@@ -51,6 +52,7 @@ query Holders($input: HoldersInput!) {
|
|
|
51
52
|
completedAt
|
|
52
53
|
completedSlot
|
|
53
54
|
graduationPercent
|
|
55
|
+
launchpadIconUrl
|
|
54
56
|
launchpadName
|
|
55
57
|
launchpadProtocol
|
|
56
58
|
migrated
|
|
@@ -14,6 +14,16 @@ query ListPairsForToken($limit: Int, $networkId: Int!, $tokenAddress: String!) {
|
|
|
14
14
|
token0
|
|
15
15
|
token1
|
|
16
16
|
}
|
|
17
|
+
protocolData {
|
|
18
|
+
... on ArenaTradeData {
|
|
19
|
+
tokenId
|
|
20
|
+
type
|
|
21
|
+
}
|
|
22
|
+
... on UniswapV4Data {
|
|
23
|
+
type
|
|
24
|
+
uniswapV4HookAddress
|
|
25
|
+
}
|
|
26
|
+
}
|
|
17
27
|
tickSpacing
|
|
18
28
|
token0
|
|
19
29
|
token0Data {
|
|
@@ -45,6 +55,7 @@ query ListPairsForToken($limit: Int, $networkId: Int!, $tokenAddress: String!) {
|
|
|
45
55
|
imageBannerUrl
|
|
46
56
|
imageLargeUrl
|
|
47
57
|
imageSmallUrl
|
|
58
|
+
imageThumbHash
|
|
48
59
|
imageThumbUrl
|
|
49
60
|
isScam
|
|
50
61
|
name
|
|
@@ -58,6 +69,7 @@ query ListPairsForToken($limit: Int, $networkId: Int!, $tokenAddress: String!) {
|
|
|
58
69
|
completedAt
|
|
59
70
|
completedSlot
|
|
60
71
|
graduationPercent
|
|
72
|
+
launchpadIconUrl
|
|
61
73
|
launchpadName
|
|
62
74
|
launchpadProtocol
|
|
63
75
|
migrated
|
|
@@ -122,6 +134,7 @@ query ListPairsForToken($limit: Int, $networkId: Int!, $tokenAddress: String!) {
|
|
|
122
134
|
imageBannerUrl
|
|
123
135
|
imageLargeUrl
|
|
124
136
|
imageSmallUrl
|
|
137
|
+
imageThumbHash
|
|
125
138
|
imageThumbUrl
|
|
126
139
|
isScam
|
|
127
140
|
name
|
|
@@ -135,6 +148,7 @@ query ListPairsForToken($limit: Int, $networkId: Int!, $tokenAddress: String!) {
|
|
|
135
148
|
completedAt
|
|
136
149
|
completedSlot
|
|
137
150
|
graduationPercent
|
|
151
|
+
launchpadIconUrl
|
|
138
152
|
launchpadName
|
|
139
153
|
launchpadProtocol
|
|
140
154
|
migrated
|
|
@@ -38,6 +38,7 @@ query ListPairsWithMetadataForToken(
|
|
|
38
38
|
imageBannerUrl
|
|
39
39
|
imageLargeUrl
|
|
40
40
|
imageSmallUrl
|
|
41
|
+
imageThumbHash
|
|
41
42
|
imageThumbUrl
|
|
42
43
|
isScam
|
|
43
44
|
name
|
|
@@ -51,6 +52,7 @@ query ListPairsWithMetadataForToken(
|
|
|
51
52
|
completedAt
|
|
52
53
|
completedSlot
|
|
53
54
|
graduationPercent
|
|
55
|
+
launchpadIconUrl
|
|
54
56
|
launchpadName
|
|
55
57
|
launchpadProtocol
|
|
56
58
|
migrated
|
|
@@ -107,6 +109,16 @@ query ListPairsWithMetadataForToken(
|
|
|
107
109
|
token0
|
|
108
110
|
token1
|
|
109
111
|
}
|
|
112
|
+
protocolData {
|
|
113
|
+
... on ArenaTradeData {
|
|
114
|
+
tokenId
|
|
115
|
+
type
|
|
116
|
+
}
|
|
117
|
+
... on UniswapV4Data {
|
|
118
|
+
type
|
|
119
|
+
uniswapV4HookAddress
|
|
120
|
+
}
|
|
121
|
+
}
|
|
110
122
|
tickSpacing
|
|
111
123
|
token0
|
|
112
124
|
token0Data {
|
|
@@ -138,6 +150,7 @@ query ListPairsWithMetadataForToken(
|
|
|
138
150
|
imageBannerUrl
|
|
139
151
|
imageLargeUrl
|
|
140
152
|
imageSmallUrl
|
|
153
|
+
imageThumbHash
|
|
141
154
|
imageThumbUrl
|
|
142
155
|
isScam
|
|
143
156
|
name
|
|
@@ -151,6 +164,7 @@ query ListPairsWithMetadataForToken(
|
|
|
151
164
|
completedAt
|
|
152
165
|
completedSlot
|
|
153
166
|
graduationPercent
|
|
167
|
+
launchpadIconUrl
|
|
154
168
|
launchpadName
|
|
155
169
|
launchpadProtocol
|
|
156
170
|
migrated
|
|
@@ -215,6 +229,7 @@ query ListPairsWithMetadataForToken(
|
|
|
215
229
|
imageBannerUrl
|
|
216
230
|
imageLargeUrl
|
|
217
231
|
imageSmallUrl
|
|
232
|
+
imageThumbHash
|
|
218
233
|
imageThumbUrl
|
|
219
234
|
isScam
|
|
220
235
|
name
|
|
@@ -228,6 +243,7 @@ query ListPairsWithMetadataForToken(
|
|
|
228
243
|
completedAt
|
|
229
244
|
completedSlot
|
|
230
245
|
graduationPercent
|
|
246
|
+
launchpadIconUrl
|
|
231
247
|
launchpadName
|
|
232
248
|
launchpadProtocol
|
|
233
249
|
migrated
|
|
@@ -293,6 +309,7 @@ query ListPairsWithMetadataForToken(
|
|
|
293
309
|
imageBannerUrl
|
|
294
310
|
imageLargeUrl
|
|
295
311
|
imageSmallUrl
|
|
312
|
+
imageThumbHash
|
|
296
313
|
imageThumbUrl
|
|
297
314
|
isScam
|
|
298
315
|
name
|
|
@@ -306,6 +323,7 @@ query ListPairsWithMetadataForToken(
|
|
|
306
323
|
completedAt
|
|
307
324
|
completedSlot
|
|
308
325
|
graduationPercent
|
|
326
|
+
launchpadIconUrl
|
|
309
327
|
launchpadName
|
|
310
328
|
launchpadProtocol
|
|
311
329
|
migrated
|
|
@@ -38,6 +38,7 @@ query PairMetadata(
|
|
|
38
38
|
imageBannerUrl
|
|
39
39
|
imageLargeUrl
|
|
40
40
|
imageSmallUrl
|
|
41
|
+
imageThumbHash
|
|
41
42
|
imageThumbUrl
|
|
42
43
|
isScam
|
|
43
44
|
name
|
|
@@ -51,6 +52,7 @@ query PairMetadata(
|
|
|
51
52
|
completedAt
|
|
52
53
|
completedSlot
|
|
53
54
|
graduationPercent
|
|
55
|
+
launchpadIconUrl
|
|
54
56
|
launchpadName
|
|
55
57
|
launchpadProtocol
|
|
56
58
|
migrated
|
|
@@ -114,6 +116,7 @@ query PairMetadata(
|
|
|
114
116
|
imageBannerUrl
|
|
115
117
|
imageLargeUrl
|
|
116
118
|
imageSmallUrl
|
|
119
|
+
imageThumbHash
|
|
117
120
|
imageThumbUrl
|
|
118
121
|
isScam
|
|
119
122
|
name
|
|
@@ -127,6 +130,7 @@ query PairMetadata(
|
|
|
127
130
|
completedAt
|
|
128
131
|
completedSlot
|
|
129
132
|
graduationPercent
|
|
133
|
+
launchpadIconUrl
|
|
130
134
|
launchpadName
|
|
131
135
|
launchpadProtocol
|
|
132
136
|
migrated
|
|
@@ -38,6 +38,7 @@ query PrimeHolders($cursor: String) {
|
|
|
38
38
|
imageBannerUrl
|
|
39
39
|
imageLargeUrl
|
|
40
40
|
imageSmallUrl
|
|
41
|
+
imageThumbHash
|
|
41
42
|
imageThumbUrl
|
|
42
43
|
isScam
|
|
43
44
|
name
|
|
@@ -51,6 +52,7 @@ query PrimeHolders($cursor: String) {
|
|
|
51
52
|
completedAt
|
|
52
53
|
completedSlot
|
|
53
54
|
graduationPercent
|
|
55
|
+
launchpadIconUrl
|
|
54
56
|
launchpadName
|
|
55
57
|
launchpadProtocol
|
|
56
58
|
migrated
|
|
@@ -28,6 +28,7 @@ query Token($input: TokenInput!) {
|
|
|
28
28
|
imageBannerUrl
|
|
29
29
|
imageLargeUrl
|
|
30
30
|
imageSmallUrl
|
|
31
|
+
imageThumbHash
|
|
31
32
|
imageThumbUrl
|
|
32
33
|
isScam
|
|
33
34
|
name
|
|
@@ -41,6 +42,7 @@ query Token($input: TokenInput!) {
|
|
|
41
42
|
completedAt
|
|
42
43
|
completedSlot
|
|
43
44
|
graduationPercent
|
|
45
|
+
launchpadIconUrl
|
|
44
46
|
launchpadName
|
|
45
47
|
launchpadProtocol
|
|
46
48
|
migrated
|
|
@@ -28,6 +28,7 @@ query Tokens($ids: [TokenInput!]) {
|
|
|
28
28
|
imageBannerUrl
|
|
29
29
|
imageLargeUrl
|
|
30
30
|
imageSmallUrl
|
|
31
|
+
imageThumbHash
|
|
31
32
|
imageThumbUrl
|
|
32
33
|
isScam
|
|
33
34
|
name
|
|
@@ -41,6 +42,7 @@ query Tokens($ids: [TokenInput!]) {
|
|
|
41
42
|
completedAt
|
|
42
43
|
completedSlot
|
|
43
44
|
graduationPercent
|
|
45
|
+
launchpadIconUrl
|
|
44
46
|
launchpadName
|
|
45
47
|
launchpadProtocol
|
|
46
48
|
migrated
|
|
@@ -35,6 +35,7 @@ subscription OnBalanceUpdated($walletAddress: String!) {
|
|
|
35
35
|
imageBannerUrl
|
|
36
36
|
imageLargeUrl
|
|
37
37
|
imageSmallUrl
|
|
38
|
+
imageThumbHash
|
|
38
39
|
imageThumbUrl
|
|
39
40
|
isScam
|
|
40
41
|
name
|
|
@@ -48,6 +49,7 @@ subscription OnBalanceUpdated($walletAddress: String!) {
|
|
|
48
49
|
completedAt
|
|
49
50
|
completedSlot
|
|
50
51
|
graduationPercent
|
|
52
|
+
launchpadIconUrl
|
|
51
53
|
launchpadName
|
|
52
54
|
launchpadProtocol
|
|
53
55
|
migrated
|
|
@@ -36,6 +36,7 @@ subscription OnHoldersUpdated($tokenId: String!) {
|
|
|
36
36
|
imageBannerUrl
|
|
37
37
|
imageLargeUrl
|
|
38
38
|
imageSmallUrl
|
|
39
|
+
imageThumbHash
|
|
39
40
|
imageThumbUrl
|
|
40
41
|
isScam
|
|
41
42
|
name
|
|
@@ -49,6 +50,7 @@ subscription OnHoldersUpdated($tokenId: String!) {
|
|
|
49
50
|
completedAt
|
|
50
51
|
completedSlot
|
|
51
52
|
graduationPercent
|
|
53
|
+
launchpadIconUrl
|
|
52
54
|
launchpadName
|
|
53
55
|
launchpadProtocol
|
|
54
56
|
migrated
|
|
@@ -4,6 +4,8 @@ subscription OnLaunchpadTokenEvent($input: OnLaunchpadTokenEventInput) {
|
|
|
4
4
|
buyCount1
|
|
5
5
|
eventType
|
|
6
6
|
holders
|
|
7
|
+
launchpadName
|
|
8
|
+
liquidity
|
|
7
9
|
marketCap
|
|
8
10
|
networkId
|
|
9
11
|
price
|
|
@@ -38,6 +40,7 @@ subscription OnLaunchpadTokenEvent($input: OnLaunchpadTokenEventInput) {
|
|
|
38
40
|
imageBannerUrl
|
|
39
41
|
imageLargeUrl
|
|
40
42
|
imageSmallUrl
|
|
43
|
+
imageThumbHash
|
|
41
44
|
imageThumbUrl
|
|
42
45
|
isScam
|
|
43
46
|
name
|
|
@@ -51,6 +54,7 @@ subscription OnLaunchpadTokenEvent($input: OnLaunchpadTokenEventInput) {
|
|
|
51
54
|
completedAt
|
|
52
55
|
completedSlot
|
|
53
56
|
graduationPercent
|
|
57
|
+
launchpadIconUrl
|
|
54
58
|
launchpadName
|
|
55
59
|
launchpadProtocol
|
|
56
60
|
migrated
|
|
@@ -30,6 +30,7 @@ subscription OnPairMetadataUpdated($id: String, $quoteToken: QuoteToken) {
|
|
|
30
30
|
imageBannerUrl
|
|
31
31
|
imageLargeUrl
|
|
32
32
|
imageSmallUrl
|
|
33
|
+
imageThumbHash
|
|
33
34
|
imageThumbUrl
|
|
34
35
|
isScam
|
|
35
36
|
name
|
|
@@ -43,6 +44,7 @@ subscription OnPairMetadataUpdated($id: String, $quoteToken: QuoteToken) {
|
|
|
43
44
|
completedAt
|
|
44
45
|
completedSlot
|
|
45
46
|
graduationPercent
|
|
47
|
+
launchpadIconUrl
|
|
46
48
|
launchpadName
|
|
47
49
|
launchpadProtocol
|
|
48
50
|
migrated
|
|
@@ -106,6 +108,7 @@ subscription OnPairMetadataUpdated($id: String, $quoteToken: QuoteToken) {
|
|
|
106
108
|
imageBannerUrl
|
|
107
109
|
imageLargeUrl
|
|
108
110
|
imageSmallUrl
|
|
111
|
+
imageThumbHash
|
|
109
112
|
imageThumbUrl
|
|
110
113
|
isScam
|
|
111
114
|
name
|
|
@@ -119,6 +122,7 @@ subscription OnPairMetadataUpdated($id: String, $quoteToken: QuoteToken) {
|
|
|
119
122
|
completedAt
|
|
120
123
|
completedSlot
|
|
121
124
|
graduationPercent
|
|
125
|
+
launchpadIconUrl
|
|
122
126
|
launchpadName
|
|
123
127
|
launchpadProtocol
|
|
124
128
|
migrated
|