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