@codex-data/sdk 1.0.2 → 1.0.4
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/FilterPairs.graphql +44 -0
- package/dist/resources/generated_queries/FilterTokens.graphql +44 -0
- package/dist/resources/generated_queries/GetBars.graphql +165 -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/GetTokenEvents.graphql +2 -0
- package/dist/resources/generated_queries/GetTokenEventsForMaker.graphql +2 -0
- package/dist/resources/generated_queries/Holders.graphql +1 -0
- 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 +152 -0
- package/dist/resources/generated_queries/Token.graphql +11 -0
- package/dist/resources/generated_queries/Tokens.graphql +11 -0
- package/dist/resources/generated_queries/Top10HoldersPercent.graphql +3 -0
- package/dist/resources/generated_subscriptions/OnEventsCreated.graphql +2 -0
- package/dist/resources/generated_subscriptions/OnHoldersUpdated.graphql +15 -0
- package/dist/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +152 -0
- package/dist/resources/generated_subscriptions/OnTokenEventsCreated.graphql +2 -0
- package/dist/resources/generated_subscriptions/OnUnconfirmedEventsCreated.graphql +1 -0
- package/dist/resources/graphql.d.ts +250 -107
- 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 +1506 -931
- package/dist/resources/graphql.ts +260 -122
- package/dist/resources/schema.graphql +386 -154
- package/dist/sdk/Mutation.d.ts +2 -2
- package/dist/sdk/Mutation.js +2 -2
- package/dist/sdk/Query.d.ts +48 -55
- package/dist/sdk/Query.d.ts.map +1 -1
- package/dist/sdk/Query.js +47 -54
- 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 +68 -61
- package/dist/sdk/Subscribe.js.map +1 -1
- package/dist/sdk/generated/gql.d.ts +51 -104
- package/dist/sdk/generated/gql.d.ts.map +1 -1
- package/dist/sdk/generated/gql.js +20 -26
- package/dist/sdk/generated/gql.js.map +1 -1
- package/dist/sdk/generated/graphql.d.ts +1109 -477
- package/dist/sdk/generated/graphql.d.ts.map +1 -1
- package/dist/sdk/generated/graphql.js +48 -30
- package/dist/sdk/generated/graphql.js.map +1 -1
- package/package.json +1 -1
- package/src/resources/generated_queries/FilterPairs.graphql +44 -0
- package/src/resources/generated_queries/FilterTokens.graphql +44 -0
- package/src/resources/generated_queries/GetBars.graphql +165 -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/GetTokenEvents.graphql +2 -0
- package/src/resources/generated_queries/GetTokenEventsForMaker.graphql +2 -0
- package/src/resources/generated_queries/Holders.graphql +1 -0
- 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 +152 -0
- package/src/resources/generated_queries/Token.graphql +11 -0
- package/src/resources/generated_queries/Tokens.graphql +11 -0
- package/src/resources/generated_queries/Top10HoldersPercent.graphql +3 -0
- package/src/resources/generated_subscriptions/OnEventsCreated.graphql +2 -0
- package/src/resources/generated_subscriptions/OnHoldersUpdated.graphql +15 -0
- package/src/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +152 -0
- package/src/resources/generated_subscriptions/OnTokenEventsCreated.graphql +2 -0
- package/src/resources/generated_subscriptions/OnUnconfirmedEventsCreated.graphql +1 -0
- package/src/resources/graphql.schema.json +1506 -931
- package/src/resources/graphql.ts +260 -122
- package/src/resources/schema.graphql +386 -154
- package/src/sdk/Mutation.ts +4 -4
- package/src/sdk/Query.ts +102 -130
- package/src/sdk/Subscribe.ts +112 -97
- package/src/sdk/generated/gql.ts +46 -76
- package/src/sdk/generated/graphql.ts +316 -235
- 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/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
|
@@ -8,11 +8,161 @@ query PairMetadata(
|
|
|
8
8
|
quoteToken: $quoteToken
|
|
9
9
|
statsType: $statsType
|
|
10
10
|
) {
|
|
11
|
+
createdAt
|
|
12
|
+
enhancedToken0 {
|
|
13
|
+
address
|
|
14
|
+
cmcId
|
|
15
|
+
createBlockNumber
|
|
16
|
+
createTransactionHash
|
|
17
|
+
createdAt
|
|
18
|
+
creatorAddress
|
|
19
|
+
decimals
|
|
20
|
+
exchanges {
|
|
21
|
+
address
|
|
22
|
+
color
|
|
23
|
+
exchangeVersion
|
|
24
|
+
iconUrl
|
|
25
|
+
id
|
|
26
|
+
name
|
|
27
|
+
networkId
|
|
28
|
+
tradeUrl
|
|
29
|
+
}
|
|
30
|
+
freezable
|
|
31
|
+
id
|
|
32
|
+
info {
|
|
33
|
+
address
|
|
34
|
+
circulatingSupply
|
|
35
|
+
cmcId
|
|
36
|
+
description
|
|
37
|
+
id
|
|
38
|
+
imageBannerUrl
|
|
39
|
+
imageLargeUrl
|
|
40
|
+
imageSmallUrl
|
|
41
|
+
imageThumbUrl
|
|
42
|
+
isScam
|
|
43
|
+
name
|
|
44
|
+
networkId
|
|
45
|
+
symbol
|
|
46
|
+
totalSupply
|
|
47
|
+
}
|
|
48
|
+
isScam
|
|
49
|
+
launchpad {
|
|
50
|
+
completed
|
|
51
|
+
completedAt
|
|
52
|
+
completedSlot
|
|
53
|
+
graduationPercent
|
|
54
|
+
migrated
|
|
55
|
+
migratedAt
|
|
56
|
+
migratedPoolAddress
|
|
57
|
+
migratedSlot
|
|
58
|
+
poolAddress
|
|
59
|
+
}
|
|
60
|
+
mintable
|
|
61
|
+
name
|
|
62
|
+
networkId
|
|
63
|
+
socialLinks {
|
|
64
|
+
bitcointalk
|
|
65
|
+
blog
|
|
66
|
+
coingecko
|
|
67
|
+
coinmarketcap
|
|
68
|
+
discord
|
|
69
|
+
email
|
|
70
|
+
facebook
|
|
71
|
+
github
|
|
72
|
+
instagram
|
|
73
|
+
linkedin
|
|
74
|
+
reddit
|
|
75
|
+
slack
|
|
76
|
+
telegram
|
|
77
|
+
twitch
|
|
78
|
+
twitter
|
|
79
|
+
website
|
|
80
|
+
wechat
|
|
81
|
+
whitepaper
|
|
82
|
+
youtube
|
|
83
|
+
}
|
|
84
|
+
symbol
|
|
85
|
+
}
|
|
86
|
+
enhancedToken1 {
|
|
87
|
+
address
|
|
88
|
+
cmcId
|
|
89
|
+
createBlockNumber
|
|
90
|
+
createTransactionHash
|
|
91
|
+
createdAt
|
|
92
|
+
creatorAddress
|
|
93
|
+
decimals
|
|
94
|
+
exchanges {
|
|
95
|
+
address
|
|
96
|
+
color
|
|
97
|
+
exchangeVersion
|
|
98
|
+
iconUrl
|
|
99
|
+
id
|
|
100
|
+
name
|
|
101
|
+
networkId
|
|
102
|
+
tradeUrl
|
|
103
|
+
}
|
|
104
|
+
freezable
|
|
105
|
+
id
|
|
106
|
+
info {
|
|
107
|
+
address
|
|
108
|
+
circulatingSupply
|
|
109
|
+
cmcId
|
|
110
|
+
description
|
|
111
|
+
id
|
|
112
|
+
imageBannerUrl
|
|
113
|
+
imageLargeUrl
|
|
114
|
+
imageSmallUrl
|
|
115
|
+
imageThumbUrl
|
|
116
|
+
isScam
|
|
117
|
+
name
|
|
118
|
+
networkId
|
|
119
|
+
symbol
|
|
120
|
+
totalSupply
|
|
121
|
+
}
|
|
122
|
+
isScam
|
|
123
|
+
launchpad {
|
|
124
|
+
completed
|
|
125
|
+
completedAt
|
|
126
|
+
completedSlot
|
|
127
|
+
graduationPercent
|
|
128
|
+
migrated
|
|
129
|
+
migratedAt
|
|
130
|
+
migratedPoolAddress
|
|
131
|
+
migratedSlot
|
|
132
|
+
poolAddress
|
|
133
|
+
}
|
|
134
|
+
mintable
|
|
135
|
+
name
|
|
136
|
+
networkId
|
|
137
|
+
socialLinks {
|
|
138
|
+
bitcointalk
|
|
139
|
+
blog
|
|
140
|
+
coingecko
|
|
141
|
+
coinmarketcap
|
|
142
|
+
discord
|
|
143
|
+
email
|
|
144
|
+
facebook
|
|
145
|
+
github
|
|
146
|
+
instagram
|
|
147
|
+
linkedin
|
|
148
|
+
reddit
|
|
149
|
+
slack
|
|
150
|
+
telegram
|
|
151
|
+
twitch
|
|
152
|
+
twitter
|
|
153
|
+
website
|
|
154
|
+
wechat
|
|
155
|
+
whitepaper
|
|
156
|
+
youtube
|
|
157
|
+
}
|
|
158
|
+
symbol
|
|
159
|
+
}
|
|
11
160
|
exchangeId
|
|
12
161
|
fee
|
|
13
162
|
highPrice1
|
|
14
163
|
highPrice1w
|
|
15
164
|
highPrice4
|
|
165
|
+
highPrice5m
|
|
16
166
|
highPrice12
|
|
17
167
|
highPrice24
|
|
18
168
|
id
|
|
@@ -21,6 +171,7 @@ query PairMetadata(
|
|
|
21
171
|
lowPrice1
|
|
22
172
|
lowPrice1w
|
|
23
173
|
lowPrice4
|
|
174
|
+
lowPrice5m
|
|
24
175
|
lowPrice12
|
|
25
176
|
lowPrice24
|
|
26
177
|
networkId
|
|
@@ -67,6 +218,7 @@ query PairMetadata(
|
|
|
67
218
|
volume1
|
|
68
219
|
volume1w
|
|
69
220
|
volume4
|
|
221
|
+
volume5m
|
|
70
222
|
volume12
|
|
71
223
|
volume24
|
|
72
224
|
}
|
|
@@ -36,6 +36,17 @@ query Token($input: TokenInput!) {
|
|
|
36
36
|
totalSupply
|
|
37
37
|
}
|
|
38
38
|
isScam
|
|
39
|
+
launchpad {
|
|
40
|
+
completed
|
|
41
|
+
completedAt
|
|
42
|
+
completedSlot
|
|
43
|
+
graduationPercent
|
|
44
|
+
migrated
|
|
45
|
+
migratedAt
|
|
46
|
+
migratedPoolAddress
|
|
47
|
+
migratedSlot
|
|
48
|
+
poolAddress
|
|
49
|
+
}
|
|
39
50
|
mintable
|
|
40
51
|
name
|
|
41
52
|
networkId
|
|
@@ -36,6 +36,17 @@ query Tokens($ids: [TokenInput!]) {
|
|
|
36
36
|
totalSupply
|
|
37
37
|
}
|
|
38
38
|
isScam
|
|
39
|
+
launchpad {
|
|
40
|
+
completed
|
|
41
|
+
completedAt
|
|
42
|
+
completedSlot
|
|
43
|
+
graduationPercent
|
|
44
|
+
migrated
|
|
45
|
+
migratedAt
|
|
46
|
+
migratedPoolAddress
|
|
47
|
+
migratedSlot
|
|
48
|
+
poolAddress
|
|
49
|
+
}
|
|
39
50
|
mintable
|
|
40
51
|
name
|
|
41
52
|
networkId
|
|
@@ -8,11 +8,161 @@ subscription OnPairMetadataUpdated(
|
|
|
8
8
|
quoteToken: $quoteToken
|
|
9
9
|
statsType: $statsType
|
|
10
10
|
) {
|
|
11
|
+
createdAt
|
|
12
|
+
enhancedToken0 {
|
|
13
|
+
address
|
|
14
|
+
cmcId
|
|
15
|
+
createBlockNumber
|
|
16
|
+
createTransactionHash
|
|
17
|
+
createdAt
|
|
18
|
+
creatorAddress
|
|
19
|
+
decimals
|
|
20
|
+
exchanges {
|
|
21
|
+
address
|
|
22
|
+
color
|
|
23
|
+
exchangeVersion
|
|
24
|
+
iconUrl
|
|
25
|
+
id
|
|
26
|
+
name
|
|
27
|
+
networkId
|
|
28
|
+
tradeUrl
|
|
29
|
+
}
|
|
30
|
+
freezable
|
|
31
|
+
id
|
|
32
|
+
info {
|
|
33
|
+
address
|
|
34
|
+
circulatingSupply
|
|
35
|
+
cmcId
|
|
36
|
+
description
|
|
37
|
+
id
|
|
38
|
+
imageBannerUrl
|
|
39
|
+
imageLargeUrl
|
|
40
|
+
imageSmallUrl
|
|
41
|
+
imageThumbUrl
|
|
42
|
+
isScam
|
|
43
|
+
name
|
|
44
|
+
networkId
|
|
45
|
+
symbol
|
|
46
|
+
totalSupply
|
|
47
|
+
}
|
|
48
|
+
isScam
|
|
49
|
+
launchpad {
|
|
50
|
+
completed
|
|
51
|
+
completedAt
|
|
52
|
+
completedSlot
|
|
53
|
+
graduationPercent
|
|
54
|
+
migrated
|
|
55
|
+
migratedAt
|
|
56
|
+
migratedPoolAddress
|
|
57
|
+
migratedSlot
|
|
58
|
+
poolAddress
|
|
59
|
+
}
|
|
60
|
+
mintable
|
|
61
|
+
name
|
|
62
|
+
networkId
|
|
63
|
+
socialLinks {
|
|
64
|
+
bitcointalk
|
|
65
|
+
blog
|
|
66
|
+
coingecko
|
|
67
|
+
coinmarketcap
|
|
68
|
+
discord
|
|
69
|
+
email
|
|
70
|
+
facebook
|
|
71
|
+
github
|
|
72
|
+
instagram
|
|
73
|
+
linkedin
|
|
74
|
+
reddit
|
|
75
|
+
slack
|
|
76
|
+
telegram
|
|
77
|
+
twitch
|
|
78
|
+
twitter
|
|
79
|
+
website
|
|
80
|
+
wechat
|
|
81
|
+
whitepaper
|
|
82
|
+
youtube
|
|
83
|
+
}
|
|
84
|
+
symbol
|
|
85
|
+
}
|
|
86
|
+
enhancedToken1 {
|
|
87
|
+
address
|
|
88
|
+
cmcId
|
|
89
|
+
createBlockNumber
|
|
90
|
+
createTransactionHash
|
|
91
|
+
createdAt
|
|
92
|
+
creatorAddress
|
|
93
|
+
decimals
|
|
94
|
+
exchanges {
|
|
95
|
+
address
|
|
96
|
+
color
|
|
97
|
+
exchangeVersion
|
|
98
|
+
iconUrl
|
|
99
|
+
id
|
|
100
|
+
name
|
|
101
|
+
networkId
|
|
102
|
+
tradeUrl
|
|
103
|
+
}
|
|
104
|
+
freezable
|
|
105
|
+
id
|
|
106
|
+
info {
|
|
107
|
+
address
|
|
108
|
+
circulatingSupply
|
|
109
|
+
cmcId
|
|
110
|
+
description
|
|
111
|
+
id
|
|
112
|
+
imageBannerUrl
|
|
113
|
+
imageLargeUrl
|
|
114
|
+
imageSmallUrl
|
|
115
|
+
imageThumbUrl
|
|
116
|
+
isScam
|
|
117
|
+
name
|
|
118
|
+
networkId
|
|
119
|
+
symbol
|
|
120
|
+
totalSupply
|
|
121
|
+
}
|
|
122
|
+
isScam
|
|
123
|
+
launchpad {
|
|
124
|
+
completed
|
|
125
|
+
completedAt
|
|
126
|
+
completedSlot
|
|
127
|
+
graduationPercent
|
|
128
|
+
migrated
|
|
129
|
+
migratedAt
|
|
130
|
+
migratedPoolAddress
|
|
131
|
+
migratedSlot
|
|
132
|
+
poolAddress
|
|
133
|
+
}
|
|
134
|
+
mintable
|
|
135
|
+
name
|
|
136
|
+
networkId
|
|
137
|
+
socialLinks {
|
|
138
|
+
bitcointalk
|
|
139
|
+
blog
|
|
140
|
+
coingecko
|
|
141
|
+
coinmarketcap
|
|
142
|
+
discord
|
|
143
|
+
email
|
|
144
|
+
facebook
|
|
145
|
+
github
|
|
146
|
+
instagram
|
|
147
|
+
linkedin
|
|
148
|
+
reddit
|
|
149
|
+
slack
|
|
150
|
+
telegram
|
|
151
|
+
twitch
|
|
152
|
+
twitter
|
|
153
|
+
website
|
|
154
|
+
wechat
|
|
155
|
+
whitepaper
|
|
156
|
+
youtube
|
|
157
|
+
}
|
|
158
|
+
symbol
|
|
159
|
+
}
|
|
11
160
|
exchangeId
|
|
12
161
|
fee
|
|
13
162
|
highPrice1
|
|
14
163
|
highPrice1w
|
|
15
164
|
highPrice4
|
|
165
|
+
highPrice5m
|
|
16
166
|
highPrice12
|
|
17
167
|
highPrice24
|
|
18
168
|
id
|
|
@@ -21,6 +171,7 @@ subscription OnPairMetadataUpdated(
|
|
|
21
171
|
lowPrice1
|
|
22
172
|
lowPrice1w
|
|
23
173
|
lowPrice4
|
|
174
|
+
lowPrice5m
|
|
24
175
|
lowPrice12
|
|
25
176
|
lowPrice24
|
|
26
177
|
networkId
|
|
@@ -67,6 +218,7 @@ subscription OnPairMetadataUpdated(
|
|
|
67
218
|
volume1
|
|
68
219
|
volume1w
|
|
69
220
|
volume4
|
|
221
|
+
volume5m
|
|
70
222
|
volume12
|
|
71
223
|
volume24
|
|
72
224
|
}
|
|
@@ -74,9 +74,11 @@ subscription OnTokenEventsCreated($input: OnTokenEventsCreatedInput!) {
|
|
|
74
74
|
networkId
|
|
75
75
|
quoteToken
|
|
76
76
|
timestamp
|
|
77
|
+
token0Address
|
|
77
78
|
token0PoolValueUsd
|
|
78
79
|
token0SwapValueUsd
|
|
79
80
|
token0ValueBase
|
|
81
|
+
token1Address
|
|
80
82
|
token1PoolValueUsd
|
|
81
83
|
token1SwapValueUsd
|
|
82
84
|
token1ValueBase
|