@chainstream-io/sdk 0.1.5 → 0.1.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/README.md +46 -0
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +76 -60
- package/dist/esm/openapi/apis/BlockchainApi.js +61 -44
- package/dist/esm/openapi/apis/DefiSolanaMoonshotApi.js +67 -50
- package/dist/esm/openapi/apis/DefiSolanaPumpfunApi.js +38 -25
- package/dist/esm/openapi/apis/DexApi.js +205 -176
- package/dist/esm/openapi/apis/DexPoolApi.js +41 -28
- package/dist/esm/openapi/apis/EndpointApi.js +212 -175
- package/dist/esm/openapi/apis/IpfsApi.js +38 -25
- package/dist/esm/openapi/apis/JobsApi.js +65 -48
- package/dist/esm/openapi/apis/RankingApi.js +278 -249
- package/dist/esm/openapi/apis/RedPacketApi.js +294 -253
- package/dist/esm/openapi/apis/TokenApi.js +1145 -1056
- package/dist/esm/openapi/apis/TradeApi.js +233 -208
- package/dist/esm/openapi/apis/TransactionApi.js +42 -29
- package/dist/esm/openapi/apis/WalletApi.js +148 -123
- package/dist/esm/openapi/apis/WatchlistApi.js +41 -28
- package/dist/esm/openapi/runtime.js +81 -69
- package/dist/esm/stream/index.d.ts +3 -0
- package/dist/esm/stream/index.js +3 -0
- package/dist/esm/{api → stream}/stream.js +36 -29
- package/dist/index.d.ts +1 -1
- package/dist/index.js +75 -59
- package/dist/openapi/apis/BlockchainApi.js +62 -78
- package/dist/openapi/apis/DefiSolanaMoonshotApi.js +68 -84
- package/dist/openapi/apis/DefiSolanaPumpfunApi.js +39 -59
- package/dist/openapi/apis/DexApi.js +206 -210
- package/dist/openapi/apis/DexPoolApi.js +42 -62
- package/dist/openapi/apis/EndpointApi.js +213 -209
- package/dist/openapi/apis/IpfsApi.js +39 -59
- package/dist/openapi/apis/JobsApi.js +66 -82
- package/dist/openapi/apis/RankingApi.js +279 -283
- package/dist/openapi/apis/RedPacketApi.js +295 -287
- package/dist/openapi/apis/TokenApi.js +1146 -1090
- package/dist/openapi/apis/TradeApi.js +234 -242
- package/dist/openapi/apis/TransactionApi.js +43 -63
- package/dist/openapi/apis/WalletApi.js +149 -157
- package/dist/openapi/apis/WatchlistApi.js +42 -62
- package/dist/openapi/runtime.js +81 -69
- package/dist/stream/index.d.ts +3 -0
- package/dist/stream/index.js +19 -0
- package/dist/{api → stream}/stream.js +36 -29
- package/package.json +29 -26
- package/src/api/stream.fields.ts +0 -271
- package/src/api/stream.model.ts +0 -307
- package/src/api/stream.ts +0 -1086
- package/src/index.ts +0 -188
- package/src/openapi/apis/BlockchainApi.ts +0 -140
- package/src/openapi/apis/DefiSolanaMoonshotApi.ts +0 -145
- package/src/openapi/apis/DefiSolanaPumpfunApi.ts +0 -86
- package/src/openapi/apis/DexApi.ts +0 -490
- package/src/openapi/apis/DexPoolApi.ts +0 -107
- package/src/openapi/apis/EndpointApi.ts +0 -421
- package/src/openapi/apis/IpfsApi.ts +0 -66
- package/src/openapi/apis/JobsApi.ts +0 -135
- package/src/openapi/apis/RankingApi.ts +0 -939
- package/src/openapi/apis/RedPacketApi.ts +0 -621
- package/src/openapi/apis/TokenApi.ts +0 -2569
- package/src/openapi/apis/TradeApi.ts +0 -596
- package/src/openapi/apis/TransactionApi.ts +0 -95
- package/src/openapi/apis/WalletApi.ts +0 -365
- package/src/openapi/apis/WatchlistApi.ts +0 -107
- package/src/openapi/apis/index.ts +0 -17
- package/src/openapi/index.ts +0 -5
- package/src/openapi/models/BlockchainDTO.ts +0 -93
- package/src/openapi/models/BlockchainLatestBlockDTO.ts +0 -75
- package/src/openapi/models/BooleanResultDTO.ts +0 -66
- package/src/openapi/models/CalculatePnlInput.ts +0 -65
- package/src/openapi/models/Candle.ts +0 -130
- package/src/openapi/models/ClaimRedPacketInput.ts +0 -90
- package/src/openapi/models/CreateEndpointInput.ts +0 -121
- package/src/openapi/models/CreateRedPacketInput.ts +0 -124
- package/src/openapi/models/CreateRedPacketReply.ts +0 -75
- package/src/openapi/models/CreateTokenInput.ts +0 -139
- package/src/openapi/models/CreateTokenReply.ts +0 -75
- package/src/openapi/models/DexDTO.ts +0 -90
- package/src/openapi/models/DexPage.ts +0 -114
- package/src/openapi/models/DexPoolDTO.ts +0 -141
- package/src/openapi/models/EndpointListResponse.ts +0 -97
- package/src/openapi/models/EndpointOperationResponse.ts +0 -65
- package/src/openapi/models/EndpointResponse.ts +0 -145
- package/src/openapi/models/EndpointSecretResponse.ts +0 -65
- package/src/openapi/models/FilterCondition.ts +0 -135
- package/src/openapi/models/GainersAndLosersDTO.ts +0 -93
- package/src/openapi/models/GainersAndLosersPage.ts +0 -114
- package/src/openapi/models/JobDTO.ts +0 -75
- package/src/openapi/models/JobStreamingDTO.ts +0 -75
- package/src/openapi/models/Link.ts +0 -88
- package/src/openapi/models/MoonshotCreateTokenInput.ts +0 -182
- package/src/openapi/models/MoonshotCreateTokenReply.ts +0 -75
- package/src/openapi/models/MoonshotSubmitCreateToken200Response.ts +0 -73
- package/src/openapi/models/MoonshotSubmitCreateTokenInput.ts +0 -74
- package/src/openapi/models/PumpCreateTokenInput.ts +0 -180
- package/src/openapi/models/PumpCreateTokenReply.ts +0 -74
- package/src/openapi/models/QuoteResponse.ts +0 -105
- package/src/openapi/models/RedPacketClaimDTO.ts +0 -148
- package/src/openapi/models/RedPacketClaimsPage.ts +0 -110
- package/src/openapi/models/RedPacketDTO.ts +0 -229
- package/src/openapi/models/RedPacketReply.ts +0 -66
- package/src/openapi/models/RedPacketSendTxInput.ts +0 -66
- package/src/openapi/models/RedPacketSendTxResponse.ts +0 -66
- package/src/openapi/models/RedPacketsPage.ts +0 -110
- package/src/openapi/models/Resolution.ts +0 -61
- package/src/openapi/models/SendTxInput.ts +0 -93
- package/src/openapi/models/SendTxResponse.ts +0 -84
- package/src/openapi/models/SwapInput.ts +0 -157
- package/src/openapi/models/SwapReply.ts +0 -75
- package/src/openapi/models/SwapRouteInput.ts +0 -186
- package/src/openapi/models/SwapRouteResponse.ts +0 -101
- package/src/openapi/models/Token.ts +0 -251
- package/src/openapi/models/TokenCreationDTO.ts +0 -131
- package/src/openapi/models/TokenCreationPage.ts +0 -114
- package/src/openapi/models/TokenCreatorsDTO.ts +0 -81
- package/src/openapi/models/TokenExtraDTO.ts +0 -225
- package/src/openapi/models/TokenHolder.ts +0 -93
- package/src/openapi/models/TokenHolderPage.ts +0 -114
- package/src/openapi/models/TokenListPage.ts +0 -114
- package/src/openapi/models/TokenMarketData.ts +0 -190
- package/src/openapi/models/TokenMetadata.ts +0 -188
- package/src/openapi/models/TokenPage.ts +0 -122
- package/src/openapi/models/TokenPriceDTO.ts +0 -93
- package/src/openapi/models/TokenPricePage.ts +0 -114
- package/src/openapi/models/TokenSocialMediasDTO.ts +0 -161
- package/src/openapi/models/TokenStat.ts +0 -1152
- package/src/openapi/models/TopTradersDTO.ts +0 -164
- package/src/openapi/models/TopTradersPage.ts +0 -114
- package/src/openapi/models/TradeDetailDTO.ts +0 -282
- package/src/openapi/models/TradeEvent.ts +0 -184
- package/src/openapi/models/TradePage.ts +0 -114
- package/src/openapi/models/TradeType.ts +0 -53
- package/src/openapi/models/UpdateEndpointInput.ts +0 -129
- package/src/openapi/models/WalletBalanceDetailDTO.ts +0 -282
- package/src/openapi/models/WalletBalancesDTO.ts +0 -92
- package/src/openapi/models/WalletPnlDTO.ts +0 -264
- package/src/openapi/models/index.ts +0 -72
- package/src/openapi/runtime.ts +0 -432
- /package/dist/{api → esm/stream}/stream.d.ts +0 -0
- /package/dist/{api → esm/stream}/stream.fields.d.ts +0 -0
- /package/dist/esm/{api → stream}/stream.fields.js +0 -0
- /package/dist/{api → esm/stream}/stream.model.d.ts +0 -0
- /package/dist/esm/{api → stream}/stream.model.js +0 -0
- /package/dist/{esm/api → stream}/stream.d.ts +0 -0
- /package/dist/{esm/api → stream}/stream.fields.d.ts +0 -0
- /package/dist/{api → stream}/stream.fields.js +0 -0
- /package/dist/{esm/api → stream}/stream.model.d.ts +0 -0
- /package/dist/{api → stream}/stream.model.js +0 -0
|
@@ -1,2569 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Dex Aggregator API
|
|
5
|
-
* Dex Aggregator API ⚡️
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0
|
|
8
|
-
* Contact: ai@sx.ai
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
import * as runtime from '../runtime';
|
|
17
|
-
import type {
|
|
18
|
-
Candle,
|
|
19
|
-
DexPoolDTO,
|
|
20
|
-
FilterCondition,
|
|
21
|
-
Resolution,
|
|
22
|
-
Token,
|
|
23
|
-
TokenCreationDTO,
|
|
24
|
-
TokenCreationPage,
|
|
25
|
-
TokenHolder,
|
|
26
|
-
TokenHolderPage,
|
|
27
|
-
TokenListPage,
|
|
28
|
-
TokenMarketData,
|
|
29
|
-
TokenMetadata,
|
|
30
|
-
TokenPage,
|
|
31
|
-
TokenPriceDTO,
|
|
32
|
-
TokenPricePage,
|
|
33
|
-
TokenStat,
|
|
34
|
-
} from '../models/index';
|
|
35
|
-
import {
|
|
36
|
-
CandleFromJSON,
|
|
37
|
-
CandleToJSON,
|
|
38
|
-
DexPoolDTOFromJSON,
|
|
39
|
-
DexPoolDTOToJSON,
|
|
40
|
-
FilterConditionFromJSON,
|
|
41
|
-
FilterConditionToJSON,
|
|
42
|
-
ResolutionFromJSON,
|
|
43
|
-
ResolutionToJSON,
|
|
44
|
-
TokenFromJSON,
|
|
45
|
-
TokenToJSON,
|
|
46
|
-
TokenCreationDTOFromJSON,
|
|
47
|
-
TokenCreationDTOToJSON,
|
|
48
|
-
TokenCreationPageFromJSON,
|
|
49
|
-
TokenCreationPageToJSON,
|
|
50
|
-
TokenHolderFromJSON,
|
|
51
|
-
TokenHolderToJSON,
|
|
52
|
-
TokenHolderPageFromJSON,
|
|
53
|
-
TokenHolderPageToJSON,
|
|
54
|
-
TokenListPageFromJSON,
|
|
55
|
-
TokenListPageToJSON,
|
|
56
|
-
TokenMarketDataFromJSON,
|
|
57
|
-
TokenMarketDataToJSON,
|
|
58
|
-
TokenMetadataFromJSON,
|
|
59
|
-
TokenMetadataToJSON,
|
|
60
|
-
TokenPageFromJSON,
|
|
61
|
-
TokenPageToJSON,
|
|
62
|
-
TokenPriceDTOFromJSON,
|
|
63
|
-
TokenPriceDTOToJSON,
|
|
64
|
-
TokenPricePageFromJSON,
|
|
65
|
-
TokenPricePageToJSON,
|
|
66
|
-
TokenStatFromJSON,
|
|
67
|
-
TokenStatToJSON,
|
|
68
|
-
} from '../models/index';
|
|
69
|
-
|
|
70
|
-
export interface GetCandlesRequest {
|
|
71
|
-
chain: GetCandlesChainEnum;
|
|
72
|
-
tokenAddress: string;
|
|
73
|
-
resolution: Resolution;
|
|
74
|
-
from?: number;
|
|
75
|
-
to?: number;
|
|
76
|
-
limit?: number;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
export interface GetCreationRequest {
|
|
80
|
-
chain: GetCreationChainEnum;
|
|
81
|
-
tokenAddress: string;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
export interface GetHoldersRequest {
|
|
85
|
-
chain: GetHoldersChainEnum;
|
|
86
|
-
tokenAddress: string;
|
|
87
|
-
cursor?: string;
|
|
88
|
-
limit?: number;
|
|
89
|
-
direction?: GetHoldersDirectionEnum;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
export interface GetHoldersMultiRequest {
|
|
93
|
-
chain: GetHoldersMultiChainEnum;
|
|
94
|
-
tokenAddress: string;
|
|
95
|
-
walletAddresses: string;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
export interface GetMarketDataRequest {
|
|
99
|
-
chain: GetMarketDataChainEnum;
|
|
100
|
-
tokenAddress: string;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
export interface GetMarketDataMultiRequest {
|
|
104
|
-
chain: GetMarketDataMultiChainEnum;
|
|
105
|
-
tokenAddresses: string;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
export interface GetMetadataRequest {
|
|
109
|
-
chain: GetMetadataChainEnum;
|
|
110
|
-
tokenAddress: string;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
export interface GetMetadataMultiRequest {
|
|
114
|
-
chain: GetMetadataMultiChainEnum;
|
|
115
|
-
tokenAddresses: string;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
export interface GetMintAndBurnRequest {
|
|
119
|
-
chain: GetMintAndBurnChainEnum;
|
|
120
|
-
tokenAddress: string;
|
|
121
|
-
cursor?: string;
|
|
122
|
-
limit?: number;
|
|
123
|
-
direction?: GetMintAndBurnDirectionEnum;
|
|
124
|
-
type?: GetMintAndBurnTypeEnum;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
export interface GetPoolsRequest {
|
|
128
|
-
chain: GetPoolsChainEnum;
|
|
129
|
-
tokenAddress: string;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
export interface GetPriceByTimeRequest {
|
|
133
|
-
chain: GetPriceByTimeChainEnum;
|
|
134
|
-
tokenAddress: string;
|
|
135
|
-
timestamp: number;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
export interface GetPricesRequest {
|
|
139
|
-
chain: GetPricesChainEnum;
|
|
140
|
-
tokenAddress: string;
|
|
141
|
-
cursor?: string;
|
|
142
|
-
limit?: number;
|
|
143
|
-
direction?: GetPricesDirectionEnum;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
export interface GetSecurityRequest {
|
|
147
|
-
chain: GetSecurityChainEnum;
|
|
148
|
-
tokenAddress: string;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
export interface GetStatsRequest {
|
|
152
|
-
chain: GetStatsChainEnum;
|
|
153
|
-
tokenAddress: string;
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
export interface GetStatsMultiRequest {
|
|
157
|
-
chain: GetStatsMultiChainEnum;
|
|
158
|
-
tokenAddresses: string;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
export interface GetTokenRequest {
|
|
162
|
-
chain: GetTokenChainEnum;
|
|
163
|
-
tokenAddress: string;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
export interface GetTokensRequest {
|
|
167
|
-
chain: GetTokensChainEnum;
|
|
168
|
-
tokenAddresses: string;
|
|
169
|
-
sortBy?: GetTokensSortByEnum;
|
|
170
|
-
sortDirection?: GetTokensSortDirectionEnum;
|
|
171
|
-
filterBy?: Array<FilterCondition>;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
export interface GetTopHoldersRequest {
|
|
175
|
-
chain: GetTopHoldersChainEnum;
|
|
176
|
-
tokenAddress: string;
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
export interface ListTokenRequest {
|
|
180
|
-
chain: ListTokenChainEnum;
|
|
181
|
-
cursor?: string;
|
|
182
|
-
limit?: number;
|
|
183
|
-
direction?: ListTokenDirectionEnum;
|
|
184
|
-
sort?: ListTokenSortEnum;
|
|
185
|
-
sortBy?: ListTokenSortByEnum;
|
|
186
|
-
minH24VolumeInUsd?: string;
|
|
187
|
-
maxH24VolumeInUsd?: string;
|
|
188
|
-
minH24PriceChangeRatio?: string;
|
|
189
|
-
maxH24PriceChangeRatio?: string;
|
|
190
|
-
minH24Buys?: string;
|
|
191
|
-
maxH24Buys?: string;
|
|
192
|
-
minH24Sells?: string;
|
|
193
|
-
maxH24Sells?: string;
|
|
194
|
-
minH24Trades?: string;
|
|
195
|
-
maxH24Trades?: string;
|
|
196
|
-
minH24Buyers?: string;
|
|
197
|
-
maxH24Buyers?: string;
|
|
198
|
-
minH24Sellers?: string;
|
|
199
|
-
maxH24Sellers?: string;
|
|
200
|
-
minH24BuyVolumeInUsd?: string;
|
|
201
|
-
maxH24BuyVolumeInUsd?: string;
|
|
202
|
-
minH24SellVolumeInUsd?: string;
|
|
203
|
-
maxH24SellVolumeInUsd?: string;
|
|
204
|
-
minH4VolumeInUsd?: string;
|
|
205
|
-
maxH4VolumeInUsd?: string;
|
|
206
|
-
minH4PriceChangeRatio?: string;
|
|
207
|
-
maxH4PriceChangeRatio?: string;
|
|
208
|
-
minH4Buys?: string;
|
|
209
|
-
maxH4Buys?: string;
|
|
210
|
-
minH4Sells?: string;
|
|
211
|
-
maxH4Sells?: string;
|
|
212
|
-
minH4Trades?: string;
|
|
213
|
-
maxH4Trades?: string;
|
|
214
|
-
minH4Buyers?: string;
|
|
215
|
-
maxH4Buyers?: string;
|
|
216
|
-
minH4Sellers?: string;
|
|
217
|
-
maxH4Sellers?: string;
|
|
218
|
-
minH4BuyVolumeInUsd?: string;
|
|
219
|
-
maxH4BuyVolumeInUsd?: string;
|
|
220
|
-
minH4SellVolumeInUsd?: string;
|
|
221
|
-
maxH4SellVolumeInUsd?: string;
|
|
222
|
-
minH1VolumeInUsd?: string;
|
|
223
|
-
maxH1VolumeInUsd?: string;
|
|
224
|
-
minH1PriceChangeRatio?: string;
|
|
225
|
-
maxH1PriceChangeRatio?: string;
|
|
226
|
-
minH1Buys?: string;
|
|
227
|
-
maxH1Buys?: string;
|
|
228
|
-
minH1Sells?: string;
|
|
229
|
-
maxH1Sells?: string;
|
|
230
|
-
minH1Trades?: string;
|
|
231
|
-
maxH1Trades?: string;
|
|
232
|
-
minH1Buyers?: string;
|
|
233
|
-
maxH1Buyers?: string;
|
|
234
|
-
minH1Sellers?: string;
|
|
235
|
-
maxH1Sellers?: string;
|
|
236
|
-
minH1BuyVolumeInUsd?: string;
|
|
237
|
-
maxH1BuyVolumeInUsd?: string;
|
|
238
|
-
minH1SellVolumeInUsd?: string;
|
|
239
|
-
maxH1SellVolumeInUsd?: string;
|
|
240
|
-
minM30VolumeInUsd?: string;
|
|
241
|
-
maxM30VolumeInUsd?: string;
|
|
242
|
-
minM30PriceChangeRatio?: string;
|
|
243
|
-
maxM30PriceChangeRatio?: string;
|
|
244
|
-
minM30Buys?: string;
|
|
245
|
-
maxM30Buys?: string;
|
|
246
|
-
minM30Sells?: string;
|
|
247
|
-
maxM30Sells?: string;
|
|
248
|
-
minM30Trades?: string;
|
|
249
|
-
maxM30Trades?: string;
|
|
250
|
-
minM30Buyers?: string;
|
|
251
|
-
maxM30Buyers?: string;
|
|
252
|
-
minM30Sellers?: string;
|
|
253
|
-
maxM30Sellers?: string;
|
|
254
|
-
minM30BuyVolumeInUsd?: string;
|
|
255
|
-
maxM30BuyVolumeInUsd?: string;
|
|
256
|
-
minM30SellVolumeInUsd?: string;
|
|
257
|
-
maxM30SellVolumeInUsd?: string;
|
|
258
|
-
minM15VolumeInUsd?: string;
|
|
259
|
-
maxM15VolumeInUsd?: string;
|
|
260
|
-
minM15PriceChangeRatio?: string;
|
|
261
|
-
maxM15PriceChangeRatio?: string;
|
|
262
|
-
minM15Buys?: string;
|
|
263
|
-
maxM15Buys?: string;
|
|
264
|
-
minM15Sells?: string;
|
|
265
|
-
maxM15Sells?: string;
|
|
266
|
-
minM15Trades?: string;
|
|
267
|
-
maxM15Trades?: string;
|
|
268
|
-
minM15Buyers?: string;
|
|
269
|
-
maxM15Buyers?: string;
|
|
270
|
-
minM15Sellers?: string;
|
|
271
|
-
maxM15Sellers?: string;
|
|
272
|
-
minM15BuyVolumeInUsd?: string;
|
|
273
|
-
maxM15BuyVolumeInUsd?: string;
|
|
274
|
-
minM15SellVolumeInUsd?: string;
|
|
275
|
-
maxM15SellVolumeInUsd?: string;
|
|
276
|
-
minM5VolumeInUsd?: string;
|
|
277
|
-
maxM5VolumeInUsd?: string;
|
|
278
|
-
minM5PriceChangeRatio?: string;
|
|
279
|
-
maxM5PriceChangeRatio?: string;
|
|
280
|
-
minM5Buys?: string;
|
|
281
|
-
maxM5Buys?: string;
|
|
282
|
-
minM5Sells?: string;
|
|
283
|
-
maxM5Sells?: string;
|
|
284
|
-
minM5Trades?: string;
|
|
285
|
-
maxM5Trades?: string;
|
|
286
|
-
minM5Buyers?: string;
|
|
287
|
-
maxM5Buyers?: string;
|
|
288
|
-
minM5Sellers?: string;
|
|
289
|
-
maxM5Sellers?: string;
|
|
290
|
-
minM5BuyVolumeInUsd?: string;
|
|
291
|
-
maxM5BuyVolumeInUsd?: string;
|
|
292
|
-
minM5SellVolumeInUsd?: string;
|
|
293
|
-
maxM5SellVolumeInUsd?: string;
|
|
294
|
-
minM1VolumeInUsd?: string;
|
|
295
|
-
maxM1VolumeInUsd?: string;
|
|
296
|
-
minM1PriceChangeRatio?: string;
|
|
297
|
-
maxM1PriceChangeRatio?: string;
|
|
298
|
-
minM1Buys?: string;
|
|
299
|
-
maxM1Buys?: string;
|
|
300
|
-
minM1Sells?: string;
|
|
301
|
-
maxM1Sells?: string;
|
|
302
|
-
minM1Trades?: string;
|
|
303
|
-
maxM1Trades?: string;
|
|
304
|
-
minM1Buyers?: string;
|
|
305
|
-
maxM1Buyers?: string;
|
|
306
|
-
minM1Sellers?: string;
|
|
307
|
-
maxM1Sellers?: string;
|
|
308
|
-
minM1BuyVolumeInUsd?: string;
|
|
309
|
-
maxM1BuyVolumeInUsd?: string;
|
|
310
|
-
minM1SellVolumeInUsd?: string;
|
|
311
|
-
maxM1SellVolumeInUsd?: string;
|
|
312
|
-
}
|
|
313
|
-
|
|
314
|
-
export interface SearchRequest {
|
|
315
|
-
chains?: Array<string>;
|
|
316
|
-
q?: string;
|
|
317
|
-
limit?: number;
|
|
318
|
-
sort?: SearchSortEnum;
|
|
319
|
-
protocols?: Array<string>;
|
|
320
|
-
cursor?: string;
|
|
321
|
-
sortBy?: SearchSortByEnum;
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
/**
|
|
325
|
-
*
|
|
326
|
-
*/
|
|
327
|
-
export class TokenApi extends runtime.BaseAPI {
|
|
328
|
-
|
|
329
|
-
/**
|
|
330
|
-
* CONTROLLER.TOKEN.GET_CANDLES.DESCRIPTION
|
|
331
|
-
* CONTROLLER.TOKEN.GET_CANDLES.SUMMARY
|
|
332
|
-
*/
|
|
333
|
-
async getCandlesRaw(requestParameters: GetCandlesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<Candle>>> {
|
|
334
|
-
if (requestParameters['chain'] == null) {
|
|
335
|
-
throw new runtime.RequiredError(
|
|
336
|
-
'chain',
|
|
337
|
-
'Required parameter "chain" was null or undefined when calling getCandles().'
|
|
338
|
-
);
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
if (requestParameters['tokenAddress'] == null) {
|
|
342
|
-
throw new runtime.RequiredError(
|
|
343
|
-
'tokenAddress',
|
|
344
|
-
'Required parameter "tokenAddress" was null or undefined when calling getCandles().'
|
|
345
|
-
);
|
|
346
|
-
}
|
|
347
|
-
|
|
348
|
-
if (requestParameters['resolution'] == null) {
|
|
349
|
-
throw new runtime.RequiredError(
|
|
350
|
-
'resolution',
|
|
351
|
-
'Required parameter "resolution" was null or undefined when calling getCandles().'
|
|
352
|
-
);
|
|
353
|
-
}
|
|
354
|
-
|
|
355
|
-
const queryParameters: any = {};
|
|
356
|
-
|
|
357
|
-
if (requestParameters['resolution'] != null) {
|
|
358
|
-
queryParameters['resolution'] = requestParameters['resolution'];
|
|
359
|
-
}
|
|
360
|
-
|
|
361
|
-
if (requestParameters['from'] != null) {
|
|
362
|
-
queryParameters['from'] = requestParameters['from'];
|
|
363
|
-
}
|
|
364
|
-
|
|
365
|
-
if (requestParameters['to'] != null) {
|
|
366
|
-
queryParameters['to'] = requestParameters['to'];
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
if (requestParameters['limit'] != null) {
|
|
370
|
-
queryParameters['limit'] = requestParameters['limit'];
|
|
371
|
-
}
|
|
372
|
-
|
|
373
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
374
|
-
|
|
375
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
376
|
-
const token = this.configuration.accessToken;
|
|
377
|
-
const tokenString = await token("bearer", []);
|
|
378
|
-
|
|
379
|
-
if (tokenString) {
|
|
380
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
381
|
-
}
|
|
382
|
-
}
|
|
383
|
-
|
|
384
|
-
let urlPath = `/v1/token/{chain}/{tokenAddress}/candles`;
|
|
385
|
-
urlPath = urlPath.replace(`{${"chain"}}`, encodeURIComponent(String(requestParameters['chain'])));
|
|
386
|
-
urlPath = urlPath.replace(`{${"tokenAddress"}}`, encodeURIComponent(String(requestParameters['tokenAddress'])));
|
|
387
|
-
|
|
388
|
-
const response = await this.request({
|
|
389
|
-
path: urlPath,
|
|
390
|
-
method: 'GET',
|
|
391
|
-
headers: headerParameters,
|
|
392
|
-
query: queryParameters,
|
|
393
|
-
}, initOverrides);
|
|
394
|
-
|
|
395
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(CandleFromJSON));
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
/**
|
|
399
|
-
* CONTROLLER.TOKEN.GET_CANDLES.DESCRIPTION
|
|
400
|
-
* CONTROLLER.TOKEN.GET_CANDLES.SUMMARY
|
|
401
|
-
*/
|
|
402
|
-
async getCandles(requestParameters: GetCandlesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<Candle>> {
|
|
403
|
-
const response = await this.getCandlesRaw(requestParameters, initOverrides);
|
|
404
|
-
return await response.value();
|
|
405
|
-
}
|
|
406
|
-
|
|
407
|
-
/**
|
|
408
|
-
* CONTROLLER.TOKEN.GET_CREATION.DESCRIPTION
|
|
409
|
-
* CONTROLLER.TOKEN.GET_CREATION.SUMMARY
|
|
410
|
-
*/
|
|
411
|
-
async getCreationRaw(requestParameters: GetCreationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<TokenCreationDTO>> {
|
|
412
|
-
if (requestParameters['chain'] == null) {
|
|
413
|
-
throw new runtime.RequiredError(
|
|
414
|
-
'chain',
|
|
415
|
-
'Required parameter "chain" was null or undefined when calling getCreation().'
|
|
416
|
-
);
|
|
417
|
-
}
|
|
418
|
-
|
|
419
|
-
if (requestParameters['tokenAddress'] == null) {
|
|
420
|
-
throw new runtime.RequiredError(
|
|
421
|
-
'tokenAddress',
|
|
422
|
-
'Required parameter "tokenAddress" was null or undefined when calling getCreation().'
|
|
423
|
-
);
|
|
424
|
-
}
|
|
425
|
-
|
|
426
|
-
const queryParameters: any = {};
|
|
427
|
-
|
|
428
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
429
|
-
|
|
430
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
431
|
-
const token = this.configuration.accessToken;
|
|
432
|
-
const tokenString = await token("bearer", []);
|
|
433
|
-
|
|
434
|
-
if (tokenString) {
|
|
435
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
436
|
-
}
|
|
437
|
-
}
|
|
438
|
-
|
|
439
|
-
let urlPath = `/v1/token/{chain}/{tokenAddress}/creation`;
|
|
440
|
-
urlPath = urlPath.replace(`{${"chain"}}`, encodeURIComponent(String(requestParameters['chain'])));
|
|
441
|
-
urlPath = urlPath.replace(`{${"tokenAddress"}}`, encodeURIComponent(String(requestParameters['tokenAddress'])));
|
|
442
|
-
|
|
443
|
-
const response = await this.request({
|
|
444
|
-
path: urlPath,
|
|
445
|
-
method: 'GET',
|
|
446
|
-
headers: headerParameters,
|
|
447
|
-
query: queryParameters,
|
|
448
|
-
}, initOverrides);
|
|
449
|
-
|
|
450
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => TokenCreationDTOFromJSON(jsonValue));
|
|
451
|
-
}
|
|
452
|
-
|
|
453
|
-
/**
|
|
454
|
-
* CONTROLLER.TOKEN.GET_CREATION.DESCRIPTION
|
|
455
|
-
* CONTROLLER.TOKEN.GET_CREATION.SUMMARY
|
|
456
|
-
*/
|
|
457
|
-
async getCreation(requestParameters: GetCreationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TokenCreationDTO> {
|
|
458
|
-
const response = await this.getCreationRaw(requestParameters, initOverrides);
|
|
459
|
-
return await response.value();
|
|
460
|
-
}
|
|
461
|
-
|
|
462
|
-
/**
|
|
463
|
-
* CONTROLLER.TOKEN.GET_HOLDERS.DESCRIPTION
|
|
464
|
-
* CONTROLLER.TOKEN.GET_HOLDERS.SUMMARY
|
|
465
|
-
*/
|
|
466
|
-
async getHoldersRaw(requestParameters: GetHoldersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<TokenHolderPage>> {
|
|
467
|
-
if (requestParameters['chain'] == null) {
|
|
468
|
-
throw new runtime.RequiredError(
|
|
469
|
-
'chain',
|
|
470
|
-
'Required parameter "chain" was null or undefined when calling getHolders().'
|
|
471
|
-
);
|
|
472
|
-
}
|
|
473
|
-
|
|
474
|
-
if (requestParameters['tokenAddress'] == null) {
|
|
475
|
-
throw new runtime.RequiredError(
|
|
476
|
-
'tokenAddress',
|
|
477
|
-
'Required parameter "tokenAddress" was null or undefined when calling getHolders().'
|
|
478
|
-
);
|
|
479
|
-
}
|
|
480
|
-
|
|
481
|
-
const queryParameters: any = {};
|
|
482
|
-
|
|
483
|
-
if (requestParameters['cursor'] != null) {
|
|
484
|
-
queryParameters['cursor'] = requestParameters['cursor'];
|
|
485
|
-
}
|
|
486
|
-
|
|
487
|
-
if (requestParameters['limit'] != null) {
|
|
488
|
-
queryParameters['limit'] = requestParameters['limit'];
|
|
489
|
-
}
|
|
490
|
-
|
|
491
|
-
if (requestParameters['direction'] != null) {
|
|
492
|
-
queryParameters['direction'] = requestParameters['direction'];
|
|
493
|
-
}
|
|
494
|
-
|
|
495
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
496
|
-
|
|
497
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
498
|
-
const token = this.configuration.accessToken;
|
|
499
|
-
const tokenString = await token("bearer", []);
|
|
500
|
-
|
|
501
|
-
if (tokenString) {
|
|
502
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
503
|
-
}
|
|
504
|
-
}
|
|
505
|
-
|
|
506
|
-
let urlPath = `/v1/token/{chain}/{tokenAddress}/holders`;
|
|
507
|
-
urlPath = urlPath.replace(`{${"chain"}}`, encodeURIComponent(String(requestParameters['chain'])));
|
|
508
|
-
urlPath = urlPath.replace(`{${"tokenAddress"}}`, encodeURIComponent(String(requestParameters['tokenAddress'])));
|
|
509
|
-
|
|
510
|
-
const response = await this.request({
|
|
511
|
-
path: urlPath,
|
|
512
|
-
method: 'GET',
|
|
513
|
-
headers: headerParameters,
|
|
514
|
-
query: queryParameters,
|
|
515
|
-
}, initOverrides);
|
|
516
|
-
|
|
517
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => TokenHolderPageFromJSON(jsonValue));
|
|
518
|
-
}
|
|
519
|
-
|
|
520
|
-
/**
|
|
521
|
-
* CONTROLLER.TOKEN.GET_HOLDERS.DESCRIPTION
|
|
522
|
-
* CONTROLLER.TOKEN.GET_HOLDERS.SUMMARY
|
|
523
|
-
*/
|
|
524
|
-
async getHolders(requestParameters: GetHoldersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TokenHolderPage> {
|
|
525
|
-
const response = await this.getHoldersRaw(requestParameters, initOverrides);
|
|
526
|
-
return await response.value();
|
|
527
|
-
}
|
|
528
|
-
|
|
529
|
-
/**
|
|
530
|
-
* CONTROLLER.TOKEN.GET_HOLDERS_MULTI.DESCRIPTION
|
|
531
|
-
* CONTROLLER.TOKEN.GET_HOLDERS_MULTI.SUMMARY
|
|
532
|
-
*/
|
|
533
|
-
async getHoldersMultiRaw(requestParameters: GetHoldersMultiRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<TokenHolder>>> {
|
|
534
|
-
if (requestParameters['chain'] == null) {
|
|
535
|
-
throw new runtime.RequiredError(
|
|
536
|
-
'chain',
|
|
537
|
-
'Required parameter "chain" was null or undefined when calling getHoldersMulti().'
|
|
538
|
-
);
|
|
539
|
-
}
|
|
540
|
-
|
|
541
|
-
if (requestParameters['tokenAddress'] == null) {
|
|
542
|
-
throw new runtime.RequiredError(
|
|
543
|
-
'tokenAddress',
|
|
544
|
-
'Required parameter "tokenAddress" was null or undefined when calling getHoldersMulti().'
|
|
545
|
-
);
|
|
546
|
-
}
|
|
547
|
-
|
|
548
|
-
if (requestParameters['walletAddresses'] == null) {
|
|
549
|
-
throw new runtime.RequiredError(
|
|
550
|
-
'walletAddresses',
|
|
551
|
-
'Required parameter "walletAddresses" was null or undefined when calling getHoldersMulti().'
|
|
552
|
-
);
|
|
553
|
-
}
|
|
554
|
-
|
|
555
|
-
const queryParameters: any = {};
|
|
556
|
-
|
|
557
|
-
if (requestParameters['walletAddresses'] != null) {
|
|
558
|
-
queryParameters['walletAddresses'] = requestParameters['walletAddresses'];
|
|
559
|
-
}
|
|
560
|
-
|
|
561
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
562
|
-
|
|
563
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
564
|
-
const token = this.configuration.accessToken;
|
|
565
|
-
const tokenString = await token("bearer", []);
|
|
566
|
-
|
|
567
|
-
if (tokenString) {
|
|
568
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
569
|
-
}
|
|
570
|
-
}
|
|
571
|
-
|
|
572
|
-
let urlPath = `/v1/token/{chain}/{tokenAddress}/holders/multi`;
|
|
573
|
-
urlPath = urlPath.replace(`{${"chain"}}`, encodeURIComponent(String(requestParameters['chain'])));
|
|
574
|
-
urlPath = urlPath.replace(`{${"tokenAddress"}}`, encodeURIComponent(String(requestParameters['tokenAddress'])));
|
|
575
|
-
|
|
576
|
-
const response = await this.request({
|
|
577
|
-
path: urlPath,
|
|
578
|
-
method: 'GET',
|
|
579
|
-
headers: headerParameters,
|
|
580
|
-
query: queryParameters,
|
|
581
|
-
}, initOverrides);
|
|
582
|
-
|
|
583
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(TokenHolderFromJSON));
|
|
584
|
-
}
|
|
585
|
-
|
|
586
|
-
/**
|
|
587
|
-
* CONTROLLER.TOKEN.GET_HOLDERS_MULTI.DESCRIPTION
|
|
588
|
-
* CONTROLLER.TOKEN.GET_HOLDERS_MULTI.SUMMARY
|
|
589
|
-
*/
|
|
590
|
-
async getHoldersMulti(requestParameters: GetHoldersMultiRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<TokenHolder>> {
|
|
591
|
-
const response = await this.getHoldersMultiRaw(requestParameters, initOverrides);
|
|
592
|
-
return await response.value();
|
|
593
|
-
}
|
|
594
|
-
|
|
595
|
-
/**
|
|
596
|
-
* CONTROLLER.TOKEN.GET_MARKET_CAP.DESCRIPTION
|
|
597
|
-
* CONTROLLER.TOKEN.GET_MARKET_CAP.SUMMARY
|
|
598
|
-
*/
|
|
599
|
-
async getMarketDataRaw(requestParameters: GetMarketDataRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<TokenMarketData>> {
|
|
600
|
-
if (requestParameters['chain'] == null) {
|
|
601
|
-
throw new runtime.RequiredError(
|
|
602
|
-
'chain',
|
|
603
|
-
'Required parameter "chain" was null or undefined when calling getMarketData().'
|
|
604
|
-
);
|
|
605
|
-
}
|
|
606
|
-
|
|
607
|
-
if (requestParameters['tokenAddress'] == null) {
|
|
608
|
-
throw new runtime.RequiredError(
|
|
609
|
-
'tokenAddress',
|
|
610
|
-
'Required parameter "tokenAddress" was null or undefined when calling getMarketData().'
|
|
611
|
-
);
|
|
612
|
-
}
|
|
613
|
-
|
|
614
|
-
const queryParameters: any = {};
|
|
615
|
-
|
|
616
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
617
|
-
|
|
618
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
619
|
-
const token = this.configuration.accessToken;
|
|
620
|
-
const tokenString = await token("bearer", []);
|
|
621
|
-
|
|
622
|
-
if (tokenString) {
|
|
623
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
624
|
-
}
|
|
625
|
-
}
|
|
626
|
-
|
|
627
|
-
let urlPath = `/v1/token/{chain}/{tokenAddress}/marketData`;
|
|
628
|
-
urlPath = urlPath.replace(`{${"chain"}}`, encodeURIComponent(String(requestParameters['chain'])));
|
|
629
|
-
urlPath = urlPath.replace(`{${"tokenAddress"}}`, encodeURIComponent(String(requestParameters['tokenAddress'])));
|
|
630
|
-
|
|
631
|
-
const response = await this.request({
|
|
632
|
-
path: urlPath,
|
|
633
|
-
method: 'GET',
|
|
634
|
-
headers: headerParameters,
|
|
635
|
-
query: queryParameters,
|
|
636
|
-
}, initOverrides);
|
|
637
|
-
|
|
638
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => TokenMarketDataFromJSON(jsonValue));
|
|
639
|
-
}
|
|
640
|
-
|
|
641
|
-
/**
|
|
642
|
-
* CONTROLLER.TOKEN.GET_MARKET_CAP.DESCRIPTION
|
|
643
|
-
* CONTROLLER.TOKEN.GET_MARKET_CAP.SUMMARY
|
|
644
|
-
*/
|
|
645
|
-
async getMarketData(requestParameters: GetMarketDataRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TokenMarketData> {
|
|
646
|
-
const response = await this.getMarketDataRaw(requestParameters, initOverrides);
|
|
647
|
-
return await response.value();
|
|
648
|
-
}
|
|
649
|
-
|
|
650
|
-
/**
|
|
651
|
-
* CONTROLLER.TOKEN.GET_MARKET_DATA_MULTI.DESCRIPTION
|
|
652
|
-
* CONTROLLER.TOKEN.GET_MARKET_DATA_MULTI.SUMMARY
|
|
653
|
-
*/
|
|
654
|
-
async getMarketDataMultiRaw(requestParameters: GetMarketDataMultiRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<{ [key: string]: TokenMarketData; }>> {
|
|
655
|
-
if (requestParameters['chain'] == null) {
|
|
656
|
-
throw new runtime.RequiredError(
|
|
657
|
-
'chain',
|
|
658
|
-
'Required parameter "chain" was null or undefined when calling getMarketDataMulti().'
|
|
659
|
-
);
|
|
660
|
-
}
|
|
661
|
-
|
|
662
|
-
if (requestParameters['tokenAddresses'] == null) {
|
|
663
|
-
throw new runtime.RequiredError(
|
|
664
|
-
'tokenAddresses',
|
|
665
|
-
'Required parameter "tokenAddresses" was null or undefined when calling getMarketDataMulti().'
|
|
666
|
-
);
|
|
667
|
-
}
|
|
668
|
-
|
|
669
|
-
const queryParameters: any = {};
|
|
670
|
-
|
|
671
|
-
if (requestParameters['tokenAddresses'] != null) {
|
|
672
|
-
queryParameters['tokenAddresses'] = requestParameters['tokenAddresses'];
|
|
673
|
-
}
|
|
674
|
-
|
|
675
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
676
|
-
|
|
677
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
678
|
-
const token = this.configuration.accessToken;
|
|
679
|
-
const tokenString = await token("bearer", []);
|
|
680
|
-
|
|
681
|
-
if (tokenString) {
|
|
682
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
683
|
-
}
|
|
684
|
-
}
|
|
685
|
-
|
|
686
|
-
let urlPath = `/v1/token/{chain}/marketData/multi`;
|
|
687
|
-
urlPath = urlPath.replace(`{${"chain"}}`, encodeURIComponent(String(requestParameters['chain'])));
|
|
688
|
-
|
|
689
|
-
const response = await this.request({
|
|
690
|
-
path: urlPath,
|
|
691
|
-
method: 'GET',
|
|
692
|
-
headers: headerParameters,
|
|
693
|
-
query: queryParameters,
|
|
694
|
-
}, initOverrides);
|
|
695
|
-
|
|
696
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => runtime.mapValues(jsonValue, TokenMarketDataFromJSON));
|
|
697
|
-
}
|
|
698
|
-
|
|
699
|
-
/**
|
|
700
|
-
* CONTROLLER.TOKEN.GET_MARKET_DATA_MULTI.DESCRIPTION
|
|
701
|
-
* CONTROLLER.TOKEN.GET_MARKET_DATA_MULTI.SUMMARY
|
|
702
|
-
*/
|
|
703
|
-
async getMarketDataMulti(requestParameters: GetMarketDataMultiRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<{ [key: string]: TokenMarketData; }> {
|
|
704
|
-
const response = await this.getMarketDataMultiRaw(requestParameters, initOverrides);
|
|
705
|
-
return await response.value();
|
|
706
|
-
}
|
|
707
|
-
|
|
708
|
-
/**
|
|
709
|
-
* CONTROLLER.TOKEN.GET_METADATA.DESCRIPTION
|
|
710
|
-
* CONTROLLER.TOKEN.GET_METADATA.SUMMARY
|
|
711
|
-
*/
|
|
712
|
-
async getMetadataRaw(requestParameters: GetMetadataRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<TokenMetadata>> {
|
|
713
|
-
if (requestParameters['chain'] == null) {
|
|
714
|
-
throw new runtime.RequiredError(
|
|
715
|
-
'chain',
|
|
716
|
-
'Required parameter "chain" was null or undefined when calling getMetadata().'
|
|
717
|
-
);
|
|
718
|
-
}
|
|
719
|
-
|
|
720
|
-
if (requestParameters['tokenAddress'] == null) {
|
|
721
|
-
throw new runtime.RequiredError(
|
|
722
|
-
'tokenAddress',
|
|
723
|
-
'Required parameter "tokenAddress" was null or undefined when calling getMetadata().'
|
|
724
|
-
);
|
|
725
|
-
}
|
|
726
|
-
|
|
727
|
-
const queryParameters: any = {};
|
|
728
|
-
|
|
729
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
730
|
-
|
|
731
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
732
|
-
const token = this.configuration.accessToken;
|
|
733
|
-
const tokenString = await token("bearer", []);
|
|
734
|
-
|
|
735
|
-
if (tokenString) {
|
|
736
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
737
|
-
}
|
|
738
|
-
}
|
|
739
|
-
|
|
740
|
-
let urlPath = `/v1/token/{chain}/{tokenAddress}/metadata`;
|
|
741
|
-
urlPath = urlPath.replace(`{${"chain"}}`, encodeURIComponent(String(requestParameters['chain'])));
|
|
742
|
-
urlPath = urlPath.replace(`{${"tokenAddress"}}`, encodeURIComponent(String(requestParameters['tokenAddress'])));
|
|
743
|
-
|
|
744
|
-
const response = await this.request({
|
|
745
|
-
path: urlPath,
|
|
746
|
-
method: 'GET',
|
|
747
|
-
headers: headerParameters,
|
|
748
|
-
query: queryParameters,
|
|
749
|
-
}, initOverrides);
|
|
750
|
-
|
|
751
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => TokenMetadataFromJSON(jsonValue));
|
|
752
|
-
}
|
|
753
|
-
|
|
754
|
-
/**
|
|
755
|
-
* CONTROLLER.TOKEN.GET_METADATA.DESCRIPTION
|
|
756
|
-
* CONTROLLER.TOKEN.GET_METADATA.SUMMARY
|
|
757
|
-
*/
|
|
758
|
-
async getMetadata(requestParameters: GetMetadataRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TokenMetadata> {
|
|
759
|
-
const response = await this.getMetadataRaw(requestParameters, initOverrides);
|
|
760
|
-
return await response.value();
|
|
761
|
-
}
|
|
762
|
-
|
|
763
|
-
/**
|
|
764
|
-
* CONTROLLER.TOKEN.GET_METADATA_MULTI.DESCRIPTION
|
|
765
|
-
* CONTROLLER.TOKEN.GET_METADATA_MULTI.SUMMARY
|
|
766
|
-
*/
|
|
767
|
-
async getMetadataMultiRaw(requestParameters: GetMetadataMultiRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<{ [key: string]: TokenMetadata; }>> {
|
|
768
|
-
if (requestParameters['chain'] == null) {
|
|
769
|
-
throw new runtime.RequiredError(
|
|
770
|
-
'chain',
|
|
771
|
-
'Required parameter "chain" was null or undefined when calling getMetadataMulti().'
|
|
772
|
-
);
|
|
773
|
-
}
|
|
774
|
-
|
|
775
|
-
if (requestParameters['tokenAddresses'] == null) {
|
|
776
|
-
throw new runtime.RequiredError(
|
|
777
|
-
'tokenAddresses',
|
|
778
|
-
'Required parameter "tokenAddresses" was null or undefined when calling getMetadataMulti().'
|
|
779
|
-
);
|
|
780
|
-
}
|
|
781
|
-
|
|
782
|
-
const queryParameters: any = {};
|
|
783
|
-
|
|
784
|
-
if (requestParameters['tokenAddresses'] != null) {
|
|
785
|
-
queryParameters['tokenAddresses'] = requestParameters['tokenAddresses'];
|
|
786
|
-
}
|
|
787
|
-
|
|
788
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
789
|
-
|
|
790
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
791
|
-
const token = this.configuration.accessToken;
|
|
792
|
-
const tokenString = await token("bearer", []);
|
|
793
|
-
|
|
794
|
-
if (tokenString) {
|
|
795
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
796
|
-
}
|
|
797
|
-
}
|
|
798
|
-
|
|
799
|
-
let urlPath = `/v1/token/{chain}/metadata/multi`;
|
|
800
|
-
urlPath = urlPath.replace(`{${"chain"}}`, encodeURIComponent(String(requestParameters['chain'])));
|
|
801
|
-
|
|
802
|
-
const response = await this.request({
|
|
803
|
-
path: urlPath,
|
|
804
|
-
method: 'GET',
|
|
805
|
-
headers: headerParameters,
|
|
806
|
-
query: queryParameters,
|
|
807
|
-
}, initOverrides);
|
|
808
|
-
|
|
809
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => runtime.mapValues(jsonValue, TokenMetadataFromJSON));
|
|
810
|
-
}
|
|
811
|
-
|
|
812
|
-
/**
|
|
813
|
-
* CONTROLLER.TOKEN.GET_METADATA_MULTI.DESCRIPTION
|
|
814
|
-
* CONTROLLER.TOKEN.GET_METADATA_MULTI.SUMMARY
|
|
815
|
-
*/
|
|
816
|
-
async getMetadataMulti(requestParameters: GetMetadataMultiRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<{ [key: string]: TokenMetadata; }> {
|
|
817
|
-
const response = await this.getMetadataMultiRaw(requestParameters, initOverrides);
|
|
818
|
-
return await response.value();
|
|
819
|
-
}
|
|
820
|
-
|
|
821
|
-
/**
|
|
822
|
-
* CONTROLLER.TOKEN.GET_MINT_AND_BURN.DESCRIPTION
|
|
823
|
-
* CONTROLLER.TOKEN.GET_MINT_AND_BURN.SUMMARY
|
|
824
|
-
*/
|
|
825
|
-
async getMintAndBurnRaw(requestParameters: GetMintAndBurnRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<TokenCreationPage>> {
|
|
826
|
-
if (requestParameters['chain'] == null) {
|
|
827
|
-
throw new runtime.RequiredError(
|
|
828
|
-
'chain',
|
|
829
|
-
'Required parameter "chain" was null or undefined when calling getMintAndBurn().'
|
|
830
|
-
);
|
|
831
|
-
}
|
|
832
|
-
|
|
833
|
-
if (requestParameters['tokenAddress'] == null) {
|
|
834
|
-
throw new runtime.RequiredError(
|
|
835
|
-
'tokenAddress',
|
|
836
|
-
'Required parameter "tokenAddress" was null or undefined when calling getMintAndBurn().'
|
|
837
|
-
);
|
|
838
|
-
}
|
|
839
|
-
|
|
840
|
-
const queryParameters: any = {};
|
|
841
|
-
|
|
842
|
-
if (requestParameters['cursor'] != null) {
|
|
843
|
-
queryParameters['cursor'] = requestParameters['cursor'];
|
|
844
|
-
}
|
|
845
|
-
|
|
846
|
-
if (requestParameters['limit'] != null) {
|
|
847
|
-
queryParameters['limit'] = requestParameters['limit'];
|
|
848
|
-
}
|
|
849
|
-
|
|
850
|
-
if (requestParameters['direction'] != null) {
|
|
851
|
-
queryParameters['direction'] = requestParameters['direction'];
|
|
852
|
-
}
|
|
853
|
-
|
|
854
|
-
if (requestParameters['type'] != null) {
|
|
855
|
-
queryParameters['type'] = requestParameters['type'];
|
|
856
|
-
}
|
|
857
|
-
|
|
858
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
859
|
-
|
|
860
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
861
|
-
const token = this.configuration.accessToken;
|
|
862
|
-
const tokenString = await token("bearer", []);
|
|
863
|
-
|
|
864
|
-
if (tokenString) {
|
|
865
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
866
|
-
}
|
|
867
|
-
}
|
|
868
|
-
|
|
869
|
-
let urlPath = `/v1/token/{chain}/{tokenAddress}/mintAndBurn`;
|
|
870
|
-
urlPath = urlPath.replace(`{${"chain"}}`, encodeURIComponent(String(requestParameters['chain'])));
|
|
871
|
-
urlPath = urlPath.replace(`{${"tokenAddress"}}`, encodeURIComponent(String(requestParameters['tokenAddress'])));
|
|
872
|
-
|
|
873
|
-
const response = await this.request({
|
|
874
|
-
path: urlPath,
|
|
875
|
-
method: 'GET',
|
|
876
|
-
headers: headerParameters,
|
|
877
|
-
query: queryParameters,
|
|
878
|
-
}, initOverrides);
|
|
879
|
-
|
|
880
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => TokenCreationPageFromJSON(jsonValue));
|
|
881
|
-
}
|
|
882
|
-
|
|
883
|
-
/**
|
|
884
|
-
* CONTROLLER.TOKEN.GET_MINT_AND_BURN.DESCRIPTION
|
|
885
|
-
* CONTROLLER.TOKEN.GET_MINT_AND_BURN.SUMMARY
|
|
886
|
-
*/
|
|
887
|
-
async getMintAndBurn(requestParameters: GetMintAndBurnRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TokenCreationPage> {
|
|
888
|
-
const response = await this.getMintAndBurnRaw(requestParameters, initOverrides);
|
|
889
|
-
return await response.value();
|
|
890
|
-
}
|
|
891
|
-
|
|
892
|
-
/**
|
|
893
|
-
* CONTROLLER.TOKEN.GET_POOLS.DESCRIPTION
|
|
894
|
-
* CONTROLLER.TOKEN.GET_POOLS.SUMMARY
|
|
895
|
-
*/
|
|
896
|
-
async getPoolsRaw(requestParameters: GetPoolsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<DexPoolDTO>>> {
|
|
897
|
-
if (requestParameters['chain'] == null) {
|
|
898
|
-
throw new runtime.RequiredError(
|
|
899
|
-
'chain',
|
|
900
|
-
'Required parameter "chain" was null or undefined when calling getPools().'
|
|
901
|
-
);
|
|
902
|
-
}
|
|
903
|
-
|
|
904
|
-
if (requestParameters['tokenAddress'] == null) {
|
|
905
|
-
throw new runtime.RequiredError(
|
|
906
|
-
'tokenAddress',
|
|
907
|
-
'Required parameter "tokenAddress" was null or undefined when calling getPools().'
|
|
908
|
-
);
|
|
909
|
-
}
|
|
910
|
-
|
|
911
|
-
const queryParameters: any = {};
|
|
912
|
-
|
|
913
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
914
|
-
|
|
915
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
916
|
-
const token = this.configuration.accessToken;
|
|
917
|
-
const tokenString = await token("bearer", []);
|
|
918
|
-
|
|
919
|
-
if (tokenString) {
|
|
920
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
921
|
-
}
|
|
922
|
-
}
|
|
923
|
-
|
|
924
|
-
let urlPath = `/v1/token/{chain}/{tokenAddress}/pools`;
|
|
925
|
-
urlPath = urlPath.replace(`{${"chain"}}`, encodeURIComponent(String(requestParameters['chain'])));
|
|
926
|
-
urlPath = urlPath.replace(`{${"tokenAddress"}}`, encodeURIComponent(String(requestParameters['tokenAddress'])));
|
|
927
|
-
|
|
928
|
-
const response = await this.request({
|
|
929
|
-
path: urlPath,
|
|
930
|
-
method: 'GET',
|
|
931
|
-
headers: headerParameters,
|
|
932
|
-
query: queryParameters,
|
|
933
|
-
}, initOverrides);
|
|
934
|
-
|
|
935
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(DexPoolDTOFromJSON));
|
|
936
|
-
}
|
|
937
|
-
|
|
938
|
-
/**
|
|
939
|
-
* CONTROLLER.TOKEN.GET_POOLS.DESCRIPTION
|
|
940
|
-
* CONTROLLER.TOKEN.GET_POOLS.SUMMARY
|
|
941
|
-
*/
|
|
942
|
-
async getPools(requestParameters: GetPoolsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<DexPoolDTO>> {
|
|
943
|
-
const response = await this.getPoolsRaw(requestParameters, initOverrides);
|
|
944
|
-
return await response.value();
|
|
945
|
-
}
|
|
946
|
-
|
|
947
|
-
/**
|
|
948
|
-
* CONTROLLER.TOKEN.GET_PRICE_BY_TIME.DESCRIPTION
|
|
949
|
-
* CONTROLLER.TOKEN.GET_PRICE_BY_TIME.SUMMARY
|
|
950
|
-
*/
|
|
951
|
-
async getPriceByTimeRaw(requestParameters: GetPriceByTimeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<TokenPriceDTO>> {
|
|
952
|
-
if (requestParameters['chain'] == null) {
|
|
953
|
-
throw new runtime.RequiredError(
|
|
954
|
-
'chain',
|
|
955
|
-
'Required parameter "chain" was null or undefined when calling getPriceByTime().'
|
|
956
|
-
);
|
|
957
|
-
}
|
|
958
|
-
|
|
959
|
-
if (requestParameters['tokenAddress'] == null) {
|
|
960
|
-
throw new runtime.RequiredError(
|
|
961
|
-
'tokenAddress',
|
|
962
|
-
'Required parameter "tokenAddress" was null or undefined when calling getPriceByTime().'
|
|
963
|
-
);
|
|
964
|
-
}
|
|
965
|
-
|
|
966
|
-
if (requestParameters['timestamp'] == null) {
|
|
967
|
-
throw new runtime.RequiredError(
|
|
968
|
-
'timestamp',
|
|
969
|
-
'Required parameter "timestamp" was null or undefined when calling getPriceByTime().'
|
|
970
|
-
);
|
|
971
|
-
}
|
|
972
|
-
|
|
973
|
-
const queryParameters: any = {};
|
|
974
|
-
|
|
975
|
-
if (requestParameters['timestamp'] != null) {
|
|
976
|
-
queryParameters['timestamp'] = requestParameters['timestamp'];
|
|
977
|
-
}
|
|
978
|
-
|
|
979
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
980
|
-
|
|
981
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
982
|
-
const token = this.configuration.accessToken;
|
|
983
|
-
const tokenString = await token("bearer", []);
|
|
984
|
-
|
|
985
|
-
if (tokenString) {
|
|
986
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
987
|
-
}
|
|
988
|
-
}
|
|
989
|
-
|
|
990
|
-
let urlPath = `/v1/token/{chain}/{tokenAddress}/price`;
|
|
991
|
-
urlPath = urlPath.replace(`{${"chain"}}`, encodeURIComponent(String(requestParameters['chain'])));
|
|
992
|
-
urlPath = urlPath.replace(`{${"tokenAddress"}}`, encodeURIComponent(String(requestParameters['tokenAddress'])));
|
|
993
|
-
|
|
994
|
-
const response = await this.request({
|
|
995
|
-
path: urlPath,
|
|
996
|
-
method: 'GET',
|
|
997
|
-
headers: headerParameters,
|
|
998
|
-
query: queryParameters,
|
|
999
|
-
}, initOverrides);
|
|
1000
|
-
|
|
1001
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => TokenPriceDTOFromJSON(jsonValue));
|
|
1002
|
-
}
|
|
1003
|
-
|
|
1004
|
-
/**
|
|
1005
|
-
* CONTROLLER.TOKEN.GET_PRICE_BY_TIME.DESCRIPTION
|
|
1006
|
-
* CONTROLLER.TOKEN.GET_PRICE_BY_TIME.SUMMARY
|
|
1007
|
-
*/
|
|
1008
|
-
async getPriceByTime(requestParameters: GetPriceByTimeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TokenPriceDTO> {
|
|
1009
|
-
const response = await this.getPriceByTimeRaw(requestParameters, initOverrides);
|
|
1010
|
-
return await response.value();
|
|
1011
|
-
}
|
|
1012
|
-
|
|
1013
|
-
/**
|
|
1014
|
-
* CONTROLLER.TOKEN.GET_PRICES.DESCRIPTION
|
|
1015
|
-
* CONTROLLER.TOKEN.GET_PRICES.SUMMARY
|
|
1016
|
-
*/
|
|
1017
|
-
async getPricesRaw(requestParameters: GetPricesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<TokenPricePage>> {
|
|
1018
|
-
if (requestParameters['chain'] == null) {
|
|
1019
|
-
throw new runtime.RequiredError(
|
|
1020
|
-
'chain',
|
|
1021
|
-
'Required parameter "chain" was null or undefined when calling getPrices().'
|
|
1022
|
-
);
|
|
1023
|
-
}
|
|
1024
|
-
|
|
1025
|
-
if (requestParameters['tokenAddress'] == null) {
|
|
1026
|
-
throw new runtime.RequiredError(
|
|
1027
|
-
'tokenAddress',
|
|
1028
|
-
'Required parameter "tokenAddress" was null or undefined when calling getPrices().'
|
|
1029
|
-
);
|
|
1030
|
-
}
|
|
1031
|
-
|
|
1032
|
-
const queryParameters: any = {};
|
|
1033
|
-
|
|
1034
|
-
if (requestParameters['cursor'] != null) {
|
|
1035
|
-
queryParameters['cursor'] = requestParameters['cursor'];
|
|
1036
|
-
}
|
|
1037
|
-
|
|
1038
|
-
if (requestParameters['limit'] != null) {
|
|
1039
|
-
queryParameters['limit'] = requestParameters['limit'];
|
|
1040
|
-
}
|
|
1041
|
-
|
|
1042
|
-
if (requestParameters['direction'] != null) {
|
|
1043
|
-
queryParameters['direction'] = requestParameters['direction'];
|
|
1044
|
-
}
|
|
1045
|
-
|
|
1046
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
1047
|
-
|
|
1048
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
1049
|
-
const token = this.configuration.accessToken;
|
|
1050
|
-
const tokenString = await token("bearer", []);
|
|
1051
|
-
|
|
1052
|
-
if (tokenString) {
|
|
1053
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1054
|
-
}
|
|
1055
|
-
}
|
|
1056
|
-
|
|
1057
|
-
let urlPath = `/v1/token/{chain}/{tokenAddress}/prices`;
|
|
1058
|
-
urlPath = urlPath.replace(`{${"chain"}}`, encodeURIComponent(String(requestParameters['chain'])));
|
|
1059
|
-
urlPath = urlPath.replace(`{${"tokenAddress"}}`, encodeURIComponent(String(requestParameters['tokenAddress'])));
|
|
1060
|
-
|
|
1061
|
-
const response = await this.request({
|
|
1062
|
-
path: urlPath,
|
|
1063
|
-
method: 'GET',
|
|
1064
|
-
headers: headerParameters,
|
|
1065
|
-
query: queryParameters,
|
|
1066
|
-
}, initOverrides);
|
|
1067
|
-
|
|
1068
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => TokenPricePageFromJSON(jsonValue));
|
|
1069
|
-
}
|
|
1070
|
-
|
|
1071
|
-
/**
|
|
1072
|
-
* CONTROLLER.TOKEN.GET_PRICES.DESCRIPTION
|
|
1073
|
-
* CONTROLLER.TOKEN.GET_PRICES.SUMMARY
|
|
1074
|
-
*/
|
|
1075
|
-
async getPrices(requestParameters: GetPricesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TokenPricePage> {
|
|
1076
|
-
const response = await this.getPricesRaw(requestParameters, initOverrides);
|
|
1077
|
-
return await response.value();
|
|
1078
|
-
}
|
|
1079
|
-
|
|
1080
|
-
/**
|
|
1081
|
-
* CONTROLLER.TOKEN.GET_SECURITY.DESCRIPTION
|
|
1082
|
-
* CONTROLLER.TOKEN.GET_SECURITY.SUMMARY
|
|
1083
|
-
*/
|
|
1084
|
-
async getSecurityRaw(requestParameters: GetSecurityRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<object>> {
|
|
1085
|
-
if (requestParameters['chain'] == null) {
|
|
1086
|
-
throw new runtime.RequiredError(
|
|
1087
|
-
'chain',
|
|
1088
|
-
'Required parameter "chain" was null or undefined when calling getSecurity().'
|
|
1089
|
-
);
|
|
1090
|
-
}
|
|
1091
|
-
|
|
1092
|
-
if (requestParameters['tokenAddress'] == null) {
|
|
1093
|
-
throw new runtime.RequiredError(
|
|
1094
|
-
'tokenAddress',
|
|
1095
|
-
'Required parameter "tokenAddress" was null or undefined when calling getSecurity().'
|
|
1096
|
-
);
|
|
1097
|
-
}
|
|
1098
|
-
|
|
1099
|
-
const queryParameters: any = {};
|
|
1100
|
-
|
|
1101
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
1102
|
-
|
|
1103
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
1104
|
-
const token = this.configuration.accessToken;
|
|
1105
|
-
const tokenString = await token("bearer", []);
|
|
1106
|
-
|
|
1107
|
-
if (tokenString) {
|
|
1108
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1109
|
-
}
|
|
1110
|
-
}
|
|
1111
|
-
|
|
1112
|
-
let urlPath = `/v1/token/{chain}/{tokenAddress}/security`;
|
|
1113
|
-
urlPath = urlPath.replace(`{${"chain"}}`, encodeURIComponent(String(requestParameters['chain'])));
|
|
1114
|
-
urlPath = urlPath.replace(`{${"tokenAddress"}}`, encodeURIComponent(String(requestParameters['tokenAddress'])));
|
|
1115
|
-
|
|
1116
|
-
const response = await this.request({
|
|
1117
|
-
path: urlPath,
|
|
1118
|
-
method: 'GET',
|
|
1119
|
-
headers: headerParameters,
|
|
1120
|
-
query: queryParameters,
|
|
1121
|
-
}, initOverrides);
|
|
1122
|
-
|
|
1123
|
-
return new runtime.JSONApiResponse<any>(response);
|
|
1124
|
-
}
|
|
1125
|
-
|
|
1126
|
-
/**
|
|
1127
|
-
* CONTROLLER.TOKEN.GET_SECURITY.DESCRIPTION
|
|
1128
|
-
* CONTROLLER.TOKEN.GET_SECURITY.SUMMARY
|
|
1129
|
-
*/
|
|
1130
|
-
async getSecurity(requestParameters: GetSecurityRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<object> {
|
|
1131
|
-
const response = await this.getSecurityRaw(requestParameters, initOverrides);
|
|
1132
|
-
return await response.value();
|
|
1133
|
-
}
|
|
1134
|
-
|
|
1135
|
-
/**
|
|
1136
|
-
* CONTROLLER.TOKEN.GET_STATS.DESCRIPTION
|
|
1137
|
-
* CONTROLLER.TOKEN.GET_STATS.SUMMARY
|
|
1138
|
-
*/
|
|
1139
|
-
async getStatsRaw(requestParameters: GetStatsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<TokenStat>> {
|
|
1140
|
-
if (requestParameters['chain'] == null) {
|
|
1141
|
-
throw new runtime.RequiredError(
|
|
1142
|
-
'chain',
|
|
1143
|
-
'Required parameter "chain" was null or undefined when calling getStats().'
|
|
1144
|
-
);
|
|
1145
|
-
}
|
|
1146
|
-
|
|
1147
|
-
if (requestParameters['tokenAddress'] == null) {
|
|
1148
|
-
throw new runtime.RequiredError(
|
|
1149
|
-
'tokenAddress',
|
|
1150
|
-
'Required parameter "tokenAddress" was null or undefined when calling getStats().'
|
|
1151
|
-
);
|
|
1152
|
-
}
|
|
1153
|
-
|
|
1154
|
-
const queryParameters: any = {};
|
|
1155
|
-
|
|
1156
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
1157
|
-
|
|
1158
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
1159
|
-
const token = this.configuration.accessToken;
|
|
1160
|
-
const tokenString = await token("bearer", []);
|
|
1161
|
-
|
|
1162
|
-
if (tokenString) {
|
|
1163
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1164
|
-
}
|
|
1165
|
-
}
|
|
1166
|
-
|
|
1167
|
-
let urlPath = `/v1/token/{chain}/{tokenAddress}/stats`;
|
|
1168
|
-
urlPath = urlPath.replace(`{${"chain"}}`, encodeURIComponent(String(requestParameters['chain'])));
|
|
1169
|
-
urlPath = urlPath.replace(`{${"tokenAddress"}}`, encodeURIComponent(String(requestParameters['tokenAddress'])));
|
|
1170
|
-
|
|
1171
|
-
const response = await this.request({
|
|
1172
|
-
path: urlPath,
|
|
1173
|
-
method: 'GET',
|
|
1174
|
-
headers: headerParameters,
|
|
1175
|
-
query: queryParameters,
|
|
1176
|
-
}, initOverrides);
|
|
1177
|
-
|
|
1178
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => TokenStatFromJSON(jsonValue));
|
|
1179
|
-
}
|
|
1180
|
-
|
|
1181
|
-
/**
|
|
1182
|
-
* CONTROLLER.TOKEN.GET_STATS.DESCRIPTION
|
|
1183
|
-
* CONTROLLER.TOKEN.GET_STATS.SUMMARY
|
|
1184
|
-
*/
|
|
1185
|
-
async getStats(requestParameters: GetStatsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TokenStat> {
|
|
1186
|
-
const response = await this.getStatsRaw(requestParameters, initOverrides);
|
|
1187
|
-
return await response.value();
|
|
1188
|
-
}
|
|
1189
|
-
|
|
1190
|
-
/**
|
|
1191
|
-
* CONTROLLER.TOKEN.GET_STATS_MULTI.DESCRIPTION
|
|
1192
|
-
* CONTROLLER.TOKEN.GET_STATS_MULTI.SUMMARY
|
|
1193
|
-
*/
|
|
1194
|
-
async getStatsMultiRaw(requestParameters: GetStatsMultiRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<{ [key: string]: TokenStat; }>> {
|
|
1195
|
-
if (requestParameters['chain'] == null) {
|
|
1196
|
-
throw new runtime.RequiredError(
|
|
1197
|
-
'chain',
|
|
1198
|
-
'Required parameter "chain" was null or undefined when calling getStatsMulti().'
|
|
1199
|
-
);
|
|
1200
|
-
}
|
|
1201
|
-
|
|
1202
|
-
if (requestParameters['tokenAddresses'] == null) {
|
|
1203
|
-
throw new runtime.RequiredError(
|
|
1204
|
-
'tokenAddresses',
|
|
1205
|
-
'Required parameter "tokenAddresses" was null or undefined when calling getStatsMulti().'
|
|
1206
|
-
);
|
|
1207
|
-
}
|
|
1208
|
-
|
|
1209
|
-
const queryParameters: any = {};
|
|
1210
|
-
|
|
1211
|
-
if (requestParameters['tokenAddresses'] != null) {
|
|
1212
|
-
queryParameters['tokenAddresses'] = requestParameters['tokenAddresses'];
|
|
1213
|
-
}
|
|
1214
|
-
|
|
1215
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
1216
|
-
|
|
1217
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
1218
|
-
const token = this.configuration.accessToken;
|
|
1219
|
-
const tokenString = await token("bearer", []);
|
|
1220
|
-
|
|
1221
|
-
if (tokenString) {
|
|
1222
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1223
|
-
}
|
|
1224
|
-
}
|
|
1225
|
-
|
|
1226
|
-
let urlPath = `/v1/token/{chain}/stats/multi`;
|
|
1227
|
-
urlPath = urlPath.replace(`{${"chain"}}`, encodeURIComponent(String(requestParameters['chain'])));
|
|
1228
|
-
|
|
1229
|
-
const response = await this.request({
|
|
1230
|
-
path: urlPath,
|
|
1231
|
-
method: 'GET',
|
|
1232
|
-
headers: headerParameters,
|
|
1233
|
-
query: queryParameters,
|
|
1234
|
-
}, initOverrides);
|
|
1235
|
-
|
|
1236
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => runtime.mapValues(jsonValue, TokenStatFromJSON));
|
|
1237
|
-
}
|
|
1238
|
-
|
|
1239
|
-
/**
|
|
1240
|
-
* CONTROLLER.TOKEN.GET_STATS_MULTI.DESCRIPTION
|
|
1241
|
-
* CONTROLLER.TOKEN.GET_STATS_MULTI.SUMMARY
|
|
1242
|
-
*/
|
|
1243
|
-
async getStatsMulti(requestParameters: GetStatsMultiRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<{ [key: string]: TokenStat; }> {
|
|
1244
|
-
const response = await this.getStatsMultiRaw(requestParameters, initOverrides);
|
|
1245
|
-
return await response.value();
|
|
1246
|
-
}
|
|
1247
|
-
|
|
1248
|
-
/**
|
|
1249
|
-
* CONTROLLER.TOKEN.GET.DESCRIPTION
|
|
1250
|
-
* CONTROLLER.TOKEN.GET.SUMMARY
|
|
1251
|
-
*/
|
|
1252
|
-
async getTokenRaw(requestParameters: GetTokenRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Token>> {
|
|
1253
|
-
if (requestParameters['chain'] == null) {
|
|
1254
|
-
throw new runtime.RequiredError(
|
|
1255
|
-
'chain',
|
|
1256
|
-
'Required parameter "chain" was null or undefined when calling getToken().'
|
|
1257
|
-
);
|
|
1258
|
-
}
|
|
1259
|
-
|
|
1260
|
-
if (requestParameters['tokenAddress'] == null) {
|
|
1261
|
-
throw new runtime.RequiredError(
|
|
1262
|
-
'tokenAddress',
|
|
1263
|
-
'Required parameter "tokenAddress" was null or undefined when calling getToken().'
|
|
1264
|
-
);
|
|
1265
|
-
}
|
|
1266
|
-
|
|
1267
|
-
const queryParameters: any = {};
|
|
1268
|
-
|
|
1269
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
1270
|
-
|
|
1271
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
1272
|
-
const token = this.configuration.accessToken;
|
|
1273
|
-
const tokenString = await token("bearer", []);
|
|
1274
|
-
|
|
1275
|
-
if (tokenString) {
|
|
1276
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1277
|
-
}
|
|
1278
|
-
}
|
|
1279
|
-
|
|
1280
|
-
let urlPath = `/v1/token/{chain}/{tokenAddress}`;
|
|
1281
|
-
urlPath = urlPath.replace(`{${"chain"}}`, encodeURIComponent(String(requestParameters['chain'])));
|
|
1282
|
-
urlPath = urlPath.replace(`{${"tokenAddress"}}`, encodeURIComponent(String(requestParameters['tokenAddress'])));
|
|
1283
|
-
|
|
1284
|
-
const response = await this.request({
|
|
1285
|
-
path: urlPath,
|
|
1286
|
-
method: 'GET',
|
|
1287
|
-
headers: headerParameters,
|
|
1288
|
-
query: queryParameters,
|
|
1289
|
-
}, initOverrides);
|
|
1290
|
-
|
|
1291
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => TokenFromJSON(jsonValue));
|
|
1292
|
-
}
|
|
1293
|
-
|
|
1294
|
-
/**
|
|
1295
|
-
* CONTROLLER.TOKEN.GET.DESCRIPTION
|
|
1296
|
-
* CONTROLLER.TOKEN.GET.SUMMARY
|
|
1297
|
-
*/
|
|
1298
|
-
async getToken(requestParameters: GetTokenRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Token> {
|
|
1299
|
-
const response = await this.getTokenRaw(requestParameters, initOverrides);
|
|
1300
|
-
return await response.value();
|
|
1301
|
-
}
|
|
1302
|
-
|
|
1303
|
-
/**
|
|
1304
|
-
* CONTROLLER.TOKEN.GET_TOKENS.DESCRIPTION
|
|
1305
|
-
* CONTROLLER.TOKEN.GET_TOKENS.SUMMARY
|
|
1306
|
-
*/
|
|
1307
|
-
async getTokensRaw(requestParameters: GetTokensRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<Token>>> {
|
|
1308
|
-
if (requestParameters['chain'] == null) {
|
|
1309
|
-
throw new runtime.RequiredError(
|
|
1310
|
-
'chain',
|
|
1311
|
-
'Required parameter "chain" was null or undefined when calling getTokens().'
|
|
1312
|
-
);
|
|
1313
|
-
}
|
|
1314
|
-
|
|
1315
|
-
if (requestParameters['tokenAddresses'] == null) {
|
|
1316
|
-
throw new runtime.RequiredError(
|
|
1317
|
-
'tokenAddresses',
|
|
1318
|
-
'Required parameter "tokenAddresses" was null or undefined when calling getTokens().'
|
|
1319
|
-
);
|
|
1320
|
-
}
|
|
1321
|
-
|
|
1322
|
-
const queryParameters: any = {};
|
|
1323
|
-
|
|
1324
|
-
if (requestParameters['tokenAddresses'] != null) {
|
|
1325
|
-
queryParameters['tokenAddresses'] = requestParameters['tokenAddresses'];
|
|
1326
|
-
}
|
|
1327
|
-
|
|
1328
|
-
if (requestParameters['sortBy'] != null) {
|
|
1329
|
-
queryParameters['sortBy'] = requestParameters['sortBy'];
|
|
1330
|
-
}
|
|
1331
|
-
|
|
1332
|
-
if (requestParameters['sortDirection'] != null) {
|
|
1333
|
-
queryParameters['sortDirection'] = requestParameters['sortDirection'];
|
|
1334
|
-
}
|
|
1335
|
-
|
|
1336
|
-
if (requestParameters['filterBy'] != null) {
|
|
1337
|
-
queryParameters['filterBy'] = requestParameters['filterBy'];
|
|
1338
|
-
}
|
|
1339
|
-
|
|
1340
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
1341
|
-
|
|
1342
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
1343
|
-
const token = this.configuration.accessToken;
|
|
1344
|
-
const tokenString = await token("bearer", []);
|
|
1345
|
-
|
|
1346
|
-
if (tokenString) {
|
|
1347
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1348
|
-
}
|
|
1349
|
-
}
|
|
1350
|
-
|
|
1351
|
-
let urlPath = `/v1/token/{chain}/multi`;
|
|
1352
|
-
urlPath = urlPath.replace(`{${"chain"}}`, encodeURIComponent(String(requestParameters['chain'])));
|
|
1353
|
-
|
|
1354
|
-
const response = await this.request({
|
|
1355
|
-
path: urlPath,
|
|
1356
|
-
method: 'GET',
|
|
1357
|
-
headers: headerParameters,
|
|
1358
|
-
query: queryParameters,
|
|
1359
|
-
}, initOverrides);
|
|
1360
|
-
|
|
1361
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(TokenFromJSON));
|
|
1362
|
-
}
|
|
1363
|
-
|
|
1364
|
-
/**
|
|
1365
|
-
* CONTROLLER.TOKEN.GET_TOKENS.DESCRIPTION
|
|
1366
|
-
* CONTROLLER.TOKEN.GET_TOKENS.SUMMARY
|
|
1367
|
-
*/
|
|
1368
|
-
async getTokens(requestParameters: GetTokensRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<Token>> {
|
|
1369
|
-
const response = await this.getTokensRaw(requestParameters, initOverrides);
|
|
1370
|
-
return await response.value();
|
|
1371
|
-
}
|
|
1372
|
-
|
|
1373
|
-
/**
|
|
1374
|
-
* CONTROLLER.TOKEN.GET_TOP_HOLDERS.DESCRIPTION
|
|
1375
|
-
* CONTROLLER.TOKEN.GET_TOP_HOLDERS.SUMMARY
|
|
1376
|
-
*/
|
|
1377
|
-
async getTopHoldersRaw(requestParameters: GetTopHoldersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<TokenHolderPage>> {
|
|
1378
|
-
if (requestParameters['chain'] == null) {
|
|
1379
|
-
throw new runtime.RequiredError(
|
|
1380
|
-
'chain',
|
|
1381
|
-
'Required parameter "chain" was null or undefined when calling getTopHolders().'
|
|
1382
|
-
);
|
|
1383
|
-
}
|
|
1384
|
-
|
|
1385
|
-
if (requestParameters['tokenAddress'] == null) {
|
|
1386
|
-
throw new runtime.RequiredError(
|
|
1387
|
-
'tokenAddress',
|
|
1388
|
-
'Required parameter "tokenAddress" was null or undefined when calling getTopHolders().'
|
|
1389
|
-
);
|
|
1390
|
-
}
|
|
1391
|
-
|
|
1392
|
-
const queryParameters: any = {};
|
|
1393
|
-
|
|
1394
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
1395
|
-
|
|
1396
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
1397
|
-
const token = this.configuration.accessToken;
|
|
1398
|
-
const tokenString = await token("bearer", []);
|
|
1399
|
-
|
|
1400
|
-
if (tokenString) {
|
|
1401
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1402
|
-
}
|
|
1403
|
-
}
|
|
1404
|
-
|
|
1405
|
-
let urlPath = `/v1/token/{chain}/{tokenAddress}/topHolders`;
|
|
1406
|
-
urlPath = urlPath.replace(`{${"chain"}}`, encodeURIComponent(String(requestParameters['chain'])));
|
|
1407
|
-
urlPath = urlPath.replace(`{${"tokenAddress"}}`, encodeURIComponent(String(requestParameters['tokenAddress'])));
|
|
1408
|
-
|
|
1409
|
-
const response = await this.request({
|
|
1410
|
-
path: urlPath,
|
|
1411
|
-
method: 'GET',
|
|
1412
|
-
headers: headerParameters,
|
|
1413
|
-
query: queryParameters,
|
|
1414
|
-
}, initOverrides);
|
|
1415
|
-
|
|
1416
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => TokenHolderPageFromJSON(jsonValue));
|
|
1417
|
-
}
|
|
1418
|
-
|
|
1419
|
-
/**
|
|
1420
|
-
* CONTROLLER.TOKEN.GET_TOP_HOLDERS.DESCRIPTION
|
|
1421
|
-
* CONTROLLER.TOKEN.GET_TOP_HOLDERS.SUMMARY
|
|
1422
|
-
*/
|
|
1423
|
-
async getTopHolders(requestParameters: GetTopHoldersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TokenHolderPage> {
|
|
1424
|
-
const response = await this.getTopHoldersRaw(requestParameters, initOverrides);
|
|
1425
|
-
return await response.value();
|
|
1426
|
-
}
|
|
1427
|
-
|
|
1428
|
-
/**
|
|
1429
|
-
* CONTROLLER.TOKEN.GET_TOKEN_LIST.DESCRIPTION
|
|
1430
|
-
* CONTROLLER.TOKEN.GET_TOKEN_LIST.SUMMARY
|
|
1431
|
-
*/
|
|
1432
|
-
async listTokenRaw(requestParameters: ListTokenRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<TokenListPage>> {
|
|
1433
|
-
if (requestParameters['chain'] == null) {
|
|
1434
|
-
throw new runtime.RequiredError(
|
|
1435
|
-
'chain',
|
|
1436
|
-
'Required parameter "chain" was null or undefined when calling listToken().'
|
|
1437
|
-
);
|
|
1438
|
-
}
|
|
1439
|
-
|
|
1440
|
-
const queryParameters: any = {};
|
|
1441
|
-
|
|
1442
|
-
if (requestParameters['cursor'] != null) {
|
|
1443
|
-
queryParameters['cursor'] = requestParameters['cursor'];
|
|
1444
|
-
}
|
|
1445
|
-
|
|
1446
|
-
if (requestParameters['limit'] != null) {
|
|
1447
|
-
queryParameters['limit'] = requestParameters['limit'];
|
|
1448
|
-
}
|
|
1449
|
-
|
|
1450
|
-
if (requestParameters['direction'] != null) {
|
|
1451
|
-
queryParameters['direction'] = requestParameters['direction'];
|
|
1452
|
-
}
|
|
1453
|
-
|
|
1454
|
-
if (requestParameters['sort'] != null) {
|
|
1455
|
-
queryParameters['sort'] = requestParameters['sort'];
|
|
1456
|
-
}
|
|
1457
|
-
|
|
1458
|
-
if (requestParameters['sortBy'] != null) {
|
|
1459
|
-
queryParameters['sortBy'] = requestParameters['sortBy'];
|
|
1460
|
-
}
|
|
1461
|
-
|
|
1462
|
-
if (requestParameters['minH24VolumeInUsd'] != null) {
|
|
1463
|
-
queryParameters['min_h24_volume_in_usd'] = requestParameters['minH24VolumeInUsd'];
|
|
1464
|
-
}
|
|
1465
|
-
|
|
1466
|
-
if (requestParameters['maxH24VolumeInUsd'] != null) {
|
|
1467
|
-
queryParameters['max_h24_volume_in_usd'] = requestParameters['maxH24VolumeInUsd'];
|
|
1468
|
-
}
|
|
1469
|
-
|
|
1470
|
-
if (requestParameters['minH24PriceChangeRatio'] != null) {
|
|
1471
|
-
queryParameters['min_h24_price_change_ratio'] = requestParameters['minH24PriceChangeRatio'];
|
|
1472
|
-
}
|
|
1473
|
-
|
|
1474
|
-
if (requestParameters['maxH24PriceChangeRatio'] != null) {
|
|
1475
|
-
queryParameters['max_h24_price_change_ratio'] = requestParameters['maxH24PriceChangeRatio'];
|
|
1476
|
-
}
|
|
1477
|
-
|
|
1478
|
-
if (requestParameters['minH24Buys'] != null) {
|
|
1479
|
-
queryParameters['min_h24_buys'] = requestParameters['minH24Buys'];
|
|
1480
|
-
}
|
|
1481
|
-
|
|
1482
|
-
if (requestParameters['maxH24Buys'] != null) {
|
|
1483
|
-
queryParameters['max_h24_buys'] = requestParameters['maxH24Buys'];
|
|
1484
|
-
}
|
|
1485
|
-
|
|
1486
|
-
if (requestParameters['minH24Sells'] != null) {
|
|
1487
|
-
queryParameters['min_h24_sells'] = requestParameters['minH24Sells'];
|
|
1488
|
-
}
|
|
1489
|
-
|
|
1490
|
-
if (requestParameters['maxH24Sells'] != null) {
|
|
1491
|
-
queryParameters['max_h24_sells'] = requestParameters['maxH24Sells'];
|
|
1492
|
-
}
|
|
1493
|
-
|
|
1494
|
-
if (requestParameters['minH24Trades'] != null) {
|
|
1495
|
-
queryParameters['min_h24_trades'] = requestParameters['minH24Trades'];
|
|
1496
|
-
}
|
|
1497
|
-
|
|
1498
|
-
if (requestParameters['maxH24Trades'] != null) {
|
|
1499
|
-
queryParameters['max_h24_trades'] = requestParameters['maxH24Trades'];
|
|
1500
|
-
}
|
|
1501
|
-
|
|
1502
|
-
if (requestParameters['minH24Buyers'] != null) {
|
|
1503
|
-
queryParameters['min_h24_buyers'] = requestParameters['minH24Buyers'];
|
|
1504
|
-
}
|
|
1505
|
-
|
|
1506
|
-
if (requestParameters['maxH24Buyers'] != null) {
|
|
1507
|
-
queryParameters['max_h24_buyers'] = requestParameters['maxH24Buyers'];
|
|
1508
|
-
}
|
|
1509
|
-
|
|
1510
|
-
if (requestParameters['minH24Sellers'] != null) {
|
|
1511
|
-
queryParameters['min_h24_sellers'] = requestParameters['minH24Sellers'];
|
|
1512
|
-
}
|
|
1513
|
-
|
|
1514
|
-
if (requestParameters['maxH24Sellers'] != null) {
|
|
1515
|
-
queryParameters['max_h24_sellers'] = requestParameters['maxH24Sellers'];
|
|
1516
|
-
}
|
|
1517
|
-
|
|
1518
|
-
if (requestParameters['minH24BuyVolumeInUsd'] != null) {
|
|
1519
|
-
queryParameters['min_h24_buy_volume_in_usd'] = requestParameters['minH24BuyVolumeInUsd'];
|
|
1520
|
-
}
|
|
1521
|
-
|
|
1522
|
-
if (requestParameters['maxH24BuyVolumeInUsd'] != null) {
|
|
1523
|
-
queryParameters['max_h24_buy_volume_in_usd'] = requestParameters['maxH24BuyVolumeInUsd'];
|
|
1524
|
-
}
|
|
1525
|
-
|
|
1526
|
-
if (requestParameters['minH24SellVolumeInUsd'] != null) {
|
|
1527
|
-
queryParameters['min_h24_sell_volume_in_usd'] = requestParameters['minH24SellVolumeInUsd'];
|
|
1528
|
-
}
|
|
1529
|
-
|
|
1530
|
-
if (requestParameters['maxH24SellVolumeInUsd'] != null) {
|
|
1531
|
-
queryParameters['max_h24_sell_volume_in_usd'] = requestParameters['maxH24SellVolumeInUsd'];
|
|
1532
|
-
}
|
|
1533
|
-
|
|
1534
|
-
if (requestParameters['minH4VolumeInUsd'] != null) {
|
|
1535
|
-
queryParameters['min_h4_volume_in_usd'] = requestParameters['minH4VolumeInUsd'];
|
|
1536
|
-
}
|
|
1537
|
-
|
|
1538
|
-
if (requestParameters['maxH4VolumeInUsd'] != null) {
|
|
1539
|
-
queryParameters['max_h4_volume_in_usd'] = requestParameters['maxH4VolumeInUsd'];
|
|
1540
|
-
}
|
|
1541
|
-
|
|
1542
|
-
if (requestParameters['minH4PriceChangeRatio'] != null) {
|
|
1543
|
-
queryParameters['min_h4_price_change_ratio'] = requestParameters['minH4PriceChangeRatio'];
|
|
1544
|
-
}
|
|
1545
|
-
|
|
1546
|
-
if (requestParameters['maxH4PriceChangeRatio'] != null) {
|
|
1547
|
-
queryParameters['max_h4_price_change_ratio'] = requestParameters['maxH4PriceChangeRatio'];
|
|
1548
|
-
}
|
|
1549
|
-
|
|
1550
|
-
if (requestParameters['minH4Buys'] != null) {
|
|
1551
|
-
queryParameters['min_h4_buys'] = requestParameters['minH4Buys'];
|
|
1552
|
-
}
|
|
1553
|
-
|
|
1554
|
-
if (requestParameters['maxH4Buys'] != null) {
|
|
1555
|
-
queryParameters['max_h4_buys'] = requestParameters['maxH4Buys'];
|
|
1556
|
-
}
|
|
1557
|
-
|
|
1558
|
-
if (requestParameters['minH4Sells'] != null) {
|
|
1559
|
-
queryParameters['min_h4_sells'] = requestParameters['minH4Sells'];
|
|
1560
|
-
}
|
|
1561
|
-
|
|
1562
|
-
if (requestParameters['maxH4Sells'] != null) {
|
|
1563
|
-
queryParameters['max_h4_sells'] = requestParameters['maxH4Sells'];
|
|
1564
|
-
}
|
|
1565
|
-
|
|
1566
|
-
if (requestParameters['minH4Trades'] != null) {
|
|
1567
|
-
queryParameters['min_h4_trades'] = requestParameters['minH4Trades'];
|
|
1568
|
-
}
|
|
1569
|
-
|
|
1570
|
-
if (requestParameters['maxH4Trades'] != null) {
|
|
1571
|
-
queryParameters['max_h4_trades'] = requestParameters['maxH4Trades'];
|
|
1572
|
-
}
|
|
1573
|
-
|
|
1574
|
-
if (requestParameters['minH4Buyers'] != null) {
|
|
1575
|
-
queryParameters['min_h4_buyers'] = requestParameters['minH4Buyers'];
|
|
1576
|
-
}
|
|
1577
|
-
|
|
1578
|
-
if (requestParameters['maxH4Buyers'] != null) {
|
|
1579
|
-
queryParameters['max_h4_buyers'] = requestParameters['maxH4Buyers'];
|
|
1580
|
-
}
|
|
1581
|
-
|
|
1582
|
-
if (requestParameters['minH4Sellers'] != null) {
|
|
1583
|
-
queryParameters['min_h4_sellers'] = requestParameters['minH4Sellers'];
|
|
1584
|
-
}
|
|
1585
|
-
|
|
1586
|
-
if (requestParameters['maxH4Sellers'] != null) {
|
|
1587
|
-
queryParameters['max_h4_sellers'] = requestParameters['maxH4Sellers'];
|
|
1588
|
-
}
|
|
1589
|
-
|
|
1590
|
-
if (requestParameters['minH4BuyVolumeInUsd'] != null) {
|
|
1591
|
-
queryParameters['min_h4_buy_volume_in_usd'] = requestParameters['minH4BuyVolumeInUsd'];
|
|
1592
|
-
}
|
|
1593
|
-
|
|
1594
|
-
if (requestParameters['maxH4BuyVolumeInUsd'] != null) {
|
|
1595
|
-
queryParameters['max_h4_buy_volume_in_usd'] = requestParameters['maxH4BuyVolumeInUsd'];
|
|
1596
|
-
}
|
|
1597
|
-
|
|
1598
|
-
if (requestParameters['minH4SellVolumeInUsd'] != null) {
|
|
1599
|
-
queryParameters['min_h4_sell_volume_in_usd'] = requestParameters['minH4SellVolumeInUsd'];
|
|
1600
|
-
}
|
|
1601
|
-
|
|
1602
|
-
if (requestParameters['maxH4SellVolumeInUsd'] != null) {
|
|
1603
|
-
queryParameters['max_h4_sell_volume_in_usd'] = requestParameters['maxH4SellVolumeInUsd'];
|
|
1604
|
-
}
|
|
1605
|
-
|
|
1606
|
-
if (requestParameters['minH1VolumeInUsd'] != null) {
|
|
1607
|
-
queryParameters['min_h1_volume_in_usd'] = requestParameters['minH1VolumeInUsd'];
|
|
1608
|
-
}
|
|
1609
|
-
|
|
1610
|
-
if (requestParameters['maxH1VolumeInUsd'] != null) {
|
|
1611
|
-
queryParameters['max_h1_volume_in_usd'] = requestParameters['maxH1VolumeInUsd'];
|
|
1612
|
-
}
|
|
1613
|
-
|
|
1614
|
-
if (requestParameters['minH1PriceChangeRatio'] != null) {
|
|
1615
|
-
queryParameters['min_h1_price_change_ratio'] = requestParameters['minH1PriceChangeRatio'];
|
|
1616
|
-
}
|
|
1617
|
-
|
|
1618
|
-
if (requestParameters['maxH1PriceChangeRatio'] != null) {
|
|
1619
|
-
queryParameters['max_h1_price_change_ratio'] = requestParameters['maxH1PriceChangeRatio'];
|
|
1620
|
-
}
|
|
1621
|
-
|
|
1622
|
-
if (requestParameters['minH1Buys'] != null) {
|
|
1623
|
-
queryParameters['min_h1_buys'] = requestParameters['minH1Buys'];
|
|
1624
|
-
}
|
|
1625
|
-
|
|
1626
|
-
if (requestParameters['maxH1Buys'] != null) {
|
|
1627
|
-
queryParameters['max_h1_buys'] = requestParameters['maxH1Buys'];
|
|
1628
|
-
}
|
|
1629
|
-
|
|
1630
|
-
if (requestParameters['minH1Sells'] != null) {
|
|
1631
|
-
queryParameters['min_h1_sells'] = requestParameters['minH1Sells'];
|
|
1632
|
-
}
|
|
1633
|
-
|
|
1634
|
-
if (requestParameters['maxH1Sells'] != null) {
|
|
1635
|
-
queryParameters['max_h1_sells'] = requestParameters['maxH1Sells'];
|
|
1636
|
-
}
|
|
1637
|
-
|
|
1638
|
-
if (requestParameters['minH1Trades'] != null) {
|
|
1639
|
-
queryParameters['min_h1_trades'] = requestParameters['minH1Trades'];
|
|
1640
|
-
}
|
|
1641
|
-
|
|
1642
|
-
if (requestParameters['maxH1Trades'] != null) {
|
|
1643
|
-
queryParameters['max_h1_trades'] = requestParameters['maxH1Trades'];
|
|
1644
|
-
}
|
|
1645
|
-
|
|
1646
|
-
if (requestParameters['minH1Buyers'] != null) {
|
|
1647
|
-
queryParameters['min_h1_buyers'] = requestParameters['minH1Buyers'];
|
|
1648
|
-
}
|
|
1649
|
-
|
|
1650
|
-
if (requestParameters['maxH1Buyers'] != null) {
|
|
1651
|
-
queryParameters['max_h1_buyers'] = requestParameters['maxH1Buyers'];
|
|
1652
|
-
}
|
|
1653
|
-
|
|
1654
|
-
if (requestParameters['minH1Sellers'] != null) {
|
|
1655
|
-
queryParameters['min_h1_sellers'] = requestParameters['minH1Sellers'];
|
|
1656
|
-
}
|
|
1657
|
-
|
|
1658
|
-
if (requestParameters['maxH1Sellers'] != null) {
|
|
1659
|
-
queryParameters['max_h1_sellers'] = requestParameters['maxH1Sellers'];
|
|
1660
|
-
}
|
|
1661
|
-
|
|
1662
|
-
if (requestParameters['minH1BuyVolumeInUsd'] != null) {
|
|
1663
|
-
queryParameters['min_h1_buy_volume_in_usd'] = requestParameters['minH1BuyVolumeInUsd'];
|
|
1664
|
-
}
|
|
1665
|
-
|
|
1666
|
-
if (requestParameters['maxH1BuyVolumeInUsd'] != null) {
|
|
1667
|
-
queryParameters['max_h1_buy_volume_in_usd'] = requestParameters['maxH1BuyVolumeInUsd'];
|
|
1668
|
-
}
|
|
1669
|
-
|
|
1670
|
-
if (requestParameters['minH1SellVolumeInUsd'] != null) {
|
|
1671
|
-
queryParameters['min_h1_sell_volume_in_usd'] = requestParameters['minH1SellVolumeInUsd'];
|
|
1672
|
-
}
|
|
1673
|
-
|
|
1674
|
-
if (requestParameters['maxH1SellVolumeInUsd'] != null) {
|
|
1675
|
-
queryParameters['max_h1_sell_volume_in_usd'] = requestParameters['maxH1SellVolumeInUsd'];
|
|
1676
|
-
}
|
|
1677
|
-
|
|
1678
|
-
if (requestParameters['minM30VolumeInUsd'] != null) {
|
|
1679
|
-
queryParameters['min_m30_volume_in_usd'] = requestParameters['minM30VolumeInUsd'];
|
|
1680
|
-
}
|
|
1681
|
-
|
|
1682
|
-
if (requestParameters['maxM30VolumeInUsd'] != null) {
|
|
1683
|
-
queryParameters['max_m30_volume_in_usd'] = requestParameters['maxM30VolumeInUsd'];
|
|
1684
|
-
}
|
|
1685
|
-
|
|
1686
|
-
if (requestParameters['minM30PriceChangeRatio'] != null) {
|
|
1687
|
-
queryParameters['min_m30_price_change_ratio'] = requestParameters['minM30PriceChangeRatio'];
|
|
1688
|
-
}
|
|
1689
|
-
|
|
1690
|
-
if (requestParameters['maxM30PriceChangeRatio'] != null) {
|
|
1691
|
-
queryParameters['max_m30_price_change_ratio'] = requestParameters['maxM30PriceChangeRatio'];
|
|
1692
|
-
}
|
|
1693
|
-
|
|
1694
|
-
if (requestParameters['minM30Buys'] != null) {
|
|
1695
|
-
queryParameters['min_m30_buys'] = requestParameters['minM30Buys'];
|
|
1696
|
-
}
|
|
1697
|
-
|
|
1698
|
-
if (requestParameters['maxM30Buys'] != null) {
|
|
1699
|
-
queryParameters['max_m30_buys'] = requestParameters['maxM30Buys'];
|
|
1700
|
-
}
|
|
1701
|
-
|
|
1702
|
-
if (requestParameters['minM30Sells'] != null) {
|
|
1703
|
-
queryParameters['min_m30_sells'] = requestParameters['minM30Sells'];
|
|
1704
|
-
}
|
|
1705
|
-
|
|
1706
|
-
if (requestParameters['maxM30Sells'] != null) {
|
|
1707
|
-
queryParameters['max_m30_sells'] = requestParameters['maxM30Sells'];
|
|
1708
|
-
}
|
|
1709
|
-
|
|
1710
|
-
if (requestParameters['minM30Trades'] != null) {
|
|
1711
|
-
queryParameters['min_m30_trades'] = requestParameters['minM30Trades'];
|
|
1712
|
-
}
|
|
1713
|
-
|
|
1714
|
-
if (requestParameters['maxM30Trades'] != null) {
|
|
1715
|
-
queryParameters['max_m30_trades'] = requestParameters['maxM30Trades'];
|
|
1716
|
-
}
|
|
1717
|
-
|
|
1718
|
-
if (requestParameters['minM30Buyers'] != null) {
|
|
1719
|
-
queryParameters['min_m30_buyers'] = requestParameters['minM30Buyers'];
|
|
1720
|
-
}
|
|
1721
|
-
|
|
1722
|
-
if (requestParameters['maxM30Buyers'] != null) {
|
|
1723
|
-
queryParameters['max_m30_buyers'] = requestParameters['maxM30Buyers'];
|
|
1724
|
-
}
|
|
1725
|
-
|
|
1726
|
-
if (requestParameters['minM30Sellers'] != null) {
|
|
1727
|
-
queryParameters['min_m30_sellers'] = requestParameters['minM30Sellers'];
|
|
1728
|
-
}
|
|
1729
|
-
|
|
1730
|
-
if (requestParameters['maxM30Sellers'] != null) {
|
|
1731
|
-
queryParameters['max_m30_sellers'] = requestParameters['maxM30Sellers'];
|
|
1732
|
-
}
|
|
1733
|
-
|
|
1734
|
-
if (requestParameters['minM30BuyVolumeInUsd'] != null) {
|
|
1735
|
-
queryParameters['min_m30_buy_volume_in_usd'] = requestParameters['minM30BuyVolumeInUsd'];
|
|
1736
|
-
}
|
|
1737
|
-
|
|
1738
|
-
if (requestParameters['maxM30BuyVolumeInUsd'] != null) {
|
|
1739
|
-
queryParameters['max_m30_buy_volume_in_usd'] = requestParameters['maxM30BuyVolumeInUsd'];
|
|
1740
|
-
}
|
|
1741
|
-
|
|
1742
|
-
if (requestParameters['minM30SellVolumeInUsd'] != null) {
|
|
1743
|
-
queryParameters['min_m30_sell_volume_in_usd'] = requestParameters['minM30SellVolumeInUsd'];
|
|
1744
|
-
}
|
|
1745
|
-
|
|
1746
|
-
if (requestParameters['maxM30SellVolumeInUsd'] != null) {
|
|
1747
|
-
queryParameters['max_m30_sell_volume_in_usd'] = requestParameters['maxM30SellVolumeInUsd'];
|
|
1748
|
-
}
|
|
1749
|
-
|
|
1750
|
-
if (requestParameters['minM15VolumeInUsd'] != null) {
|
|
1751
|
-
queryParameters['min_m15_volume_in_usd'] = requestParameters['minM15VolumeInUsd'];
|
|
1752
|
-
}
|
|
1753
|
-
|
|
1754
|
-
if (requestParameters['maxM15VolumeInUsd'] != null) {
|
|
1755
|
-
queryParameters['max_m15_volume_in_usd'] = requestParameters['maxM15VolumeInUsd'];
|
|
1756
|
-
}
|
|
1757
|
-
|
|
1758
|
-
if (requestParameters['minM15PriceChangeRatio'] != null) {
|
|
1759
|
-
queryParameters['min_m15_price_change_ratio'] = requestParameters['minM15PriceChangeRatio'];
|
|
1760
|
-
}
|
|
1761
|
-
|
|
1762
|
-
if (requestParameters['maxM15PriceChangeRatio'] != null) {
|
|
1763
|
-
queryParameters['max_m15_price_change_ratio'] = requestParameters['maxM15PriceChangeRatio'];
|
|
1764
|
-
}
|
|
1765
|
-
|
|
1766
|
-
if (requestParameters['minM15Buys'] != null) {
|
|
1767
|
-
queryParameters['min_m15_buys'] = requestParameters['minM15Buys'];
|
|
1768
|
-
}
|
|
1769
|
-
|
|
1770
|
-
if (requestParameters['maxM15Buys'] != null) {
|
|
1771
|
-
queryParameters['max_m15_buys'] = requestParameters['maxM15Buys'];
|
|
1772
|
-
}
|
|
1773
|
-
|
|
1774
|
-
if (requestParameters['minM15Sells'] != null) {
|
|
1775
|
-
queryParameters['min_m15_sells'] = requestParameters['minM15Sells'];
|
|
1776
|
-
}
|
|
1777
|
-
|
|
1778
|
-
if (requestParameters['maxM15Sells'] != null) {
|
|
1779
|
-
queryParameters['max_m15_sells'] = requestParameters['maxM15Sells'];
|
|
1780
|
-
}
|
|
1781
|
-
|
|
1782
|
-
if (requestParameters['minM15Trades'] != null) {
|
|
1783
|
-
queryParameters['min_m15_trades'] = requestParameters['minM15Trades'];
|
|
1784
|
-
}
|
|
1785
|
-
|
|
1786
|
-
if (requestParameters['maxM15Trades'] != null) {
|
|
1787
|
-
queryParameters['max_m15_trades'] = requestParameters['maxM15Trades'];
|
|
1788
|
-
}
|
|
1789
|
-
|
|
1790
|
-
if (requestParameters['minM15Buyers'] != null) {
|
|
1791
|
-
queryParameters['min_m15_buyers'] = requestParameters['minM15Buyers'];
|
|
1792
|
-
}
|
|
1793
|
-
|
|
1794
|
-
if (requestParameters['maxM15Buyers'] != null) {
|
|
1795
|
-
queryParameters['max_m15_buyers'] = requestParameters['maxM15Buyers'];
|
|
1796
|
-
}
|
|
1797
|
-
|
|
1798
|
-
if (requestParameters['minM15Sellers'] != null) {
|
|
1799
|
-
queryParameters['min_m15_sellers'] = requestParameters['minM15Sellers'];
|
|
1800
|
-
}
|
|
1801
|
-
|
|
1802
|
-
if (requestParameters['maxM15Sellers'] != null) {
|
|
1803
|
-
queryParameters['max_m15_sellers'] = requestParameters['maxM15Sellers'];
|
|
1804
|
-
}
|
|
1805
|
-
|
|
1806
|
-
if (requestParameters['minM15BuyVolumeInUsd'] != null) {
|
|
1807
|
-
queryParameters['min_m15_buy_volume_in_usd'] = requestParameters['minM15BuyVolumeInUsd'];
|
|
1808
|
-
}
|
|
1809
|
-
|
|
1810
|
-
if (requestParameters['maxM15BuyVolumeInUsd'] != null) {
|
|
1811
|
-
queryParameters['max_m15_buy_volume_in_usd'] = requestParameters['maxM15BuyVolumeInUsd'];
|
|
1812
|
-
}
|
|
1813
|
-
|
|
1814
|
-
if (requestParameters['minM15SellVolumeInUsd'] != null) {
|
|
1815
|
-
queryParameters['min_m15_sell_volume_in_usd'] = requestParameters['minM15SellVolumeInUsd'];
|
|
1816
|
-
}
|
|
1817
|
-
|
|
1818
|
-
if (requestParameters['maxM15SellVolumeInUsd'] != null) {
|
|
1819
|
-
queryParameters['max_m15_sell_volume_in_usd'] = requestParameters['maxM15SellVolumeInUsd'];
|
|
1820
|
-
}
|
|
1821
|
-
|
|
1822
|
-
if (requestParameters['minM5VolumeInUsd'] != null) {
|
|
1823
|
-
queryParameters['min_m5_volume_in_usd'] = requestParameters['minM5VolumeInUsd'];
|
|
1824
|
-
}
|
|
1825
|
-
|
|
1826
|
-
if (requestParameters['maxM5VolumeInUsd'] != null) {
|
|
1827
|
-
queryParameters['max_m5_volume_in_usd'] = requestParameters['maxM5VolumeInUsd'];
|
|
1828
|
-
}
|
|
1829
|
-
|
|
1830
|
-
if (requestParameters['minM5PriceChangeRatio'] != null) {
|
|
1831
|
-
queryParameters['min_m5_price_change_ratio'] = requestParameters['minM5PriceChangeRatio'];
|
|
1832
|
-
}
|
|
1833
|
-
|
|
1834
|
-
if (requestParameters['maxM5PriceChangeRatio'] != null) {
|
|
1835
|
-
queryParameters['max_m5_price_change_ratio'] = requestParameters['maxM5PriceChangeRatio'];
|
|
1836
|
-
}
|
|
1837
|
-
|
|
1838
|
-
if (requestParameters['minM5Buys'] != null) {
|
|
1839
|
-
queryParameters['min_m5_buys'] = requestParameters['minM5Buys'];
|
|
1840
|
-
}
|
|
1841
|
-
|
|
1842
|
-
if (requestParameters['maxM5Buys'] != null) {
|
|
1843
|
-
queryParameters['max_m5_buys'] = requestParameters['maxM5Buys'];
|
|
1844
|
-
}
|
|
1845
|
-
|
|
1846
|
-
if (requestParameters['minM5Sells'] != null) {
|
|
1847
|
-
queryParameters['min_m5_sells'] = requestParameters['minM5Sells'];
|
|
1848
|
-
}
|
|
1849
|
-
|
|
1850
|
-
if (requestParameters['maxM5Sells'] != null) {
|
|
1851
|
-
queryParameters['max_m5_sells'] = requestParameters['maxM5Sells'];
|
|
1852
|
-
}
|
|
1853
|
-
|
|
1854
|
-
if (requestParameters['minM5Trades'] != null) {
|
|
1855
|
-
queryParameters['min_m5_trades'] = requestParameters['minM5Trades'];
|
|
1856
|
-
}
|
|
1857
|
-
|
|
1858
|
-
if (requestParameters['maxM5Trades'] != null) {
|
|
1859
|
-
queryParameters['max_m5_trades'] = requestParameters['maxM5Trades'];
|
|
1860
|
-
}
|
|
1861
|
-
|
|
1862
|
-
if (requestParameters['minM5Buyers'] != null) {
|
|
1863
|
-
queryParameters['min_m5_buyers'] = requestParameters['minM5Buyers'];
|
|
1864
|
-
}
|
|
1865
|
-
|
|
1866
|
-
if (requestParameters['maxM5Buyers'] != null) {
|
|
1867
|
-
queryParameters['max_m5_buyers'] = requestParameters['maxM5Buyers'];
|
|
1868
|
-
}
|
|
1869
|
-
|
|
1870
|
-
if (requestParameters['minM5Sellers'] != null) {
|
|
1871
|
-
queryParameters['min_m5_sellers'] = requestParameters['minM5Sellers'];
|
|
1872
|
-
}
|
|
1873
|
-
|
|
1874
|
-
if (requestParameters['maxM5Sellers'] != null) {
|
|
1875
|
-
queryParameters['max_m5_sellers'] = requestParameters['maxM5Sellers'];
|
|
1876
|
-
}
|
|
1877
|
-
|
|
1878
|
-
if (requestParameters['minM5BuyVolumeInUsd'] != null) {
|
|
1879
|
-
queryParameters['min_m5_buy_volume_in_usd'] = requestParameters['minM5BuyVolumeInUsd'];
|
|
1880
|
-
}
|
|
1881
|
-
|
|
1882
|
-
if (requestParameters['maxM5BuyVolumeInUsd'] != null) {
|
|
1883
|
-
queryParameters['max_m5_buy_volume_in_usd'] = requestParameters['maxM5BuyVolumeInUsd'];
|
|
1884
|
-
}
|
|
1885
|
-
|
|
1886
|
-
if (requestParameters['minM5SellVolumeInUsd'] != null) {
|
|
1887
|
-
queryParameters['min_m5_sell_volume_in_usd'] = requestParameters['minM5SellVolumeInUsd'];
|
|
1888
|
-
}
|
|
1889
|
-
|
|
1890
|
-
if (requestParameters['maxM5SellVolumeInUsd'] != null) {
|
|
1891
|
-
queryParameters['max_m5_sell_volume_in_usd'] = requestParameters['maxM5SellVolumeInUsd'];
|
|
1892
|
-
}
|
|
1893
|
-
|
|
1894
|
-
if (requestParameters['minM1VolumeInUsd'] != null) {
|
|
1895
|
-
queryParameters['min_m1_volume_in_usd'] = requestParameters['minM1VolumeInUsd'];
|
|
1896
|
-
}
|
|
1897
|
-
|
|
1898
|
-
if (requestParameters['maxM1VolumeInUsd'] != null) {
|
|
1899
|
-
queryParameters['max_m1_volume_in_usd'] = requestParameters['maxM1VolumeInUsd'];
|
|
1900
|
-
}
|
|
1901
|
-
|
|
1902
|
-
if (requestParameters['minM1PriceChangeRatio'] != null) {
|
|
1903
|
-
queryParameters['min_m1_price_change_ratio'] = requestParameters['minM1PriceChangeRatio'];
|
|
1904
|
-
}
|
|
1905
|
-
|
|
1906
|
-
if (requestParameters['maxM1PriceChangeRatio'] != null) {
|
|
1907
|
-
queryParameters['max_m1_price_change_ratio'] = requestParameters['maxM1PriceChangeRatio'];
|
|
1908
|
-
}
|
|
1909
|
-
|
|
1910
|
-
if (requestParameters['minM1Buys'] != null) {
|
|
1911
|
-
queryParameters['min_m1_buys'] = requestParameters['minM1Buys'];
|
|
1912
|
-
}
|
|
1913
|
-
|
|
1914
|
-
if (requestParameters['maxM1Buys'] != null) {
|
|
1915
|
-
queryParameters['max_m1_buys'] = requestParameters['maxM1Buys'];
|
|
1916
|
-
}
|
|
1917
|
-
|
|
1918
|
-
if (requestParameters['minM1Sells'] != null) {
|
|
1919
|
-
queryParameters['min_m1_sells'] = requestParameters['minM1Sells'];
|
|
1920
|
-
}
|
|
1921
|
-
|
|
1922
|
-
if (requestParameters['maxM1Sells'] != null) {
|
|
1923
|
-
queryParameters['max_m1_sells'] = requestParameters['maxM1Sells'];
|
|
1924
|
-
}
|
|
1925
|
-
|
|
1926
|
-
if (requestParameters['minM1Trades'] != null) {
|
|
1927
|
-
queryParameters['min_m1_trades'] = requestParameters['minM1Trades'];
|
|
1928
|
-
}
|
|
1929
|
-
|
|
1930
|
-
if (requestParameters['maxM1Trades'] != null) {
|
|
1931
|
-
queryParameters['max_m1_trades'] = requestParameters['maxM1Trades'];
|
|
1932
|
-
}
|
|
1933
|
-
|
|
1934
|
-
if (requestParameters['minM1Buyers'] != null) {
|
|
1935
|
-
queryParameters['min_m1_buyers'] = requestParameters['minM1Buyers'];
|
|
1936
|
-
}
|
|
1937
|
-
|
|
1938
|
-
if (requestParameters['maxM1Buyers'] != null) {
|
|
1939
|
-
queryParameters['max_m1_buyers'] = requestParameters['maxM1Buyers'];
|
|
1940
|
-
}
|
|
1941
|
-
|
|
1942
|
-
if (requestParameters['minM1Sellers'] != null) {
|
|
1943
|
-
queryParameters['min_m1_sellers'] = requestParameters['minM1Sellers'];
|
|
1944
|
-
}
|
|
1945
|
-
|
|
1946
|
-
if (requestParameters['maxM1Sellers'] != null) {
|
|
1947
|
-
queryParameters['max_m1_sellers'] = requestParameters['maxM1Sellers'];
|
|
1948
|
-
}
|
|
1949
|
-
|
|
1950
|
-
if (requestParameters['minM1BuyVolumeInUsd'] != null) {
|
|
1951
|
-
queryParameters['min_m1_buy_volume_in_usd'] = requestParameters['minM1BuyVolumeInUsd'];
|
|
1952
|
-
}
|
|
1953
|
-
|
|
1954
|
-
if (requestParameters['maxM1BuyVolumeInUsd'] != null) {
|
|
1955
|
-
queryParameters['max_m1_buy_volume_in_usd'] = requestParameters['maxM1BuyVolumeInUsd'];
|
|
1956
|
-
}
|
|
1957
|
-
|
|
1958
|
-
if (requestParameters['minM1SellVolumeInUsd'] != null) {
|
|
1959
|
-
queryParameters['min_m1_sell_volume_in_usd'] = requestParameters['minM1SellVolumeInUsd'];
|
|
1960
|
-
}
|
|
1961
|
-
|
|
1962
|
-
if (requestParameters['maxM1SellVolumeInUsd'] != null) {
|
|
1963
|
-
queryParameters['max_m1_sell_volume_in_usd'] = requestParameters['maxM1SellVolumeInUsd'];
|
|
1964
|
-
}
|
|
1965
|
-
|
|
1966
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
1967
|
-
|
|
1968
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
1969
|
-
const token = this.configuration.accessToken;
|
|
1970
|
-
const tokenString = await token("bearer", []);
|
|
1971
|
-
|
|
1972
|
-
if (tokenString) {
|
|
1973
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1974
|
-
}
|
|
1975
|
-
}
|
|
1976
|
-
|
|
1977
|
-
let urlPath = `/v1/token/{chain}/list`;
|
|
1978
|
-
urlPath = urlPath.replace(`{${"chain"}}`, encodeURIComponent(String(requestParameters['chain'])));
|
|
1979
|
-
|
|
1980
|
-
const response = await this.request({
|
|
1981
|
-
path: urlPath,
|
|
1982
|
-
method: 'GET',
|
|
1983
|
-
headers: headerParameters,
|
|
1984
|
-
query: queryParameters,
|
|
1985
|
-
}, initOverrides);
|
|
1986
|
-
|
|
1987
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => TokenListPageFromJSON(jsonValue));
|
|
1988
|
-
}
|
|
1989
|
-
|
|
1990
|
-
/**
|
|
1991
|
-
* CONTROLLER.TOKEN.GET_TOKEN_LIST.DESCRIPTION
|
|
1992
|
-
* CONTROLLER.TOKEN.GET_TOKEN_LIST.SUMMARY
|
|
1993
|
-
*/
|
|
1994
|
-
async listToken(requestParameters: ListTokenRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TokenListPage> {
|
|
1995
|
-
const response = await this.listTokenRaw(requestParameters, initOverrides);
|
|
1996
|
-
return await response.value();
|
|
1997
|
-
}
|
|
1998
|
-
|
|
1999
|
-
/**
|
|
2000
|
-
* CONTROLLER.TOKEN.SEARCH.DESCRIPTION
|
|
2001
|
-
* CONTROLLER.TOKEN.SEARCH.SUMMARY
|
|
2002
|
-
*/
|
|
2003
|
-
async searchRaw(requestParameters: SearchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<TokenPage>> {
|
|
2004
|
-
const queryParameters: any = {};
|
|
2005
|
-
|
|
2006
|
-
if (requestParameters['chains'] != null) {
|
|
2007
|
-
queryParameters['chains'] = requestParameters['chains'];
|
|
2008
|
-
}
|
|
2009
|
-
|
|
2010
|
-
if (requestParameters['q'] != null) {
|
|
2011
|
-
queryParameters['q'] = requestParameters['q'];
|
|
2012
|
-
}
|
|
2013
|
-
|
|
2014
|
-
if (requestParameters['limit'] != null) {
|
|
2015
|
-
queryParameters['limit'] = requestParameters['limit'];
|
|
2016
|
-
}
|
|
2017
|
-
|
|
2018
|
-
if (requestParameters['sort'] != null) {
|
|
2019
|
-
queryParameters['sort'] = requestParameters['sort'];
|
|
2020
|
-
}
|
|
2021
|
-
|
|
2022
|
-
if (requestParameters['protocols'] != null) {
|
|
2023
|
-
queryParameters['protocols'] = requestParameters['protocols'];
|
|
2024
|
-
}
|
|
2025
|
-
|
|
2026
|
-
if (requestParameters['cursor'] != null) {
|
|
2027
|
-
queryParameters['cursor'] = requestParameters['cursor'];
|
|
2028
|
-
}
|
|
2029
|
-
|
|
2030
|
-
if (requestParameters['sortBy'] != null) {
|
|
2031
|
-
queryParameters['sortBy'] = requestParameters['sortBy'];
|
|
2032
|
-
}
|
|
2033
|
-
|
|
2034
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
2035
|
-
|
|
2036
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
2037
|
-
const token = this.configuration.accessToken;
|
|
2038
|
-
const tokenString = await token("bearer", []);
|
|
2039
|
-
|
|
2040
|
-
if (tokenString) {
|
|
2041
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
2042
|
-
}
|
|
2043
|
-
}
|
|
2044
|
-
|
|
2045
|
-
let urlPath = `/v1/token/search`;
|
|
2046
|
-
|
|
2047
|
-
const response = await this.request({
|
|
2048
|
-
path: urlPath,
|
|
2049
|
-
method: 'GET',
|
|
2050
|
-
headers: headerParameters,
|
|
2051
|
-
query: queryParameters,
|
|
2052
|
-
}, initOverrides);
|
|
2053
|
-
|
|
2054
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => TokenPageFromJSON(jsonValue));
|
|
2055
|
-
}
|
|
2056
|
-
|
|
2057
|
-
/**
|
|
2058
|
-
* CONTROLLER.TOKEN.SEARCH.DESCRIPTION
|
|
2059
|
-
* CONTROLLER.TOKEN.SEARCH.SUMMARY
|
|
2060
|
-
*/
|
|
2061
|
-
async search(requestParameters: SearchRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TokenPage> {
|
|
2062
|
-
const response = await this.searchRaw(requestParameters, initOverrides);
|
|
2063
|
-
return await response.value();
|
|
2064
|
-
}
|
|
2065
|
-
|
|
2066
|
-
}
|
|
2067
|
-
|
|
2068
|
-
/**
|
|
2069
|
-
* @export
|
|
2070
|
-
*/
|
|
2071
|
-
export const GetCandlesChainEnum = {
|
|
2072
|
-
Sol: 'sol',
|
|
2073
|
-
Base: 'base',
|
|
2074
|
-
Bsc: 'bsc',
|
|
2075
|
-
Polygon: 'polygon',
|
|
2076
|
-
Arbitrum: 'arbitrum',
|
|
2077
|
-
Optimism: 'optimism',
|
|
2078
|
-
Avalanche: 'avalanche',
|
|
2079
|
-
Ethereum: 'ethereum',
|
|
2080
|
-
Zksync: 'zksync',
|
|
2081
|
-
Sui: 'sui'
|
|
2082
|
-
} as const;
|
|
2083
|
-
export type GetCandlesChainEnum = typeof GetCandlesChainEnum[keyof typeof GetCandlesChainEnum];
|
|
2084
|
-
/**
|
|
2085
|
-
* @export
|
|
2086
|
-
*/
|
|
2087
|
-
export const GetCreationChainEnum = {
|
|
2088
|
-
Sol: 'sol',
|
|
2089
|
-
Base: 'base',
|
|
2090
|
-
Bsc: 'bsc',
|
|
2091
|
-
Polygon: 'polygon',
|
|
2092
|
-
Arbitrum: 'arbitrum',
|
|
2093
|
-
Optimism: 'optimism',
|
|
2094
|
-
Avalanche: 'avalanche',
|
|
2095
|
-
Ethereum: 'ethereum',
|
|
2096
|
-
Zksync: 'zksync',
|
|
2097
|
-
Sui: 'sui'
|
|
2098
|
-
} as const;
|
|
2099
|
-
export type GetCreationChainEnum = typeof GetCreationChainEnum[keyof typeof GetCreationChainEnum];
|
|
2100
|
-
/**
|
|
2101
|
-
* @export
|
|
2102
|
-
*/
|
|
2103
|
-
export const GetHoldersChainEnum = {
|
|
2104
|
-
Sol: 'sol',
|
|
2105
|
-
Base: 'base',
|
|
2106
|
-
Bsc: 'bsc',
|
|
2107
|
-
Polygon: 'polygon',
|
|
2108
|
-
Arbitrum: 'arbitrum',
|
|
2109
|
-
Optimism: 'optimism',
|
|
2110
|
-
Avalanche: 'avalanche',
|
|
2111
|
-
Ethereum: 'ethereum',
|
|
2112
|
-
Zksync: 'zksync',
|
|
2113
|
-
Sui: 'sui'
|
|
2114
|
-
} as const;
|
|
2115
|
-
export type GetHoldersChainEnum = typeof GetHoldersChainEnum[keyof typeof GetHoldersChainEnum];
|
|
2116
|
-
/**
|
|
2117
|
-
* @export
|
|
2118
|
-
*/
|
|
2119
|
-
export const GetHoldersDirectionEnum = {
|
|
2120
|
-
Next: 'next',
|
|
2121
|
-
Prev: 'prev'
|
|
2122
|
-
} as const;
|
|
2123
|
-
export type GetHoldersDirectionEnum = typeof GetHoldersDirectionEnum[keyof typeof GetHoldersDirectionEnum];
|
|
2124
|
-
/**
|
|
2125
|
-
* @export
|
|
2126
|
-
*/
|
|
2127
|
-
export const GetHoldersMultiChainEnum = {
|
|
2128
|
-
Sol: 'sol',
|
|
2129
|
-
Base: 'base',
|
|
2130
|
-
Bsc: 'bsc',
|
|
2131
|
-
Polygon: 'polygon',
|
|
2132
|
-
Arbitrum: 'arbitrum',
|
|
2133
|
-
Optimism: 'optimism',
|
|
2134
|
-
Avalanche: 'avalanche',
|
|
2135
|
-
Ethereum: 'ethereum',
|
|
2136
|
-
Zksync: 'zksync',
|
|
2137
|
-
Sui: 'sui'
|
|
2138
|
-
} as const;
|
|
2139
|
-
export type GetHoldersMultiChainEnum = typeof GetHoldersMultiChainEnum[keyof typeof GetHoldersMultiChainEnum];
|
|
2140
|
-
/**
|
|
2141
|
-
* @export
|
|
2142
|
-
*/
|
|
2143
|
-
export const GetMarketDataChainEnum = {
|
|
2144
|
-
Sol: 'sol',
|
|
2145
|
-
Base: 'base',
|
|
2146
|
-
Bsc: 'bsc',
|
|
2147
|
-
Polygon: 'polygon',
|
|
2148
|
-
Arbitrum: 'arbitrum',
|
|
2149
|
-
Optimism: 'optimism',
|
|
2150
|
-
Avalanche: 'avalanche',
|
|
2151
|
-
Ethereum: 'ethereum',
|
|
2152
|
-
Zksync: 'zksync',
|
|
2153
|
-
Sui: 'sui'
|
|
2154
|
-
} as const;
|
|
2155
|
-
export type GetMarketDataChainEnum = typeof GetMarketDataChainEnum[keyof typeof GetMarketDataChainEnum];
|
|
2156
|
-
/**
|
|
2157
|
-
* @export
|
|
2158
|
-
*/
|
|
2159
|
-
export const GetMarketDataMultiChainEnum = {
|
|
2160
|
-
Sol: 'sol',
|
|
2161
|
-
Base: 'base',
|
|
2162
|
-
Bsc: 'bsc',
|
|
2163
|
-
Polygon: 'polygon',
|
|
2164
|
-
Arbitrum: 'arbitrum',
|
|
2165
|
-
Optimism: 'optimism',
|
|
2166
|
-
Avalanche: 'avalanche',
|
|
2167
|
-
Ethereum: 'ethereum',
|
|
2168
|
-
Zksync: 'zksync',
|
|
2169
|
-
Sui: 'sui'
|
|
2170
|
-
} as const;
|
|
2171
|
-
export type GetMarketDataMultiChainEnum = typeof GetMarketDataMultiChainEnum[keyof typeof GetMarketDataMultiChainEnum];
|
|
2172
|
-
/**
|
|
2173
|
-
* @export
|
|
2174
|
-
*/
|
|
2175
|
-
export const GetMetadataChainEnum = {
|
|
2176
|
-
Sol: 'sol',
|
|
2177
|
-
Base: 'base',
|
|
2178
|
-
Bsc: 'bsc',
|
|
2179
|
-
Polygon: 'polygon',
|
|
2180
|
-
Arbitrum: 'arbitrum',
|
|
2181
|
-
Optimism: 'optimism',
|
|
2182
|
-
Avalanche: 'avalanche',
|
|
2183
|
-
Ethereum: 'ethereum',
|
|
2184
|
-
Zksync: 'zksync',
|
|
2185
|
-
Sui: 'sui'
|
|
2186
|
-
} as const;
|
|
2187
|
-
export type GetMetadataChainEnum = typeof GetMetadataChainEnum[keyof typeof GetMetadataChainEnum];
|
|
2188
|
-
/**
|
|
2189
|
-
* @export
|
|
2190
|
-
*/
|
|
2191
|
-
export const GetMetadataMultiChainEnum = {
|
|
2192
|
-
Sol: 'sol',
|
|
2193
|
-
Base: 'base',
|
|
2194
|
-
Bsc: 'bsc',
|
|
2195
|
-
Polygon: 'polygon',
|
|
2196
|
-
Arbitrum: 'arbitrum',
|
|
2197
|
-
Optimism: 'optimism',
|
|
2198
|
-
Avalanche: 'avalanche',
|
|
2199
|
-
Ethereum: 'ethereum',
|
|
2200
|
-
Zksync: 'zksync',
|
|
2201
|
-
Sui: 'sui'
|
|
2202
|
-
} as const;
|
|
2203
|
-
export type GetMetadataMultiChainEnum = typeof GetMetadataMultiChainEnum[keyof typeof GetMetadataMultiChainEnum];
|
|
2204
|
-
/**
|
|
2205
|
-
* @export
|
|
2206
|
-
*/
|
|
2207
|
-
export const GetMintAndBurnChainEnum = {
|
|
2208
|
-
Sol: 'sol',
|
|
2209
|
-
Base: 'base',
|
|
2210
|
-
Bsc: 'bsc',
|
|
2211
|
-
Polygon: 'polygon',
|
|
2212
|
-
Arbitrum: 'arbitrum',
|
|
2213
|
-
Optimism: 'optimism',
|
|
2214
|
-
Avalanche: 'avalanche',
|
|
2215
|
-
Ethereum: 'ethereum',
|
|
2216
|
-
Zksync: 'zksync',
|
|
2217
|
-
Sui: 'sui'
|
|
2218
|
-
} as const;
|
|
2219
|
-
export type GetMintAndBurnChainEnum = typeof GetMintAndBurnChainEnum[keyof typeof GetMintAndBurnChainEnum];
|
|
2220
|
-
/**
|
|
2221
|
-
* @export
|
|
2222
|
-
*/
|
|
2223
|
-
export const GetMintAndBurnDirectionEnum = {
|
|
2224
|
-
Next: 'next',
|
|
2225
|
-
Prev: 'prev'
|
|
2226
|
-
} as const;
|
|
2227
|
-
export type GetMintAndBurnDirectionEnum = typeof GetMintAndBurnDirectionEnum[keyof typeof GetMintAndBurnDirectionEnum];
|
|
2228
|
-
/**
|
|
2229
|
-
* @export
|
|
2230
|
-
*/
|
|
2231
|
-
export const GetMintAndBurnTypeEnum = {
|
|
2232
|
-
All: 'all',
|
|
2233
|
-
Mint: 'mint',
|
|
2234
|
-
Burn: 'burn'
|
|
2235
|
-
} as const;
|
|
2236
|
-
export type GetMintAndBurnTypeEnum = typeof GetMintAndBurnTypeEnum[keyof typeof GetMintAndBurnTypeEnum];
|
|
2237
|
-
/**
|
|
2238
|
-
* @export
|
|
2239
|
-
*/
|
|
2240
|
-
export const GetPoolsChainEnum = {
|
|
2241
|
-
Sol: 'sol',
|
|
2242
|
-
Base: 'base',
|
|
2243
|
-
Bsc: 'bsc',
|
|
2244
|
-
Polygon: 'polygon',
|
|
2245
|
-
Arbitrum: 'arbitrum',
|
|
2246
|
-
Optimism: 'optimism',
|
|
2247
|
-
Avalanche: 'avalanche',
|
|
2248
|
-
Ethereum: 'ethereum',
|
|
2249
|
-
Zksync: 'zksync',
|
|
2250
|
-
Sui: 'sui'
|
|
2251
|
-
} as const;
|
|
2252
|
-
export type GetPoolsChainEnum = typeof GetPoolsChainEnum[keyof typeof GetPoolsChainEnum];
|
|
2253
|
-
/**
|
|
2254
|
-
* @export
|
|
2255
|
-
*/
|
|
2256
|
-
export const GetPriceByTimeChainEnum = {
|
|
2257
|
-
Sol: 'sol',
|
|
2258
|
-
Base: 'base',
|
|
2259
|
-
Bsc: 'bsc',
|
|
2260
|
-
Polygon: 'polygon',
|
|
2261
|
-
Arbitrum: 'arbitrum',
|
|
2262
|
-
Optimism: 'optimism',
|
|
2263
|
-
Avalanche: 'avalanche',
|
|
2264
|
-
Ethereum: 'ethereum',
|
|
2265
|
-
Zksync: 'zksync',
|
|
2266
|
-
Sui: 'sui'
|
|
2267
|
-
} as const;
|
|
2268
|
-
export type GetPriceByTimeChainEnum = typeof GetPriceByTimeChainEnum[keyof typeof GetPriceByTimeChainEnum];
|
|
2269
|
-
/**
|
|
2270
|
-
* @export
|
|
2271
|
-
*/
|
|
2272
|
-
export const GetPricesChainEnum = {
|
|
2273
|
-
Sol: 'sol',
|
|
2274
|
-
Base: 'base',
|
|
2275
|
-
Bsc: 'bsc',
|
|
2276
|
-
Polygon: 'polygon',
|
|
2277
|
-
Arbitrum: 'arbitrum',
|
|
2278
|
-
Optimism: 'optimism',
|
|
2279
|
-
Avalanche: 'avalanche',
|
|
2280
|
-
Ethereum: 'ethereum',
|
|
2281
|
-
Zksync: 'zksync',
|
|
2282
|
-
Sui: 'sui'
|
|
2283
|
-
} as const;
|
|
2284
|
-
export type GetPricesChainEnum = typeof GetPricesChainEnum[keyof typeof GetPricesChainEnum];
|
|
2285
|
-
/**
|
|
2286
|
-
* @export
|
|
2287
|
-
*/
|
|
2288
|
-
export const GetPricesDirectionEnum = {
|
|
2289
|
-
Next: 'next',
|
|
2290
|
-
Prev: 'prev'
|
|
2291
|
-
} as const;
|
|
2292
|
-
export type GetPricesDirectionEnum = typeof GetPricesDirectionEnum[keyof typeof GetPricesDirectionEnum];
|
|
2293
|
-
/**
|
|
2294
|
-
* @export
|
|
2295
|
-
*/
|
|
2296
|
-
export const GetSecurityChainEnum = {
|
|
2297
|
-
Sol: 'sol',
|
|
2298
|
-
Base: 'base',
|
|
2299
|
-
Bsc: 'bsc',
|
|
2300
|
-
Polygon: 'polygon',
|
|
2301
|
-
Arbitrum: 'arbitrum',
|
|
2302
|
-
Optimism: 'optimism',
|
|
2303
|
-
Avalanche: 'avalanche',
|
|
2304
|
-
Ethereum: 'ethereum',
|
|
2305
|
-
Zksync: 'zksync',
|
|
2306
|
-
Sui: 'sui'
|
|
2307
|
-
} as const;
|
|
2308
|
-
export type GetSecurityChainEnum = typeof GetSecurityChainEnum[keyof typeof GetSecurityChainEnum];
|
|
2309
|
-
/**
|
|
2310
|
-
* @export
|
|
2311
|
-
*/
|
|
2312
|
-
export const GetStatsChainEnum = {
|
|
2313
|
-
Sol: 'sol',
|
|
2314
|
-
Base: 'base',
|
|
2315
|
-
Bsc: 'bsc',
|
|
2316
|
-
Polygon: 'polygon',
|
|
2317
|
-
Arbitrum: 'arbitrum',
|
|
2318
|
-
Optimism: 'optimism',
|
|
2319
|
-
Avalanche: 'avalanche',
|
|
2320
|
-
Ethereum: 'ethereum',
|
|
2321
|
-
Zksync: 'zksync',
|
|
2322
|
-
Sui: 'sui'
|
|
2323
|
-
} as const;
|
|
2324
|
-
export type GetStatsChainEnum = typeof GetStatsChainEnum[keyof typeof GetStatsChainEnum];
|
|
2325
|
-
/**
|
|
2326
|
-
* @export
|
|
2327
|
-
*/
|
|
2328
|
-
export const GetStatsMultiChainEnum = {
|
|
2329
|
-
Sol: 'sol',
|
|
2330
|
-
Base: 'base',
|
|
2331
|
-
Bsc: 'bsc',
|
|
2332
|
-
Polygon: 'polygon',
|
|
2333
|
-
Arbitrum: 'arbitrum',
|
|
2334
|
-
Optimism: 'optimism',
|
|
2335
|
-
Avalanche: 'avalanche',
|
|
2336
|
-
Ethereum: 'ethereum',
|
|
2337
|
-
Zksync: 'zksync',
|
|
2338
|
-
Sui: 'sui'
|
|
2339
|
-
} as const;
|
|
2340
|
-
export type GetStatsMultiChainEnum = typeof GetStatsMultiChainEnum[keyof typeof GetStatsMultiChainEnum];
|
|
2341
|
-
/**
|
|
2342
|
-
* @export
|
|
2343
|
-
*/
|
|
2344
|
-
export const GetTokenChainEnum = {
|
|
2345
|
-
Sol: 'sol',
|
|
2346
|
-
Base: 'base',
|
|
2347
|
-
Bsc: 'bsc',
|
|
2348
|
-
Polygon: 'polygon',
|
|
2349
|
-
Arbitrum: 'arbitrum',
|
|
2350
|
-
Optimism: 'optimism',
|
|
2351
|
-
Avalanche: 'avalanche',
|
|
2352
|
-
Ethereum: 'ethereum',
|
|
2353
|
-
Zksync: 'zksync',
|
|
2354
|
-
Sui: 'sui'
|
|
2355
|
-
} as const;
|
|
2356
|
-
export type GetTokenChainEnum = typeof GetTokenChainEnum[keyof typeof GetTokenChainEnum];
|
|
2357
|
-
/**
|
|
2358
|
-
* @export
|
|
2359
|
-
*/
|
|
2360
|
-
export const GetTokensChainEnum = {
|
|
2361
|
-
Sol: 'sol',
|
|
2362
|
-
Base: 'base',
|
|
2363
|
-
Bsc: 'bsc',
|
|
2364
|
-
Polygon: 'polygon',
|
|
2365
|
-
Arbitrum: 'arbitrum',
|
|
2366
|
-
Optimism: 'optimism',
|
|
2367
|
-
Avalanche: 'avalanche',
|
|
2368
|
-
Ethereum: 'ethereum',
|
|
2369
|
-
Zksync: 'zksync',
|
|
2370
|
-
Sui: 'sui'
|
|
2371
|
-
} as const;
|
|
2372
|
-
export type GetTokensChainEnum = typeof GetTokensChainEnum[keyof typeof GetTokensChainEnum];
|
|
2373
|
-
/**
|
|
2374
|
-
* @export
|
|
2375
|
-
*/
|
|
2376
|
-
export const GetTokensSortByEnum = {
|
|
2377
|
-
MarketDataPriceInUsd: 'marketData.priceInUsd',
|
|
2378
|
-
StatsPriceChangeRatioInUsd1m: 'stats.priceChangeRatioInUsd1m',
|
|
2379
|
-
StatsPriceChangeRatioInUsd5m: 'stats.priceChangeRatioInUsd5m',
|
|
2380
|
-
StatsPriceChangeRatioInUsd1h: 'stats.priceChangeRatioInUsd1h',
|
|
2381
|
-
StatsPriceChangeRatioInUsd4h: 'stats.priceChangeRatioInUsd4h',
|
|
2382
|
-
StatsPriceChangeRatioInUsd24h: 'stats.priceChangeRatioInUsd24h',
|
|
2383
|
-
MarketDataMarketCapInUsd: 'marketData.marketCapInUsd',
|
|
2384
|
-
MarketDataTvlInUsd: 'marketData.tvlInUsd',
|
|
2385
|
-
MarketDataTop10TotalHoldings: 'marketData.top10TotalHoldings',
|
|
2386
|
-
MarketDataTop10HoldingsRatio: 'marketData.top10HoldingsRatio',
|
|
2387
|
-
MarketDataTop100TotalHoldings: 'marketData.top100TotalHoldings',
|
|
2388
|
-
MarketDataTop100HoldingsRatio: 'marketData.top100HoldingsRatio',
|
|
2389
|
-
MarketDataHolders: 'marketData.holders',
|
|
2390
|
-
MarketDataCreatorHoldings: 'marketData.creatorHoldings',
|
|
2391
|
-
MarketDataCreatorHoldingsRatio: 'marketData.creatorHoldingsRatio',
|
|
2392
|
-
StatsBuys1m: 'stats.buys1m',
|
|
2393
|
-
StatsBuys5m: 'stats.buys5m',
|
|
2394
|
-
StatsBuys15m: 'stats.buys15m',
|
|
2395
|
-
StatsBuys30m: 'stats.buys30m',
|
|
2396
|
-
StatsBuys1h: 'stats.buys1h',
|
|
2397
|
-
StatsBuys4h: 'stats.buys4h',
|
|
2398
|
-
StatsBuys24h: 'stats.buys24h',
|
|
2399
|
-
StatsSells1m: 'stats.sells1m',
|
|
2400
|
-
StatsSells5m: 'stats.sells5m',
|
|
2401
|
-
StatsSells15m: 'stats.sells15m',
|
|
2402
|
-
StatsSells30m: 'stats.sells30m',
|
|
2403
|
-
StatsSells1h: 'stats.sells1h',
|
|
2404
|
-
StatsSells4h: 'stats.sells4h',
|
|
2405
|
-
StatsSells24h: 'stats.sells24h',
|
|
2406
|
-
StatsTrades1m: 'stats.trades1m',
|
|
2407
|
-
StatsTrades5m: 'stats.trades5m',
|
|
2408
|
-
StatsTrades1h: 'stats.trades1h',
|
|
2409
|
-
StatsTrades4h: 'stats.trades4h',
|
|
2410
|
-
StatsTrades24h: 'stats.trades24h',
|
|
2411
|
-
StatsTraders1m: 'stats.traders1m',
|
|
2412
|
-
StatsTraders5m: 'stats.traders5m',
|
|
2413
|
-
StatsTraders1h: 'stats.traders1h',
|
|
2414
|
-
StatsTraders4h: 'stats.traders4h',
|
|
2415
|
-
StatsTraders24h: 'stats.traders24h',
|
|
2416
|
-
StatsVolumesInUsd1m: 'stats.volumesInUsd1m',
|
|
2417
|
-
StatsVolumesInUsd5m: 'stats.volumesInUsd5m',
|
|
2418
|
-
StatsVolumesInUsd1h: 'stats.volumesInUsd1h',
|
|
2419
|
-
StatsVolumesInUsd4h: 'stats.volumesInUsd4h',
|
|
2420
|
-
StatsVolumesInUsd24h: 'stats.volumesInUsd24h',
|
|
2421
|
-
TokenCreatedAt: 'tokenCreatedAt'
|
|
2422
|
-
} as const;
|
|
2423
|
-
export type GetTokensSortByEnum = typeof GetTokensSortByEnum[keyof typeof GetTokensSortByEnum];
|
|
2424
|
-
/**
|
|
2425
|
-
* @export
|
|
2426
|
-
*/
|
|
2427
|
-
export const GetTokensSortDirectionEnum = {
|
|
2428
|
-
Asc: 'ASC',
|
|
2429
|
-
Desc: 'DESC'
|
|
2430
|
-
} as const;
|
|
2431
|
-
export type GetTokensSortDirectionEnum = typeof GetTokensSortDirectionEnum[keyof typeof GetTokensSortDirectionEnum];
|
|
2432
|
-
/**
|
|
2433
|
-
* @export
|
|
2434
|
-
*/
|
|
2435
|
-
export const GetTopHoldersChainEnum = {
|
|
2436
|
-
Sol: 'sol',
|
|
2437
|
-
Base: 'base',
|
|
2438
|
-
Bsc: 'bsc',
|
|
2439
|
-
Polygon: 'polygon',
|
|
2440
|
-
Arbitrum: 'arbitrum',
|
|
2441
|
-
Optimism: 'optimism',
|
|
2442
|
-
Avalanche: 'avalanche',
|
|
2443
|
-
Ethereum: 'ethereum',
|
|
2444
|
-
Zksync: 'zksync',
|
|
2445
|
-
Sui: 'sui'
|
|
2446
|
-
} as const;
|
|
2447
|
-
export type GetTopHoldersChainEnum = typeof GetTopHoldersChainEnum[keyof typeof GetTopHoldersChainEnum];
|
|
2448
|
-
/**
|
|
2449
|
-
* @export
|
|
2450
|
-
*/
|
|
2451
|
-
export const ListTokenChainEnum = {
|
|
2452
|
-
Sol: 'sol',
|
|
2453
|
-
Base: 'base',
|
|
2454
|
-
Bsc: 'bsc',
|
|
2455
|
-
Polygon: 'polygon',
|
|
2456
|
-
Arbitrum: 'arbitrum',
|
|
2457
|
-
Optimism: 'optimism',
|
|
2458
|
-
Avalanche: 'avalanche',
|
|
2459
|
-
Ethereum: 'ethereum',
|
|
2460
|
-
Zksync: 'zksync',
|
|
2461
|
-
Sui: 'sui'
|
|
2462
|
-
} as const;
|
|
2463
|
-
export type ListTokenChainEnum = typeof ListTokenChainEnum[keyof typeof ListTokenChainEnum];
|
|
2464
|
-
/**
|
|
2465
|
-
* @export
|
|
2466
|
-
*/
|
|
2467
|
-
export const ListTokenDirectionEnum = {
|
|
2468
|
-
Next: 'next',
|
|
2469
|
-
Prev: 'prev'
|
|
2470
|
-
} as const;
|
|
2471
|
-
export type ListTokenDirectionEnum = typeof ListTokenDirectionEnum[keyof typeof ListTokenDirectionEnum];
|
|
2472
|
-
/**
|
|
2473
|
-
* @export
|
|
2474
|
-
*/
|
|
2475
|
-
export const ListTokenSortEnum = {
|
|
2476
|
-
Asc: 'asc',
|
|
2477
|
-
Desc: 'desc'
|
|
2478
|
-
} as const;
|
|
2479
|
-
export type ListTokenSortEnum = typeof ListTokenSortEnum[keyof typeof ListTokenSortEnum];
|
|
2480
|
-
/**
|
|
2481
|
-
* @export
|
|
2482
|
-
*/
|
|
2483
|
-
export const ListTokenSortByEnum = {
|
|
2484
|
-
H24VolumeInUsd: 'h24VolumeInUsd',
|
|
2485
|
-
H24PriceChangeRatio: 'h24PriceChangeRatio',
|
|
2486
|
-
H24Buys: 'h24Buys',
|
|
2487
|
-
H24Sells: 'h24Sells',
|
|
2488
|
-
H24Trades: 'h24Trades',
|
|
2489
|
-
H24Buyers: 'h24Buyers',
|
|
2490
|
-
H24Sellers: 'h24Sellers',
|
|
2491
|
-
H24BuyVolumeInUsd: 'h24BuyVolumeInUsd',
|
|
2492
|
-
H24SellVolumeInUsd: 'h24SellVolumeInUsd',
|
|
2493
|
-
H4VolumeInUsd: 'h4VolumeInUsd',
|
|
2494
|
-
H4PriceChangeRatio: 'h4PriceChangeRatio',
|
|
2495
|
-
H4Buys: 'h4Buys',
|
|
2496
|
-
H4Sells: 'h4Sells',
|
|
2497
|
-
H4Trades: 'h4Trades',
|
|
2498
|
-
H4Buyers: 'h4Buyers',
|
|
2499
|
-
H4Sellers: 'h4Sellers',
|
|
2500
|
-
H4BuyVolumeInUsd: 'h4BuyVolumeInUsd',
|
|
2501
|
-
H4SellVolumeInUsd: 'h4SellVolumeInUsd',
|
|
2502
|
-
H1VolumeInUsd: 'h1VolumeInUsd',
|
|
2503
|
-
H1PriceChangeRatio: 'h1PriceChangeRatio',
|
|
2504
|
-
H1Buys: 'h1Buys',
|
|
2505
|
-
H1Sells: 'h1Sells',
|
|
2506
|
-
H1Trades: 'h1Trades',
|
|
2507
|
-
H1Buyers: 'h1Buyers',
|
|
2508
|
-
H1Sellers: 'h1Sellers',
|
|
2509
|
-
H1BuyVolumeInUsd: 'h1BuyVolumeInUsd',
|
|
2510
|
-
H1SellVolumeInUsd: 'h1SellVolumeInUsd',
|
|
2511
|
-
M30VolumeInUsd: 'm30VolumeInUsd',
|
|
2512
|
-
M30PriceChangeRatio: 'm30PriceChangeRatio',
|
|
2513
|
-
M30Buys: 'm30Buys',
|
|
2514
|
-
M30Sells: 'm30Sells',
|
|
2515
|
-
M30Trades: 'm30Trades',
|
|
2516
|
-
M30Buyers: 'm30Buyers',
|
|
2517
|
-
M30Sellers: 'm30Sellers',
|
|
2518
|
-
M30BuyVolumeInUsd: 'm30BuyVolumeInUsd',
|
|
2519
|
-
M30SellVolumeInUsd: 'm30SellVolumeInUsd',
|
|
2520
|
-
M15VolumeInUsd: 'm15VolumeInUsd',
|
|
2521
|
-
M15PriceChangeRatio: 'm15PriceChangeRatio',
|
|
2522
|
-
M15Buys: 'm15Buys',
|
|
2523
|
-
M15Sells: 'm15Sells',
|
|
2524
|
-
M15Trades: 'm15Trades',
|
|
2525
|
-
M15Buyers: 'm15Buyers',
|
|
2526
|
-
M15Sellers: 'm15Sellers',
|
|
2527
|
-
M15BuyVolumeInUsd: 'm15BuyVolumeInUsd',
|
|
2528
|
-
M15SellVolumeInUsd: 'm15SellVolumeInUsd',
|
|
2529
|
-
M5VolumeInUsd: 'm5VolumeInUsd',
|
|
2530
|
-
M5PriceChangeRatio: 'm5PriceChangeRatio',
|
|
2531
|
-
M5Buys: 'm5Buys',
|
|
2532
|
-
M5Sells: 'm5Sells',
|
|
2533
|
-
M5Trades: 'm5Trades',
|
|
2534
|
-
M5Buyers: 'm5Buyers',
|
|
2535
|
-
M5Sellers: 'm5Sellers',
|
|
2536
|
-
M5BuyVolumeInUsd: 'm5BuyVolumeInUsd',
|
|
2537
|
-
M5SellVolumeInUsd: 'm5SellVolumeInUsd',
|
|
2538
|
-
M1VolumeInUsd: 'm1VolumeInUsd',
|
|
2539
|
-
M1PriceChangeRatio: 'm1PriceChangeRatio',
|
|
2540
|
-
M1Buys: 'm1Buys',
|
|
2541
|
-
M1Sells: 'm1Sells',
|
|
2542
|
-
M1Trades: 'm1Trades',
|
|
2543
|
-
M1Buyers: 'm1Buyers',
|
|
2544
|
-
M1Sellers: 'm1Sellers',
|
|
2545
|
-
M1BuyVolumeInUsd: 'm1BuyVolumeInUsd',
|
|
2546
|
-
M1SellVolumeInUsd: 'm1SellVolumeInUsd'
|
|
2547
|
-
} as const;
|
|
2548
|
-
export type ListTokenSortByEnum = typeof ListTokenSortByEnum[keyof typeof ListTokenSortByEnum];
|
|
2549
|
-
/**
|
|
2550
|
-
* @export
|
|
2551
|
-
*/
|
|
2552
|
-
export const SearchSortEnum = {
|
|
2553
|
-
Asc: 'asc',
|
|
2554
|
-
Desc: 'desc'
|
|
2555
|
-
} as const;
|
|
2556
|
-
export type SearchSortEnum = typeof SearchSortEnum[keyof typeof SearchSortEnum];
|
|
2557
|
-
/**
|
|
2558
|
-
* @export
|
|
2559
|
-
*/
|
|
2560
|
-
export const SearchSortByEnum = {
|
|
2561
|
-
MarketCapInUsd: 'marketCapInUsd',
|
|
2562
|
-
LiquidityInUsd: 'liquidityInUsd',
|
|
2563
|
-
PriceInUsd: 'priceInUsd',
|
|
2564
|
-
HolderCount: 'holderCount',
|
|
2565
|
-
H24VolumeInUsd: 'h24VolumeInUsd',
|
|
2566
|
-
H24Transactions: 'h24Transactions',
|
|
2567
|
-
TokenCreatedAt: 'tokenCreatedAt'
|
|
2568
|
-
} as const;
|
|
2569
|
-
export type SearchSortByEnum = typeof SearchSortByEnum[keyof typeof SearchSortByEnum];
|