@codex-data/sdk 1.0.0 → 1.0.1
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 +8 -0
- package/dist/resources/generated_queries/FilterTokens.graphql +6 -0
- package/dist/resources/generated_queries/GetCommunityNotes.graphql +2 -0
- package/dist/resources/generated_queries/GetDetailedPairStats.graphql +4 -0
- package/dist/resources/generated_queries/GetDetailedPairsStats.graphql +4 -0
- package/dist/resources/generated_queries/ListPairsForToken.graphql +4 -0
- package/dist/resources/generated_queries/ListPairsWithMetadataForToken.graphql +8 -0
- package/dist/resources/generated_queries/Token.graphql +2 -0
- package/dist/resources/generated_queries/Tokens.graphql +2 -0
- package/dist/resources/generated_subscriptions/OnPriceUpdated.graphql +10 -2
- package/dist/resources/graphql.d.ts +17 -0
- package/dist/resources/graphql.d.ts.map +1 -1
- package/dist/resources/graphql.js.map +1 -1
- package/dist/resources/graphql.schema.json +144 -0
- package/dist/resources/graphql.ts +19 -0
- package/dist/resources/schema.graphql +27 -0
- package/dist/sdk/Mutation.d.ts +2 -2
- package/dist/sdk/Mutation.js +2 -2
- package/dist/sdk/Query.d.ts +53 -53
- package/dist/sdk/Query.d.ts.map +1 -1
- package/dist/sdk/Query.js +53 -53
- package/dist/sdk/Query.js.map +1 -1
- package/dist/sdk/Subscribe.d.ts +12 -12
- package/dist/sdk/Subscribe.d.ts.map +1 -1
- package/dist/sdk/Subscribe.js +60 -60
- package/dist/sdk/Subscribe.js.map +1 -1
- package/dist/sdk/generated/gql.d.ts +21 -20
- package/dist/sdk/generated/gql.d.ts.map +1 -1
- package/dist/sdk/generated/gql.js +10 -10
- package/dist/sdk/generated/gql.js.map +1 -1
- package/dist/sdk/generated/graphql.d.ts +59 -0
- package/dist/sdk/generated/graphql.d.ts.map +1 -1
- package/dist/sdk/generated/graphql.js +10 -10
- package/dist/sdk/generated/graphql.js.map +1 -1
- package/package.json +2 -2
- package/src/resources/generated_queries/FilterPairs.graphql +8 -0
- package/src/resources/generated_queries/FilterTokens.graphql +6 -0
- 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/ListPairsForToken.graphql +4 -0
- package/src/resources/generated_queries/ListPairsWithMetadataForToken.graphql +8 -0
- package/src/resources/generated_queries/Token.graphql +2 -0
- package/src/resources/generated_queries/Tokens.graphql +2 -0
- package/src/resources/generated_subscriptions/OnPriceUpdated.graphql +10 -2
- package/src/resources/graphql.schema.json +144 -0
- package/src/resources/graphql.ts +19 -0
- package/src/resources/schema.graphql +27 -0
- package/src/sdk/Mutation.ts +4 -4
- package/src/sdk/Query.ts +111 -111
- package/src/sdk/Subscribe.ts +97 -97
- package/src/sdk/generated/gql.ts +20 -20
- package/src/sdk/generated/graphql.ts +39 -19
package/package.json
CHANGED
|
@@ -79,6 +79,7 @@ query FilterPairs(
|
|
|
79
79
|
networkId
|
|
80
80
|
tradeUrl
|
|
81
81
|
}
|
|
82
|
+
freezable
|
|
82
83
|
id
|
|
83
84
|
info {
|
|
84
85
|
address
|
|
@@ -97,6 +98,7 @@ query FilterPairs(
|
|
|
97
98
|
totalSupply
|
|
98
99
|
}
|
|
99
100
|
isScam
|
|
101
|
+
mintable
|
|
100
102
|
name
|
|
101
103
|
networkId
|
|
102
104
|
socialLinks {
|
|
@@ -141,6 +143,7 @@ query FilterPairs(
|
|
|
141
143
|
networkId
|
|
142
144
|
tradeUrl
|
|
143
145
|
}
|
|
146
|
+
freezable
|
|
144
147
|
id
|
|
145
148
|
info {
|
|
146
149
|
address
|
|
@@ -159,6 +162,7 @@ query FilterPairs(
|
|
|
159
162
|
totalSupply
|
|
160
163
|
}
|
|
161
164
|
isScam
|
|
165
|
+
mintable
|
|
162
166
|
name
|
|
163
167
|
networkId
|
|
164
168
|
socialLinks {
|
|
@@ -214,6 +218,7 @@ query FilterPairs(
|
|
|
214
218
|
networkId
|
|
215
219
|
tradeUrl
|
|
216
220
|
}
|
|
221
|
+
freezable
|
|
217
222
|
id
|
|
218
223
|
info {
|
|
219
224
|
address
|
|
@@ -232,6 +237,7 @@ query FilterPairs(
|
|
|
232
237
|
totalSupply
|
|
233
238
|
}
|
|
234
239
|
isScam
|
|
240
|
+
mintable
|
|
235
241
|
name
|
|
236
242
|
networkId
|
|
237
243
|
socialLinks {
|
|
@@ -275,6 +281,7 @@ query FilterPairs(
|
|
|
275
281
|
networkId
|
|
276
282
|
tradeUrl
|
|
277
283
|
}
|
|
284
|
+
freezable
|
|
278
285
|
id
|
|
279
286
|
info {
|
|
280
287
|
address
|
|
@@ -293,6 +300,7 @@ query FilterPairs(
|
|
|
293
300
|
totalSupply
|
|
294
301
|
}
|
|
295
302
|
isScam
|
|
303
|
+
mintable
|
|
296
304
|
name
|
|
297
305
|
networkId
|
|
298
306
|
socialLinks {
|
|
@@ -84,6 +84,7 @@ query FilterTokens(
|
|
|
84
84
|
networkId
|
|
85
85
|
tradeUrl
|
|
86
86
|
}
|
|
87
|
+
freezable
|
|
87
88
|
id
|
|
88
89
|
info {
|
|
89
90
|
address
|
|
@@ -102,6 +103,7 @@ query FilterTokens(
|
|
|
102
103
|
totalSupply
|
|
103
104
|
}
|
|
104
105
|
isScam
|
|
106
|
+
mintable
|
|
105
107
|
name
|
|
106
108
|
networkId
|
|
107
109
|
socialLinks {
|
|
@@ -146,6 +148,7 @@ query FilterTokens(
|
|
|
146
148
|
networkId
|
|
147
149
|
tradeUrl
|
|
148
150
|
}
|
|
151
|
+
freezable
|
|
149
152
|
id
|
|
150
153
|
info {
|
|
151
154
|
address
|
|
@@ -164,6 +167,7 @@ query FilterTokens(
|
|
|
164
167
|
totalSupply
|
|
165
168
|
}
|
|
166
169
|
isScam
|
|
170
|
+
mintable
|
|
167
171
|
name
|
|
168
172
|
networkId
|
|
169
173
|
socialLinks {
|
|
@@ -214,6 +218,7 @@ query FilterTokens(
|
|
|
214
218
|
networkId
|
|
215
219
|
tradeUrl
|
|
216
220
|
}
|
|
221
|
+
freezable
|
|
217
222
|
id
|
|
218
223
|
info {
|
|
219
224
|
address
|
|
@@ -232,6 +237,7 @@ query FilterTokens(
|
|
|
232
237
|
totalSupply
|
|
233
238
|
}
|
|
234
239
|
isScam
|
|
240
|
+
mintable
|
|
235
241
|
name
|
|
236
242
|
networkId
|
|
237
243
|
socialLinks {
|
|
@@ -61,6 +61,7 @@ query GetCommunityNotes($input: CommunityNotesInput) {
|
|
|
61
61
|
networkId
|
|
62
62
|
tradeUrl
|
|
63
63
|
}
|
|
64
|
+
freezable
|
|
64
65
|
id
|
|
65
66
|
info {
|
|
66
67
|
address
|
|
@@ -79,6 +80,7 @@ query GetCommunityNotes($input: CommunityNotesInput) {
|
|
|
79
80
|
totalSupply
|
|
80
81
|
}
|
|
81
82
|
isScam
|
|
83
|
+
mintable
|
|
82
84
|
name
|
|
83
85
|
networkId
|
|
84
86
|
socialLinks {
|
|
@@ -50,6 +50,7 @@ query GetDetailedPairStats(
|
|
|
50
50
|
networkId
|
|
51
51
|
tradeUrl
|
|
52
52
|
}
|
|
53
|
+
freezable
|
|
53
54
|
id
|
|
54
55
|
info {
|
|
55
56
|
address
|
|
@@ -68,6 +69,7 @@ query GetDetailedPairStats(
|
|
|
68
69
|
totalSupply
|
|
69
70
|
}
|
|
70
71
|
isScam
|
|
72
|
+
mintable
|
|
71
73
|
name
|
|
72
74
|
networkId
|
|
73
75
|
socialLinks {
|
|
@@ -112,6 +114,7 @@ query GetDetailedPairStats(
|
|
|
112
114
|
networkId
|
|
113
115
|
tradeUrl
|
|
114
116
|
}
|
|
117
|
+
freezable
|
|
115
118
|
id
|
|
116
119
|
info {
|
|
117
120
|
address
|
|
@@ -130,6 +133,7 @@ query GetDetailedPairStats(
|
|
|
130
133
|
totalSupply
|
|
131
134
|
}
|
|
132
135
|
isScam
|
|
136
|
+
mintable
|
|
133
137
|
name
|
|
134
138
|
networkId
|
|
135
139
|
socialLinks {
|
|
@@ -34,6 +34,7 @@ query GetDetailedPairsStats($input: [GetDetailedPairsStatsInput!]!) {
|
|
|
34
34
|
networkId
|
|
35
35
|
tradeUrl
|
|
36
36
|
}
|
|
37
|
+
freezable
|
|
37
38
|
id
|
|
38
39
|
info {
|
|
39
40
|
address
|
|
@@ -52,6 +53,7 @@ query GetDetailedPairsStats($input: [GetDetailedPairsStatsInput!]!) {
|
|
|
52
53
|
totalSupply
|
|
53
54
|
}
|
|
54
55
|
isScam
|
|
56
|
+
mintable
|
|
55
57
|
name
|
|
56
58
|
networkId
|
|
57
59
|
socialLinks {
|
|
@@ -96,6 +98,7 @@ query GetDetailedPairsStats($input: [GetDetailedPairsStatsInput!]!) {
|
|
|
96
98
|
networkId
|
|
97
99
|
tradeUrl
|
|
98
100
|
}
|
|
101
|
+
freezable
|
|
99
102
|
id
|
|
100
103
|
info {
|
|
101
104
|
address
|
|
@@ -114,6 +117,7 @@ query GetDetailedPairsStats($input: [GetDetailedPairsStatsInput!]!) {
|
|
|
114
117
|
totalSupply
|
|
115
118
|
}
|
|
116
119
|
isScam
|
|
120
|
+
mintable
|
|
117
121
|
name
|
|
118
122
|
networkId
|
|
119
123
|
socialLinks {
|
|
@@ -34,6 +34,7 @@ query ListPairsForToken($limit: Int, $networkId: Int!, $tokenAddress: String!) {
|
|
|
34
34
|
networkId
|
|
35
35
|
tradeUrl
|
|
36
36
|
}
|
|
37
|
+
freezable
|
|
37
38
|
id
|
|
38
39
|
info {
|
|
39
40
|
address
|
|
@@ -52,6 +53,7 @@ query ListPairsForToken($limit: Int, $networkId: Int!, $tokenAddress: String!) {
|
|
|
52
53
|
totalSupply
|
|
53
54
|
}
|
|
54
55
|
isScam
|
|
56
|
+
mintable
|
|
55
57
|
name
|
|
56
58
|
networkId
|
|
57
59
|
socialLinks {
|
|
@@ -96,6 +98,7 @@ query ListPairsForToken($limit: Int, $networkId: Int!, $tokenAddress: String!) {
|
|
|
96
98
|
networkId
|
|
97
99
|
tradeUrl
|
|
98
100
|
}
|
|
101
|
+
freezable
|
|
99
102
|
id
|
|
100
103
|
info {
|
|
101
104
|
address
|
|
@@ -114,6 +117,7 @@ query ListPairsForToken($limit: Int, $networkId: Int!, $tokenAddress: String!) {
|
|
|
114
117
|
totalSupply
|
|
115
118
|
}
|
|
116
119
|
isScam
|
|
120
|
+
mintable
|
|
117
121
|
name
|
|
118
122
|
networkId
|
|
119
123
|
socialLinks {
|
|
@@ -27,6 +27,7 @@ query ListPairsWithMetadataForToken(
|
|
|
27
27
|
networkId
|
|
28
28
|
tradeUrl
|
|
29
29
|
}
|
|
30
|
+
freezable
|
|
30
31
|
id
|
|
31
32
|
info {
|
|
32
33
|
address
|
|
@@ -45,6 +46,7 @@ query ListPairsWithMetadataForToken(
|
|
|
45
46
|
totalSupply
|
|
46
47
|
}
|
|
47
48
|
isScam
|
|
49
|
+
mintable
|
|
48
50
|
name
|
|
49
51
|
networkId
|
|
50
52
|
socialLinks {
|
|
@@ -112,6 +114,7 @@ query ListPairsWithMetadataForToken(
|
|
|
112
114
|
networkId
|
|
113
115
|
tradeUrl
|
|
114
116
|
}
|
|
117
|
+
freezable
|
|
115
118
|
id
|
|
116
119
|
info {
|
|
117
120
|
address
|
|
@@ -130,6 +133,7 @@ query ListPairsWithMetadataForToken(
|
|
|
130
133
|
totalSupply
|
|
131
134
|
}
|
|
132
135
|
isScam
|
|
136
|
+
mintable
|
|
133
137
|
name
|
|
134
138
|
networkId
|
|
135
139
|
socialLinks {
|
|
@@ -174,6 +178,7 @@ query ListPairsWithMetadataForToken(
|
|
|
174
178
|
networkId
|
|
175
179
|
tradeUrl
|
|
176
180
|
}
|
|
181
|
+
freezable
|
|
177
182
|
id
|
|
178
183
|
info {
|
|
179
184
|
address
|
|
@@ -192,6 +197,7 @@ query ListPairsWithMetadataForToken(
|
|
|
192
197
|
totalSupply
|
|
193
198
|
}
|
|
194
199
|
isScam
|
|
200
|
+
mintable
|
|
195
201
|
name
|
|
196
202
|
networkId
|
|
197
203
|
socialLinks {
|
|
@@ -237,6 +243,7 @@ query ListPairsWithMetadataForToken(
|
|
|
237
243
|
networkId
|
|
238
244
|
tradeUrl
|
|
239
245
|
}
|
|
246
|
+
freezable
|
|
240
247
|
id
|
|
241
248
|
info {
|
|
242
249
|
address
|
|
@@ -255,6 +262,7 @@ query ListPairsWithMetadataForToken(
|
|
|
255
262
|
totalSupply
|
|
256
263
|
}
|
|
257
264
|
isScam
|
|
265
|
+
mintable
|
|
258
266
|
name
|
|
259
267
|
networkId
|
|
260
268
|
socialLinks {
|
|
@@ -1,5 +1,13 @@
|
|
|
1
|
-
subscription OnPriceUpdated(
|
|
2
|
-
|
|
1
|
+
subscription OnPriceUpdated(
|
|
2
|
+
$address: String
|
|
3
|
+
$networkId: Int
|
|
4
|
+
$sourcePairAddress: String
|
|
5
|
+
) {
|
|
6
|
+
onPriceUpdated(
|
|
7
|
+
address: $address
|
|
8
|
+
networkId: $networkId
|
|
9
|
+
sourcePairAddress: $sourcePairAddress
|
|
10
|
+
) {
|
|
3
11
|
address
|
|
4
12
|
confidence
|
|
5
13
|
networkId
|
|
@@ -518,6 +518,50 @@
|
|
|
518
518
|
"enumValues": null,
|
|
519
519
|
"possibleTypes": null
|
|
520
520
|
},
|
|
521
|
+
{
|
|
522
|
+
"kind": "INPUT_OBJECT",
|
|
523
|
+
"name": "AddUserAchievementInput",
|
|
524
|
+
"description": null,
|
|
525
|
+
"isOneOf": false,
|
|
526
|
+
"fields": null,
|
|
527
|
+
"inputFields": [
|
|
528
|
+
{
|
|
529
|
+
"name": "quantity",
|
|
530
|
+
"description": null,
|
|
531
|
+
"type": {
|
|
532
|
+
"kind": "NON_NULL",
|
|
533
|
+
"name": null,
|
|
534
|
+
"ofType": {
|
|
535
|
+
"kind": "SCALAR",
|
|
536
|
+
"name": "Int",
|
|
537
|
+
"ofType": null
|
|
538
|
+
}
|
|
539
|
+
},
|
|
540
|
+
"defaultValue": null,
|
|
541
|
+
"isDeprecated": false,
|
|
542
|
+
"deprecationReason": null
|
|
543
|
+
},
|
|
544
|
+
{
|
|
545
|
+
"name": "userId",
|
|
546
|
+
"description": null,
|
|
547
|
+
"type": {
|
|
548
|
+
"kind": "NON_NULL",
|
|
549
|
+
"name": null,
|
|
550
|
+
"ofType": {
|
|
551
|
+
"kind": "SCALAR",
|
|
552
|
+
"name": "String",
|
|
553
|
+
"ofType": null
|
|
554
|
+
}
|
|
555
|
+
},
|
|
556
|
+
"defaultValue": null,
|
|
557
|
+
"isDeprecated": false,
|
|
558
|
+
"deprecationReason": null
|
|
559
|
+
}
|
|
560
|
+
],
|
|
561
|
+
"interfaces": null,
|
|
562
|
+
"enumValues": null,
|
|
563
|
+
"possibleTypes": null
|
|
564
|
+
},
|
|
521
565
|
{
|
|
522
566
|
"kind": "ENUM",
|
|
523
567
|
"name": "AlertRecurrence",
|
|
@@ -749,6 +793,18 @@
|
|
|
749
793
|
"isDeprecated": false,
|
|
750
794
|
"deprecationReason": null
|
|
751
795
|
},
|
|
796
|
+
{
|
|
797
|
+
"name": "includeNative",
|
|
798
|
+
"description": "If set to true, native tokens in the response, they will have the id: native:<networkId>",
|
|
799
|
+
"type": {
|
|
800
|
+
"kind": "SCALAR",
|
|
801
|
+
"name": "Boolean",
|
|
802
|
+
"ofType": null
|
|
803
|
+
},
|
|
804
|
+
"defaultValue": null,
|
|
805
|
+
"isDeprecated": false,
|
|
806
|
+
"deprecationReason": null
|
|
807
|
+
},
|
|
752
808
|
{
|
|
753
809
|
"name": "walletId",
|
|
754
810
|
"description": "The ID of the wallet (`walletAddress:networkId`).",
|
|
@@ -4881,6 +4937,18 @@
|
|
|
4881
4937
|
"isDeprecated": true,
|
|
4882
4938
|
"deprecationReason": "Use the TokenInfo type"
|
|
4883
4939
|
},
|
|
4940
|
+
{
|
|
4941
|
+
"name": "freezable",
|
|
4942
|
+
"description": "Whether or not the token is freezable",
|
|
4943
|
+
"args": [],
|
|
4944
|
+
"type": {
|
|
4945
|
+
"kind": "SCALAR",
|
|
4946
|
+
"name": "String",
|
|
4947
|
+
"ofType": null
|
|
4948
|
+
},
|
|
4949
|
+
"isDeprecated": false,
|
|
4950
|
+
"deprecationReason": null
|
|
4951
|
+
},
|
|
4884
4952
|
{
|
|
4885
4953
|
"name": "id",
|
|
4886
4954
|
"description": "The ID of the token (`address:networkId`).",
|
|
@@ -4957,6 +5025,18 @@
|
|
|
4957
5025
|
"isDeprecated": false,
|
|
4958
5026
|
"deprecationReason": null
|
|
4959
5027
|
},
|
|
5028
|
+
{
|
|
5029
|
+
"name": "mintable",
|
|
5030
|
+
"description": "Whether or not the token is mintable",
|
|
5031
|
+
"args": [],
|
|
5032
|
+
"type": {
|
|
5033
|
+
"kind": "SCALAR",
|
|
5034
|
+
"name": "String",
|
|
5035
|
+
"ofType": null
|
|
5036
|
+
},
|
|
5037
|
+
"isDeprecated": false,
|
|
5038
|
+
"deprecationReason": null
|
|
5039
|
+
},
|
|
4960
5040
|
{
|
|
4961
5041
|
"name": "name",
|
|
4962
5042
|
"description": "The token name. For example, `ApeCoin`.",
|
|
@@ -26423,6 +26503,18 @@
|
|
|
26423
26503
|
"defaultValue": null,
|
|
26424
26504
|
"isDeprecated": false,
|
|
26425
26505
|
"deprecationReason": null
|
|
26506
|
+
},
|
|
26507
|
+
{
|
|
26508
|
+
"name": "sourcePairAddress",
|
|
26509
|
+
"description": null,
|
|
26510
|
+
"type": {
|
|
26511
|
+
"kind": "SCALAR",
|
|
26512
|
+
"name": "String",
|
|
26513
|
+
"ofType": null
|
|
26514
|
+
},
|
|
26515
|
+
"defaultValue": null,
|
|
26516
|
+
"isDeprecated": false,
|
|
26517
|
+
"deprecationReason": null
|
|
26426
26518
|
}
|
|
26427
26519
|
],
|
|
26428
26520
|
"interfaces": null,
|
|
@@ -40110,6 +40202,34 @@
|
|
|
40110
40202
|
"enumValues": null,
|
|
40111
40203
|
"possibleTypes": null
|
|
40112
40204
|
},
|
|
40205
|
+
{
|
|
40206
|
+
"kind": "INPUT_OBJECT",
|
|
40207
|
+
"name": "RemoveUserAchievementInput",
|
|
40208
|
+
"description": null,
|
|
40209
|
+
"isOneOf": false,
|
|
40210
|
+
"fields": null,
|
|
40211
|
+
"inputFields": [
|
|
40212
|
+
{
|
|
40213
|
+
"name": "userId",
|
|
40214
|
+
"description": null,
|
|
40215
|
+
"type": {
|
|
40216
|
+
"kind": "NON_NULL",
|
|
40217
|
+
"name": null,
|
|
40218
|
+
"ofType": {
|
|
40219
|
+
"kind": "SCALAR",
|
|
40220
|
+
"name": "String",
|
|
40221
|
+
"ofType": null
|
|
40222
|
+
}
|
|
40223
|
+
},
|
|
40224
|
+
"defaultValue": null,
|
|
40225
|
+
"isDeprecated": false,
|
|
40226
|
+
"deprecationReason": null
|
|
40227
|
+
}
|
|
40228
|
+
],
|
|
40229
|
+
"interfaces": null,
|
|
40230
|
+
"enumValues": null,
|
|
40231
|
+
"possibleTypes": null
|
|
40232
|
+
},
|
|
40113
40233
|
{
|
|
40114
40234
|
"kind": "OBJECT",
|
|
40115
40235
|
"name": "ResolutionBarData",
|
|
@@ -43438,6 +43558,18 @@
|
|
|
43438
43558
|
"defaultValue": null,
|
|
43439
43559
|
"isDeprecated": false,
|
|
43440
43560
|
"deprecationReason": null
|
|
43561
|
+
},
|
|
43562
|
+
{
|
|
43563
|
+
"name": "sourcePairAddress",
|
|
43564
|
+
"description": "The pair contract address from which to get pricing",
|
|
43565
|
+
"type": {
|
|
43566
|
+
"kind": "SCALAR",
|
|
43567
|
+
"name": "String",
|
|
43568
|
+
"ofType": null
|
|
43569
|
+
},
|
|
43570
|
+
"defaultValue": null,
|
|
43571
|
+
"isDeprecated": false,
|
|
43572
|
+
"deprecationReason": null
|
|
43441
43573
|
}
|
|
43442
43574
|
],
|
|
43443
43575
|
"type": {
|
|
@@ -45928,6 +46060,18 @@
|
|
|
45928
46060
|
"isDeprecated": false,
|
|
45929
46061
|
"deprecationReason": null
|
|
45930
46062
|
},
|
|
46063
|
+
{
|
|
46064
|
+
"name": "creatorAddress",
|
|
46065
|
+
"description": "The address of the creator of the token",
|
|
46066
|
+
"type": {
|
|
46067
|
+
"kind": "SCALAR",
|
|
46068
|
+
"name": "String",
|
|
46069
|
+
"ofType": null
|
|
46070
|
+
},
|
|
46071
|
+
"defaultValue": null,
|
|
46072
|
+
"isDeprecated": false,
|
|
46073
|
+
"deprecationReason": null
|
|
46074
|
+
},
|
|
45931
46075
|
{
|
|
45932
46076
|
"name": "exchangeAddress",
|
|
45933
46077
|
"description": "The list of exchange contract addresses to filter by.",
|
package/src/resources/graphql.ts
CHANGED
|
@@ -88,6 +88,11 @@ export type AddUnconfirmedEventsOutput = {
|
|
|
88
88
|
quoteToken?: Maybe<QuoteToken>;
|
|
89
89
|
};
|
|
90
90
|
|
|
91
|
+
export type AddUserAchievementInput = {
|
|
92
|
+
quantity: Scalars['Int']['input'];
|
|
93
|
+
userId: Scalars['String']['input'];
|
|
94
|
+
};
|
|
95
|
+
|
|
91
96
|
export enum AlertRecurrence {
|
|
92
97
|
Indefinite = 'INDEFINITE',
|
|
93
98
|
Once = 'ONCE'
|
|
@@ -127,6 +132,8 @@ export type BalancesInput = {
|
|
|
127
132
|
cursor?: InputMaybe<Scalars['String']['input']>;
|
|
128
133
|
/** Optional token specifically request the balance for */
|
|
129
134
|
filterToken?: InputMaybe<Scalars['String']['input']>;
|
|
135
|
+
/** If set to true, native tokens in the response, they will have the id: native:<networkId> */
|
|
136
|
+
includeNative?: InputMaybe<Scalars['Boolean']['input']>;
|
|
130
137
|
/** The ID of the wallet (`walletAddress:networkId`). */
|
|
131
138
|
walletId: Scalars['String']['input'];
|
|
132
139
|
};
|
|
@@ -765,6 +772,8 @@ export type EnhancedToken = {
|
|
|
765
772
|
* @deprecated Use the TokenInfo type
|
|
766
773
|
*/
|
|
767
774
|
explorerData?: Maybe<ExplorerTokenData>;
|
|
775
|
+
/** Whether or not the token is freezable */
|
|
776
|
+
freezable?: Maybe<Scalars['String']['output']>;
|
|
768
777
|
/** The ID of the token (`address:networkId`). */
|
|
769
778
|
id: Scalars['String']['output'];
|
|
770
779
|
/**
|
|
@@ -786,6 +795,8 @@ export type EnhancedToken = {
|
|
|
786
795
|
info?: Maybe<TokenInfo>;
|
|
787
796
|
/** Whether the token has been flagged as a scam. */
|
|
788
797
|
isScam?: Maybe<Scalars['Boolean']['output']>;
|
|
798
|
+
/** Whether or not the token is mintable */
|
|
799
|
+
mintable?: Maybe<Scalars['String']['output']>;
|
|
789
800
|
/** The token name. For example, `ApeCoin`. */
|
|
790
801
|
name?: Maybe<Scalars['String']['output']>;
|
|
791
802
|
/** The network ID the token is deployed on. */
|
|
@@ -4368,6 +4379,7 @@ export type OnBarsUpdatedResponse = {
|
|
|
4368
4379
|
export type OnPricesUpdatedInput = {
|
|
4369
4380
|
address: Scalars['String']['input'];
|
|
4370
4381
|
networkId: Scalars['Int']['input'];
|
|
4382
|
+
sourcePairAddress?: InputMaybe<Scalars['String']['input']>;
|
|
4371
4383
|
};
|
|
4372
4384
|
|
|
4373
4385
|
/** Response returned by `onBarsUpdated`. */
|
|
@@ -6503,6 +6515,10 @@ export type ReferralsPayoutData = {
|
|
|
6503
6515
|
tokenAmountPaid: Scalars['String']['output'];
|
|
6504
6516
|
};
|
|
6505
6517
|
|
|
6518
|
+
export type RemoveUserAchievementInput = {
|
|
6519
|
+
userId: Scalars['String']['input'];
|
|
6520
|
+
};
|
|
6521
|
+
|
|
6506
6522
|
/** Price data for each supported resolution. */
|
|
6507
6523
|
export type ResolutionBarData = {
|
|
6508
6524
|
__typename?: 'ResolutionBarData';
|
|
@@ -6991,6 +7007,7 @@ export type SubscriptionOnPairMetadataUpdatedArgs = {
|
|
|
6991
7007
|
export type SubscriptionOnPriceUpdatedArgs = {
|
|
6992
7008
|
address?: InputMaybe<Scalars['String']['input']>;
|
|
6993
7009
|
networkId?: InputMaybe<Scalars['Int']['input']>;
|
|
7010
|
+
sourcePairAddress?: InputMaybe<Scalars['String']['input']>;
|
|
6994
7011
|
};
|
|
6995
7012
|
|
|
6996
7013
|
|
|
@@ -7380,6 +7397,8 @@ export type TokenFilters = {
|
|
|
7380
7397
|
change24?: InputMaybe<NumberFilter>;
|
|
7381
7398
|
/** The unix timestamp for the creation of the token's first pair. */
|
|
7382
7399
|
createdAt?: InputMaybe<NumberFilter>;
|
|
7400
|
+
/** The address of the creator of the token */
|
|
7401
|
+
creatorAddress?: InputMaybe<Scalars['String']['input']>;
|
|
7383
7402
|
/** The list of exchange contract addresses to filter by. */
|
|
7384
7403
|
exchangeAddress?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
7385
7404
|
/** The list of exchange contract IDs to filter by. Applied in conjunction with `network` filter using an OR condition. When used together, the query returns results that match either the specified exchanges or the specified network. */
|
|
@@ -92,6 +92,11 @@ type AddUnconfirmedEventsOutput {
|
|
|
92
92
|
events: [UnconfirmedEvent]!
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
+
input AddUserAchievementInput {
|
|
96
|
+
userId: String!
|
|
97
|
+
quantity: Int!
|
|
98
|
+
}
|
|
99
|
+
|
|
95
100
|
enum AlertRecurrence {
|
|
96
101
|
INDEFINITE
|
|
97
102
|
ONCE
|
|
@@ -147,6 +152,11 @@ input BalancesInput {
|
|
|
147
152
|
|
|
148
153
|
"""Optional token specifically request the balance for"""
|
|
149
154
|
filterToken: String
|
|
155
|
+
|
|
156
|
+
"""
|
|
157
|
+
If set to true, native tokens in the response, they will have the id: native:<networkId>
|
|
158
|
+
"""
|
|
159
|
+
includeNative: Boolean
|
|
150
160
|
}
|
|
151
161
|
|
|
152
162
|
type BalancesResponse {
|
|
@@ -937,6 +947,12 @@ type EnhancedToken {
|
|
|
937
947
|
|
|
938
948
|
"""The unix timestamp for the creation of the token."""
|
|
939
949
|
createdAt: Int
|
|
950
|
+
|
|
951
|
+
"""Whether or not the token is mintable"""
|
|
952
|
+
mintable: String
|
|
953
|
+
|
|
954
|
+
"""Whether or not the token is freezable"""
|
|
955
|
+
freezable: String
|
|
940
956
|
}
|
|
941
957
|
|
|
942
958
|
"""A token transaction."""
|
|
@@ -5690,6 +5706,7 @@ input OneOfNumberConditionInput {
|
|
|
5690
5706
|
input OnPricesUpdatedInput {
|
|
5691
5707
|
address: String!
|
|
5692
5708
|
networkId: Int!
|
|
5709
|
+
sourcePairAddress: String
|
|
5693
5710
|
}
|
|
5694
5711
|
|
|
5695
5712
|
"""Response returned by `onBarsUpdated`."""
|
|
@@ -8573,6 +8590,10 @@ type ReferralsPayoutData {
|
|
|
8573
8590
|
tokenAddressNetworkIdPaid: String!
|
|
8574
8591
|
}
|
|
8575
8592
|
|
|
8593
|
+
input RemoveUserAchievementInput {
|
|
8594
|
+
userId: String!
|
|
8595
|
+
}
|
|
8596
|
+
|
|
8576
8597
|
"""Price data for each supported resolution."""
|
|
8577
8598
|
type ResolutionBarData {
|
|
8578
8599
|
"""1 second resolution."""
|
|
@@ -9108,6 +9129,9 @@ type Subscription {
|
|
|
9108
9129
|
|
|
9109
9130
|
"""The network ID the token is deployed on."""
|
|
9110
9131
|
networkId: Int
|
|
9132
|
+
|
|
9133
|
+
"""The pair contract address from which to get pricing"""
|
|
9134
|
+
sourcePairAddress: String
|
|
9111
9135
|
): Price
|
|
9112
9136
|
|
|
9113
9137
|
"""Live-streamed price updates for multiple tokens."""
|
|
@@ -9864,6 +9888,9 @@ input TokenFilters {
|
|
|
9864
9888
|
|
|
9865
9889
|
"""Whether to ignore pairs/tokens not relevant to trending"""
|
|
9866
9890
|
trendingIgnored: Boolean
|
|
9891
|
+
|
|
9892
|
+
"""The address of the creator of the token"""
|
|
9893
|
+
creatorAddress: String
|
|
9867
9894
|
}
|
|
9868
9895
|
|
|
9869
9896
|
"""Metadata for a token."""
|