@chainstream-io/sdk 0.2.7 → 0.2.9
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/{chainstream-kxqV2g1Q.d.cts → chainstream-B9uaC_fe.d.cts} +1055 -394
- package/dist/{chainstream-kxqV2g1Q.d.ts → chainstream-B9uaC_fe.d.ts} +1055 -394
- package/dist/chainstream.cjs +137 -76
- package/dist/chainstream.cjs.map +1 -1
- package/dist/chainstream.d.cts +1 -1
- package/dist/chainstream.d.ts +1 -1
- package/dist/chainstream.mjs +137 -76
- package/dist/chainstream.mjs.map +1 -1
- package/dist/index.cjs +303 -80
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +267 -78
- package/dist/index.mjs.map +1 -1
- package/dist/stream/index.cjs +45 -68
- package/dist/stream/index.cjs.map +1 -1
- package/dist/stream/index.d.cts +1 -1
- package/dist/stream/index.d.ts +1 -1
- package/dist/stream/index.mjs +45 -68
- package/dist/stream/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { bJ as AddressExposure, bK as AddressRiskResponseDTO, bv as AlertDetail, bF as AlteryaIdentification, b9 as BalanceChangeType, b8 as BalanceTokenType, ba as BalanceUpdateDTO, bb as BalanceUpdatePage, I as BlockchainDTO, L as BlockchainLatestBlockDTO, b7 as BooleanResultDTO, b6 as CalculatePnlInput, eU as CalculatePnlResult, aP as Candle, bi as Chain, C as ChainStreamClient, y as ChainStreamClientOptions, z as ChainStreamRequestContext, K as ChainSymbol, bC as ChainalysisAddressIdentification, bg as ClaimRedPacketInput, bf as ClaimRedPacketInputChain, f3 as ClaimRedpacketResult, bT as CreateEndpointInput, bR as CreateEndpointInputChannelsItem, bS as CreateEndpointInputMetadata, fM as CreateEndpointResult, bd as CreateRedPacketInput, bc as CreateRedPacketInputChain, be as CreateRedPacketReply, f2 as CreateRedpacketResult, a7 as CreateTokenInput, a5 as CreateTokenInputDex, a6 as CreateTokenInputExtra, a8 as CreateTokenReply, dy as CreateTokenResult, fP as DeleteEndpointResult, aW as DevTokenDTO, a9 as DexDTO, aa as DexPage, aB as DexPoolDTO, aA as DexPoolDTOLiquidityModel, ay as DexPoolDTOType, az as DexPoolDTOVersion, aK as DexPoolPage, b1 as DexPoolSnapshotDTO, b2 as DexPoolSnapshotPage, ax as DexPoolTokenLiquidity, b0 as DexPoolTokenSnapshotDTO, a4 as DexQuoteResponse, bt as DirectExposureDetail, bO as EndpointListResponse, bQ as EndpointOperationResponse, bN as EndpointResponse, bL as EndpointResponseChannelsItem, bM as EndpointResponseMetadata, bP as EndpointSecretResponse, R as EstimateGasLimitInput, V as EstimateGasLimitResponse, aI as FilterCondition, aH as FilterConditionField, Q as GasPriceResponse, c5 as GetActivitiesDirection, c4 as GetActivitiesParams, dK as GetActivitiesResult, c6 as GetActivitiesType, fD as GetAddressRiskResult, d4 as GetBalanceParams, eT as GetBalanceResult, d5 as GetBalanceUpdatesParams, eV as GetBalanceUpdatesResult, ct as GetCandlesParams, ej as GetCandlesResult, d9 as GetClaimsByAddressParams, f7 as GetClaimsByAddressResult, d6 as GetClaimsParams, f5 as GetClaimsResult, er as GetCreationResult, ev as GetDevTokensResult, eA as GetDexpoolResult, cK as GetDexpoolSnapshotsParams, eB as GetDexpoolSnapshotsResult, fO as GetEndpointResult, fQ as GetEndpointSecretResult, cX as GetFinalStretchTokensParams, eK as GetFinalStretchTokensResult, cY as GetFinalStretchTokensSortBy, cZ as GetFinalStretchTokensSortDirection, c_ as GetFinalStretchTokensTag, dp as GetGasLimitResult, dn as GetGasPriceResult, cr as GetHoldersDirection, cs as GetHoldersMultiParams, ei as GetHoldersMultiResult, cq as GetHoldersParams, eh as GetHoldersResult, cL as GetHotTokensParams, eH as GetHotTokensResult, cM as GetHotTokensSortBy, cN as GetHotTokensSortDirection, cO as GetHotTokensTag, di as GetLatestBlockResult, cx as GetMarketDataMulti200, cw as GetMarketDataMultiParams, eo as GetMarketDataMultiResult, en as GetMarketDataResult, cj as GetMetadataMulti200, ci as GetMetadataMultiParams, ed as GetMetadataMultiResult, ec as GetMetadataResult, c$ as GetMigratedTokensParams, eL as GetMigratedTokensResult, d0 as GetMigratedTokensSortBy, d1 as GetMigratedTokensSortDirection, d2 as GetMigratedTokensTag, cC as GetMintAndBurnDirection, cB as GetMintAndBurnParams, es as GetMintAndBurnResult, cD as GetMintAndBurnType, cP as GetNewTokensParams, eI as GetNewTokensResult, cQ as GetNewTokensSortBy, cR as GetNewTokensSortDirection, cS as GetNewTokensTag, cv as GetPairCandlesParams, el as GetPairCandlesResult, d3 as GetPnlParams, eR as GetPnlResult, eS as GetPnlStatsResult, cu as GetPoolCandlesParams, ek as GetPoolCandlesResult, cl as GetPoolsDirection, ck as GetPoolsParams, ee as GetPoolsResult, cm as GetPoolsSortBy, cn as GetPoolsSortDirection, cA as GetPriceByTimeParams, eq as GetPriceByTimeResult, cz as GetPricesDirection, cy as GetPricesParams, ep as GetPricesResult, f4 as GetRedpacketResult, da as GetRedpacketsByAddressParams, f8 as GetRedpacketsByAddressResult, d8 as GetRedpacketsChain, d7 as GetRedpacketsParams, f6 as GetRedpacketsResult, G as GetResult, cI as GetSecurity200, eu as GetSecurityResult, cp as GetStatsMulti200, co as GetStatsMultiParams, eg as GetStatsMultiResult, ef as GetStatsResult, cT as GetStocksTokensParams, eJ as GetStocksTokensResult, cU as GetStocksTokensSortBy, cV as GetStocksTokensSortDirection, cW as GetStocksTokensTag, dh as GetSupportedBlockchainsResult, cJ as GetTokenLiquiditySnapshotsParams, ex as GetTokenLiquiditySnapshotsResult, eb as GetTokenResult, ew as GetTokenTradersResult, cf as GetTokensParams, ea as GetTokensResult, cg as GetTokensSortBy, ch as GetTokensSortDirection, em as GetTopHoldersResult, c8 as GetTopTradersDirection, c7 as GetTopTradersParams, dL as GetTopTradersResult, cb as GetTopTradersSortBy, ca as GetTopTradersSortType, c9 as GetTopTradersTimeFrame, c2 as GetTradesDirection, c1 as GetTradesParams, dJ as GetTradesResult, c3 as GetTradesType, ft as GetTransferAlertsResult, fs as GetTransferDirectExposureResult, fu as GetTransferNetworkIdentificationsResult, fr as GetTransferSummaryResult, fz as GetWithdrawalAddressIdentificationsResult, fy as GetWithdrawalAlertsResult, fx as GetWithdrawalDirectExposureResult, fB as GetWithdrawalFraudAssessmentResult, fA as GetWithdrawalNetworkIdentificationsResult, fw as GetWithdrawalSummaryResult, E as JobDTO, J as JobDTOResult, H as JobStreamingDTO, F as JobStreamingDTOData, br as KYTRegisterTransferRequest, bq as KYTRegisterTransferRequestDirection, bp as KYTRegisterTransferRequestNetwork, bA as KYTRegisterWithdrawalRequest, bz as KYTRegisterWithdrawalRequestNetwork, ac as Link, ab as LinkLabel, b$ as ListDexParams, dz as ListDexResult, dc as ListEndpointsOrder, db as ListEndpointsParams, fL as ListEndpointsResult, cF as ListTokenDirection, cE as ListTokenParams, et as ListTokenResult, cG as ListTokenSort, cH as ListTokenSortBy, af as MoonshotCreateTokenInput, ad as MoonshotCreateTokenInputDex, ae as MoonshotCreateTokenInputMigrationDex, ah as MoonshotCreateTokenReply, ag as MoonshotCreateTokenReplyExtra, dC as MoonshotCreateTokenResult, c0 as MoonshotSubmitCreateToken200, aj as MoonshotSubmitCreateTokenInput, ai as MoonshotSubmitCreateTokenInputExtra, dD as MoonshotSubmitCreateTokenResult, bx as NetworkIdentificationOrg, bE as OnChainActivity, de as PresignResult, aO as PriceType, am as PumpCreateTokenInput, ak as PumpCreateTokenInputDex, al as PumpCreateTokenInputMigrationDex, ao as PumpCreateTokenReply, an as PumpCreateTokenReplyExtra, dF as PumpfunCreateTokenResult, b_ as QuoteDex, bZ as QuoteParams, dx as QuoteResult, bk as RedPacketClaimDTO, bl as RedPacketClaimsPage, bj as RedPacketDTO, bh as RedPacketReply, bn as RedPacketSendTxInput, bo as RedPacketSendTxResponse, bm as RedPacketsPage, f9 as RedpacketSendResult, bH as RegisterAddressRequest, bI as RegisterAddressResponseDTO, fC as RegisterAddressResult, fq as RegisterTransferResult, fv as RegisterWithdrawalResult, aN as Resolution, fR as RotateEndpointSecretResult, dw as RouteResult, cc as SearchParams, e9 as SearchResult, cd as SearchSort, ce as SearchSortBy, dm as SendResult, O as SendTxInput, N as SendTxInputOptions, M as SendTxInputSubmitType, P as SendTxResponse, S as StreamApi, D as StreamingResult, Z as SwapInput, X as SwapInputDex, Y as SwapInputSwapMode, _ as SwapReply, dv as SwapResult, a1 as SwapRouteInput, $ as SwapRouteInputDex, a0 as SwapRouteInputSwapMode, a3 as SwapRouteResponse, a2 as SwapRouteResponseRouteInfo, aE as Token, aT as TokenCreationDTO, aS as TokenCreationDTOType, aU as TokenCreationPage, at as TokenCreatorsDTO, aD as TokenExtension, au as TokenExtraDTO, aL as TokenHolder, aM as TokenHolderPage, a_ as TokenLiquiditySnapshotDTO, a$ as TokenLiquiditySnapshotPage, aV as TokenListPage, aC as TokenMarketData, aJ as TokenMetadata, aG as TokenPage, aF as TokenPageCountsByProtocols, aQ as TokenPriceDTO, aR as TokenPricePage, T as TokenProvider, av as TokenSocialMediasDTO, aw as TokenStat, aZ as TokenTrader, aY as TokenTraderOnchainCreatedAt, aX as TokenTraderTag, ar as TopTradersDTO, as as TopTradersPage, ap as TradeDetailDTO, bY as TradeEvent, aq as TradePage, bX as TradeType, bw as TransferAlertsResponseDTO, bs as TransferBaseResponseDTO, bu as TransferDirectExposureResponseDTO, by as TransferNetworkIdentificationsResponseDTO, U as Unsubscribable, bW as UpdateEndpointInput, bU as UpdateEndpointInputChannelsItem, bV as UpdateEndpointInputMetadata, fN as UpdateEndpointResult, b4 as WalletBalanceDetailDTO, b5 as WalletBalancesDTO, b3 as WalletPnlDTO, fb as WatchlistAddResult, bD as WithdrawalAddressIdentificationsResponseDTO, bB as WithdrawalBaseResponseDTO, bG as WithdrawalFraudAssessmentResponseDTO, r as WsCandle, a as WsChannelType, w as WsDex, j as WsDexPoolBalance, n as WsDexProtocol, b as WsMetricType, h as WsNewToken, s as WsPriceType, x as WsRankingTokenList, v as WsRankingType, q as WsSocialMedia, c as WsTokenActivity, W as WsTokenActivityType, o as WsTokenBondingCurve, e as WsTokenHolder, k as WsTokenLiquidity, l as WsTokenMaxLiquidity, p as WsTokenMetadata, d as WsTokenStat, i as WsTokenSupply, m as WsTokenTotalLiquidity, t as WsTradeActivity, f as WsWalletBalance, g as WsWalletPnl, u as WsWalletTokenPnl, eP as calculatePnl, eX as claimRedpacket, fF as createEndpoint, eW as createRedpacket, dt as createToken, fI as deleteEndpoint, A as get, dH as getActivities, fp as getAddressRisk, eO as getBalance, eQ as getBalanceUpdates, dW as getCandles, eZ as getClaims, e$ as getClaimsByAddress, e2 as getCreation, e6 as getDevTokens, ey as getDexpool, ez as getDexpoolSnapshots, fH as getEndpoint, fJ as getEndpointSecret, eF as getFinalStretchTokens, dl as getGasLimit, dk as getGasPrice, dU as getHolders, dV as getHoldersMulti, eC as getHotTokens, dg as getLatestBlock, d_ as getMarketData, d$ as getMarketDataMulti, dP as getMetadata, dQ as getMetadataMulti, eG as getMigratedTokens, e3 as getMintAndBurn, eD as getNewTokens, dY as getPairCandles, eM as getPnl, eN as getPnlStats, dX as getPoolCandles, dR as getPools, e1 as getPriceByTime, e0 as getPrices, eY as getRedpacket, e_ as getRedpackets, f0 as getRedpacketsByAddress, e5 as getSecurity, dS as getStats, dT as getStatsMulti, eE as getStocksTokens, df as getSupportedBlockchains, dO as getToken, e8 as getTokenLiquiditySnapshots, e7 as getTokenTraders, dN as getTokens, dZ as getTopHolders, dI as getTopTraders, dG as getTrades, ff as getTransferAlerts, fe as getTransferDirectExposure, fg as getTransferNetworkIdentifications, fd as getTransferSummary, fl as getWithdrawalAddressIdentifications, fk as getWithdrawalAlerts, fj as getWithdrawalDirectExposure, fn as getWithdrawalFraudAssessment, fm as getWithdrawalNetworkIdentifications, fi as getWithdrawalSummary, du as listDex, fE as listEndpoints, e4 as listToken, dA as moonshotCreateToken, dB as moonshotSubmitCreateToken, dd as presign, dE as pumpfunCreateToken, ds as quote, f1 as redpacketSend, fo as registerAddress, fc as registerTransfer, fh as registerWithdrawal, fK as rotateEndpointSecret, dr as route, dM as search, dj as send, B as streaming, dq as swap, fG as updateEndpoint, fa as watchlistAdd } from './chainstream-kxqV2g1Q.cjs';
|
|
1
|
+
export { c6 as AddressExposure, c7 as AddressRiskResponseDTO, bU as AlertDetail, c2 as AlteryaIdentification, by as BalanceChangeType, bx as BalanceTokenType, bz as BalanceUpdateDTO, bA as BalanceUpdatePage, I as BlockchainDTO, L as BlockchainLatestBlockDTO, bj as BooleanResultDTO, bi as CalculatePnlInput, fZ as CalculatePnlResult, aT as Candle, bH as Chain, C as ChainStreamClient, y as ChainStreamClientOptions, z as ChainStreamRequestContext, K as ChainSymbol, b$ as ChainalysisAddressIdentification, bF as ClaimRedPacketInput, bE as ClaimRedPacketInputChain, gh as ClaimRedpacketResult, cg as CreateEndpointInput, ce as CreateEndpointInputChannelsItem, cf as CreateEndpointInputMetadata, g_ as CreateEndpointResult, bC as CreateRedPacketInput, bB as CreateRedPacketInputChain, bD as CreateRedPacketReply, gg as CreateRedpacketResult, a7 as CreateTokenInput, a5 as CreateTokenInputDex, a6 as CreateTokenInputExtra, a8 as CreateTokenReply, eo as CreateTokenResult, h1 as DeleteEndpointResult, a_ as DevTokenDTO, a9 as DexDTO, aa as DexPage, aF as DexPoolDTO, aE as DexPoolDTOLiquidityModel, aC as DexPoolDTOType, aD as DexPoolDTOVersion, aO as DexPoolPage, b9 as DexPoolSnapshotDTO, ba as DexPoolSnapshotPage, aB as DexPoolTokenLiquidity, b8 as DexPoolTokenSnapshotDTO, a4 as DexQuoteResponse, bS as DirectExposureDetail, cb as EndpointListResponse, cd as EndpointOperationResponse, ca as EndpointResponse, c8 as EndpointResponseChannelsItem, c9 as EndpointResponseMetadata, cc as EndpointSecretResponse, R as EstimateGasLimitInput, V as EstimateGasLimitResponse, aM as FilterCondition, aL as FilterConditionField, Q as GasPriceResponse, cu as GetActivitiesDirection, ct as GetActivitiesParams, eB as GetActivitiesResult, cv as GetActivitiesType, gR as GetAddressRiskResult, dY as GetBalanceUpdatesDirection, dX as GetBalanceUpdatesParams, g7 as GetBalanceUpdatesResult, cW as GetCandlesParams, fd as GetCandlesResult, e0 as GetClaimsByAddressParams, gl as GetClaimsByAddressResult, dZ as GetClaimsParams, gj as GetClaimsResult, fl as GetCreationResult, fp as GetDevTokensResult, fw as GetDexpoolResult, dh as GetDexpoolSnapshotsDirection, dg as GetDexpoolSnapshotsParams, fx as GetDexpoolSnapshotsResult, h0 as GetEndpointResult, h2 as GetEndpointSecretResult, dv as GetFinalStretchTokensParams, fG as GetFinalStretchTokensResult, dw as GetFinalStretchTokensSortBy, dx as GetFinalStretchTokensSortDirection, dy as GetFinalStretchTokensTag, ef as GetGasLimitResult, ee as GetGasPriceResult, cU as GetHoldersDirection, cV as GetHoldersMultiParams, fc as GetHoldersMultiResult, cT as GetHoldersParams, fb as GetHoldersResult, di as GetHotTokensParams, fD as GetHotTokensResult, dj as GetHotTokensSortBy, dk as GetHotTokensSortDirection, dl as GetHotTokensTag, e9 as GetLatestBlockResult, c_ as GetMarketDataMulti200, cZ as GetMarketDataMultiParams, fi as GetMarketDataMultiResult, fh as GetMarketDataResult, cM as GetMetadataMulti200, cL as GetMetadataMultiParams, f7 as GetMetadataMultiResult, f6 as GetMetadataResult, dz as GetMigratedTokensParams, fH as GetMigratedTokensResult, dA as GetMigratedTokensSortBy, dB as GetMigratedTokensSortDirection, dC as GetMigratedTokensTag, d3 as GetMintAndBurnDirection, d2 as GetMintAndBurnParams, fm as GetMintAndBurnResult, d4 as GetMintAndBurnType, dL as GetNetWorthChartParams, g0 as GetNetWorthChartResult, dN as GetNetWorthDetailsDirection, dM as GetNetWorthDetailsParams, g1 as GetNetWorthDetailsResult, dI as GetNetWorthDirection, dH as GetNetWorthParams, f_ as GetNetWorthResult, dD as GetNetWorthSummaryParams, fW as GetNetWorthSummaryResult, dm as GetNewTokensParams, fE as GetNewTokensResult, dn as GetNewTokensSortBy, dp as GetNewTokensSortDirection, dq as GetNewTokensTag, cY as GetPairCandlesParams, ff as GetPairCandlesResult, dS as GetPnlByTokenDirection, dR as GetPnlByTokenParams, g4 as GetPnlByTokenResult, dF as GetPnlByWalletDirection, dE as GetPnlByWalletParams, fX as GetPnlByWalletResult, dQ as GetPnlDetailsDirection, dP as GetPnlDetailsParams, g3 as GetPnlDetailsResult, dO as GetPnlParams, g2 as GetPnlResult, cX as GetPoolCandlesParams, fe as GetPoolCandlesResult, cO as GetPoolsDirection, cN as GetPoolsParams, f8 as GetPoolsResult, cP as GetPoolsSortBy, cQ as GetPoolsSortDirection, d1 as GetPriceByTimeParams, fk as GetPriceByTimeResult, d0 as GetPricesDirection, c$ as GetPricesParams, fj as GetPricesResult, gi as GetRedpacketResult, e1 as GetRedpacketsByAddressParams, gm as GetRedpacketsByAddressResult, d$ as GetRedpacketsChain, d_ as GetRedpacketsParams, gk as GetRedpacketsResult, G as GetResult, d9 as GetSecurity200, fo as GetSecurityResult, cS as GetStatsMulti200, cR as GetStatsMultiParams, fa as GetStatsMultiResult, f9 as GetStatsResult, dr as GetStocksTokensParams, fF as GetStocksTokensResult, ds as GetStocksTokensSortBy, dt as GetStocksTokensSortDirection, du as GetStocksTokensTag, e8 as GetSupportedBlockchainsResult, db as GetTokenLiquiditySnapshotsDirection, da as GetTokenLiquiditySnapshotsParams, fr as GetTokenLiquiditySnapshotsResult, f5 as GetTokenResult, fq as GetTokenTradersResult, df as GetTokenTransferTotalDirection, de as GetTokenTransferTotalParams, ft as GetTokenTransferTotalResult, dd as GetTokenTransfersDirection, dc as GetTokenTransfersParams, fs as GetTokenTransfersResult, dK as GetTokensBalanceDirection, dJ as GetTokensBalanceParams, f$ as GetTokensBalanceResult, cI as GetTokensParams, f4 as GetTokensResult, cJ as GetTokensSortBy, cK as GetTokensSortDirection, fg as GetTopHoldersResult, cx as GetTopTradersDirection, cw as GetTopTradersParams, eC as GetTopTradersResult, cA as GetTopTradersSortBy, cz as GetTopTradersSortType, cy as GetTopTradersTimeFrame, cC as GetTraderGainersLosersDirection, cB as GetTraderGainersLosersParams, eD as GetTraderGainersLosersResult, cD as GetTraderGainersLosersSortType, cr as GetTradesDirection, cq as GetTradesParams, eA as GetTradesResult, cs as GetTradesType, gH as GetTransferAlertsResult, gG as GetTransferDirectExposureResult, gI as GetTransferNetworkIdentificationsResult, gF as GetTransferSummaryResult, dG as GetWalletFirstTxParams, fY as GetWalletFirstTxResult, dW as GetWalletTransferTotalDirection, dV as GetWalletTransferTotalParams, g6 as GetWalletTransferTotalResult, dU as GetWalletTransfersDirection, dT as GetWalletTransfersParams, g5 as GetWalletTransfersResult, gN as GetWithdrawalAddressIdentificationsResult, gM as GetWithdrawalAlertsResult, gL as GetWithdrawalDirectExposureResult, gP as GetWithdrawalFraudAssessmentResult, gO as GetWithdrawalNetworkIdentificationsResult, gK as GetWithdrawalSummaryResult, E as JobDTO, J as JobDTOResult, H as JobStreamingDTO, F as JobStreamingDTOData, bQ as KYTRegisterTransferRequest, bP as KYTRegisterTransferRequestDirection, bO as KYTRegisterTransferRequestNetwork, bZ as KYTRegisterWithdrawalRequest, bY as KYTRegisterWithdrawalRequestNetwork, ac as Link, ab as LinkLabel, co as ListDexParams, ep as ListDexResult, e3 as ListEndpointsOrder, e2 as ListEndpointsParams, gZ as ListEndpointsResult, d6 as ListTokenDirection, d5 as ListTokenParams, fn as ListTokenResult, d7 as ListTokenSort, d8 as ListTokenSortBy, af as MoonshotCreateTokenInput, ad as MoonshotCreateTokenInputDex, ae as MoonshotCreateTokenInputMigrationDex, ah as MoonshotCreateTokenReply, ag as MoonshotCreateTokenReplyExtra, es as MoonshotCreateTokenResult, cp as MoonshotSubmitCreateToken200, aj as MoonshotSubmitCreateTokenInput, ai as MoonshotSubmitCreateTokenInputExtra, et as MoonshotSubmitCreateTokenResult, bW as NetworkIdentificationOrg, c1 as OnChainActivity, be as PnlDetailItemDTO, bd as PnlDetailSummaryDTO, bf as PnlDetailsPage, bq as PnlResolution, e5 as PresignResult, aS as PriceType, am as PumpCreateTokenInput, ak as PumpCreateTokenInputDex, al as PumpCreateTokenInputMigrationDex, ao as PumpCreateTokenReply, an as PumpCreateTokenReplyExtra, ev as PumpfunCreateTokenResult, cn as QuoteDex, cm as QuoteParams, en as QuoteResult, bJ as RedPacketClaimDTO, bK as RedPacketClaimsPage, bI as RedPacketDTO, bG as RedPacketReply, bM as RedPacketSendTxInput, bN as RedPacketSendTxResponse, bL as RedPacketsPage, gn as RedpacketSendResult, c4 as RegisterAddressRequest, c5 as RegisterAddressResponseDTO, gQ as RegisterAddressResult, gE as RegisterTransferResult, gJ as RegisterWithdrawalResult, aR as Resolution, h3 as RotateEndpointSecretResult, em as RouteResult, cF as SearchDirection, cE as SearchParams, f3 as SearchResult, cG as SearchSort, cH as SearchSortBy, ed as SendResult, O as SendTxInput, N as SendTxInputOptions, M as SendTxInputSubmitType, P as SendTxResponse, S as StreamApi, D as StreamingResult, Z as SwapInput, X as SwapInputDex, Y as SwapInputSwapMode, _ as SwapReply, el as SwapResult, a1 as SwapRouteInput, $ as SwapRouteInputDex, a0 as SwapRouteInputSwapMode, a3 as SwapRouteResponse, a2 as SwapRouteResponseRouteInfo, aI as Token, aX as TokenCreationDTO, aW as TokenCreationDTOType, aY as TokenCreationPage, aw as TokenCreatorsDTO, aH as TokenExtension, ax as TokenExtraDTO, aP as TokenHolder, aQ as TokenHolderPage, b2 as TokenLiquiditySnapshotDTO, b3 as TokenLiquiditySnapshotPage, aZ as TokenListPage, aG as TokenMarketData, aN as TokenMetadata, aK as TokenPage, aJ as TokenPageCountsByProtocols, aU as TokenPriceDTO, aV as TokenPricePage, T as TokenProvider, ay as TokenSocialMediasDTO, aA as TokenStat, az as TokenStatPeriods, b1 as TokenTrader, b0 as TokenTraderOnchainCreatedAt, a$ as TokenTraderTag, b5 as TokenTransferItemDTO, b4 as TokenTransferItemDTOFlow, b6 as TokenTransferPage, b7 as TokenTransferTotalDTO, bm as TokensBalancePage, ar as TopTradersDTO, as as TopTradersPage, ap as TradeDetailDTO, cl as TradeEvent, aq as TradePage, ck as TradeType, au as TraderGainersLosersItemDTO, av as TraderGainersLosersPage, at as TraderPnlResolution, bv as TransactionHistoryItemDTO, bu as TransactionHistoryItemDTOMainAction, bt as TransactionHistoryItemDTOStatus, bw as TransactionHistoryPage, bV as TransferAlertsResponseDTO, bR as TransferBaseResponseDTO, bT as TransferDirectExposureResponseDTO, bX as TransferNetworkIdentificationsResponseDTO, U as Unsubscribable, cj as UpdateEndpointInput, ch as UpdateEndpointInputChannelsItem, ci as UpdateEndpointInputMetadata, g$ as UpdateEndpointResult, bh as WalletFirstTxDTO, bg as WalletFirstTxDTOWallets, bo as WalletNetWorthChartDTO, bp as WalletNetWorthDetailsPage, bn as WalletNetWorthHistoryItemDTO, bk as WalletNetWorthItemDTO, bl as WalletNetWorthPage, bc as WalletNetWorthSummaryDTO, bb as WalletNetWorthSummaryDTOWallets, bs as WalletPnlSummaryDTO, br as WalletPnlSummaryDTOResolution, gp as WatchlistAddResult, c0 as WithdrawalAddressIdentificationsResponseDTO, b_ as WithdrawalBaseResponseDTO, c3 as WithdrawalFraudAssessmentResponseDTO, r as WsCandle, a as WsChannelType, w as WsDex, j as WsDexPoolBalance, n as WsDexProtocol, b as WsMetricType, h as WsNewToken, s as WsPriceType, x as WsRankingTokenList, v as WsRankingType, q as WsSocialMedia, c as WsTokenActivity, W as WsTokenActivityType, o as WsTokenBondingCurve, e as WsTokenHolder, k as WsTokenLiquidity, l as WsTokenMaxLiquidity, p as WsTokenMetadata, d as WsTokenStat, i as WsTokenSupply, m as WsTokenTotalLiquidity, t as WsTradeActivity, f as WsWalletBalance, g as WsWalletPnl, u as WsWalletTokenPnl, fL as calculatePnl, g9 as claimRedpacket, gT as createEndpoint, g8 as createRedpacket, ej as createToken, gW as deleteEndpoint, A as get, ex as getActivities, gD as getAddressRisk, fV as getBalanceUpdates, eO as getCandles, gb as getClaims, gd as getClaimsByAddress, eW as getCreation, e_ as getDevTokens, fu as getDexpool, fv as getDexpoolSnapshots, gV as getEndpoint, gX as getEndpointSecret, fB as getFinalStretchTokens, ec as getGasLimit, eb as getGasPrice, eM as getHolders, eN as getHoldersMulti, fy as getHotTokens, e7 as getLatestBlock, eS as getMarketData, eT as getMarketDataMulti, eH as getMetadata, eI as getMetadataMulti, fC as getMigratedTokens, eX as getMintAndBurn, fM as getNetWorth, fO as getNetWorthChart, fP as getNetWorthDetails, fI as getNetWorthSummary, fz as getNewTokens, eQ as getPairCandles, fQ as getPnl, fS as getPnlByToken, fJ as getPnlByWallet, fR as getPnlDetails, eP as getPoolCandles, eJ as getPools, eV as getPriceByTime, eU as getPrices, ga as getRedpacket, gc as getRedpackets, ge as getRedpacketsByAddress, eZ as getSecurity, eK as getStats, eL as getStatsMulti, fA as getStocksTokens, e6 as getSupportedBlockchains, eG as getToken, f0 as getTokenLiquiditySnapshots, e$ as getTokenTraders, f2 as getTokenTransferTotal, f1 as getTokenTransfers, eF as getTokens, fN as getTokensBalance, eR as getTopHolders, ey as getTopTraders, ez as getTraderGainersLosers, ew as getTrades, gt as getTransferAlerts, gs as getTransferDirectExposure, gu as getTransferNetworkIdentifications, gr as getTransferSummary, fK as getWalletFirstTx, fU as getWalletTransferTotal, fT as getWalletTransfers, gz as getWithdrawalAddressIdentifications, gy as getWithdrawalAlerts, gx as getWithdrawalDirectExposure, gB as getWithdrawalFraudAssessment, gA as getWithdrawalNetworkIdentifications, gw as getWithdrawalSummary, ek as listDex, gS as listEndpoints, eY as listToken, eq as moonshotCreateToken, er as moonshotSubmitCreateToken, e4 as presign, eu as pumpfunCreateToken, ei as quote, gf as redpacketSend, gC as registerAddress, gq as registerTransfer, gv as registerWithdrawal, gY as rotateEndpointSecret, eh as route, eE as search, ea as send, B as streaming, eg as swap, gU as updateEndpoint, go as watchlistAdd } from './chainstream-B9uaC_fe.cjs';
|
|
2
2
|
export { CEL_FIELD_MAPPINGS, FieldMapping, MethodFieldMappings, SubscriptionMethod, getAvailableFields, getFieldMappings, replaceFilterFields } from './stream/index.cjs';
|
|
3
3
|
import 'axios';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { bJ as AddressExposure, bK as AddressRiskResponseDTO, bv as AlertDetail, bF as AlteryaIdentification, b9 as BalanceChangeType, b8 as BalanceTokenType, ba as BalanceUpdateDTO, bb as BalanceUpdatePage, I as BlockchainDTO, L as BlockchainLatestBlockDTO, b7 as BooleanResultDTO, b6 as CalculatePnlInput, eU as CalculatePnlResult, aP as Candle, bi as Chain, C as ChainStreamClient, y as ChainStreamClientOptions, z as ChainStreamRequestContext, K as ChainSymbol, bC as ChainalysisAddressIdentification, bg as ClaimRedPacketInput, bf as ClaimRedPacketInputChain, f3 as ClaimRedpacketResult, bT as CreateEndpointInput, bR as CreateEndpointInputChannelsItem, bS as CreateEndpointInputMetadata, fM as CreateEndpointResult, bd as CreateRedPacketInput, bc as CreateRedPacketInputChain, be as CreateRedPacketReply, f2 as CreateRedpacketResult, a7 as CreateTokenInput, a5 as CreateTokenInputDex, a6 as CreateTokenInputExtra, a8 as CreateTokenReply, dy as CreateTokenResult, fP as DeleteEndpointResult, aW as DevTokenDTO, a9 as DexDTO, aa as DexPage, aB as DexPoolDTO, aA as DexPoolDTOLiquidityModel, ay as DexPoolDTOType, az as DexPoolDTOVersion, aK as DexPoolPage, b1 as DexPoolSnapshotDTO, b2 as DexPoolSnapshotPage, ax as DexPoolTokenLiquidity, b0 as DexPoolTokenSnapshotDTO, a4 as DexQuoteResponse, bt as DirectExposureDetail, bO as EndpointListResponse, bQ as EndpointOperationResponse, bN as EndpointResponse, bL as EndpointResponseChannelsItem, bM as EndpointResponseMetadata, bP as EndpointSecretResponse, R as EstimateGasLimitInput, V as EstimateGasLimitResponse, aI as FilterCondition, aH as FilterConditionField, Q as GasPriceResponse, c5 as GetActivitiesDirection, c4 as GetActivitiesParams, dK as GetActivitiesResult, c6 as GetActivitiesType, fD as GetAddressRiskResult, d4 as GetBalanceParams, eT as GetBalanceResult, d5 as GetBalanceUpdatesParams, eV as GetBalanceUpdatesResult, ct as GetCandlesParams, ej as GetCandlesResult, d9 as GetClaimsByAddressParams, f7 as GetClaimsByAddressResult, d6 as GetClaimsParams, f5 as GetClaimsResult, er as GetCreationResult, ev as GetDevTokensResult, eA as GetDexpoolResult, cK as GetDexpoolSnapshotsParams, eB as GetDexpoolSnapshotsResult, fO as GetEndpointResult, fQ as GetEndpointSecretResult, cX as GetFinalStretchTokensParams, eK as GetFinalStretchTokensResult, cY as GetFinalStretchTokensSortBy, cZ as GetFinalStretchTokensSortDirection, c_ as GetFinalStretchTokensTag, dp as GetGasLimitResult, dn as GetGasPriceResult, cr as GetHoldersDirection, cs as GetHoldersMultiParams, ei as GetHoldersMultiResult, cq as GetHoldersParams, eh as GetHoldersResult, cL as GetHotTokensParams, eH as GetHotTokensResult, cM as GetHotTokensSortBy, cN as GetHotTokensSortDirection, cO as GetHotTokensTag, di as GetLatestBlockResult, cx as GetMarketDataMulti200, cw as GetMarketDataMultiParams, eo as GetMarketDataMultiResult, en as GetMarketDataResult, cj as GetMetadataMulti200, ci as GetMetadataMultiParams, ed as GetMetadataMultiResult, ec as GetMetadataResult, c$ as GetMigratedTokensParams, eL as GetMigratedTokensResult, d0 as GetMigratedTokensSortBy, d1 as GetMigratedTokensSortDirection, d2 as GetMigratedTokensTag, cC as GetMintAndBurnDirection, cB as GetMintAndBurnParams, es as GetMintAndBurnResult, cD as GetMintAndBurnType, cP as GetNewTokensParams, eI as GetNewTokensResult, cQ as GetNewTokensSortBy, cR as GetNewTokensSortDirection, cS as GetNewTokensTag, cv as GetPairCandlesParams, el as GetPairCandlesResult, d3 as GetPnlParams, eR as GetPnlResult, eS as GetPnlStatsResult, cu as GetPoolCandlesParams, ek as GetPoolCandlesResult, cl as GetPoolsDirection, ck as GetPoolsParams, ee as GetPoolsResult, cm as GetPoolsSortBy, cn as GetPoolsSortDirection, cA as GetPriceByTimeParams, eq as GetPriceByTimeResult, cz as GetPricesDirection, cy as GetPricesParams, ep as GetPricesResult, f4 as GetRedpacketResult, da as GetRedpacketsByAddressParams, f8 as GetRedpacketsByAddressResult, d8 as GetRedpacketsChain, d7 as GetRedpacketsParams, f6 as GetRedpacketsResult, G as GetResult, cI as GetSecurity200, eu as GetSecurityResult, cp as GetStatsMulti200, co as GetStatsMultiParams, eg as GetStatsMultiResult, ef as GetStatsResult, cT as GetStocksTokensParams, eJ as GetStocksTokensResult, cU as GetStocksTokensSortBy, cV as GetStocksTokensSortDirection, cW as GetStocksTokensTag, dh as GetSupportedBlockchainsResult, cJ as GetTokenLiquiditySnapshotsParams, ex as GetTokenLiquiditySnapshotsResult, eb as GetTokenResult, ew as GetTokenTradersResult, cf as GetTokensParams, ea as GetTokensResult, cg as GetTokensSortBy, ch as GetTokensSortDirection, em as GetTopHoldersResult, c8 as GetTopTradersDirection, c7 as GetTopTradersParams, dL as GetTopTradersResult, cb as GetTopTradersSortBy, ca as GetTopTradersSortType, c9 as GetTopTradersTimeFrame, c2 as GetTradesDirection, c1 as GetTradesParams, dJ as GetTradesResult, c3 as GetTradesType, ft as GetTransferAlertsResult, fs as GetTransferDirectExposureResult, fu as GetTransferNetworkIdentificationsResult, fr as GetTransferSummaryResult, fz as GetWithdrawalAddressIdentificationsResult, fy as GetWithdrawalAlertsResult, fx as GetWithdrawalDirectExposureResult, fB as GetWithdrawalFraudAssessmentResult, fA as GetWithdrawalNetworkIdentificationsResult, fw as GetWithdrawalSummaryResult, E as JobDTO, J as JobDTOResult, H as JobStreamingDTO, F as JobStreamingDTOData, br as KYTRegisterTransferRequest, bq as KYTRegisterTransferRequestDirection, bp as KYTRegisterTransferRequestNetwork, bA as KYTRegisterWithdrawalRequest, bz as KYTRegisterWithdrawalRequestNetwork, ac as Link, ab as LinkLabel, b$ as ListDexParams, dz as ListDexResult, dc as ListEndpointsOrder, db as ListEndpointsParams, fL as ListEndpointsResult, cF as ListTokenDirection, cE as ListTokenParams, et as ListTokenResult, cG as ListTokenSort, cH as ListTokenSortBy, af as MoonshotCreateTokenInput, ad as MoonshotCreateTokenInputDex, ae as MoonshotCreateTokenInputMigrationDex, ah as MoonshotCreateTokenReply, ag as MoonshotCreateTokenReplyExtra, dC as MoonshotCreateTokenResult, c0 as MoonshotSubmitCreateToken200, aj as MoonshotSubmitCreateTokenInput, ai as MoonshotSubmitCreateTokenInputExtra, dD as MoonshotSubmitCreateTokenResult, bx as NetworkIdentificationOrg, bE as OnChainActivity, de as PresignResult, aO as PriceType, am as PumpCreateTokenInput, ak as PumpCreateTokenInputDex, al as PumpCreateTokenInputMigrationDex, ao as PumpCreateTokenReply, an as PumpCreateTokenReplyExtra, dF as PumpfunCreateTokenResult, b_ as QuoteDex, bZ as QuoteParams, dx as QuoteResult, bk as RedPacketClaimDTO, bl as RedPacketClaimsPage, bj as RedPacketDTO, bh as RedPacketReply, bn as RedPacketSendTxInput, bo as RedPacketSendTxResponse, bm as RedPacketsPage, f9 as RedpacketSendResult, bH as RegisterAddressRequest, bI as RegisterAddressResponseDTO, fC as RegisterAddressResult, fq as RegisterTransferResult, fv as RegisterWithdrawalResult, aN as Resolution, fR as RotateEndpointSecretResult, dw as RouteResult, cc as SearchParams, e9 as SearchResult, cd as SearchSort, ce as SearchSortBy, dm as SendResult, O as SendTxInput, N as SendTxInputOptions, M as SendTxInputSubmitType, P as SendTxResponse, S as StreamApi, D as StreamingResult, Z as SwapInput, X as SwapInputDex, Y as SwapInputSwapMode, _ as SwapReply, dv as SwapResult, a1 as SwapRouteInput, $ as SwapRouteInputDex, a0 as SwapRouteInputSwapMode, a3 as SwapRouteResponse, a2 as SwapRouteResponseRouteInfo, aE as Token, aT as TokenCreationDTO, aS as TokenCreationDTOType, aU as TokenCreationPage, at as TokenCreatorsDTO, aD as TokenExtension, au as TokenExtraDTO, aL as TokenHolder, aM as TokenHolderPage, a_ as TokenLiquiditySnapshotDTO, a$ as TokenLiquiditySnapshotPage, aV as TokenListPage, aC as TokenMarketData, aJ as TokenMetadata, aG as TokenPage, aF as TokenPageCountsByProtocols, aQ as TokenPriceDTO, aR as TokenPricePage, T as TokenProvider, av as TokenSocialMediasDTO, aw as TokenStat, aZ as TokenTrader, aY as TokenTraderOnchainCreatedAt, aX as TokenTraderTag, ar as TopTradersDTO, as as TopTradersPage, ap as TradeDetailDTO, bY as TradeEvent, aq as TradePage, bX as TradeType, bw as TransferAlertsResponseDTO, bs as TransferBaseResponseDTO, bu as TransferDirectExposureResponseDTO, by as TransferNetworkIdentificationsResponseDTO, U as Unsubscribable, bW as UpdateEndpointInput, bU as UpdateEndpointInputChannelsItem, bV as UpdateEndpointInputMetadata, fN as UpdateEndpointResult, b4 as WalletBalanceDetailDTO, b5 as WalletBalancesDTO, b3 as WalletPnlDTO, fb as WatchlistAddResult, bD as WithdrawalAddressIdentificationsResponseDTO, bB as WithdrawalBaseResponseDTO, bG as WithdrawalFraudAssessmentResponseDTO, r as WsCandle, a as WsChannelType, w as WsDex, j as WsDexPoolBalance, n as WsDexProtocol, b as WsMetricType, h as WsNewToken, s as WsPriceType, x as WsRankingTokenList, v as WsRankingType, q as WsSocialMedia, c as WsTokenActivity, W as WsTokenActivityType, o as WsTokenBondingCurve, e as WsTokenHolder, k as WsTokenLiquidity, l as WsTokenMaxLiquidity, p as WsTokenMetadata, d as WsTokenStat, i as WsTokenSupply, m as WsTokenTotalLiquidity, t as WsTradeActivity, f as WsWalletBalance, g as WsWalletPnl, u as WsWalletTokenPnl, eP as calculatePnl, eX as claimRedpacket, fF as createEndpoint, eW as createRedpacket, dt as createToken, fI as deleteEndpoint, A as get, dH as getActivities, fp as getAddressRisk, eO as getBalance, eQ as getBalanceUpdates, dW as getCandles, eZ as getClaims, e$ as getClaimsByAddress, e2 as getCreation, e6 as getDevTokens, ey as getDexpool, ez as getDexpoolSnapshots, fH as getEndpoint, fJ as getEndpointSecret, eF as getFinalStretchTokens, dl as getGasLimit, dk as getGasPrice, dU as getHolders, dV as getHoldersMulti, eC as getHotTokens, dg as getLatestBlock, d_ as getMarketData, d$ as getMarketDataMulti, dP as getMetadata, dQ as getMetadataMulti, eG as getMigratedTokens, e3 as getMintAndBurn, eD as getNewTokens, dY as getPairCandles, eM as getPnl, eN as getPnlStats, dX as getPoolCandles, dR as getPools, e1 as getPriceByTime, e0 as getPrices, eY as getRedpacket, e_ as getRedpackets, f0 as getRedpacketsByAddress, e5 as getSecurity, dS as getStats, dT as getStatsMulti, eE as getStocksTokens, df as getSupportedBlockchains, dO as getToken, e8 as getTokenLiquiditySnapshots, e7 as getTokenTraders, dN as getTokens, dZ as getTopHolders, dI as getTopTraders, dG as getTrades, ff as getTransferAlerts, fe as getTransferDirectExposure, fg as getTransferNetworkIdentifications, fd as getTransferSummary, fl as getWithdrawalAddressIdentifications, fk as getWithdrawalAlerts, fj as getWithdrawalDirectExposure, fn as getWithdrawalFraudAssessment, fm as getWithdrawalNetworkIdentifications, fi as getWithdrawalSummary, du as listDex, fE as listEndpoints, e4 as listToken, dA as moonshotCreateToken, dB as moonshotSubmitCreateToken, dd as presign, dE as pumpfunCreateToken, ds as quote, f1 as redpacketSend, fo as registerAddress, fc as registerTransfer, fh as registerWithdrawal, fK as rotateEndpointSecret, dr as route, dM as search, dj as send, B as streaming, dq as swap, fG as updateEndpoint, fa as watchlistAdd } from './chainstream-kxqV2g1Q.js';
|
|
1
|
+
export { c6 as AddressExposure, c7 as AddressRiskResponseDTO, bU as AlertDetail, c2 as AlteryaIdentification, by as BalanceChangeType, bx as BalanceTokenType, bz as BalanceUpdateDTO, bA as BalanceUpdatePage, I as BlockchainDTO, L as BlockchainLatestBlockDTO, bj as BooleanResultDTO, bi as CalculatePnlInput, fZ as CalculatePnlResult, aT as Candle, bH as Chain, C as ChainStreamClient, y as ChainStreamClientOptions, z as ChainStreamRequestContext, K as ChainSymbol, b$ as ChainalysisAddressIdentification, bF as ClaimRedPacketInput, bE as ClaimRedPacketInputChain, gh as ClaimRedpacketResult, cg as CreateEndpointInput, ce as CreateEndpointInputChannelsItem, cf as CreateEndpointInputMetadata, g_ as CreateEndpointResult, bC as CreateRedPacketInput, bB as CreateRedPacketInputChain, bD as CreateRedPacketReply, gg as CreateRedpacketResult, a7 as CreateTokenInput, a5 as CreateTokenInputDex, a6 as CreateTokenInputExtra, a8 as CreateTokenReply, eo as CreateTokenResult, h1 as DeleteEndpointResult, a_ as DevTokenDTO, a9 as DexDTO, aa as DexPage, aF as DexPoolDTO, aE as DexPoolDTOLiquidityModel, aC as DexPoolDTOType, aD as DexPoolDTOVersion, aO as DexPoolPage, b9 as DexPoolSnapshotDTO, ba as DexPoolSnapshotPage, aB as DexPoolTokenLiquidity, b8 as DexPoolTokenSnapshotDTO, a4 as DexQuoteResponse, bS as DirectExposureDetail, cb as EndpointListResponse, cd as EndpointOperationResponse, ca as EndpointResponse, c8 as EndpointResponseChannelsItem, c9 as EndpointResponseMetadata, cc as EndpointSecretResponse, R as EstimateGasLimitInput, V as EstimateGasLimitResponse, aM as FilterCondition, aL as FilterConditionField, Q as GasPriceResponse, cu as GetActivitiesDirection, ct as GetActivitiesParams, eB as GetActivitiesResult, cv as GetActivitiesType, gR as GetAddressRiskResult, dY as GetBalanceUpdatesDirection, dX as GetBalanceUpdatesParams, g7 as GetBalanceUpdatesResult, cW as GetCandlesParams, fd as GetCandlesResult, e0 as GetClaimsByAddressParams, gl as GetClaimsByAddressResult, dZ as GetClaimsParams, gj as GetClaimsResult, fl as GetCreationResult, fp as GetDevTokensResult, fw as GetDexpoolResult, dh as GetDexpoolSnapshotsDirection, dg as GetDexpoolSnapshotsParams, fx as GetDexpoolSnapshotsResult, h0 as GetEndpointResult, h2 as GetEndpointSecretResult, dv as GetFinalStretchTokensParams, fG as GetFinalStretchTokensResult, dw as GetFinalStretchTokensSortBy, dx as GetFinalStretchTokensSortDirection, dy as GetFinalStretchTokensTag, ef as GetGasLimitResult, ee as GetGasPriceResult, cU as GetHoldersDirection, cV as GetHoldersMultiParams, fc as GetHoldersMultiResult, cT as GetHoldersParams, fb as GetHoldersResult, di as GetHotTokensParams, fD as GetHotTokensResult, dj as GetHotTokensSortBy, dk as GetHotTokensSortDirection, dl as GetHotTokensTag, e9 as GetLatestBlockResult, c_ as GetMarketDataMulti200, cZ as GetMarketDataMultiParams, fi as GetMarketDataMultiResult, fh as GetMarketDataResult, cM as GetMetadataMulti200, cL as GetMetadataMultiParams, f7 as GetMetadataMultiResult, f6 as GetMetadataResult, dz as GetMigratedTokensParams, fH as GetMigratedTokensResult, dA as GetMigratedTokensSortBy, dB as GetMigratedTokensSortDirection, dC as GetMigratedTokensTag, d3 as GetMintAndBurnDirection, d2 as GetMintAndBurnParams, fm as GetMintAndBurnResult, d4 as GetMintAndBurnType, dL as GetNetWorthChartParams, g0 as GetNetWorthChartResult, dN as GetNetWorthDetailsDirection, dM as GetNetWorthDetailsParams, g1 as GetNetWorthDetailsResult, dI as GetNetWorthDirection, dH as GetNetWorthParams, f_ as GetNetWorthResult, dD as GetNetWorthSummaryParams, fW as GetNetWorthSummaryResult, dm as GetNewTokensParams, fE as GetNewTokensResult, dn as GetNewTokensSortBy, dp as GetNewTokensSortDirection, dq as GetNewTokensTag, cY as GetPairCandlesParams, ff as GetPairCandlesResult, dS as GetPnlByTokenDirection, dR as GetPnlByTokenParams, g4 as GetPnlByTokenResult, dF as GetPnlByWalletDirection, dE as GetPnlByWalletParams, fX as GetPnlByWalletResult, dQ as GetPnlDetailsDirection, dP as GetPnlDetailsParams, g3 as GetPnlDetailsResult, dO as GetPnlParams, g2 as GetPnlResult, cX as GetPoolCandlesParams, fe as GetPoolCandlesResult, cO as GetPoolsDirection, cN as GetPoolsParams, f8 as GetPoolsResult, cP as GetPoolsSortBy, cQ as GetPoolsSortDirection, d1 as GetPriceByTimeParams, fk as GetPriceByTimeResult, d0 as GetPricesDirection, c$ as GetPricesParams, fj as GetPricesResult, gi as GetRedpacketResult, e1 as GetRedpacketsByAddressParams, gm as GetRedpacketsByAddressResult, d$ as GetRedpacketsChain, d_ as GetRedpacketsParams, gk as GetRedpacketsResult, G as GetResult, d9 as GetSecurity200, fo as GetSecurityResult, cS as GetStatsMulti200, cR as GetStatsMultiParams, fa as GetStatsMultiResult, f9 as GetStatsResult, dr as GetStocksTokensParams, fF as GetStocksTokensResult, ds as GetStocksTokensSortBy, dt as GetStocksTokensSortDirection, du as GetStocksTokensTag, e8 as GetSupportedBlockchainsResult, db as GetTokenLiquiditySnapshotsDirection, da as GetTokenLiquiditySnapshotsParams, fr as GetTokenLiquiditySnapshotsResult, f5 as GetTokenResult, fq as GetTokenTradersResult, df as GetTokenTransferTotalDirection, de as GetTokenTransferTotalParams, ft as GetTokenTransferTotalResult, dd as GetTokenTransfersDirection, dc as GetTokenTransfersParams, fs as GetTokenTransfersResult, dK as GetTokensBalanceDirection, dJ as GetTokensBalanceParams, f$ as GetTokensBalanceResult, cI as GetTokensParams, f4 as GetTokensResult, cJ as GetTokensSortBy, cK as GetTokensSortDirection, fg as GetTopHoldersResult, cx as GetTopTradersDirection, cw as GetTopTradersParams, eC as GetTopTradersResult, cA as GetTopTradersSortBy, cz as GetTopTradersSortType, cy as GetTopTradersTimeFrame, cC as GetTraderGainersLosersDirection, cB as GetTraderGainersLosersParams, eD as GetTraderGainersLosersResult, cD as GetTraderGainersLosersSortType, cr as GetTradesDirection, cq as GetTradesParams, eA as GetTradesResult, cs as GetTradesType, gH as GetTransferAlertsResult, gG as GetTransferDirectExposureResult, gI as GetTransferNetworkIdentificationsResult, gF as GetTransferSummaryResult, dG as GetWalletFirstTxParams, fY as GetWalletFirstTxResult, dW as GetWalletTransferTotalDirection, dV as GetWalletTransferTotalParams, g6 as GetWalletTransferTotalResult, dU as GetWalletTransfersDirection, dT as GetWalletTransfersParams, g5 as GetWalletTransfersResult, gN as GetWithdrawalAddressIdentificationsResult, gM as GetWithdrawalAlertsResult, gL as GetWithdrawalDirectExposureResult, gP as GetWithdrawalFraudAssessmentResult, gO as GetWithdrawalNetworkIdentificationsResult, gK as GetWithdrawalSummaryResult, E as JobDTO, J as JobDTOResult, H as JobStreamingDTO, F as JobStreamingDTOData, bQ as KYTRegisterTransferRequest, bP as KYTRegisterTransferRequestDirection, bO as KYTRegisterTransferRequestNetwork, bZ as KYTRegisterWithdrawalRequest, bY as KYTRegisterWithdrawalRequestNetwork, ac as Link, ab as LinkLabel, co as ListDexParams, ep as ListDexResult, e3 as ListEndpointsOrder, e2 as ListEndpointsParams, gZ as ListEndpointsResult, d6 as ListTokenDirection, d5 as ListTokenParams, fn as ListTokenResult, d7 as ListTokenSort, d8 as ListTokenSortBy, af as MoonshotCreateTokenInput, ad as MoonshotCreateTokenInputDex, ae as MoonshotCreateTokenInputMigrationDex, ah as MoonshotCreateTokenReply, ag as MoonshotCreateTokenReplyExtra, es as MoonshotCreateTokenResult, cp as MoonshotSubmitCreateToken200, aj as MoonshotSubmitCreateTokenInput, ai as MoonshotSubmitCreateTokenInputExtra, et as MoonshotSubmitCreateTokenResult, bW as NetworkIdentificationOrg, c1 as OnChainActivity, be as PnlDetailItemDTO, bd as PnlDetailSummaryDTO, bf as PnlDetailsPage, bq as PnlResolution, e5 as PresignResult, aS as PriceType, am as PumpCreateTokenInput, ak as PumpCreateTokenInputDex, al as PumpCreateTokenInputMigrationDex, ao as PumpCreateTokenReply, an as PumpCreateTokenReplyExtra, ev as PumpfunCreateTokenResult, cn as QuoteDex, cm as QuoteParams, en as QuoteResult, bJ as RedPacketClaimDTO, bK as RedPacketClaimsPage, bI as RedPacketDTO, bG as RedPacketReply, bM as RedPacketSendTxInput, bN as RedPacketSendTxResponse, bL as RedPacketsPage, gn as RedpacketSendResult, c4 as RegisterAddressRequest, c5 as RegisterAddressResponseDTO, gQ as RegisterAddressResult, gE as RegisterTransferResult, gJ as RegisterWithdrawalResult, aR as Resolution, h3 as RotateEndpointSecretResult, em as RouteResult, cF as SearchDirection, cE as SearchParams, f3 as SearchResult, cG as SearchSort, cH as SearchSortBy, ed as SendResult, O as SendTxInput, N as SendTxInputOptions, M as SendTxInputSubmitType, P as SendTxResponse, S as StreamApi, D as StreamingResult, Z as SwapInput, X as SwapInputDex, Y as SwapInputSwapMode, _ as SwapReply, el as SwapResult, a1 as SwapRouteInput, $ as SwapRouteInputDex, a0 as SwapRouteInputSwapMode, a3 as SwapRouteResponse, a2 as SwapRouteResponseRouteInfo, aI as Token, aX as TokenCreationDTO, aW as TokenCreationDTOType, aY as TokenCreationPage, aw as TokenCreatorsDTO, aH as TokenExtension, ax as TokenExtraDTO, aP as TokenHolder, aQ as TokenHolderPage, b2 as TokenLiquiditySnapshotDTO, b3 as TokenLiquiditySnapshotPage, aZ as TokenListPage, aG as TokenMarketData, aN as TokenMetadata, aK as TokenPage, aJ as TokenPageCountsByProtocols, aU as TokenPriceDTO, aV as TokenPricePage, T as TokenProvider, ay as TokenSocialMediasDTO, aA as TokenStat, az as TokenStatPeriods, b1 as TokenTrader, b0 as TokenTraderOnchainCreatedAt, a$ as TokenTraderTag, b5 as TokenTransferItemDTO, b4 as TokenTransferItemDTOFlow, b6 as TokenTransferPage, b7 as TokenTransferTotalDTO, bm as TokensBalancePage, ar as TopTradersDTO, as as TopTradersPage, ap as TradeDetailDTO, cl as TradeEvent, aq as TradePage, ck as TradeType, au as TraderGainersLosersItemDTO, av as TraderGainersLosersPage, at as TraderPnlResolution, bv as TransactionHistoryItemDTO, bu as TransactionHistoryItemDTOMainAction, bt as TransactionHistoryItemDTOStatus, bw as TransactionHistoryPage, bV as TransferAlertsResponseDTO, bR as TransferBaseResponseDTO, bT as TransferDirectExposureResponseDTO, bX as TransferNetworkIdentificationsResponseDTO, U as Unsubscribable, cj as UpdateEndpointInput, ch as UpdateEndpointInputChannelsItem, ci as UpdateEndpointInputMetadata, g$ as UpdateEndpointResult, bh as WalletFirstTxDTO, bg as WalletFirstTxDTOWallets, bo as WalletNetWorthChartDTO, bp as WalletNetWorthDetailsPage, bn as WalletNetWorthHistoryItemDTO, bk as WalletNetWorthItemDTO, bl as WalletNetWorthPage, bc as WalletNetWorthSummaryDTO, bb as WalletNetWorthSummaryDTOWallets, bs as WalletPnlSummaryDTO, br as WalletPnlSummaryDTOResolution, gp as WatchlistAddResult, c0 as WithdrawalAddressIdentificationsResponseDTO, b_ as WithdrawalBaseResponseDTO, c3 as WithdrawalFraudAssessmentResponseDTO, r as WsCandle, a as WsChannelType, w as WsDex, j as WsDexPoolBalance, n as WsDexProtocol, b as WsMetricType, h as WsNewToken, s as WsPriceType, x as WsRankingTokenList, v as WsRankingType, q as WsSocialMedia, c as WsTokenActivity, W as WsTokenActivityType, o as WsTokenBondingCurve, e as WsTokenHolder, k as WsTokenLiquidity, l as WsTokenMaxLiquidity, p as WsTokenMetadata, d as WsTokenStat, i as WsTokenSupply, m as WsTokenTotalLiquidity, t as WsTradeActivity, f as WsWalletBalance, g as WsWalletPnl, u as WsWalletTokenPnl, fL as calculatePnl, g9 as claimRedpacket, gT as createEndpoint, g8 as createRedpacket, ej as createToken, gW as deleteEndpoint, A as get, ex as getActivities, gD as getAddressRisk, fV as getBalanceUpdates, eO as getCandles, gb as getClaims, gd as getClaimsByAddress, eW as getCreation, e_ as getDevTokens, fu as getDexpool, fv as getDexpoolSnapshots, gV as getEndpoint, gX as getEndpointSecret, fB as getFinalStretchTokens, ec as getGasLimit, eb as getGasPrice, eM as getHolders, eN as getHoldersMulti, fy as getHotTokens, e7 as getLatestBlock, eS as getMarketData, eT as getMarketDataMulti, eH as getMetadata, eI as getMetadataMulti, fC as getMigratedTokens, eX as getMintAndBurn, fM as getNetWorth, fO as getNetWorthChart, fP as getNetWorthDetails, fI as getNetWorthSummary, fz as getNewTokens, eQ as getPairCandles, fQ as getPnl, fS as getPnlByToken, fJ as getPnlByWallet, fR as getPnlDetails, eP as getPoolCandles, eJ as getPools, eV as getPriceByTime, eU as getPrices, ga as getRedpacket, gc as getRedpackets, ge as getRedpacketsByAddress, eZ as getSecurity, eK as getStats, eL as getStatsMulti, fA as getStocksTokens, e6 as getSupportedBlockchains, eG as getToken, f0 as getTokenLiquiditySnapshots, e$ as getTokenTraders, f2 as getTokenTransferTotal, f1 as getTokenTransfers, eF as getTokens, fN as getTokensBalance, eR as getTopHolders, ey as getTopTraders, ez as getTraderGainersLosers, ew as getTrades, gt as getTransferAlerts, gs as getTransferDirectExposure, gu as getTransferNetworkIdentifications, gr as getTransferSummary, fK as getWalletFirstTx, fU as getWalletTransferTotal, fT as getWalletTransfers, gz as getWithdrawalAddressIdentifications, gy as getWithdrawalAlerts, gx as getWithdrawalDirectExposure, gB as getWithdrawalFraudAssessment, gA as getWithdrawalNetworkIdentifications, gw as getWithdrawalSummary, ek as listDex, gS as listEndpoints, eY as listToken, eq as moonshotCreateToken, er as moonshotSubmitCreateToken, e4 as presign, eu as pumpfunCreateToken, ei as quote, gf as redpacketSend, gC as registerAddress, gq as registerTransfer, gv as registerWithdrawal, gY as rotateEndpointSecret, eh as route, eE as search, ea as send, B as streaming, eg as swap, gU as updateEndpoint, go as watchlistAdd } from './chainstream-B9uaC_fe.js';
|
|
2
2
|
export { CEL_FIELD_MAPPINGS, FieldMapping, MethodFieldMappings, SubscriptionMethod, getAvailableFields, getFieldMappings, replaceFilterFields } from './stream/index.js';
|
|
3
3
|
import 'axios';
|
package/dist/index.mjs
CHANGED
|
@@ -639,6 +639,35 @@ var StreamApi = class {
|
|
|
639
639
|
"subscribePairCandles"
|
|
640
640
|
);
|
|
641
641
|
}
|
|
642
|
+
/**
|
|
643
|
+
* Parse token stat data for a specific time window
|
|
644
|
+
* @param data - Raw WebSocket data
|
|
645
|
+
* @param suffix - Time window suffix (e.g., "1m", "5m", "1h", "1W", "1M")
|
|
646
|
+
*/
|
|
647
|
+
parseTokenStatWindow(data, suffix) {
|
|
648
|
+
return {
|
|
649
|
+
[`buys${suffix}`]: data[`b${suffix}`],
|
|
650
|
+
[`sells${suffix}`]: data[`s${suffix}`],
|
|
651
|
+
[`buyers${suffix}`]: data[`be${suffix}`],
|
|
652
|
+
[`sellers${suffix}`]: data[`se${suffix}`],
|
|
653
|
+
[`buyVolumeInUsd${suffix}`]: this.formatScientificNotation(data[`bviu${suffix}`]),
|
|
654
|
+
[`sellVolumeInUsd${suffix}`]: this.formatScientificNotation(data[`sviu${suffix}`]),
|
|
655
|
+
[`price${suffix}`]: this.formatScientificNotation(data[`p${suffix}`]),
|
|
656
|
+
[`openInUsd${suffix}`]: this.formatScientificNotation(data[`oiu${suffix}`]),
|
|
657
|
+
[`closeInUsd${suffix}`]: this.formatScientificNotation(data[`ciu${suffix}`]),
|
|
658
|
+
[`volumeChangeRatio${suffix}`]: this.formatScientificNotation(data[`vpc${suffix}`]),
|
|
659
|
+
[`trades${suffix}`]: data[`tr${suffix}`],
|
|
660
|
+
[`dappProgramCount${suffix}`]: data[`dpc${suffix}`],
|
|
661
|
+
[`poolCount${suffix}`]: data[`pc${suffix}`],
|
|
662
|
+
[`liquidityInUsd${suffix}`]: this.formatScientificNotation(data[`liq${suffix}`]),
|
|
663
|
+
[`liquidityChangeRatio${suffix}`]: this.formatScientificNotation(data[`lpc${suffix}`])
|
|
664
|
+
};
|
|
665
|
+
}
|
|
666
|
+
/**
|
|
667
|
+
* Subscribe to token trade statistics
|
|
668
|
+
* Channel: dex-token-stats:{chain}_{tokenAddress}
|
|
669
|
+
* Time windows: 1m, 5m, 15m, 30m, 1h, 2h, 4h, 6h, 8h, 24h, 1W, 1M
|
|
670
|
+
*/
|
|
642
671
|
subscribeTokenStats({
|
|
643
672
|
chain,
|
|
644
673
|
tokenAddress,
|
|
@@ -646,76 +675,24 @@ var StreamApi = class {
|
|
|
646
675
|
filter
|
|
647
676
|
}) {
|
|
648
677
|
const channel = `dex-token-stats:${chain}_${tokenAddress}`;
|
|
678
|
+
const timeWindows = ["1m", "5m", "15m", "30m", "1h", "2h", "4h", "6h", "8h", "24h", "1W", "1M"];
|
|
649
679
|
return this.subscribe(
|
|
650
680
|
channel,
|
|
651
|
-
(data) =>
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
sellers5m: data.se5m,
|
|
667
|
-
buyVolumeInUsd5m: this.formatScientificNotation(data.bviu5m),
|
|
668
|
-
sellVolumeInUsd5m: this.formatScientificNotation(data.sviu5m),
|
|
669
|
-
price5m: this.formatScientificNotation(data.p5m),
|
|
670
|
-
openInUsd5m: this.formatScientificNotation(data.oiu5m),
|
|
671
|
-
closeInUsd5m: this.formatScientificNotation(data.ciu5m),
|
|
672
|
-
buys15m: data.b15m,
|
|
673
|
-
sells15m: data.s15m,
|
|
674
|
-
buyers15m: data.be15m,
|
|
675
|
-
sellers15m: data.se15m,
|
|
676
|
-
buyVolumeInUsd15m: this.formatScientificNotation(data.bviu15m),
|
|
677
|
-
sellVolumeInUsd15m: this.formatScientificNotation(data.sviu15m),
|
|
678
|
-
price15m: this.formatScientificNotation(data.p15m),
|
|
679
|
-
openInUsd15m: this.formatScientificNotation(data.oiu15m),
|
|
680
|
-
closeInUsd15m: this.formatScientificNotation(data.ciu15m),
|
|
681
|
-
buys30m: data.b30m,
|
|
682
|
-
sells30m: data.s30m,
|
|
683
|
-
buyers30m: data.be30m,
|
|
684
|
-
sellers30m: data.se30m,
|
|
685
|
-
buyVolumeInUsd30m: this.formatScientificNotation(data.bviu30m),
|
|
686
|
-
sellVolumeInUsd30m: this.formatScientificNotation(data.sviu30m),
|
|
687
|
-
price30m: this.formatScientificNotation(data.p30m),
|
|
688
|
-
openInUsd30m: this.formatScientificNotation(data.oiu30m),
|
|
689
|
-
closeInUsd30m: this.formatScientificNotation(data.ciu30m),
|
|
690
|
-
buys1h: data.b1h,
|
|
691
|
-
sells1h: data.s1h,
|
|
692
|
-
buyers1h: data.be1h,
|
|
693
|
-
sellers1h: data.se1h,
|
|
694
|
-
buyVolumeInUsd1h: this.formatScientificNotation(data.bviu1h),
|
|
695
|
-
sellVolumeInUsd1h: this.formatScientificNotation(data.sviu1h),
|
|
696
|
-
price1h: this.formatScientificNotation(data.p1h),
|
|
697
|
-
openInUsd1h: this.formatScientificNotation(data.oiu1h),
|
|
698
|
-
closeInUsd1h: this.formatScientificNotation(data.ciu1h),
|
|
699
|
-
buys4h: data.b4h,
|
|
700
|
-
sells4h: data.s4h,
|
|
701
|
-
buyers4h: data.be4h,
|
|
702
|
-
sellers4h: data.se4h,
|
|
703
|
-
buyVolumeInUsd4h: this.formatScientificNotation(data.bviu4h),
|
|
704
|
-
sellVolumeInUsd4h: this.formatScientificNotation(data.sviu4h),
|
|
705
|
-
price4h: this.formatScientificNotation(data.p4h),
|
|
706
|
-
openInUsd4h: this.formatScientificNotation(data.oiu4h),
|
|
707
|
-
closeInUsd4h: this.formatScientificNotation(data.ciu4h),
|
|
708
|
-
buys24h: data.b24h,
|
|
709
|
-
sells24h: data.s24h,
|
|
710
|
-
buyers24h: data.be24h,
|
|
711
|
-
sellers24h: data.se24h,
|
|
712
|
-
buyVolumeInUsd24h: this.formatScientificNotation(data.bviu24h),
|
|
713
|
-
sellVolumeInUsd24h: this.formatScientificNotation(data.sviu24h),
|
|
714
|
-
price24h: this.formatScientificNotation(data.p24h),
|
|
715
|
-
openInUsd24h: this.formatScientificNotation(data.oiu24h),
|
|
716
|
-
closeInUsd24h: this.formatScientificNotation(data.ciu24h),
|
|
717
|
-
price: this.formatScientificNotation(data.p)
|
|
718
|
-
}),
|
|
681
|
+
(data) => {
|
|
682
|
+
const windowData = timeWindows.reduce(
|
|
683
|
+
(acc, suffix) => ({
|
|
684
|
+
...acc,
|
|
685
|
+
...this.parseTokenStatWindow(data, suffix)
|
|
686
|
+
}),
|
|
687
|
+
{}
|
|
688
|
+
);
|
|
689
|
+
callback({
|
|
690
|
+
address: data.a,
|
|
691
|
+
timestamp: data.t,
|
|
692
|
+
price: this.formatScientificNotation(data.p),
|
|
693
|
+
...windowData
|
|
694
|
+
});
|
|
695
|
+
},
|
|
719
696
|
filter,
|
|
720
697
|
"subscribeTokenStats"
|
|
721
698
|
);
|
|
@@ -1966,6 +1943,8 @@ __export(token_exports, {
|
|
|
1966
1943
|
getToken: () => getToken,
|
|
1967
1944
|
getTokenLiquiditySnapshots: () => getTokenLiquiditySnapshots,
|
|
1968
1945
|
getTokenTraders: () => getTokenTraders,
|
|
1946
|
+
getTokenTransferTotal: () => getTokenTransferTotal,
|
|
1947
|
+
getTokenTransfers: () => getTokenTransfers,
|
|
1969
1948
|
getTokens: () => getTokens,
|
|
1970
1949
|
getTopHolders: () => getTopHolders,
|
|
1971
1950
|
listToken: () => listToken,
|
|
@@ -2121,12 +2100,25 @@ var getTokenLiquiditySnapshots = (chain, tokenAddress, params, options) => {
|
|
|
2121
2100
|
options
|
|
2122
2101
|
);
|
|
2123
2102
|
};
|
|
2103
|
+
var getTokenTransfers = (chain, tokenAddress, params, options) => {
|
|
2104
|
+
return chainstreamApiClient(
|
|
2105
|
+
{ url: `/v1/token/${chain}/${tokenAddress}/transfers`, method: "GET", params },
|
|
2106
|
+
options
|
|
2107
|
+
);
|
|
2108
|
+
};
|
|
2109
|
+
var getTokenTransferTotal = (chain, tokenAddress, params, options) => {
|
|
2110
|
+
return chainstreamApiClient(
|
|
2111
|
+
{ url: `/v1/token/${chain}/${tokenAddress}/transfer-total`, method: "GET", params },
|
|
2112
|
+
options
|
|
2113
|
+
);
|
|
2114
|
+
};
|
|
2124
2115
|
|
|
2125
2116
|
// src/openapi-client/generated/trade/trade.ts
|
|
2126
2117
|
var trade_exports = {};
|
|
2127
2118
|
__export(trade_exports, {
|
|
2128
2119
|
getActivities: () => getActivities,
|
|
2129
2120
|
getTopTraders: () => getTopTraders,
|
|
2121
|
+
getTraderGainersLosers: () => getTraderGainersLosers,
|
|
2130
2122
|
getTrades: () => getTrades
|
|
2131
2123
|
});
|
|
2132
2124
|
var getTrades = (chain, params, options) => {
|
|
@@ -2147,6 +2139,12 @@ var getTopTraders = (chain, params, options) => {
|
|
|
2147
2139
|
options
|
|
2148
2140
|
);
|
|
2149
2141
|
};
|
|
2142
|
+
var getTraderGainersLosers = (chain, params, options) => {
|
|
2143
|
+
return chainstreamApiClient(
|
|
2144
|
+
{ url: `/v1/trade/${chain}/trader-gainers-losers`, method: "GET", params },
|
|
2145
|
+
options
|
|
2146
|
+
);
|
|
2147
|
+
};
|
|
2150
2148
|
|
|
2151
2149
|
// src/openapi-client/generated/transaction/transaction.ts
|
|
2152
2150
|
var transaction_exports = {};
|
|
@@ -2188,26 +2186,35 @@ var getGasLimit = (chain, estimateGasLimitInput, options) => {
|
|
|
2188
2186
|
var wallet_exports = {};
|
|
2189
2187
|
__export(wallet_exports, {
|
|
2190
2188
|
calculatePnl: () => calculatePnl,
|
|
2191
|
-
getBalance: () => getBalance,
|
|
2192
2189
|
getBalanceUpdates: () => getBalanceUpdates,
|
|
2190
|
+
getNetWorth: () => getNetWorth,
|
|
2191
|
+
getNetWorthChart: () => getNetWorthChart,
|
|
2192
|
+
getNetWorthDetails: () => getNetWorthDetails,
|
|
2193
|
+
getNetWorthSummary: () => getNetWorthSummary,
|
|
2193
2194
|
getPnl: () => getPnl,
|
|
2194
|
-
|
|
2195
|
+
getPnlByToken: () => getPnlByToken,
|
|
2196
|
+
getPnlByWallet: () => getPnlByWallet,
|
|
2197
|
+
getPnlDetails: () => getPnlDetails,
|
|
2198
|
+
getTokensBalance: () => getTokensBalance,
|
|
2199
|
+
getWalletFirstTx: () => getWalletFirstTx,
|
|
2200
|
+
getWalletTransferTotal: () => getWalletTransferTotal,
|
|
2201
|
+
getWalletTransfers: () => getWalletTransfers
|
|
2195
2202
|
});
|
|
2196
|
-
var
|
|
2203
|
+
var getNetWorthSummary = (chain, params, options) => {
|
|
2197
2204
|
return chainstreamApiClient(
|
|
2198
|
-
{ url: `/v1/wallet/${chain}
|
|
2205
|
+
{ url: `/v1/wallet/${chain}/net-worth-summary`, method: "GET", params },
|
|
2199
2206
|
options
|
|
2200
2207
|
);
|
|
2201
2208
|
};
|
|
2202
|
-
var
|
|
2209
|
+
var getPnlByWallet = (chain, params, options) => {
|
|
2203
2210
|
return chainstreamApiClient(
|
|
2204
|
-
{ url: `/v1/wallet/${chain}
|
|
2211
|
+
{ url: `/v1/wallet/${chain}/pnl-by-wallet`, method: "GET", params },
|
|
2205
2212
|
options
|
|
2206
2213
|
);
|
|
2207
2214
|
};
|
|
2208
|
-
var
|
|
2215
|
+
var getWalletFirstTx = (chain, params, options) => {
|
|
2209
2216
|
return chainstreamApiClient(
|
|
2210
|
-
{ url: `/v1/wallet/${chain}
|
|
2217
|
+
{ url: `/v1/wallet/${chain}/first-tx`, method: "GET", params },
|
|
2211
2218
|
options
|
|
2212
2219
|
);
|
|
2213
2220
|
};
|
|
@@ -2222,6 +2229,60 @@ var calculatePnl = (chain, walletAddress, calculatePnlInput, options) => {
|
|
|
2222
2229
|
options
|
|
2223
2230
|
);
|
|
2224
2231
|
};
|
|
2232
|
+
var getNetWorth = (chain, walletAddress, params, options) => {
|
|
2233
|
+
return chainstreamApiClient(
|
|
2234
|
+
{ url: `/v1/wallet/${chain}/${walletAddress}/net-worth`, method: "GET", params },
|
|
2235
|
+
options
|
|
2236
|
+
);
|
|
2237
|
+
};
|
|
2238
|
+
var getTokensBalance = (chain, walletAddress, params, options) => {
|
|
2239
|
+
return chainstreamApiClient(
|
|
2240
|
+
{ url: `/v1/wallet/${chain}/${walletAddress}/tokens-balance`, method: "GET", params },
|
|
2241
|
+
options
|
|
2242
|
+
);
|
|
2243
|
+
};
|
|
2244
|
+
var getNetWorthChart = (chain, walletAddress, params, options) => {
|
|
2245
|
+
return chainstreamApiClient(
|
|
2246
|
+
{ url: `/v1/wallet/${chain}/${walletAddress}/net-worth-chart`, method: "GET", params },
|
|
2247
|
+
options
|
|
2248
|
+
);
|
|
2249
|
+
};
|
|
2250
|
+
var getNetWorthDetails = (chain, walletAddress, params, options) => {
|
|
2251
|
+
return chainstreamApiClient(
|
|
2252
|
+
{ url: `/v1/wallet/${chain}/${walletAddress}/net-worth-details`, method: "GET", params },
|
|
2253
|
+
options
|
|
2254
|
+
);
|
|
2255
|
+
};
|
|
2256
|
+
var getPnl = (chain, walletAddress, params, options) => {
|
|
2257
|
+
return chainstreamApiClient(
|
|
2258
|
+
{ url: `/v1/wallet/${chain}/${walletAddress}/pnl`, method: "GET", params },
|
|
2259
|
+
options
|
|
2260
|
+
);
|
|
2261
|
+
};
|
|
2262
|
+
var getPnlDetails = (chain, walletAddress, params, options) => {
|
|
2263
|
+
return chainstreamApiClient(
|
|
2264
|
+
{ url: `/v1/wallet/${chain}/${walletAddress}/pnl-details`, method: "GET", params },
|
|
2265
|
+
options
|
|
2266
|
+
);
|
|
2267
|
+
};
|
|
2268
|
+
var getPnlByToken = (chain, walletAddress, params, options) => {
|
|
2269
|
+
return chainstreamApiClient(
|
|
2270
|
+
{ url: `/v1/wallet/${chain}/${walletAddress}/pnl-by-token`, method: "GET", params },
|
|
2271
|
+
options
|
|
2272
|
+
);
|
|
2273
|
+
};
|
|
2274
|
+
var getWalletTransfers = (chain, walletAddress, params, options) => {
|
|
2275
|
+
return chainstreamApiClient(
|
|
2276
|
+
{ url: `/v1/wallet/${chain}/${walletAddress}/transfers`, method: "GET", params },
|
|
2277
|
+
options
|
|
2278
|
+
);
|
|
2279
|
+
};
|
|
2280
|
+
var getWalletTransferTotal = (chain, walletAddress, params, options) => {
|
|
2281
|
+
return chainstreamApiClient(
|
|
2282
|
+
{ url: `/v1/wallet/${chain}/${walletAddress}/transfer-total`, method: "GET", params },
|
|
2283
|
+
options
|
|
2284
|
+
);
|
|
2285
|
+
};
|
|
2225
2286
|
var getBalanceUpdates = (chain, walletAddress, params, options) => {
|
|
2226
2287
|
return chainstreamApiClient(
|
|
2227
2288
|
{ url: `/v1/wallet/${chain}/${walletAddress}/balance-updates`, method: "GET", params },
|
|
@@ -2403,6 +2464,11 @@ var PumpCreateTokenInputMigrationDex = {
|
|
|
2403
2464
|
RAYDIUM: "RAYDIUM",
|
|
2404
2465
|
METEORA: "METEORA"
|
|
2405
2466
|
};
|
|
2467
|
+
var TraderPnlResolution = {
|
|
2468
|
+
"1d": "1d",
|
|
2469
|
+
"7d": "7d",
|
|
2470
|
+
"30d": "30d"
|
|
2471
|
+
};
|
|
2406
2472
|
var DexPoolDTOType = {
|
|
2407
2473
|
NUMBER_0: 0,
|
|
2408
2474
|
NUMBER_1: 1,
|
|
@@ -2512,6 +2578,31 @@ var TokenTraderTag = {
|
|
|
2512
2578
|
bluechip: "bluechip",
|
|
2513
2579
|
smart: "smart"
|
|
2514
2580
|
};
|
|
2581
|
+
var TokenTransferItemDTOFlow = {
|
|
2582
|
+
in: "in",
|
|
2583
|
+
out: "out"
|
|
2584
|
+
};
|
|
2585
|
+
var PnlResolution = {
|
|
2586
|
+
"1d": "1d",
|
|
2587
|
+
"7d": "7d",
|
|
2588
|
+
"30d": "30d",
|
|
2589
|
+
all: "all"
|
|
2590
|
+
};
|
|
2591
|
+
var WalletPnlSummaryDTOResolution = {
|
|
2592
|
+
"1d": "1d",
|
|
2593
|
+
"7d": "7d",
|
|
2594
|
+
"30d": "30d",
|
|
2595
|
+
all: "all"
|
|
2596
|
+
};
|
|
2597
|
+
var TransactionHistoryItemDTOStatus = {
|
|
2598
|
+
UNKNOWN: "UNKNOWN",
|
|
2599
|
+
SUCCEEDED: "SUCCEEDED",
|
|
2600
|
+
FAILED: "FAILED"
|
|
2601
|
+
};
|
|
2602
|
+
var TransactionHistoryItemDTOMainAction = {
|
|
2603
|
+
send: "send",
|
|
2604
|
+
receive: "receive"
|
|
2605
|
+
};
|
|
2515
2606
|
var BalanceTokenType = {
|
|
2516
2607
|
SOL: "SOL",
|
|
2517
2608
|
SPL: "SPL"
|
|
@@ -2614,6 +2705,18 @@ var GetTopTradersSortBy = {
|
|
|
2614
2705
|
tradeAmount: "tradeAmount",
|
|
2615
2706
|
tradeCount: "tradeCount"
|
|
2616
2707
|
};
|
|
2708
|
+
var GetTraderGainersLosersDirection = {
|
|
2709
|
+
next: "next",
|
|
2710
|
+
prev: "prev"
|
|
2711
|
+
};
|
|
2712
|
+
var GetTraderGainersLosersSortType = {
|
|
2713
|
+
desc: "desc",
|
|
2714
|
+
asc: "asc"
|
|
2715
|
+
};
|
|
2716
|
+
var SearchDirection = {
|
|
2717
|
+
next: "next",
|
|
2718
|
+
prev: "prev"
|
|
2719
|
+
};
|
|
2617
2720
|
var SearchSort = {
|
|
2618
2721
|
asc: "asc",
|
|
2619
2722
|
desc: "desc"
|
|
@@ -2781,6 +2884,22 @@ var ListTokenSortBy = {
|
|
|
2781
2884
|
m1BuyVolumeInUsd: "m1BuyVolumeInUsd",
|
|
2782
2885
|
m1SellVolumeInUsd: "m1SellVolumeInUsd"
|
|
2783
2886
|
};
|
|
2887
|
+
var GetTokenLiquiditySnapshotsDirection = {
|
|
2888
|
+
next: "next",
|
|
2889
|
+
prev: "prev"
|
|
2890
|
+
};
|
|
2891
|
+
var GetTokenTransfersDirection = {
|
|
2892
|
+
next: "next",
|
|
2893
|
+
prev: "prev"
|
|
2894
|
+
};
|
|
2895
|
+
var GetTokenTransferTotalDirection = {
|
|
2896
|
+
next: "next",
|
|
2897
|
+
prev: "prev"
|
|
2898
|
+
};
|
|
2899
|
+
var GetDexpoolSnapshotsDirection = {
|
|
2900
|
+
next: "next",
|
|
2901
|
+
prev: "prev"
|
|
2902
|
+
};
|
|
2784
2903
|
var GetHotTokensSortBy = {
|
|
2785
2904
|
marketDatapriceInUsd: "marketData.priceInUsd",
|
|
2786
2905
|
statspriceChangeRatioInUsd1m: "stats.priceChangeRatioInUsd1m",
|
|
@@ -3076,6 +3195,42 @@ var GetMigratedTokensTag = {
|
|
|
3076
3195
|
bonk_fun: "bonk_fun",
|
|
3077
3196
|
moonit_fun: "moonit_fun"
|
|
3078
3197
|
};
|
|
3198
|
+
var GetPnlByWalletDirection = {
|
|
3199
|
+
next: "next",
|
|
3200
|
+
prev: "prev"
|
|
3201
|
+
};
|
|
3202
|
+
var GetNetWorthDirection = {
|
|
3203
|
+
next: "next",
|
|
3204
|
+
prev: "prev"
|
|
3205
|
+
};
|
|
3206
|
+
var GetTokensBalanceDirection = {
|
|
3207
|
+
next: "next",
|
|
3208
|
+
prev: "prev"
|
|
3209
|
+
};
|
|
3210
|
+
var GetNetWorthDetailsDirection = {
|
|
3211
|
+
next: "next",
|
|
3212
|
+
prev: "prev"
|
|
3213
|
+
};
|
|
3214
|
+
var GetPnlDetailsDirection = {
|
|
3215
|
+
next: "next",
|
|
3216
|
+
prev: "prev"
|
|
3217
|
+
};
|
|
3218
|
+
var GetPnlByTokenDirection = {
|
|
3219
|
+
next: "next",
|
|
3220
|
+
prev: "prev"
|
|
3221
|
+
};
|
|
3222
|
+
var GetWalletTransfersDirection = {
|
|
3223
|
+
next: "next",
|
|
3224
|
+
prev: "prev"
|
|
3225
|
+
};
|
|
3226
|
+
var GetWalletTransferTotalDirection = {
|
|
3227
|
+
next: "next",
|
|
3228
|
+
prev: "prev"
|
|
3229
|
+
};
|
|
3230
|
+
var GetBalanceUpdatesDirection = {
|
|
3231
|
+
next: "next",
|
|
3232
|
+
prev: "prev"
|
|
3233
|
+
};
|
|
3079
3234
|
var GetRedpacketsChain = {
|
|
3080
3235
|
sol: "sol",
|
|
3081
3236
|
bsc: "bsc",
|
|
@@ -3103,6 +3258,8 @@ export {
|
|
|
3103
3258
|
FilterConditionField,
|
|
3104
3259
|
GetActivitiesDirection,
|
|
3105
3260
|
GetActivitiesType,
|
|
3261
|
+
GetBalanceUpdatesDirection,
|
|
3262
|
+
GetDexpoolSnapshotsDirection,
|
|
3106
3263
|
GetFinalStretchTokensSortBy,
|
|
3107
3264
|
GetFinalStretchTokensSortDirection,
|
|
3108
3265
|
GetFinalStretchTokensTag,
|
|
@@ -3115,9 +3272,14 @@ export {
|
|
|
3115
3272
|
GetMigratedTokensTag,
|
|
3116
3273
|
GetMintAndBurnDirection,
|
|
3117
3274
|
GetMintAndBurnType,
|
|
3275
|
+
GetNetWorthDetailsDirection,
|
|
3276
|
+
GetNetWorthDirection,
|
|
3118
3277
|
GetNewTokensSortBy,
|
|
3119
3278
|
GetNewTokensSortDirection,
|
|
3120
3279
|
GetNewTokensTag,
|
|
3280
|
+
GetPnlByTokenDirection,
|
|
3281
|
+
GetPnlByWalletDirection,
|
|
3282
|
+
GetPnlDetailsDirection,
|
|
3121
3283
|
GetPoolsDirection,
|
|
3122
3284
|
GetPoolsSortBy,
|
|
3123
3285
|
GetPoolsSortDirection,
|
|
@@ -3126,14 +3288,22 @@ export {
|
|
|
3126
3288
|
GetStocksTokensSortBy,
|
|
3127
3289
|
GetStocksTokensSortDirection,
|
|
3128
3290
|
GetStocksTokensTag,
|
|
3291
|
+
GetTokenLiquiditySnapshotsDirection,
|
|
3292
|
+
GetTokenTransferTotalDirection,
|
|
3293
|
+
GetTokenTransfersDirection,
|
|
3294
|
+
GetTokensBalanceDirection,
|
|
3129
3295
|
GetTokensSortBy,
|
|
3130
3296
|
GetTokensSortDirection,
|
|
3131
3297
|
GetTopTradersDirection,
|
|
3132
3298
|
GetTopTradersSortBy,
|
|
3133
3299
|
GetTopTradersSortType,
|
|
3134
3300
|
GetTopTradersTimeFrame,
|
|
3301
|
+
GetTraderGainersLosersDirection,
|
|
3302
|
+
GetTraderGainersLosersSortType,
|
|
3135
3303
|
GetTradesDirection,
|
|
3136
3304
|
GetTradesType,
|
|
3305
|
+
GetWalletTransferTotalDirection,
|
|
3306
|
+
GetWalletTransfersDirection,
|
|
3137
3307
|
KYTRegisterTransferRequestDirection,
|
|
3138
3308
|
KYTRegisterTransferRequestNetwork,
|
|
3139
3309
|
KYTRegisterWithdrawalRequestNetwork,
|
|
@@ -3144,11 +3314,13 @@ export {
|
|
|
3144
3314
|
ListTokenSortBy,
|
|
3145
3315
|
MoonshotCreateTokenInputDex,
|
|
3146
3316
|
MoonshotCreateTokenInputMigrationDex,
|
|
3317
|
+
PnlResolution,
|
|
3147
3318
|
PriceType,
|
|
3148
3319
|
PumpCreateTokenInputDex,
|
|
3149
3320
|
PumpCreateTokenInputMigrationDex,
|
|
3150
3321
|
QuoteDex,
|
|
3151
3322
|
Resolution,
|
|
3323
|
+
SearchDirection,
|
|
3152
3324
|
SearchSort,
|
|
3153
3325
|
SearchSortBy,
|
|
3154
3326
|
SendTxInputSubmitType,
|
|
@@ -3159,8 +3331,13 @@ export {
|
|
|
3159
3331
|
SwapRouteInputSwapMode,
|
|
3160
3332
|
TokenCreationDTOType,
|
|
3161
3333
|
TokenTraderTag,
|
|
3334
|
+
TokenTransferItemDTOFlow,
|
|
3162
3335
|
TradeType,
|
|
3336
|
+
TraderPnlResolution,
|
|
3337
|
+
TransactionHistoryItemDTOMainAction,
|
|
3338
|
+
TransactionHistoryItemDTOStatus,
|
|
3163
3339
|
UpdateEndpointInputChannelsItem,
|
|
3340
|
+
WalletPnlSummaryDTOResolution,
|
|
3164
3341
|
WsChannelType,
|
|
3165
3342
|
WsDex,
|
|
3166
3343
|
WsMetricType,
|
|
@@ -3176,7 +3353,6 @@ export {
|
|
|
3176
3353
|
getActivities,
|
|
3177
3354
|
getAddressRisk,
|
|
3178
3355
|
getAvailableFields,
|
|
3179
|
-
getBalance,
|
|
3180
3356
|
getBalanceUpdates,
|
|
3181
3357
|
getCandles,
|
|
3182
3358
|
getClaims,
|
|
@@ -3201,10 +3377,16 @@ export {
|
|
|
3201
3377
|
getMetadataMulti,
|
|
3202
3378
|
getMigratedTokens,
|
|
3203
3379
|
getMintAndBurn,
|
|
3380
|
+
getNetWorth,
|
|
3381
|
+
getNetWorthChart,
|
|
3382
|
+
getNetWorthDetails,
|
|
3383
|
+
getNetWorthSummary,
|
|
3204
3384
|
getNewTokens,
|
|
3205
3385
|
getPairCandles,
|
|
3206
3386
|
getPnl,
|
|
3207
|
-
|
|
3387
|
+
getPnlByToken,
|
|
3388
|
+
getPnlByWallet,
|
|
3389
|
+
getPnlDetails,
|
|
3208
3390
|
getPoolCandles,
|
|
3209
3391
|
getPools,
|
|
3210
3392
|
getPriceByTime,
|
|
@@ -3220,14 +3402,21 @@ export {
|
|
|
3220
3402
|
getToken,
|
|
3221
3403
|
getTokenLiquiditySnapshots,
|
|
3222
3404
|
getTokenTraders,
|
|
3405
|
+
getTokenTransferTotal,
|
|
3406
|
+
getTokenTransfers,
|
|
3223
3407
|
getTokens,
|
|
3408
|
+
getTokensBalance,
|
|
3224
3409
|
getTopHolders,
|
|
3225
3410
|
getTopTraders,
|
|
3411
|
+
getTraderGainersLosers,
|
|
3226
3412
|
getTrades,
|
|
3227
3413
|
getTransferAlerts,
|
|
3228
3414
|
getTransferDirectExposure,
|
|
3229
3415
|
getTransferNetworkIdentifications,
|
|
3230
3416
|
getTransferSummary,
|
|
3417
|
+
getWalletFirstTx,
|
|
3418
|
+
getWalletTransferTotal,
|
|
3419
|
+
getWalletTransfers,
|
|
3231
3420
|
getWithdrawalAddressIdentifications,
|
|
3232
3421
|
getWithdrawalAlerts,
|
|
3233
3422
|
getWithdrawalDirectExposure,
|