@codex-data/sdk 1.0.9 → 1.0.11
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 +177 -681
- package/dist/resources/graphql.d.ts.map +1 -1
- package/dist/resources/graphql.js +67 -79
- package/dist/resources/graphql.js.map +1 -1
- 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 +57 -52
- package/dist/sdk/Query.d.ts.map +1 -1
- package/dist/sdk/Query.js +56 -51
- package/dist/sdk/Query.js.map +1 -1
- package/dist/sdk/Subscribe.d.ts +17 -18
- package/dist/sdk/Subscribe.d.ts.map +1 -1
- package/dist/sdk/Subscribe.js +126 -133
- package/dist/sdk/Subscribe.js.map +1 -1
- package/dist/sdk/generated/gql.d.ts +135 -104
- package/dist/sdk/generated/gql.d.ts.map +1 -1
- package/dist/sdk/generated/gql.js +44 -40
- package/dist/sdk/generated/gql.js.map +1 -1
- package/dist/sdk/generated/graphql.d.ts +1612 -1103
- package/dist/sdk/generated/graphql.d.ts.map +1 -1
- package/dist/sdk/generated/graphql.js +113 -121
- package/dist/sdk/generated/graphql.js.map +1 -1
- package/dist/sdk/index.d.ts +45 -0
- package/dist/sdk/index.d.ts.map +1 -1
- package/dist/sdk/index.js +83 -5
- package/dist/sdk/index.js.map +1 -1
- package/dist/sdk/index.test.js +232 -7
- package/dist/sdk/index.test.js.map +1 -1
- package/package.json +1 -1
- package/src/resources/generated_queries/Balances.graphql +15 -0
- package/src/resources/generated_queries/DetailedWalletStats.graphql +4 -0
- package/src/resources/generated_queries/FilterNetworkWallets.graphql +57 -0
- package/src/resources/generated_queries/FilterNftPoolCollections.graphql +8 -0
- package/src/resources/generated_queries/FilterNftPools.graphql +7 -0
- package/src/resources/generated_queries/FilterPairs.graphql +60 -0
- package/src/resources/generated_queries/FilterTokenWallets.graphql +16 -0
- package/src/resources/generated_queries/FilterTokens.graphql +47 -0
- package/src/resources/generated_queries/FilterWallets.graphql +1 -0
- package/src/resources/generated_queries/GetBars.graphql +31 -0
- package/src/resources/generated_queries/GetCommunityNotes.graphql +16 -0
- package/src/resources/generated_queries/GetDetailedPairStats.graphql +30 -0
- package/src/resources/generated_queries/GetDetailedPairsStats.graphql +30 -0
- package/src/resources/generated_queries/GetDetailedStats.graphql +338 -0
- package/src/resources/generated_queries/GetLatestPairs.graphql +57 -0
- package/src/resources/generated_queries/GetLatestTokens.graphql +39 -0
- package/src/resources/generated_queries/GetNftEvents.graphql +9 -0
- package/src/resources/generated_queries/GetNftPool.graphql +2 -0
- package/src/resources/generated_queries/GetNftPoolCollection.graphql +8 -0
- package/src/resources/generated_queries/GetNftPoolCollectionsByExchange.graphql +8 -0
- package/src/resources/generated_queries/GetNftPoolEvents.graphql +2 -0
- package/src/resources/generated_queries/GetNftPoolsByCollectionAndExchange.graphql +2 -0
- package/src/resources/generated_queries/GetNftPoolsByOwner.graphql +2 -0
- package/src/resources/generated_queries/Holders.graphql +15 -0
- package/src/resources/generated_queries/LiquidityLocks.graphql +1 -0
- package/src/resources/generated_queries/ListPairsForToken.graphql +30 -0
- package/src/resources/generated_queries/ListPairsWithMetadataForToken.graphql +60 -0
- package/src/resources/generated_queries/ListTopTokens.graphql +55 -0
- package/src/resources/generated_queries/PairMetadata.graphql +30 -0
- package/src/resources/generated_queries/PrimeHolders.graphql +15 -0
- package/src/resources/generated_queries/SearchTokens.graphql +67 -0
- package/src/resources/generated_queries/Token.graphql +15 -0
- package/src/resources/generated_queries/Tokens.graphql +15 -0
- package/src/resources/generated_queries/WalletChart.graphql +1 -0
- package/src/resources/generated_subscriptions/OnBalanceUpdated.graphql +15 -0
- package/src/resources/generated_subscriptions/OnBarsUpdated.graphql +2 -10
- package/src/resources/generated_subscriptions/OnDetailedStatsUpdated.graphql +1 -6
- package/src/resources/generated_subscriptions/OnEventsCreated.graphql +0 -2
- package/src/resources/generated_subscriptions/OnHoldersUpdated.graphql +15 -0
- package/src/resources/generated_subscriptions/OnLaunchpadTokenEvent.graphql +15 -0
- package/src/resources/generated_subscriptions/OnNftEventsCreated.graphql +9 -0
- package/src/resources/generated_subscriptions/OnNftPoolEventsCreated.graphql +2 -0
- package/src/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +32 -10
- package/src/resources/generated_subscriptions/OnTokenBarsUpdated.graphql +2 -10
- package/src/resources/graphql.schema.json +457 -5137
- package/src/resources/graphql.ts +183 -743
- package/src/resources/schema.graphql +6752 -11058
- package/src/sdk/Mutation.ts +4 -4
- package/src/sdk/Query.ts +128 -109
- package/src/sdk/Subscribe.ts +208 -223
- package/src/sdk/generated/gql.ts +106 -86
- package/src/sdk/generated/graphql.ts +320 -842
- package/src/sdk/index.test.ts +361 -10
- package/src/sdk/index.ts +89 -6
- package/src/resources/generated_queries/GetSimulateTokenContractResults.graphql +0 -128
- package/src/resources/generated_subscriptions/OnSimulateTokenContract.graphql +0 -121
|
@@ -1,13 +1,8 @@
|
|
|
1
1
|
subscription OnDetailedStatsUpdated(
|
|
2
2
|
$pairId: String
|
|
3
|
-
$statsType: TokenPairStatisticsType
|
|
4
3
|
$tokenOfInterest: TokenOfInterest
|
|
5
4
|
) {
|
|
6
|
-
onDetailedStatsUpdated(
|
|
7
|
-
pairId: $pairId
|
|
8
|
-
statsType: $statsType
|
|
9
|
-
tokenOfInterest: $tokenOfInterest
|
|
10
|
-
) {
|
|
5
|
+
onDetailedStatsUpdated(pairId: $pairId, tokenOfInterest: $tokenOfInterest) {
|
|
11
6
|
bucketCount
|
|
12
7
|
pairId
|
|
13
8
|
queryTimestamp
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
subscription OnEventsCreated(
|
|
2
2
|
$address: String
|
|
3
3
|
$id: String
|
|
4
|
-
$maker: String
|
|
5
4
|
$networkId: Int
|
|
6
5
|
$quoteToken: QuoteToken
|
|
7
6
|
) {
|
|
8
7
|
onEventsCreated(
|
|
9
8
|
address: $address
|
|
10
9
|
id: $id
|
|
11
|
-
maker: $maker
|
|
12
10
|
networkId: $networkId
|
|
13
11
|
quoteToken: $quoteToken
|
|
14
12
|
) {
|
|
@@ -9,6 +9,7 @@ subscription OnHoldersUpdated($tokenId: String!) {
|
|
|
9
9
|
shiftedBalance
|
|
10
10
|
token {
|
|
11
11
|
address
|
|
12
|
+
circulatingSupply
|
|
12
13
|
cmcId
|
|
13
14
|
createBlockNumber
|
|
14
15
|
createTransactionHash
|
|
@@ -25,8 +26,19 @@ subscription OnHoldersUpdated($tokenId: String!) {
|
|
|
25
26
|
networkId
|
|
26
27
|
tradeUrl
|
|
27
28
|
}
|
|
29
|
+
explorerData {
|
|
30
|
+
blueCheckmark
|
|
31
|
+
description
|
|
32
|
+
divisor
|
|
33
|
+
id
|
|
34
|
+
tokenPriceUSD
|
|
35
|
+
tokenType
|
|
36
|
+
}
|
|
28
37
|
freezable
|
|
29
38
|
id
|
|
39
|
+
imageLargeUrl
|
|
40
|
+
imageSmallUrl
|
|
41
|
+
imageThumbUrl
|
|
30
42
|
info {
|
|
31
43
|
address
|
|
32
44
|
circulatingSupply
|
|
@@ -55,11 +67,13 @@ subscription OnHoldersUpdated($tokenId: String!) {
|
|
|
55
67
|
migratedAt
|
|
56
68
|
migratedPoolAddress
|
|
57
69
|
migratedSlot
|
|
70
|
+
name
|
|
58
71
|
poolAddress
|
|
59
72
|
}
|
|
60
73
|
mintable
|
|
61
74
|
name
|
|
62
75
|
networkId
|
|
76
|
+
pooled
|
|
63
77
|
socialLinks {
|
|
64
78
|
bitcointalk
|
|
65
79
|
blog
|
|
@@ -82,6 +96,7 @@ subscription OnHoldersUpdated($tokenId: String!) {
|
|
|
82
96
|
youtube
|
|
83
97
|
}
|
|
84
98
|
symbol
|
|
99
|
+
totalSupply
|
|
85
100
|
}
|
|
86
101
|
tokenAddress
|
|
87
102
|
tokenId
|
|
@@ -11,6 +11,7 @@ subscription OnLaunchpadTokenEvent($input: OnLaunchpadTokenEventInput) {
|
|
|
11
11
|
sellCount1
|
|
12
12
|
token {
|
|
13
13
|
address
|
|
14
|
+
circulatingSupply
|
|
14
15
|
cmcId
|
|
15
16
|
createBlockNumber
|
|
16
17
|
createTransactionHash
|
|
@@ -27,8 +28,19 @@ subscription OnLaunchpadTokenEvent($input: OnLaunchpadTokenEventInput) {
|
|
|
27
28
|
networkId
|
|
28
29
|
tradeUrl
|
|
29
30
|
}
|
|
31
|
+
explorerData {
|
|
32
|
+
blueCheckmark
|
|
33
|
+
description
|
|
34
|
+
divisor
|
|
35
|
+
id
|
|
36
|
+
tokenPriceUSD
|
|
37
|
+
tokenType
|
|
38
|
+
}
|
|
30
39
|
freezable
|
|
31
40
|
id
|
|
41
|
+
imageLargeUrl
|
|
42
|
+
imageSmallUrl
|
|
43
|
+
imageThumbUrl
|
|
32
44
|
info {
|
|
33
45
|
address
|
|
34
46
|
circulatingSupply
|
|
@@ -57,11 +69,13 @@ subscription OnLaunchpadTokenEvent($input: OnLaunchpadTokenEventInput) {
|
|
|
57
69
|
migratedAt
|
|
58
70
|
migratedPoolAddress
|
|
59
71
|
migratedSlot
|
|
72
|
+
name
|
|
60
73
|
poolAddress
|
|
61
74
|
}
|
|
62
75
|
mintable
|
|
63
76
|
name
|
|
64
77
|
networkId
|
|
78
|
+
pooled
|
|
65
79
|
socialLinks {
|
|
66
80
|
bitcointalk
|
|
67
81
|
blog
|
|
@@ -84,6 +98,7 @@ subscription OnLaunchpadTokenEvent($input: OnLaunchpadTokenEventInput) {
|
|
|
84
98
|
youtube
|
|
85
99
|
}
|
|
86
100
|
symbol
|
|
101
|
+
totalSupply
|
|
87
102
|
}
|
|
88
103
|
transactions1
|
|
89
104
|
volume1
|
|
@@ -3,17 +3,24 @@ subscription OnNftEventsCreated($address: String, $networkId: Int) {
|
|
|
3
3
|
address
|
|
4
4
|
events {
|
|
5
5
|
aggregatorAddress
|
|
6
|
+
baseTokenAddress
|
|
7
|
+
baseTokenPrice
|
|
6
8
|
blockNumber
|
|
7
9
|
contractAddress
|
|
8
10
|
eventType
|
|
9
11
|
exchangeAddress
|
|
10
12
|
fillSource
|
|
11
13
|
id
|
|
14
|
+
individualBaseTokenPrice
|
|
15
|
+
individualNetworkBaseTokenPrice
|
|
16
|
+
individualPrice
|
|
12
17
|
individualPriceNetworkBaseToken
|
|
13
18
|
individualPriceUsd
|
|
19
|
+
individualTokenPrice
|
|
14
20
|
individualTradePrice
|
|
15
21
|
logIndex
|
|
16
22
|
maker
|
|
23
|
+
networkBaseTokenPrice
|
|
17
24
|
networkId
|
|
18
25
|
numberOfTokens
|
|
19
26
|
orderDirection
|
|
@@ -24,6 +31,8 @@ subscription OnNftEventsCreated($address: String, $networkId: Int) {
|
|
|
24
31
|
taker
|
|
25
32
|
timestamp
|
|
26
33
|
tokenId
|
|
34
|
+
tokenPrice
|
|
35
|
+
totalPrice
|
|
27
36
|
totalPriceNetworkBaseToken
|
|
28
37
|
totalPriceUsd
|
|
29
38
|
totalTradePrice
|
|
@@ -312,6 +312,7 @@ subscription OnNftPoolEventsCreated(
|
|
|
312
312
|
amountT
|
|
313
313
|
nftQuantity
|
|
314
314
|
nftTokenId
|
|
315
|
+
nftTokenQuantity
|
|
315
316
|
}
|
|
316
317
|
poolFeeT
|
|
317
318
|
protocolFeeT
|
|
@@ -382,6 +383,7 @@ subscription OnNftPoolEventsCreated(
|
|
|
382
383
|
amountT
|
|
383
384
|
nftQuantity
|
|
384
385
|
nftTokenId
|
|
386
|
+
nftTokenQuantity
|
|
385
387
|
}
|
|
386
388
|
poolFeeT
|
|
387
389
|
protocolFeeT
|
|
@@ -1,16 +1,9 @@
|
|
|
1
|
-
subscription OnPairMetadataUpdated(
|
|
2
|
-
$id:
|
|
3
|
-
$quoteToken: QuoteToken
|
|
4
|
-
$statsType: TokenPairStatisticsType
|
|
5
|
-
) {
|
|
6
|
-
onPairMetadataUpdated(
|
|
7
|
-
id: $id
|
|
8
|
-
quoteToken: $quoteToken
|
|
9
|
-
statsType: $statsType
|
|
10
|
-
) {
|
|
1
|
+
subscription OnPairMetadataUpdated($id: String, $quoteToken: QuoteToken) {
|
|
2
|
+
onPairMetadataUpdated(id: $id, quoteToken: $quoteToken) {
|
|
11
3
|
createdAt
|
|
12
4
|
enhancedToken0 {
|
|
13
5
|
address
|
|
6
|
+
circulatingSupply
|
|
14
7
|
cmcId
|
|
15
8
|
createBlockNumber
|
|
16
9
|
createTransactionHash
|
|
@@ -27,8 +20,19 @@ subscription OnPairMetadataUpdated(
|
|
|
27
20
|
networkId
|
|
28
21
|
tradeUrl
|
|
29
22
|
}
|
|
23
|
+
explorerData {
|
|
24
|
+
blueCheckmark
|
|
25
|
+
description
|
|
26
|
+
divisor
|
|
27
|
+
id
|
|
28
|
+
tokenPriceUSD
|
|
29
|
+
tokenType
|
|
30
|
+
}
|
|
30
31
|
freezable
|
|
31
32
|
id
|
|
33
|
+
imageLargeUrl
|
|
34
|
+
imageSmallUrl
|
|
35
|
+
imageThumbUrl
|
|
32
36
|
info {
|
|
33
37
|
address
|
|
34
38
|
circulatingSupply
|
|
@@ -57,11 +61,13 @@ subscription OnPairMetadataUpdated(
|
|
|
57
61
|
migratedAt
|
|
58
62
|
migratedPoolAddress
|
|
59
63
|
migratedSlot
|
|
64
|
+
name
|
|
60
65
|
poolAddress
|
|
61
66
|
}
|
|
62
67
|
mintable
|
|
63
68
|
name
|
|
64
69
|
networkId
|
|
70
|
+
pooled
|
|
65
71
|
socialLinks {
|
|
66
72
|
bitcointalk
|
|
67
73
|
blog
|
|
@@ -84,9 +90,11 @@ subscription OnPairMetadataUpdated(
|
|
|
84
90
|
youtube
|
|
85
91
|
}
|
|
86
92
|
symbol
|
|
93
|
+
totalSupply
|
|
87
94
|
}
|
|
88
95
|
enhancedToken1 {
|
|
89
96
|
address
|
|
97
|
+
circulatingSupply
|
|
90
98
|
cmcId
|
|
91
99
|
createBlockNumber
|
|
92
100
|
createTransactionHash
|
|
@@ -103,8 +111,19 @@ subscription OnPairMetadataUpdated(
|
|
|
103
111
|
networkId
|
|
104
112
|
tradeUrl
|
|
105
113
|
}
|
|
114
|
+
explorerData {
|
|
115
|
+
blueCheckmark
|
|
116
|
+
description
|
|
117
|
+
divisor
|
|
118
|
+
id
|
|
119
|
+
tokenPriceUSD
|
|
120
|
+
tokenType
|
|
121
|
+
}
|
|
106
122
|
freezable
|
|
107
123
|
id
|
|
124
|
+
imageLargeUrl
|
|
125
|
+
imageSmallUrl
|
|
126
|
+
imageThumbUrl
|
|
108
127
|
info {
|
|
109
128
|
address
|
|
110
129
|
circulatingSupply
|
|
@@ -133,11 +152,13 @@ subscription OnPairMetadataUpdated(
|
|
|
133
152
|
migratedAt
|
|
134
153
|
migratedPoolAddress
|
|
135
154
|
migratedSlot
|
|
155
|
+
name
|
|
136
156
|
poolAddress
|
|
137
157
|
}
|
|
138
158
|
mintable
|
|
139
159
|
name
|
|
140
160
|
networkId
|
|
161
|
+
pooled
|
|
141
162
|
socialLinks {
|
|
142
163
|
bitcointalk
|
|
143
164
|
blog
|
|
@@ -160,6 +181,7 @@ subscription OnPairMetadataUpdated(
|
|
|
160
181
|
youtube
|
|
161
182
|
}
|
|
162
183
|
symbol
|
|
184
|
+
totalSupply
|
|
163
185
|
}
|
|
164
186
|
exchangeId
|
|
165
187
|
fee
|
|
@@ -1,13 +1,5 @@
|
|
|
1
|
-
subscription OnTokenBarsUpdated(
|
|
2
|
-
$networkId:
|
|
3
|
-
$statsType: TokenPairStatisticsType
|
|
4
|
-
$tokenId: String
|
|
5
|
-
) {
|
|
6
|
-
onTokenBarsUpdated(
|
|
7
|
-
networkId: $networkId
|
|
8
|
-
statsType: $statsType
|
|
9
|
-
tokenId: $tokenId
|
|
10
|
-
) {
|
|
1
|
+
subscription OnTokenBarsUpdated($networkId: Int, $tokenId: String) {
|
|
2
|
+
onTokenBarsUpdated(networkId: $networkId, tokenId: $tokenId) {
|
|
11
3
|
aggregates {
|
|
12
4
|
r1 {
|
|
13
5
|
t
|