@codex-data/sdk 1.0.3 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/resources/generated_queries/Balances.graphql +2 -0
- package/dist/resources/generated_queries/FilterTokens.graphql +11 -0
- package/dist/resources/generated_queries/GetBars.graphql +143 -0
- package/dist/resources/generated_queries/Holders.graphql +2 -0
- package/dist/resources/generated_queries/PairMetadata.graphql +4 -0
- package/dist/resources/generated_queries/PrimeHolders.graphql +2 -0
- package/dist/resources/generated_subscriptions/OnHoldersUpdated.graphql +17 -0
- package/dist/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +4 -0
- package/dist/resources/generated_subscriptions/OnUnconfirmedEventsCreated.graphql +1 -0
- package/dist/resources/graphql.d.ts +207 -113
- package/dist/resources/graphql.d.ts.map +1 -1
- package/dist/resources/graphql.js +26 -2
- package/dist/resources/graphql.js.map +1 -1
- package/dist/resources/graphql.schema.json +1031 -764
- package/dist/resources/graphql.ts +213 -128
- package/dist/resources/schema.graphql +312 -158
- package/dist/sdk/Mutation.d.ts +2 -2
- package/dist/sdk/Mutation.d.ts.map +1 -1
- package/dist/sdk/Mutation.js +2 -2
- package/dist/sdk/Mutation.js.map +1 -1
- package/dist/sdk/Query.d.ts +50 -59
- package/dist/sdk/Query.d.ts.map +1 -1
- package/dist/sdk/Query.js +49 -58
- package/dist/sdk/Query.js.map +1 -1
- package/dist/sdk/Subscribe.d.ts +13 -12
- package/dist/sdk/Subscribe.d.ts.map +1 -1
- package/dist/sdk/Subscribe.js +86 -79
- package/dist/sdk/Subscribe.js.map +1 -1
- package/dist/sdk/generated/gql.d.ts +24 -91
- package/dist/sdk/generated/gql.d.ts.map +1 -1
- package/dist/sdk/generated/gql.js +9 -17
- package/dist/sdk/generated/gql.js.map +1 -1
- package/dist/sdk/generated/graphql.d.ts +476 -494
- package/dist/sdk/generated/graphql.d.ts.map +1 -1
- package/dist/sdk/generated/graphql.js +37 -21
- package/dist/sdk/generated/graphql.js.map +1 -1
- package/package.json +1 -1
- package/src/resources/generated_queries/Balances.graphql +2 -0
- package/src/resources/generated_queries/FilterTokens.graphql +11 -0
- package/src/resources/generated_queries/GetBars.graphql +143 -0
- package/src/resources/generated_queries/Holders.graphql +2 -0
- package/src/resources/generated_queries/PairMetadata.graphql +4 -0
- package/src/resources/generated_queries/PrimeHolders.graphql +2 -0
- package/src/resources/generated_subscriptions/OnHoldersUpdated.graphql +17 -0
- package/src/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +4 -0
- package/src/resources/generated_subscriptions/OnUnconfirmedEventsCreated.graphql +1 -0
- package/src/resources/graphql.schema.json +1031 -764
- package/src/resources/graphql.ts +213 -128
- package/src/resources/schema.graphql +312 -158
- package/src/sdk/Mutation.ts +4 -4
- package/src/sdk/Query.ts +105 -141
- package/src/sdk/Subscribe.ts +125 -110
- package/src/sdk/generated/gql.ts +21 -61
- package/src/sdk/generated/graphql.ts +241 -227
- package/dist/resources/generated_queries/BackfillWalletState.graphql +0 -3
- package/dist/resources/generated_queries/GetLatestPairs.graphql +0 -57
- package/dist/resources/generated_queries/GetParallelAssets.graphql +0 -50
- package/dist/resources/generated_queries/GetTokenCount.graphql +0 -3
- package/dist/resources/generated_queries/GetTokenInfo.graphql +0 -18
- package/dist/resources/generated_queries/GetTokensInfo.graphql +0 -18
- package/dist/resources/generated_queries/GetUniV3Ticks.graphql +0 -22
- package/dist/resources/generated_queries/ListFavoriteTokens.graphql +0 -59
- package/dist/resources/generated_queries/PrimeBalance.graphql +0 -12
- package/src/resources/generated_queries/BackfillWalletState.graphql +0 -3
- package/src/resources/generated_queries/GetLatestPairs.graphql +0 -57
- package/src/resources/generated_queries/GetParallelAssets.graphql +0 -50
- package/src/resources/generated_queries/GetTokenCount.graphql +0 -3
- package/src/resources/generated_queries/GetTokenInfo.graphql +0 -18
- package/src/resources/generated_queries/GetTokensInfo.graphql +0 -18
- package/src/resources/generated_queries/GetUniV3Ticks.graphql +0 -22
- package/src/resources/generated_queries/ListFavoriteTokens.graphql +0 -59
- package/src/resources/generated_queries/PrimeBalance.graphql +0 -12
package/package.json
CHANGED
|
@@ -23,10 +23,12 @@ query FilterTokens(
|
|
|
23
23
|
results {
|
|
24
24
|
buyCount1
|
|
25
25
|
buyCount4
|
|
26
|
+
buyCount5m
|
|
26
27
|
buyCount12
|
|
27
28
|
buyCount24
|
|
28
29
|
change1
|
|
29
30
|
change4
|
|
31
|
+
change5m
|
|
30
32
|
change12
|
|
31
33
|
change24
|
|
32
34
|
createdAt
|
|
@@ -42,6 +44,7 @@ query FilterTokens(
|
|
|
42
44
|
}
|
|
43
45
|
high1
|
|
44
46
|
high4
|
|
47
|
+
high5m
|
|
45
48
|
high12
|
|
46
49
|
high24
|
|
47
50
|
holders
|
|
@@ -50,6 +53,7 @@ query FilterTokens(
|
|
|
50
53
|
liquidity
|
|
51
54
|
low1
|
|
52
55
|
low4
|
|
56
|
+
low5m
|
|
53
57
|
low12
|
|
54
58
|
low24
|
|
55
59
|
marketCap
|
|
@@ -198,6 +202,7 @@ query FilterTokens(
|
|
|
198
202
|
quoteToken
|
|
199
203
|
sellCount1
|
|
200
204
|
sellCount4
|
|
205
|
+
sellCount5m
|
|
201
206
|
sellCount12
|
|
202
207
|
sellCount24
|
|
203
208
|
token {
|
|
@@ -265,26 +270,32 @@ query FilterTokens(
|
|
|
265
270
|
}
|
|
266
271
|
txnCount1
|
|
267
272
|
txnCount4
|
|
273
|
+
txnCount5m
|
|
268
274
|
txnCount12
|
|
269
275
|
txnCount24
|
|
270
276
|
uniqueBuys1
|
|
271
277
|
uniqueBuys4
|
|
278
|
+
uniqueBuys5m
|
|
272
279
|
uniqueBuys12
|
|
273
280
|
uniqueBuys24
|
|
274
281
|
uniqueSells1
|
|
275
282
|
uniqueSells4
|
|
283
|
+
uniqueSells5m
|
|
276
284
|
uniqueSells12
|
|
277
285
|
uniqueSells24
|
|
278
286
|
uniqueTransactions1
|
|
279
287
|
uniqueTransactions4
|
|
288
|
+
uniqueTransactions5m
|
|
280
289
|
uniqueTransactions12
|
|
281
290
|
uniqueTransactions24
|
|
282
291
|
volume1
|
|
283
292
|
volume4
|
|
293
|
+
volume5m
|
|
284
294
|
volume12
|
|
285
295
|
volume24
|
|
286
296
|
volumeChange1
|
|
287
297
|
volumeChange4
|
|
298
|
+
volumeChange5m
|
|
288
299
|
volumeChange12
|
|
289
300
|
volumeChange24
|
|
290
301
|
}
|
|
@@ -8,6 +8,7 @@ query GetBars(
|
|
|
8
8
|
$resolution: String!
|
|
9
9
|
$statsType: TokenPairStatisticsType
|
|
10
10
|
$symbol: String!
|
|
11
|
+
$symbolType: SymbolType
|
|
11
12
|
$to: Int!
|
|
12
13
|
) {
|
|
13
14
|
getBars(
|
|
@@ -20,6 +21,7 @@ query GetBars(
|
|
|
20
21
|
resolution: $resolution
|
|
21
22
|
statsType: $statsType
|
|
22
23
|
symbol: $symbol
|
|
24
|
+
symbolType: $symbolType
|
|
23
25
|
to: $to
|
|
24
26
|
) {
|
|
25
27
|
buyVolume
|
|
@@ -30,6 +32,147 @@ query GetBars(
|
|
|
30
32
|
l
|
|
31
33
|
liquidity
|
|
32
34
|
o
|
|
35
|
+
pair {
|
|
36
|
+
address
|
|
37
|
+
createdAt
|
|
38
|
+
exchangeHash
|
|
39
|
+
fee
|
|
40
|
+
id
|
|
41
|
+
networkId
|
|
42
|
+
pooled {
|
|
43
|
+
token0
|
|
44
|
+
token1
|
|
45
|
+
}
|
|
46
|
+
tickSpacing
|
|
47
|
+
token0
|
|
48
|
+
token0Data {
|
|
49
|
+
address
|
|
50
|
+
cmcId
|
|
51
|
+
createBlockNumber
|
|
52
|
+
createTransactionHash
|
|
53
|
+
createdAt
|
|
54
|
+
creatorAddress
|
|
55
|
+
decimals
|
|
56
|
+
exchanges {
|
|
57
|
+
address
|
|
58
|
+
color
|
|
59
|
+
exchangeVersion
|
|
60
|
+
iconUrl
|
|
61
|
+
id
|
|
62
|
+
name
|
|
63
|
+
networkId
|
|
64
|
+
tradeUrl
|
|
65
|
+
}
|
|
66
|
+
freezable
|
|
67
|
+
id
|
|
68
|
+
info {
|
|
69
|
+
address
|
|
70
|
+
circulatingSupply
|
|
71
|
+
cmcId
|
|
72
|
+
description
|
|
73
|
+
id
|
|
74
|
+
imageBannerUrl
|
|
75
|
+
imageLargeUrl
|
|
76
|
+
imageSmallUrl
|
|
77
|
+
imageThumbUrl
|
|
78
|
+
isScam
|
|
79
|
+
name
|
|
80
|
+
networkId
|
|
81
|
+
symbol
|
|
82
|
+
totalSupply
|
|
83
|
+
}
|
|
84
|
+
isScam
|
|
85
|
+
mintable
|
|
86
|
+
name
|
|
87
|
+
networkId
|
|
88
|
+
socialLinks {
|
|
89
|
+
bitcointalk
|
|
90
|
+
blog
|
|
91
|
+
coingecko
|
|
92
|
+
coinmarketcap
|
|
93
|
+
discord
|
|
94
|
+
email
|
|
95
|
+
facebook
|
|
96
|
+
github
|
|
97
|
+
instagram
|
|
98
|
+
linkedin
|
|
99
|
+
reddit
|
|
100
|
+
slack
|
|
101
|
+
telegram
|
|
102
|
+
twitch
|
|
103
|
+
twitter
|
|
104
|
+
website
|
|
105
|
+
wechat
|
|
106
|
+
whitepaper
|
|
107
|
+
youtube
|
|
108
|
+
}
|
|
109
|
+
symbol
|
|
110
|
+
}
|
|
111
|
+
token1
|
|
112
|
+
token1Data {
|
|
113
|
+
address
|
|
114
|
+
cmcId
|
|
115
|
+
createBlockNumber
|
|
116
|
+
createTransactionHash
|
|
117
|
+
createdAt
|
|
118
|
+
creatorAddress
|
|
119
|
+
decimals
|
|
120
|
+
exchanges {
|
|
121
|
+
address
|
|
122
|
+
color
|
|
123
|
+
exchangeVersion
|
|
124
|
+
iconUrl
|
|
125
|
+
id
|
|
126
|
+
name
|
|
127
|
+
networkId
|
|
128
|
+
tradeUrl
|
|
129
|
+
}
|
|
130
|
+
freezable
|
|
131
|
+
id
|
|
132
|
+
info {
|
|
133
|
+
address
|
|
134
|
+
circulatingSupply
|
|
135
|
+
cmcId
|
|
136
|
+
description
|
|
137
|
+
id
|
|
138
|
+
imageBannerUrl
|
|
139
|
+
imageLargeUrl
|
|
140
|
+
imageSmallUrl
|
|
141
|
+
imageThumbUrl
|
|
142
|
+
isScam
|
|
143
|
+
name
|
|
144
|
+
networkId
|
|
145
|
+
symbol
|
|
146
|
+
totalSupply
|
|
147
|
+
}
|
|
148
|
+
isScam
|
|
149
|
+
mintable
|
|
150
|
+
name
|
|
151
|
+
networkId
|
|
152
|
+
socialLinks {
|
|
153
|
+
bitcointalk
|
|
154
|
+
blog
|
|
155
|
+
coingecko
|
|
156
|
+
coinmarketcap
|
|
157
|
+
discord
|
|
158
|
+
email
|
|
159
|
+
facebook
|
|
160
|
+
github
|
|
161
|
+
instagram
|
|
162
|
+
linkedin
|
|
163
|
+
reddit
|
|
164
|
+
slack
|
|
165
|
+
telegram
|
|
166
|
+
twitch
|
|
167
|
+
twitter
|
|
168
|
+
website
|
|
169
|
+
wechat
|
|
170
|
+
whitepaper
|
|
171
|
+
youtube
|
|
172
|
+
}
|
|
173
|
+
symbol
|
|
174
|
+
}
|
|
175
|
+
}
|
|
33
176
|
s
|
|
34
177
|
sellVolume
|
|
35
178
|
sellers
|
|
@@ -8,6 +8,7 @@ query PairMetadata(
|
|
|
8
8
|
quoteToken: $quoteToken
|
|
9
9
|
statsType: $statsType
|
|
10
10
|
) {
|
|
11
|
+
createdAt
|
|
11
12
|
enhancedToken0 {
|
|
12
13
|
address
|
|
13
14
|
cmcId
|
|
@@ -139,6 +140,7 @@ query PairMetadata(
|
|
|
139
140
|
highPrice1
|
|
140
141
|
highPrice1w
|
|
141
142
|
highPrice4
|
|
143
|
+
highPrice5m
|
|
142
144
|
highPrice12
|
|
143
145
|
highPrice24
|
|
144
146
|
id
|
|
@@ -147,6 +149,7 @@ query PairMetadata(
|
|
|
147
149
|
lowPrice1
|
|
148
150
|
lowPrice1w
|
|
149
151
|
lowPrice4
|
|
152
|
+
lowPrice5m
|
|
150
153
|
lowPrice12
|
|
151
154
|
lowPrice24
|
|
152
155
|
networkId
|
|
@@ -193,6 +196,7 @@ query PairMetadata(
|
|
|
193
196
|
volume1
|
|
194
197
|
volume1w
|
|
195
198
|
volume4
|
|
199
|
+
volume5m
|
|
196
200
|
volume12
|
|
197
201
|
volume24
|
|
198
202
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
subscription OnHoldersUpdated($tokenId: String!) {
|
|
2
|
+
onHoldersUpdated(tokenId: $tokenId) {
|
|
3
|
+
balances {
|
|
4
|
+
address
|
|
5
|
+
balance
|
|
6
|
+
firstHeldTimestamp
|
|
7
|
+
shiftedBalance
|
|
8
|
+
tokenAddress
|
|
9
|
+
tokenId
|
|
10
|
+
walletId
|
|
11
|
+
}
|
|
12
|
+
holders
|
|
13
|
+
networkId
|
|
14
|
+
tokenAddress
|
|
15
|
+
tokenId
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -8,6 +8,7 @@ subscription OnPairMetadataUpdated(
|
|
|
8
8
|
quoteToken: $quoteToken
|
|
9
9
|
statsType: $statsType
|
|
10
10
|
) {
|
|
11
|
+
createdAt
|
|
11
12
|
enhancedToken0 {
|
|
12
13
|
address
|
|
13
14
|
cmcId
|
|
@@ -139,6 +140,7 @@ subscription OnPairMetadataUpdated(
|
|
|
139
140
|
highPrice1
|
|
140
141
|
highPrice1w
|
|
141
142
|
highPrice4
|
|
143
|
+
highPrice5m
|
|
142
144
|
highPrice12
|
|
143
145
|
highPrice24
|
|
144
146
|
id
|
|
@@ -147,6 +149,7 @@ subscription OnPairMetadataUpdated(
|
|
|
147
149
|
lowPrice1
|
|
148
150
|
lowPrice1w
|
|
149
151
|
lowPrice4
|
|
152
|
+
lowPrice5m
|
|
150
153
|
lowPrice12
|
|
151
154
|
lowPrice24
|
|
152
155
|
networkId
|
|
@@ -193,6 +196,7 @@ subscription OnPairMetadataUpdated(
|
|
|
193
196
|
volume1
|
|
194
197
|
volume1w
|
|
195
198
|
volume4
|
|
199
|
+
volume5m
|
|
196
200
|
volume12
|
|
197
201
|
volume24
|
|
198
202
|
}
|