@codex-data/sdk 1.0.5 → 1.0.7
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 +1 -0
- package/dist/resources/generated_queries/FilterPairs.graphql +64 -0
- package/dist/resources/generated_queries/FilterTokens.graphql +53 -0
- package/dist/resources/generated_queries/GetBars.graphql +26 -1
- package/dist/resources/generated_queries/GetCommunityNotes.graphql +13 -0
- package/dist/resources/generated_queries/GetDetailedPairStats.graphql +26 -0
- package/dist/resources/generated_queries/GetDetailedPairsStats.graphql +26 -0
- package/dist/resources/generated_queries/GetNetworkStats.graphql +7 -0
- package/dist/resources/generated_queries/GetTokenEvents.graphql +1 -0
- package/dist/resources/generated_queries/GetTokenEventsForMaker.graphql +1 -0
- package/dist/resources/generated_queries/Holders.graphql +1 -0
- package/dist/resources/generated_queries/LiquidityLocks.graphql +1 -1
- package/dist/resources/generated_queries/ListPairsForToken.graphql +26 -0
- package/dist/resources/generated_queries/ListPairsWithMetadataForToken.graphql +52 -0
- package/dist/resources/generated_queries/PairMetadata.graphql +26 -0
- package/dist/resources/generated_queries/PrimeHolders.graphql +1 -0
- package/dist/resources/generated_queries/Token.graphql +13 -0
- package/dist/resources/generated_queries/TokenTopTraders.graphql +26 -0
- package/dist/resources/generated_queries/Tokens.graphql +13 -0
- package/dist/resources/generated_subscriptions/OnBalanceUpdated.graphql +12 -0
- package/dist/resources/generated_subscriptions/OnEventsCreated.graphql +8 -1
- package/dist/resources/generated_subscriptions/OnHoldersUpdated.graphql +1 -0
- package/dist/resources/generated_subscriptions/OnLaunchpadTokenEvent.graphql +91 -0
- package/dist/resources/generated_subscriptions/OnLaunchpadTokenEventBatch.graphql +91 -0
- package/dist/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +26 -0
- package/dist/resources/generated_subscriptions/OnTokenBarsUpdated.graphql +6 -1
- package/dist/resources/generated_subscriptions/OnTokenEventsCreated.graphql +1 -0
- package/dist/resources/graphql.d.ts +402 -11
- package/dist/resources/graphql.d.ts.map +1 -1
- package/dist/resources/graphql.js +64 -2
- package/dist/resources/graphql.js.map +1 -1
- package/dist/resources/graphql.schema.json +2536 -23
- package/dist/resources/graphql.ts +418 -11
- package/dist/resources/schema.graphql +555 -10
- package/dist/resources/subscriptions_override/OnLaunchpadTokenEventBatch.graphql +91 -0
- package/dist/scripts/generateGraphql.js +3 -4
- package/dist/scripts/generateGraphql.js.map +1 -1
- package/dist/sdk/Mutation.d.ts +1 -1
- package/dist/sdk/Mutation.d.ts.map +1 -1
- package/dist/sdk/Mutation.js +1 -1
- package/dist/sdk/Mutation.js.map +1 -1
- package/dist/sdk/Query.d.ts +50 -50
- package/dist/sdk/Query.d.ts.map +1 -1
- package/dist/sdk/Query.js +49 -49
- package/dist/sdk/Query.js.map +1 -1
- package/dist/sdk/Subscribe.d.ts +17 -14
- package/dist/sdk/Subscribe.d.ts.map +1 -1
- package/dist/sdk/Subscribe.js +179 -71
- package/dist/sdk/Subscribe.js.map +1 -1
- package/dist/sdk/generated/gql.d.ts +76 -55
- package/dist/sdk/generated/gql.d.ts.map +1 -1
- package/dist/sdk/generated/gql.js +27 -24
- package/dist/sdk/generated/gql.js.map +1 -1
- package/dist/sdk/generated/graphql.d.ts +1075 -62
- package/dist/sdk/generated/graphql.d.ts.map +1 -1
- package/dist/sdk/generated/graphql.js +93 -28
- package/dist/sdk/generated/graphql.js.map +1 -1
- package/package.json +2 -2
- package/src/resources/generated_queries/Balances.graphql +1 -0
- package/src/resources/generated_queries/FilterPairs.graphql +64 -0
- package/src/resources/generated_queries/FilterTokens.graphql +53 -0
- package/src/resources/generated_queries/GetBars.graphql +26 -1
- package/src/resources/generated_queries/GetCommunityNotes.graphql +13 -0
- package/src/resources/generated_queries/GetDetailedPairStats.graphql +26 -0
- package/src/resources/generated_queries/GetDetailedPairsStats.graphql +26 -0
- package/src/resources/generated_queries/GetNetworkStats.graphql +7 -0
- package/src/resources/generated_queries/GetTokenEvents.graphql +1 -0
- package/src/resources/generated_queries/GetTokenEventsForMaker.graphql +1 -0
- package/src/resources/generated_queries/Holders.graphql +1 -0
- package/src/resources/generated_queries/LiquidityLocks.graphql +1 -1
- package/src/resources/generated_queries/ListPairsForToken.graphql +26 -0
- package/src/resources/generated_queries/ListPairsWithMetadataForToken.graphql +52 -0
- package/src/resources/generated_queries/PairMetadata.graphql +26 -0
- package/src/resources/generated_queries/PrimeHolders.graphql +1 -0
- package/src/resources/generated_queries/Token.graphql +13 -0
- package/src/resources/generated_queries/TokenTopTraders.graphql +26 -0
- package/src/resources/generated_queries/Tokens.graphql +13 -0
- package/src/resources/generated_subscriptions/OnBalanceUpdated.graphql +12 -0
- package/src/resources/generated_subscriptions/OnEventsCreated.graphql +8 -1
- package/src/resources/generated_subscriptions/OnHoldersUpdated.graphql +1 -0
- package/src/resources/generated_subscriptions/OnLaunchpadTokenEvent.graphql +91 -0
- package/src/resources/generated_subscriptions/OnLaunchpadTokenEventBatch.graphql +91 -0
- package/src/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +26 -0
- package/src/resources/generated_subscriptions/OnTokenBarsUpdated.graphql +6 -1
- package/src/resources/generated_subscriptions/OnTokenEventsCreated.graphql +1 -0
- package/src/resources/graphql.schema.json +2536 -23
- package/src/resources/graphql.ts +418 -11
- package/src/resources/schema.graphql +555 -10
- package/src/resources/subscriptions_override/OnLaunchpadTokenEventBatch.graphql +91 -0
- package/src/scripts/generateGraphql.ts +2 -4
- package/src/sdk/Mutation.ts +2 -2
- package/src/sdk/Query.ts +105 -105
- package/src/sdk/Subscribe.ts +245 -113
- package/src/sdk/generated/gql.ts +66 -51
- package/src/sdk/generated/graphql.ts +495 -66
- package/dist/resources/generated_queries/GetLatestTokens.graphql +0 -39
- package/src/resources/generated_queries/GetLatestTokens.graphql +0 -39
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
subscription OnLaunchpadTokenEventBatch {
|
|
2
|
+
onLaunchpadTokenEventBatch {
|
|
3
|
+
address
|
|
4
|
+
buyCount1
|
|
5
|
+
eventType
|
|
6
|
+
holders
|
|
7
|
+
marketCap
|
|
8
|
+
networkId
|
|
9
|
+
price
|
|
10
|
+
protocol
|
|
11
|
+
sellCount1
|
|
12
|
+
token {
|
|
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
|
+
launchpadProtocol
|
|
55
|
+
migrated
|
|
56
|
+
migratedAt
|
|
57
|
+
migratedPoolAddress
|
|
58
|
+
migratedSlot
|
|
59
|
+
name
|
|
60
|
+
poolAddress
|
|
61
|
+
}
|
|
62
|
+
mintable
|
|
63
|
+
name
|
|
64
|
+
networkId
|
|
65
|
+
socialLinks {
|
|
66
|
+
bitcointalk
|
|
67
|
+
blog
|
|
68
|
+
coingecko
|
|
69
|
+
coinmarketcap
|
|
70
|
+
discord
|
|
71
|
+
email
|
|
72
|
+
facebook
|
|
73
|
+
github
|
|
74
|
+
instagram
|
|
75
|
+
linkedin
|
|
76
|
+
reddit
|
|
77
|
+
slack
|
|
78
|
+
telegram
|
|
79
|
+
twitch
|
|
80
|
+
twitter
|
|
81
|
+
website
|
|
82
|
+
wechat
|
|
83
|
+
whitepaper
|
|
84
|
+
youtube
|
|
85
|
+
}
|
|
86
|
+
symbol
|
|
87
|
+
}
|
|
88
|
+
transactions1
|
|
89
|
+
volume1
|
|
90
|
+
}
|
|
91
|
+
}
|
|
@@ -215,14 +215,12 @@ async function run() {
|
|
|
215
215
|
|
|
216
216
|
for (const field of subscriptionType.fields) {
|
|
217
217
|
const args = field.args;
|
|
218
|
-
const parsedVariables = parseVariables(args);
|
|
218
|
+
const parsedVariables = parseVariables(args) ?? {};
|
|
219
219
|
const parsedFields = getLeafType(field.type, types, [], "").filter(Boolean);
|
|
220
220
|
|
|
221
221
|
const subscriptionBuilderObject = gql.subscription({
|
|
222
222
|
operation: field.name,
|
|
223
|
-
variables:
|
|
224
|
-
? parsedVariables
|
|
225
|
-
: undefined,
|
|
223
|
+
variables: parsedVariables,
|
|
226
224
|
fields: parsedFields.length ? parsedFields : undefined,
|
|
227
225
|
});
|
|
228
226
|
console.log(`Writing subscription: ${field.name}.graphql`);
|
package/src/sdk/Mutation.ts
CHANGED
|
@@ -13,12 +13,12 @@ import { Codex } from "./index";
|
|
|
13
13
|
|
|
14
14
|
export class Mutation {
|
|
15
15
|
constructor(private sdk: Codex) {}
|
|
16
|
-
createApiTokens = async (vars: CreateApiTokensMutationVariables) =>
|
|
17
|
-
this.sdk.mutation(CreateApiTokensDocument, vars);
|
|
18
16
|
deleteWebhooks = async (vars: DeleteWebhooksMutationVariables) =>
|
|
19
17
|
this.sdk.mutation(DeleteWebhooksDocument, vars);
|
|
20
18
|
createWebhooks = async (vars: CreateWebhooksMutationVariables) =>
|
|
21
19
|
this.sdk.mutation(CreateWebhooksDocument, vars);
|
|
20
|
+
createApiTokens = async (vars: CreateApiTokensMutationVariables) =>
|
|
21
|
+
this.sdk.mutation(CreateApiTokensDocument, vars);
|
|
22
22
|
deleteApiToken = async (vars: DeleteApiTokenMutationVariables) =>
|
|
23
23
|
this.sdk.mutation(DeleteApiTokenDocument, vars);
|
|
24
24
|
}
|
package/src/sdk/Query.ts
CHANGED
|
@@ -36,8 +36,6 @@ import {
|
|
|
36
36
|
GetEventLabelsQueryVariables,
|
|
37
37
|
GetExchangesDocument,
|
|
38
38
|
GetExchangesQueryVariables,
|
|
39
|
-
GetLatestTokensDocument,
|
|
40
|
-
GetLatestTokensQueryVariables,
|
|
41
39
|
GetNetworksDocument,
|
|
42
40
|
GetNetworksQueryVariables,
|
|
43
41
|
GetNetworkStatsDocument,
|
|
@@ -114,6 +112,8 @@ import {
|
|
|
114
112
|
TokenSparklinesDocument,
|
|
115
113
|
TokenSparklinesQueryVariables,
|
|
116
114
|
TokensQueryVariables,
|
|
115
|
+
TokenTopTradersDocument,
|
|
116
|
+
TokenTopTradersQueryVariables,
|
|
117
117
|
Top10HoldersPercentDocument,
|
|
118
118
|
Top10HoldersPercentQueryVariables,
|
|
119
119
|
WalletNftCollectionAssetsDocument,
|
|
@@ -125,132 +125,132 @@ import { Codex } from "./index";
|
|
|
125
125
|
|
|
126
126
|
export class Query {
|
|
127
127
|
constructor(private sdk: Codex) {}
|
|
128
|
-
|
|
129
|
-
this.sdk.query(
|
|
130
|
-
|
|
131
|
-
this.sdk.query(
|
|
132
|
-
liquidityMetadata = async (vars: LiquidityMetadataQueryVariables) =>
|
|
133
|
-
this.sdk.query(LiquidityMetadataDocument, vars);
|
|
134
|
-
searchNfts = async (vars: SearchNftsQueryVariables) =>
|
|
135
|
-
this.sdk.query(SearchNftsDocument, vars);
|
|
136
|
-
filterNftCollections = async (vars: FilterNftCollectionsQueryVariables) =>
|
|
137
|
-
this.sdk.query(FilterNftCollectionsDocument, vars);
|
|
138
|
-
liquidityLocks = async (vars: LiquidityLocksQueryVariables) =>
|
|
139
|
-
this.sdk.query(LiquidityLocksDocument, vars);
|
|
140
|
-
getDetailedPairsStats = async (vars: GetDetailedPairsStatsQueryVariables) =>
|
|
141
|
-
this.sdk.query(GetDetailedPairsStatsDocument, vars);
|
|
142
|
-
chartUrls = async (vars: ChartUrlsQueryVariables) =>
|
|
143
|
-
this.sdk.query(ChartUrlsDocument, vars);
|
|
144
|
-
token = async (vars: TokenQueryVariables) =>
|
|
145
|
-
this.sdk.query(TokenDocument, vars);
|
|
146
|
-
getNftPoolStats = async (vars: GetNftPoolStatsQueryVariables) =>
|
|
147
|
-
this.sdk.query(GetNftPoolStatsDocument, vars);
|
|
128
|
+
tokenLifecycleEvents = async (vars: TokenLifecycleEventsQueryVariables) =>
|
|
129
|
+
this.sdk.query(TokenLifecycleEventsDocument, vars);
|
|
130
|
+
holders = async (vars: HoldersQueryVariables) =>
|
|
131
|
+
this.sdk.query(HoldersDocument, vars);
|
|
148
132
|
getNetworkStats = async (vars: GetNetworkStatsQueryVariables) =>
|
|
149
133
|
this.sdk.query(GetNetworkStatsDocument, vars);
|
|
150
|
-
getPrimePoolEvents = async (vars: GetPrimePoolEventsQueryVariables) =>
|
|
151
|
-
this.sdk.query(GetPrimePoolEventsDocument, vars);
|
|
152
|
-
walletNftCollectionAssets = async (
|
|
153
|
-
vars: WalletNftCollectionAssetsQueryVariables,
|
|
154
|
-
) => this.sdk.query(WalletNftCollectionAssetsDocument, vars);
|
|
155
|
-
filterNftParallelAssets = async (
|
|
156
|
-
vars: FilterNftParallelAssetsQueryVariables,
|
|
157
|
-
) => this.sdk.query(FilterNftParallelAssetsDocument, vars);
|
|
158
|
-
apiTokens = async (vars: ApiTokensQueryVariables) =>
|
|
159
|
-
this.sdk.query(ApiTokensDocument, vars);
|
|
160
134
|
getNftPool = async (vars: GetNftPoolQueryVariables) =>
|
|
161
135
|
this.sdk.query(GetNftPoolDocument, vars);
|
|
162
|
-
|
|
163
|
-
this.sdk.query(
|
|
164
|
-
|
|
165
|
-
this.sdk.query(
|
|
166
|
-
getDetailedPairStats = async (vars: GetDetailedPairStatsQueryVariables) =>
|
|
167
|
-
this.sdk.query(GetDetailedPairStatsDocument, vars);
|
|
168
|
-
getLatestTokens = async (vars: GetLatestTokensQueryVariables) =>
|
|
169
|
-
this.sdk.query(GetLatestTokensDocument, vars);
|
|
170
|
-
getNftContracts = async (vars: GetNftContractsQueryVariables) =>
|
|
171
|
-
this.sdk.query(GetNftContractsDocument, vars);
|
|
172
|
-
getNftPoolEvents = async (vars: GetNftPoolEventsQueryVariables) =>
|
|
173
|
-
this.sdk.query(GetNftPoolEventsDocument, vars);
|
|
174
|
-
getTokenPrices = async (vars: GetTokenPricesQueryVariables) =>
|
|
175
|
-
this.sdk.query(GetTokenPricesDocument, vars);
|
|
176
|
-
getDetailedNftStats = async (vars: GetDetailedNftStatsQueryVariables) =>
|
|
177
|
-
this.sdk.query(GetDetailedNftStatsDocument, vars);
|
|
178
|
-
getTokenEvents = async (vars: GetTokenEventsQueryVariables) =>
|
|
179
|
-
this.sdk.query(GetTokenEventsDocument, vars);
|
|
180
|
-
apiToken = async (vars: ApiTokenQueryVariables) =>
|
|
181
|
-
this.sdk.query(ApiTokenDocument, vars);
|
|
182
|
-
walletNftCollections = async (vars: WalletNftCollectionsQueryVariables) =>
|
|
183
|
-
this.sdk.query(WalletNftCollectionsDocument, vars);
|
|
184
|
-
holders = async (vars: HoldersQueryVariables) =>
|
|
185
|
-
this.sdk.query(HoldersDocument, vars);
|
|
136
|
+
chartUrls = async (vars: ChartUrlsQueryVariables) =>
|
|
137
|
+
this.sdk.query(ChartUrlsDocument, vars);
|
|
138
|
+
filterPairs = async (vars: FilterPairsQueryVariables) =>
|
|
139
|
+
this.sdk.query(FilterPairsDocument, vars);
|
|
186
140
|
getParallelCardChanges = async (vars: GetParallelCardChangesQueryVariables) =>
|
|
187
141
|
this.sdk.query(GetParallelCardChangesDocument, vars);
|
|
188
|
-
getNftPoolsByOwner = async (vars: GetNftPoolsByOwnerQueryVariables) =>
|
|
189
|
-
this.sdk.query(GetNftPoolsByOwnerDocument, vars);
|
|
190
|
-
getNftPoolCollection = async (vars: GetNftPoolCollectionQueryVariables) =>
|
|
191
|
-
this.sdk.query(GetNftPoolCollectionDocument, vars);
|
|
192
|
-
listTopTokens = async (vars: ListTopTokensQueryVariables) =>
|
|
193
|
-
this.sdk.query(ListTopTokensDocument, vars);
|
|
194
|
-
listPairsForToken = async (vars: ListPairsForTokenQueryVariables) =>
|
|
195
|
-
this.sdk.query(ListPairsForTokenDocument, vars);
|
|
196
|
-
tokens = async (vars: TokensQueryVariables) =>
|
|
197
|
-
this.sdk.query(TokensDocument, vars);
|
|
198
|
-
getExchanges = async (vars: GetExchangesQueryVariables) =>
|
|
199
|
-
this.sdk.query(GetExchangesDocument, vars);
|
|
200
142
|
getSymbol = async (vars: GetSymbolQueryVariables) =>
|
|
201
143
|
this.sdk.query(GetSymbolDocument, vars);
|
|
202
|
-
|
|
203
|
-
|
|
144
|
+
getNftCollectionMetadata = async (
|
|
145
|
+
vars: GetNftCollectionMetadataQueryVariables,
|
|
146
|
+
) => this.sdk.query(GetNftCollectionMetadataDocument, vars);
|
|
147
|
+
getEventLabels = async (vars: GetEventLabelsQueryVariables) =>
|
|
148
|
+
this.sdk.query(GetEventLabelsDocument, vars);
|
|
149
|
+
apiTokens = async (vars: ApiTokensQueryVariables) =>
|
|
150
|
+
this.sdk.query(ApiTokensDocument, vars);
|
|
204
151
|
getSimulateTokenContractResults = async (
|
|
205
152
|
vars: GetSimulateTokenContractResultsQueryVariables,
|
|
206
153
|
) => this.sdk.query(GetSimulateTokenContractResultsDocument, vars);
|
|
207
|
-
|
|
208
|
-
this.sdk.query(
|
|
154
|
+
getExchanges = async (vars: GetExchangesQueryVariables) =>
|
|
155
|
+
this.sdk.query(GetExchangesDocument, vars);
|
|
156
|
+
liquidityLocks = async (vars: LiquidityLocksQueryVariables) =>
|
|
157
|
+
this.sdk.query(LiquidityLocksDocument, vars);
|
|
158
|
+
getDetailedPairStats = async (vars: GetDetailedPairStatsQueryVariables) =>
|
|
159
|
+
this.sdk.query(GetDetailedPairStatsDocument, vars);
|
|
209
160
|
getBars = async (vars: GetBarsQueryVariables) =>
|
|
210
161
|
this.sdk.query(GetBarsDocument, vars);
|
|
211
|
-
|
|
212
|
-
this.sdk.query(
|
|
213
|
-
|
|
214
|
-
this.sdk.query(
|
|
215
|
-
balances = async (vars: BalancesQueryVariables) =>
|
|
216
|
-
this.sdk.query(BalancesDocument, vars);
|
|
217
|
-
getCommunityNotes = async (vars: GetCommunityNotesQueryVariables) =>
|
|
218
|
-
this.sdk.query(GetCommunityNotesDocument, vars);
|
|
219
|
-
getNetworkStatus = async (vars: GetNetworkStatusQueryVariables) =>
|
|
220
|
-
this.sdk.query(GetNetworkStatusDocument, vars);
|
|
221
|
-
filterPairs = async (vars: FilterPairsQueryVariables) =>
|
|
222
|
-
this.sdk.query(FilterPairsDocument, vars);
|
|
223
|
-
getNftPoolsByCollectionAndExchange = async (
|
|
224
|
-
vars: GetNftPoolsByCollectionAndExchangeQueryVariables,
|
|
225
|
-
) => this.sdk.query(GetNftPoolsByCollectionAndExchangeDocument, vars);
|
|
226
|
-
tokenLifecycleEvents = async (vars: TokenLifecycleEventsQueryVariables) =>
|
|
227
|
-
this.sdk.query(TokenLifecycleEventsDocument, vars);
|
|
228
|
-
getEventLabels = async (vars: GetEventLabelsQueryVariables) =>
|
|
229
|
-
this.sdk.query(GetEventLabelsDocument, vars);
|
|
230
|
-
primeHolders = async (vars: PrimeHoldersQueryVariables) =>
|
|
231
|
-
this.sdk.query(PrimeHoldersDocument, vars);
|
|
162
|
+
listTopTokens = async (vars: ListTopTokensQueryVariables) =>
|
|
163
|
+
this.sdk.query(ListTopTokensDocument, vars);
|
|
164
|
+
getNftContracts = async (vars: GetNftContractsQueryVariables) =>
|
|
165
|
+
this.sdk.query(GetNftContractsDocument, vars);
|
|
232
166
|
tokenSparklines = async (vars: TokenSparklinesQueryVariables) =>
|
|
233
167
|
this.sdk.query(TokenSparklinesDocument, vars);
|
|
168
|
+
getNetworkStatus = async (vars: GetNetworkStatusQueryVariables) =>
|
|
169
|
+
this.sdk.query(GetNetworkStatusDocument, vars);
|
|
170
|
+
getNftPoolStats = async (vars: GetNftPoolStatsQueryVariables) =>
|
|
171
|
+
this.sdk.query(GetNftPoolStatsDocument, vars);
|
|
172
|
+
filterNftParallelAssets = async (
|
|
173
|
+
vars: FilterNftParallelAssetsQueryVariables,
|
|
174
|
+
) => this.sdk.query(FilterNftParallelAssetsDocument, vars);
|
|
175
|
+
listPairsWithMetadataForToken = async (
|
|
176
|
+
vars: ListPairsWithMetadataForTokenQueryVariables,
|
|
177
|
+
) => this.sdk.query(ListPairsWithMetadataForTokenDocument, vars);
|
|
178
|
+
filterNftPools = async (vars: FilterNftPoolsQueryVariables) =>
|
|
179
|
+
this.sdk.query(FilterNftPoolsDocument, vars);
|
|
180
|
+
walletNftCollectionAssets = async (
|
|
181
|
+
vars: WalletNftCollectionAssetsQueryVariables,
|
|
182
|
+
) => this.sdk.query(WalletNftCollectionAssetsDocument, vars);
|
|
183
|
+
getDetailedPairsStats = async (vars: GetDetailedPairsStatsQueryVariables) =>
|
|
184
|
+
this.sdk.query(GetDetailedPairsStatsDocument, vars);
|
|
185
|
+
filterTokens = async (vars: FilterTokensQueryVariables) =>
|
|
186
|
+
this.sdk.query(FilterTokensDocument, vars);
|
|
234
187
|
filterNftPoolCollections = async (
|
|
235
188
|
vars: FilterNftPoolCollectionsQueryVariables,
|
|
236
189
|
) => this.sdk.query(FilterNftPoolCollectionsDocument, vars);
|
|
237
|
-
|
|
238
|
-
this.sdk.query(
|
|
190
|
+
getPrimePoolEvents = async (vars: GetPrimePoolEventsQueryVariables) =>
|
|
191
|
+
this.sdk.query(GetPrimePoolEventsDocument, vars);
|
|
192
|
+
getTokenEventsForMaker = async (vars: GetTokenEventsForMakerQueryVariables) =>
|
|
193
|
+
this.sdk.query(GetTokenEventsForMakerDocument, vars);
|
|
194
|
+
balances = async (vars: BalancesQueryVariables) =>
|
|
195
|
+
this.sdk.query(BalancesDocument, vars);
|
|
196
|
+
tokens = async (vars: TokensQueryVariables) =>
|
|
197
|
+
this.sdk.query(TokensDocument, vars);
|
|
198
|
+
getPrimePools = async (vars: GetPrimePoolsQueryVariables) =>
|
|
199
|
+
this.sdk.query(GetPrimePoolsDocument, vars);
|
|
200
|
+
getDetailedNftStats = async (vars: GetDetailedNftStatsQueryVariables) =>
|
|
201
|
+
this.sdk.query(GetDetailedNftStatsDocument, vars);
|
|
202
|
+
getNftPoolsByOwner = async (vars: GetNftPoolsByOwnerQueryVariables) =>
|
|
203
|
+
this.sdk.query(GetNftPoolsByOwnerDocument, vars);
|
|
239
204
|
pairMetadata = async (vars: PairMetadataQueryVariables) =>
|
|
240
205
|
this.sdk.query(PairMetadataDocument, vars);
|
|
241
|
-
|
|
242
|
-
vars
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
vars: GetNftCollectionMetadataQueryVariables,
|
|
246
|
-
) => this.sdk.query(GetNftCollectionMetadataDocument, vars);
|
|
206
|
+
getPrimePoolAssets = async (vars: GetPrimePoolAssetsQueryVariables) =>
|
|
207
|
+
this.sdk.query(GetPrimePoolAssetsDocument, vars);
|
|
208
|
+
getTokenPrices = async (vars: GetTokenPricesQueryVariables) =>
|
|
209
|
+
this.sdk.query(GetTokenPricesDocument, vars);
|
|
247
210
|
getNetworks = async (vars: GetNetworksQueryVariables) =>
|
|
248
211
|
this.sdk.query(GetNetworksDocument, vars);
|
|
212
|
+
apiToken = async (vars: ApiTokenQueryVariables) =>
|
|
213
|
+
this.sdk.query(ApiTokenDocument, vars);
|
|
214
|
+
token = async (vars: TokenQueryVariables) =>
|
|
215
|
+
this.sdk.query(TokenDocument, vars);
|
|
216
|
+
tokenTopTraders = async (vars: TokenTopTradersQueryVariables) =>
|
|
217
|
+
this.sdk.query(TokenTopTradersDocument, vars);
|
|
218
|
+
liquidityMetadata = async (vars: LiquidityMetadataQueryVariables) =>
|
|
219
|
+
this.sdk.query(LiquidityMetadataDocument, vars);
|
|
249
220
|
getNftPoolCollectionsByExchange = async (
|
|
250
221
|
vars: GetNftPoolCollectionsByExchangeQueryVariables,
|
|
251
222
|
) => this.sdk.query(GetNftPoolCollectionsByExchangeDocument, vars);
|
|
252
|
-
|
|
253
|
-
this.sdk.query(
|
|
254
|
-
|
|
255
|
-
this.sdk.query(
|
|
223
|
+
searchNfts = async (vars: SearchNftsQueryVariables) =>
|
|
224
|
+
this.sdk.query(SearchNftsDocument, vars);
|
|
225
|
+
getNftPoolEvents = async (vars: GetNftPoolEventsQueryVariables) =>
|
|
226
|
+
this.sdk.query(GetNftPoolEventsDocument, vars);
|
|
227
|
+
top10HoldersPercent = async (vars: Top10HoldersPercentQueryVariables) =>
|
|
228
|
+
this.sdk.query(Top10HoldersPercentDocument, vars);
|
|
229
|
+
walletNftCollections = async (vars: WalletNftCollectionsQueryVariables) =>
|
|
230
|
+
this.sdk.query(WalletNftCollectionsDocument, vars);
|
|
231
|
+
primeHolders = async (vars: PrimeHoldersQueryVariables) =>
|
|
232
|
+
this.sdk.query(PrimeHoldersDocument, vars);
|
|
233
|
+
filterExchanges = async (vars: FilterExchangesQueryVariables) =>
|
|
234
|
+
this.sdk.query(FilterExchangesDocument, vars);
|
|
235
|
+
filterNftCollections = async (vars: FilterNftCollectionsQueryVariables) =>
|
|
236
|
+
this.sdk.query(FilterNftCollectionsDocument, vars);
|
|
237
|
+
getNftEvents = async (vars: GetNftEventsQueryVariables) =>
|
|
238
|
+
this.sdk.query(GetNftEventsDocument, vars);
|
|
239
|
+
getCommunityNotes = async (vars: GetCommunityNotesQueryVariables) =>
|
|
240
|
+
this.sdk.query(GetCommunityNotesDocument, vars);
|
|
241
|
+
getNftPoolCollection = async (vars: GetNftPoolCollectionQueryVariables) =>
|
|
242
|
+
this.sdk.query(GetNftPoolCollectionDocument, vars);
|
|
243
|
+
getNftPoolsByCollectionAndExchange = async (
|
|
244
|
+
vars: GetNftPoolsByCollectionAndExchangeQueryVariables,
|
|
245
|
+
) => this.sdk.query(GetNftPoolsByCollectionAndExchangeDocument, vars);
|
|
246
|
+
getWebhooks = async (vars: GetWebhooksQueryVariables) =>
|
|
247
|
+
this.sdk.query(GetWebhooksDocument, vars);
|
|
248
|
+
getTokenEvents = async (vars: GetTokenEventsQueryVariables) =>
|
|
249
|
+
this.sdk.query(GetTokenEventsDocument, vars);
|
|
250
|
+
listPairsForToken = async (vars: ListPairsForTokenQueryVariables) =>
|
|
251
|
+
this.sdk.query(ListPairsForTokenDocument, vars);
|
|
252
|
+
getNftAssets = async (vars: GetNftAssetsQueryVariables) =>
|
|
253
|
+
this.sdk.query(GetNftAssetsDocument, vars);
|
|
254
|
+
nftHolders = async (vars: NftHoldersQueryVariables) =>
|
|
255
|
+
this.sdk.query(NftHoldersDocument, vars);
|
|
256
256
|
}
|