@chainstream-io/sdk 0.2.10 → 0.2.12
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-DLKhKJTp.d.cts → chainstream-BY9CsB3h.d.cts} +113 -5
- package/dist/{chainstream-DLKhKJTp.d.ts → chainstream-BY9CsB3h.d.ts} +113 -5
- package/dist/chainstream.cjs +173 -120
- 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 +173 -120
- package/dist/chainstream.mjs.map +1 -1
- package/dist/index.cjs +173 -120
- 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 +173 -120
- package/dist/index.mjs.map +1 -1
- package/dist/stream/index.cjs +171 -118
- package/dist/stream/index.cjs.map +1 -1
- package/dist/stream/index.d.cts +2 -1
- package/dist/stream/index.d.ts +2 -1
- package/dist/stream/index.mjs +171 -118
- 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 { ca as AddressExposure, cb as AddressRiskResponseDTO, bY as AlertDetail, c6 as AlteryaIdentification, bC as BalanceChangeType, bB as BalanceTokenType, bD as BalanceUpdateDTO, bE as BalanceUpdatePage, I as BlockchainDTO, L as BlockchainLatestBlockDTO, bn as BooleanResultDTO, bm as CalculatePnlInput, g1 as CalculatePnlResult, aX as Candle, bL as Chain, C as ChainStreamClient, y as ChainStreamClientOptions, z as ChainStreamRequestContext, K as ChainSymbol, c3 as ChainalysisAddressIdentification, bJ as ClaimRedPacketInput, bI as ClaimRedPacketInputChain, gl as ClaimRedpacketResult, ck as CreateEndpointInput, ci as CreateEndpointInputChannelsItem, cj as CreateEndpointInputMetadata, h2 as CreateEndpointResult, bG as CreateRedPacketInput, bF as CreateRedPacketInputChain, bH as CreateRedPacketReply, gk as CreateRedpacketResult, a7 as CreateTokenInput, a5 as CreateTokenInputDex, a6 as CreateTokenInputExtra, a8 as CreateTokenReply, es as CreateTokenResult, h5 as DeleteEndpointResult, b2 as DevTokenDTO, a9 as DexDTO, aa as DexPage, aJ as DexPoolDTO, aI as DexPoolDTOLiquidityModel, aG as DexPoolDTOType, aH as DexPoolDTOVersion, aS as DexPoolPage, bd as DexPoolSnapshotDTO, be as DexPoolSnapshotPage, aF as DexPoolTokenLiquidity, bc as DexPoolTokenSnapshotDTO, a4 as DexQuoteResponse, bW as DirectExposureDetail, cf as EndpointListResponse, ch as EndpointOperationResponse, ce as EndpointResponse, cc as EndpointResponseChannelsItem, cd as EndpointResponseMetadata, cg as EndpointSecretResponse, R as EstimateGasLimitInput, V as EstimateGasLimitResponse, aQ as FilterCondition, aP as FilterConditionField, Q as GasPriceResponse, cy as GetActivitiesDirection, cx as GetActivitiesParams, eF as GetActivitiesResult, cz as GetActivitiesType, gV as GetAddressRiskResult, e0 as GetBalanceUpdatesDirection, d$ as GetBalanceUpdatesParams, gb as GetBalanceUpdatesResult, c_ as GetCandlesParams, fh as GetCandlesResult, e4 as GetClaimsByAddressParams, gp as GetClaimsByAddressResult, e1 as GetClaimsParams, gn as GetClaimsResult, fp as GetCreationResult, ft as GetDevTokensResult, fA as GetDexpoolResult, dl as GetDexpoolSnapshotsDirection, dk as GetDexpoolSnapshotsParams, fB as GetDexpoolSnapshotsResult, h4 as GetEndpointResult, h6 as GetEndpointSecretResult, dz as GetFinalStretchTokensParams, fK as GetFinalStretchTokensResult, dA as GetFinalStretchTokensSortBy, dB as GetFinalStretchTokensSortDirection, dC as GetFinalStretchTokensTag, ej as GetGasLimitResult, ei as GetGasPriceResult, cY as GetHoldersDirection, cZ as GetHoldersMultiParams, fg as GetHoldersMultiResult, cX as GetHoldersParams, ff as GetHoldersResult, dm as GetHotTokensParams, fH as GetHotTokensResult, dn as GetHotTokensSortBy, dp as GetHotTokensSortDirection, dq as GetHotTokensTag, ed as GetLatestBlockResult, d2 as GetMarketDataMulti200, d1 as GetMarketDataMultiParams, fm as GetMarketDataMultiResult, fl as GetMarketDataResult, cQ as GetMetadataMulti200, cP as GetMetadataMultiParams, fb as GetMetadataMultiResult, fa as GetMetadataResult, dD as GetMigratedTokensParams, fL as GetMigratedTokensResult, dE as GetMigratedTokensSortBy, dF as GetMigratedTokensSortDirection, dG as GetMigratedTokensTag, d7 as GetMintAndBurnDirection, d6 as GetMintAndBurnParams, fq as GetMintAndBurnResult, d8 as GetMintAndBurnType, dP as GetNetWorthChartParams, g4 as GetNetWorthChartResult, dR as GetNetWorthDetailsDirection, dQ as GetNetWorthDetailsParams, g5 as GetNetWorthDetailsResult, dM as GetNetWorthDirection, dL as GetNetWorthParams, g2 as GetNetWorthResult, dH as GetNetWorthSummaryParams, f_ as GetNetWorthSummaryResult, dr as GetNewTokensParams, fI as GetNewTokensResult, ds as GetNewTokensSortBy, dt as GetNewTokensSortDirection, du as GetNewTokensTag, d0 as GetPairCandlesParams, fj as GetPairCandlesResult, dW as GetPnlByTokenDirection, dV as GetPnlByTokenParams, g8 as GetPnlByTokenResult, dJ as GetPnlByWalletDirection, dI as GetPnlByWalletParams, f$ as GetPnlByWalletResult, dU as GetPnlDetailsDirection, dT as GetPnlDetailsParams, g7 as GetPnlDetailsResult, dS as GetPnlParams, g6 as GetPnlResult, c$ as GetPoolCandlesParams, fi as GetPoolCandlesResult, cS as GetPoolsDirection, cR as GetPoolsParams, fc as GetPoolsResult, cT as GetPoolsSortBy, cU as GetPoolsSortDirection, d5 as GetPriceByTimeParams, fo as GetPriceByTimeResult, d4 as GetPricesDirection, d3 as GetPricesParams, fn as GetPricesResult, gm as GetRedpacketResult, e5 as GetRedpacketsByAddressParams, gq as GetRedpacketsByAddressResult, e3 as GetRedpacketsChain, e2 as GetRedpacketsParams, go as GetRedpacketsResult, G as GetResult, dd as GetSecurity200, fs as GetSecurityResult, cW as GetStatsMulti200, cV as GetStatsMultiParams, fe as GetStatsMultiResult, fd as GetStatsResult, dv as GetStocksTokensParams, fJ as GetStocksTokensResult, dw as GetStocksTokensSortBy, dx as GetStocksTokensSortDirection, dy as GetStocksTokensTag, ec as GetSupportedBlockchainsResult, df as GetTokenLiquiditySnapshotsDirection, de as GetTokenLiquiditySnapshotsParams, fv as GetTokenLiquiditySnapshotsResult, f9 as GetTokenResult, fu as GetTokenTradersResult, dj as GetTokenTransferTotalDirection, di as GetTokenTransferTotalParams, fx as GetTokenTransferTotalResult, dh as GetTokenTransfersDirection, dg as GetTokenTransfersParams, fw as GetTokenTransfersResult, dO as GetTokensBalanceDirection, dN as GetTokensBalanceParams, g3 as GetTokensBalanceResult, cM as GetTokensParams, f8 as GetTokensResult, cN as GetTokensSortBy, cO as GetTokensSortDirection, fk as GetTopHoldersResult, cB as GetTopTradersDirection, cA as GetTopTradersParams, eG as GetTopTradersResult, cE as GetTopTradersSortBy, cD as GetTopTradersSortType, cC as GetTopTradersTimeFrame, cG as GetTraderGainersLosersDirection, cF as GetTraderGainersLosersParams, eH as GetTraderGainersLosersResult, cH as GetTraderGainersLosersSortType, cv as GetTradesDirection, cu as GetTradesParams, eE as GetTradesResult, cw as GetTradesType, gL as GetTransferAlertsResult, gK as GetTransferDirectExposureResult, gM as GetTransferNetworkIdentificationsResult, gJ as GetTransferSummaryResult, dK as GetWalletFirstTxParams, g0 as GetWalletFirstTxResult, d_ as GetWalletTransferTotalDirection, dZ as GetWalletTransferTotalParams, ga as GetWalletTransferTotalResult, dY as GetWalletTransfersDirection, dX as GetWalletTransfersParams, g9 as GetWalletTransfersResult, gR as GetWithdrawalAddressIdentificationsResult, gQ as GetWithdrawalAlertsResult, gP as GetWithdrawalDirectExposureResult, gT as GetWithdrawalFraudAssessmentResult, gS as GetWithdrawalNetworkIdentificationsResult, gO as GetWithdrawalSummaryResult, E as JobDTO, J as JobDTOResult, H as JobStreamingDTO, F as JobStreamingDTOData, bU as KYTRegisterTransferRequest, bT as KYTRegisterTransferRequestDirection, bS as KYTRegisterTransferRequestNetwork, c1 as KYTRegisterWithdrawalRequest, c0 as KYTRegisterWithdrawalRequestNetwork, ac as Link, ab as LinkLabel, cs as ListDexParams, et as ListDexResult, e7 as ListEndpointsOrder, e6 as ListEndpointsParams, h1 as ListEndpointsResult, da as ListTokenDirection, d9 as ListTokenParams, fr as ListTokenResult, db as ListTokenSort, dc as ListTokenSortBy, af as MoonshotCreateTokenInput, ad as MoonshotCreateTokenInputDex, ae as MoonshotCreateTokenInputMigrationDex, ah as MoonshotCreateTokenReply, ag as MoonshotCreateTokenReplyExtra, ew as MoonshotCreateTokenResult, ct as MoonshotSubmitCreateToken200, aj as MoonshotSubmitCreateTokenInput, ai as MoonshotSubmitCreateTokenInputExtra, ex as MoonshotSubmitCreateTokenResult, b_ as NetworkIdentificationOrg, c5 as OnChainActivity, bi as PnlDetailItemDTO, bh as PnlDetailSummaryDTO, bj as PnlDetailsPage, bu as PnlResolution, e9 as PresignResult, aW as PriceType, am as PumpCreateTokenInput, ak as PumpCreateTokenInputDex, al as PumpCreateTokenInputMigrationDex, ao as PumpCreateTokenReply, an as PumpCreateTokenReplyExtra, ez as PumpfunCreateTokenResult, cr as QuoteDex, cq as QuoteParams, er as QuoteResult, bN as RedPacketClaimDTO, bO as RedPacketClaimsPage, bM as RedPacketDTO, bK as RedPacketReply, bQ as RedPacketSendTxInput, bR as RedPacketSendTxResponse, bP as RedPacketsPage, gr as RedpacketSendResult, c8 as RegisterAddressRequest, c9 as RegisterAddressResponseDTO, gU as RegisterAddressResult, gI as RegisterTransferResult, gN as RegisterWithdrawalResult, aV as Resolution, h7 as RotateEndpointSecretResult, eq as RouteResult, cJ as SearchDirection, cI as SearchParams, f7 as SearchResult, cK as SearchSort, cL as SearchSortBy, eh 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, ep as SwapResult, a1 as SwapRouteInput, $ as SwapRouteInputDex, a0 as SwapRouteInputSwapMode, a3 as SwapRouteResponse, a2 as SwapRouteResponseRouteInfo, aM as Token, a$ as TokenCreationDTO, a_ as TokenCreationDTOType, b0 as TokenCreationPage, aw as TokenCreatorsDTO, aL as TokenExtension, ax as TokenExtraDTO, aT as TokenHolder, aU as TokenHolderPage, b6 as TokenLiquiditySnapshotDTO, b7 as TokenLiquiditySnapshotPage, b1 as TokenListPage, aK as TokenMarketData, aR as TokenMetadata, aO as TokenPage, aN as TokenPageCountsByProtocols, aY as TokenPriceDTO, aZ as TokenPricePage, T as TokenProvider, ay as TokenSocialMediasDTO, aE as TokenStat, aD as TokenStatPeriods, aC as TokenTradeStatPeriod, aB as TokenTradeStatPeriodBuySellRatio, aA as TokenTradeStatPeriodLiquidityChangeRatio, az as TokenTradeStatPeriodVolumeChangeRatio, b5 as TokenTrader, b4 as TokenTraderOnchainCreatedAt, b3 as TokenTraderTag, b9 as TokenTransferItemDTO, b8 as TokenTransferItemDTOFlow, ba as TokenTransferPage, bb as TokenTransferTotalDTO, bq as TokensBalancePage, ar as TopTradersDTO, as as TopTradersPage, ap as TradeDetailDTO, cp as TradeEvent, aq as TradePage, co as TradeType, au as TraderGainersLosersItemDTO, av as TraderGainersLosersPage, at as TraderPnlResolution, bz as TransactionHistoryItemDTO, by as TransactionHistoryItemDTOMainAction, bx as TransactionHistoryItemDTOStatus, bA as TransactionHistoryPage, bZ as TransferAlertsResponseDTO, bV as TransferBaseResponseDTO, bX as TransferDirectExposureResponseDTO, b$ as TransferNetworkIdentificationsResponseDTO, U as Unsubscribable, cn as UpdateEndpointInput, cl as UpdateEndpointInputChannelsItem, cm as UpdateEndpointInputMetadata, h3 as UpdateEndpointResult, bl as WalletFirstTxDTO, bk as WalletFirstTxDTOWallets, bs as WalletNetWorthChartDTO, bt as WalletNetWorthDetailsPage, br as WalletNetWorthHistoryItemDTO, bo as WalletNetWorthItemDTO, bp as WalletNetWorthPage, bg as WalletNetWorthSummaryDTO, bf as WalletNetWorthSummaryDTOWallets, bw as WalletPnlSummaryDTO, bv as WalletPnlSummaryDTOResolution, gt as WatchlistAddResult, c4 as WithdrawalAddressIdentificationsResponseDTO, c2 as WithdrawalBaseResponseDTO, c7 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, fP as calculatePnl, gd as claimRedpacket, gX as createEndpoint, gc as createRedpacket, en as createToken, g_ as deleteEndpoint, A as get, eB as getActivities, gH as getAddressRisk, fZ as getBalanceUpdates, eS as getCandles, gf as getClaims, gh as getClaimsByAddress, e_ as getCreation, f2 as getDevTokens, fy as getDexpool, fz as getDexpoolSnapshots, gZ as getEndpoint, g$ as getEndpointSecret, fF as getFinalStretchTokens, eg as getGasLimit, ef as getGasPrice, eQ as getHolders, eR as getHoldersMulti, fC as getHotTokens, eb as getLatestBlock, eW as getMarketData, eX as getMarketDataMulti, eL as getMetadata, eM as getMetadataMulti, fG as getMigratedTokens, e$ as getMintAndBurn, fQ as getNetWorth, fS as getNetWorthChart, fT as getNetWorthDetails, fM as getNetWorthSummary, fD as getNewTokens, eU as getPairCandles, fU as getPnl, fW as getPnlByToken, fN as getPnlByWallet, fV as getPnlDetails, eT as getPoolCandles, eN as getPools, eZ as getPriceByTime, eY as getPrices, ge as getRedpacket, gg as getRedpackets, gi as getRedpacketsByAddress, f1 as getSecurity, eO as getStats, eP as getStatsMulti, fE as getStocksTokens, ea as getSupportedBlockchains, eK as getToken, f4 as getTokenLiquiditySnapshots, f3 as getTokenTraders, f6 as getTokenTransferTotal, f5 as getTokenTransfers, eJ as getTokens, fR as getTokensBalance, eV as getTopHolders, eC as getTopTraders, eD as getTraderGainersLosers, eA as getTrades, gx as getTransferAlerts, gw as getTransferDirectExposure, gy as getTransferNetworkIdentifications, gv as getTransferSummary, fO as getWalletFirstTx, fY as getWalletTransferTotal, fX as getWalletTransfers, gD as getWithdrawalAddressIdentifications, gC as getWithdrawalAlerts, gB as getWithdrawalDirectExposure, gF as getWithdrawalFraudAssessment, gE as getWithdrawalNetworkIdentifications, gA as getWithdrawalSummary, eo as listDex, gW as listEndpoints, f0 as listToken, eu as moonshotCreateToken, ev as moonshotSubmitCreateToken, e8 as presign, ey as pumpfunCreateToken, em as quote, gj as redpacketSend, gG as registerAddress, gu as registerTransfer, gz as registerWithdrawal, h0 as rotateEndpointSecret, el as route, eI as search, ee as send, B as streaming, ek as swap, gY as updateEndpoint, gs as watchlistAdd } from './chainstream-DLKhKJTp.cjs';
|
|
1
|
+
export { cc as AddressExposure, cd as AddressRiskResponseDTO, b_ as AlertDetail, c8 as AlteryaIdentification, bE as BalanceChangeType, bD as BalanceTokenType, bF as BalanceUpdateDTO, bG as BalanceUpdatePage, I as BlockchainDTO, L as BlockchainLatestBlockDTO, bp as BooleanResultDTO, bo as CalculatePnlInput, g3 as CalculatePnlResult, aX as Candle, bN as Chain, C as ChainStreamClient, y as ChainStreamClientOptions, z as ChainStreamRequestContext, K as ChainSymbol, c5 as ChainalysisAddressIdentification, bL as ClaimRedPacketInput, bK as ClaimRedPacketInputChain, gn as ClaimRedpacketResult, cm as CreateEndpointInput, ck as CreateEndpointInputChannelsItem, cl as CreateEndpointInputMetadata, h4 as CreateEndpointResult, bI as CreateRedPacketInput, bH as CreateRedPacketInputChain, bJ as CreateRedPacketReply, gm as CreateRedpacketResult, a7 as CreateTokenInput, a5 as CreateTokenInputDex, a6 as CreateTokenInputExtra, a8 as CreateTokenReply, eu as CreateTokenResult, h7 as DeleteEndpointResult, b2 as DevTokenDTO, a9 as DexDTO, aa as DexPage, aJ as DexPoolDTO, aI as DexPoolDTOLiquidityModel, aG as DexPoolDTOType, aH as DexPoolDTOVersion, aS as DexPoolPage, bd as DexPoolSnapshotDTO, be as DexPoolSnapshotPage, aF as DexPoolTokenLiquidity, bc as DexPoolTokenSnapshotDTO, a4 as DexQuoteResponse, bY as DirectExposureDetail, ch as EndpointListResponse, cj as EndpointOperationResponse, cg as EndpointResponse, ce as EndpointResponseChannelsItem, cf as EndpointResponseMetadata, ci as EndpointSecretResponse, R as EstimateGasLimitInput, V as EstimateGasLimitResponse, aQ as FilterCondition, aP as FilterConditionField, Q as GasPriceResponse, cA as GetActivitiesDirection, cz as GetActivitiesParams, eH as GetActivitiesResult, cB as GetActivitiesType, gX as GetAddressRiskResult, e2 as GetBalanceUpdatesDirection, e1 as GetBalanceUpdatesParams, gd as GetBalanceUpdatesResult, d0 as GetCandlesParams, fj as GetCandlesResult, e6 as GetClaimsByAddressParams, gr as GetClaimsByAddressResult, e3 as GetClaimsParams, gp as GetClaimsResult, fr as GetCreationResult, fv as GetDevTokensResult, fC as GetDexpoolResult, dn as GetDexpoolSnapshotsDirection, dm as GetDexpoolSnapshotsParams, fD as GetDexpoolSnapshotsResult, h6 as GetEndpointResult, h8 as GetEndpointSecretResult, dB as GetFinalStretchTokensParams, fM as GetFinalStretchTokensResult, dC as GetFinalStretchTokensSortBy, dD as GetFinalStretchTokensSortDirection, dE as GetFinalStretchTokensTag, el as GetGasLimitResult, ek as GetGasPriceResult, c_ as GetHoldersDirection, c$ as GetHoldersMultiParams, fi as GetHoldersMultiResult, cZ as GetHoldersParams, fh as GetHoldersResult, dp as GetHotTokensParams, fJ as GetHotTokensResult, dq as GetHotTokensSortBy, dr as GetHotTokensSortDirection, ds as GetHotTokensTag, ef as GetLatestBlockResult, d4 as GetMarketDataMulti200, d3 as GetMarketDataMultiParams, fo as GetMarketDataMultiResult, fn as GetMarketDataResult, cS as GetMetadataMulti200, cR as GetMetadataMultiParams, fd as GetMetadataMultiResult, fc as GetMetadataResult, dF as GetMigratedTokensParams, fN as GetMigratedTokensResult, dG as GetMigratedTokensSortBy, dH as GetMigratedTokensSortDirection, dI as GetMigratedTokensTag, d9 as GetMintAndBurnDirection, d8 as GetMintAndBurnParams, fs as GetMintAndBurnResult, da as GetMintAndBurnType, dR as GetNetWorthChartParams, g6 as GetNetWorthChartResult, dT as GetNetWorthDetailsDirection, dS as GetNetWorthDetailsParams, g7 as GetNetWorthDetailsResult, dO as GetNetWorthDirection, dN as GetNetWorthParams, g4 as GetNetWorthResult, dJ as GetNetWorthSummaryParams, g0 as GetNetWorthSummaryResult, dt as GetNewTokensParams, fK as GetNewTokensResult, du as GetNewTokensSortBy, dv as GetNewTokensSortDirection, dw as GetNewTokensTag, d2 as GetPairCandlesParams, fl as GetPairCandlesResult, dY as GetPnlByTokenDirection, dX as GetPnlByTokenParams, ga as GetPnlByTokenResult, dL as GetPnlByWalletDirection, dK as GetPnlByWalletParams, g1 as GetPnlByWalletResult, dW as GetPnlDetailsDirection, dV as GetPnlDetailsParams, g9 as GetPnlDetailsResult, dU as GetPnlParams, g8 as GetPnlResult, d1 as GetPoolCandlesParams, fk as GetPoolCandlesResult, cU as GetPoolsDirection, cT as GetPoolsParams, fe as GetPoolsResult, cV as GetPoolsSortBy, cW as GetPoolsSortDirection, d7 as GetPriceByTimeParams, fq as GetPriceByTimeResult, d6 as GetPricesDirection, d5 as GetPricesParams, fp as GetPricesResult, go as GetRedpacketResult, e7 as GetRedpacketsByAddressParams, gs as GetRedpacketsByAddressResult, e5 as GetRedpacketsChain, e4 as GetRedpacketsParams, gq as GetRedpacketsResult, G as GetResult, df as GetSecurity200, fu as GetSecurityResult, cY as GetStatsMulti200, cX as GetStatsMultiParams, fg as GetStatsMultiResult, ff as GetStatsResult, dx as GetStocksTokensParams, fL as GetStocksTokensResult, dy as GetStocksTokensSortBy, dz as GetStocksTokensSortDirection, dA as GetStocksTokensTag, ee as GetSupportedBlockchainsResult, dh as GetTokenLiquiditySnapshotsDirection, dg as GetTokenLiquiditySnapshotsParams, fx as GetTokenLiquiditySnapshotsResult, fb as GetTokenResult, fw as GetTokenTradersResult, dl as GetTokenTransferTotalDirection, dk as GetTokenTransferTotalParams, fz as GetTokenTransferTotalResult, dj as GetTokenTransfersDirection, di as GetTokenTransfersParams, fy as GetTokenTransfersResult, dQ as GetTokensBalanceDirection, dP as GetTokensBalanceParams, g5 as GetTokensBalanceResult, cO as GetTokensParams, fa as GetTokensResult, cP as GetTokensSortBy, cQ as GetTokensSortDirection, fm as GetTopHoldersResult, cD as GetTopTradersDirection, cC as GetTopTradersParams, eI as GetTopTradersResult, cG as GetTopTradersSortBy, cF as GetTopTradersSortType, cE as GetTopTradersTimeFrame, cI as GetTraderGainersLosersDirection, cH as GetTraderGainersLosersParams, eJ as GetTraderGainersLosersResult, cJ as GetTraderGainersLosersSortType, cx as GetTradesDirection, cw as GetTradesParams, eG as GetTradesResult, cy as GetTradesType, gN as GetTransferAlertsResult, gM as GetTransferDirectExposureResult, gO as GetTransferNetworkIdentificationsResult, gL as GetTransferSummaryResult, dM as GetWalletFirstTxParams, g2 as GetWalletFirstTxResult, e0 as GetWalletTransferTotalDirection, d$ as GetWalletTransferTotalParams, gc as GetWalletTransferTotalResult, d_ as GetWalletTransfersDirection, dZ as GetWalletTransfersParams, gb as GetWalletTransfersResult, gT as GetWithdrawalAddressIdentificationsResult, gS as GetWithdrawalAlertsResult, gR as GetWithdrawalDirectExposureResult, gV as GetWithdrawalFraudAssessmentResult, gU as GetWithdrawalNetworkIdentificationsResult, gQ as GetWithdrawalSummaryResult, E as JobDTO, J as JobDTOResult, H as JobStreamingDTO, F as JobStreamingDTOData, bW as KYTRegisterTransferRequest, bV as KYTRegisterTransferRequestDirection, bU as KYTRegisterTransferRequestNetwork, c3 as KYTRegisterWithdrawalRequest, c2 as KYTRegisterWithdrawalRequestNetwork, ac as Link, ab as LinkLabel, cu as ListDexParams, ev as ListDexResult, e9 as ListEndpointsOrder, e8 as ListEndpointsParams, h3 as ListEndpointsResult, dc as ListTokenDirection, db as ListTokenParams, ft as ListTokenResult, dd as ListTokenSort, de as ListTokenSortBy, af as MoonshotCreateTokenInput, ad as MoonshotCreateTokenInputDex, ae as MoonshotCreateTokenInputMigrationDex, ah as MoonshotCreateTokenReply, ag as MoonshotCreateTokenReplyExtra, ey as MoonshotCreateTokenResult, cv as MoonshotSubmitCreateToken200, aj as MoonshotSubmitCreateTokenInput, ai as MoonshotSubmitCreateTokenInputExtra, ez as MoonshotSubmitCreateTokenResult, c0 as NetworkIdentificationOrg, c7 as OnChainActivity, bj as PnlDetailItemDTO, bi as PnlDetailSummaryDTO, bk as PnlDetailsPage, bw as PnlResolution, eb as PresignResult, aW as PriceType, am as PumpCreateTokenInput, ak as PumpCreateTokenInputDex, al as PumpCreateTokenInputMigrationDex, ao as PumpCreateTokenReply, an as PumpCreateTokenReplyExtra, eB as PumpfunCreateTokenResult, ct as QuoteDex, cs as QuoteParams, et as QuoteResult, bP as RedPacketClaimDTO, bQ as RedPacketClaimsPage, bO as RedPacketDTO, bM as RedPacketReply, bS as RedPacketSendTxInput, bT as RedPacketSendTxResponse, bR as RedPacketsPage, gt as RedpacketSendResult, ca as RegisterAddressRequest, cb as RegisterAddressResponseDTO, gW as RegisterAddressResult, gK as RegisterTransferResult, gP as RegisterWithdrawalResult, aV as Resolution, h9 as RotateEndpointSecretResult, es as RouteResult, cL as SearchDirection, cK as SearchParams, f9 as SearchResult, cM as SearchSort, cN as SearchSortBy, ej 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, er as SwapResult, a1 as SwapRouteInput, $ as SwapRouteInputDex, a0 as SwapRouteInputSwapMode, a3 as SwapRouteResponse, a2 as SwapRouteResponseRouteInfo, aM as Token, a$ as TokenCreationDTO, a_ as TokenCreationDTOType, b0 as TokenCreationPage, aw as TokenCreatorsDTO, aL as TokenExtension, ax as TokenExtraDTO, aT as TokenHolder, aU as TokenHolderPage, b6 as TokenLiquiditySnapshotDTO, b7 as TokenLiquiditySnapshotPage, b1 as TokenListPage, aK as TokenMarketData, aR as TokenMetadata, aO as TokenPage, aN as TokenPageCountsByProtocols, aY as TokenPriceDTO, aZ as TokenPricePage, T as TokenProvider, ay as TokenSocialMediasDTO, aE as TokenStat, aD as TokenStatPeriods, aC as TokenTradeStatPeriod, aB as TokenTradeStatPeriodBuySellRatio, aA as TokenTradeStatPeriodLiquidityChangeRatio, az as TokenTradeStatPeriodVolumeChangeRatio, b5 as TokenTrader, b4 as TokenTraderOnchainCreatedAt, b3 as TokenTraderTag, b9 as TokenTransferItemDTO, b8 as TokenTransferItemDTOFlow, ba as TokenTransferPage, bb as TokenTransferTotalDTO, bs as TokensBalancePage, ar as TopTradersDTO, as as TopTradersPage, ap as TradeDetailDTO, cr as TradeEvent, aq as TradePage, cq as TradeType, au as TraderGainersLosersItemDTO, av as TraderGainersLosersPage, at as TraderPnlResolution, bB as TransactionHistoryItemDTO, bA as TransactionHistoryItemDTOMainAction, bz as TransactionHistoryItemDTOStatus, bC as TransactionHistoryPage, b$ as TransferAlertsResponseDTO, bX as TransferBaseResponseDTO, bZ as TransferDirectExposureResponseDTO, c1 as TransferNetworkIdentificationsResponseDTO, U as Unsubscribable, cp as UpdateEndpointInput, cn as UpdateEndpointInputChannelsItem, co as UpdateEndpointInputMetadata, h5 as UpdateEndpointResult, bn as WalletFirstTxDTO, bm as WalletFirstTxDTOWallets, bl as WalletFirstTxItemDTO, bu as WalletNetWorthChartDTO, bv as WalletNetWorthDetailsPage, bt as WalletNetWorthHistoryItemDTO, bq as WalletNetWorthItemDTO, br as WalletNetWorthPage, bh as WalletNetWorthSummaryDTO, bg as WalletNetWorthSummaryDTOWallets, bf as WalletNetWorthSummaryValueDTO, by as WalletPnlSummaryDTO, bx as WalletPnlSummaryDTOResolution, gv as WatchlistAddResult, c6 as WithdrawalAddressIdentificationsResponseDTO, c4 as WithdrawalBaseResponseDTO, c9 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, fR as calculatePnl, gf as claimRedpacket, gZ as createEndpoint, ge as createRedpacket, ep as createToken, h0 as deleteEndpoint, A as get, eD as getActivities, gJ as getAddressRisk, f$ as getBalanceUpdates, eU as getCandles, gh as getClaims, gj as getClaimsByAddress, f0 as getCreation, f4 as getDevTokens, fA as getDexpool, fB as getDexpoolSnapshots, g$ as getEndpoint, h1 as getEndpointSecret, fH as getFinalStretchTokens, ei as getGasLimit, eh as getGasPrice, eS as getHolders, eT as getHoldersMulti, fE as getHotTokens, ed as getLatestBlock, eY as getMarketData, eZ as getMarketDataMulti, eN as getMetadata, eO as getMetadataMulti, fI as getMigratedTokens, f1 as getMintAndBurn, fS as getNetWorth, fU as getNetWorthChart, fV as getNetWorthDetails, fO as getNetWorthSummary, fF as getNewTokens, eW as getPairCandles, fW as getPnl, fY as getPnlByToken, fP as getPnlByWallet, fX as getPnlDetails, eV as getPoolCandles, eP as getPools, e$ as getPriceByTime, e_ as getPrices, gg as getRedpacket, gi as getRedpackets, gk as getRedpacketsByAddress, f3 as getSecurity, eQ as getStats, eR as getStatsMulti, fG as getStocksTokens, ec as getSupportedBlockchains, eM as getToken, f6 as getTokenLiquiditySnapshots, f5 as getTokenTraders, f8 as getTokenTransferTotal, f7 as getTokenTransfers, eL as getTokens, fT as getTokensBalance, eX as getTopHolders, eE as getTopTraders, eF as getTraderGainersLosers, eC as getTrades, gz as getTransferAlerts, gy as getTransferDirectExposure, gA as getTransferNetworkIdentifications, gx as getTransferSummary, fQ as getWalletFirstTx, f_ as getWalletTransferTotal, fZ as getWalletTransfers, gF as getWithdrawalAddressIdentifications, gE as getWithdrawalAlerts, gD as getWithdrawalDirectExposure, gH as getWithdrawalFraudAssessment, gG as getWithdrawalNetworkIdentifications, gC as getWithdrawalSummary, eq as listDex, gY as listEndpoints, f2 as listToken, ew as moonshotCreateToken, ex as moonshotSubmitCreateToken, ea as presign, eA as pumpfunCreateToken, eo as quote, gl as redpacketSend, gI as registerAddress, gw as registerTransfer, gB as registerWithdrawal, h2 as rotateEndpointSecret, en as route, eK as search, eg as send, B as streaming, em as swap, g_ as updateEndpoint, gu as watchlistAdd } from './chainstream-BY9CsB3h.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 { ca as AddressExposure, cb as AddressRiskResponseDTO, bY as AlertDetail, c6 as AlteryaIdentification, bC as BalanceChangeType, bB as BalanceTokenType, bD as BalanceUpdateDTO, bE as BalanceUpdatePage, I as BlockchainDTO, L as BlockchainLatestBlockDTO, bn as BooleanResultDTO, bm as CalculatePnlInput, g1 as CalculatePnlResult, aX as Candle, bL as Chain, C as ChainStreamClient, y as ChainStreamClientOptions, z as ChainStreamRequestContext, K as ChainSymbol, c3 as ChainalysisAddressIdentification, bJ as ClaimRedPacketInput, bI as ClaimRedPacketInputChain, gl as ClaimRedpacketResult, ck as CreateEndpointInput, ci as CreateEndpointInputChannelsItem, cj as CreateEndpointInputMetadata, h2 as CreateEndpointResult, bG as CreateRedPacketInput, bF as CreateRedPacketInputChain, bH as CreateRedPacketReply, gk as CreateRedpacketResult, a7 as CreateTokenInput, a5 as CreateTokenInputDex, a6 as CreateTokenInputExtra, a8 as CreateTokenReply, es as CreateTokenResult, h5 as DeleteEndpointResult, b2 as DevTokenDTO, a9 as DexDTO, aa as DexPage, aJ as DexPoolDTO, aI as DexPoolDTOLiquidityModel, aG as DexPoolDTOType, aH as DexPoolDTOVersion, aS as DexPoolPage, bd as DexPoolSnapshotDTO, be as DexPoolSnapshotPage, aF as DexPoolTokenLiquidity, bc as DexPoolTokenSnapshotDTO, a4 as DexQuoteResponse, bW as DirectExposureDetail, cf as EndpointListResponse, ch as EndpointOperationResponse, ce as EndpointResponse, cc as EndpointResponseChannelsItem, cd as EndpointResponseMetadata, cg as EndpointSecretResponse, R as EstimateGasLimitInput, V as EstimateGasLimitResponse, aQ as FilterCondition, aP as FilterConditionField, Q as GasPriceResponse, cy as GetActivitiesDirection, cx as GetActivitiesParams, eF as GetActivitiesResult, cz as GetActivitiesType, gV as GetAddressRiskResult, e0 as GetBalanceUpdatesDirection, d$ as GetBalanceUpdatesParams, gb as GetBalanceUpdatesResult, c_ as GetCandlesParams, fh as GetCandlesResult, e4 as GetClaimsByAddressParams, gp as GetClaimsByAddressResult, e1 as GetClaimsParams, gn as GetClaimsResult, fp as GetCreationResult, ft as GetDevTokensResult, fA as GetDexpoolResult, dl as GetDexpoolSnapshotsDirection, dk as GetDexpoolSnapshotsParams, fB as GetDexpoolSnapshotsResult, h4 as GetEndpointResult, h6 as GetEndpointSecretResult, dz as GetFinalStretchTokensParams, fK as GetFinalStretchTokensResult, dA as GetFinalStretchTokensSortBy, dB as GetFinalStretchTokensSortDirection, dC as GetFinalStretchTokensTag, ej as GetGasLimitResult, ei as GetGasPriceResult, cY as GetHoldersDirection, cZ as GetHoldersMultiParams, fg as GetHoldersMultiResult, cX as GetHoldersParams, ff as GetHoldersResult, dm as GetHotTokensParams, fH as GetHotTokensResult, dn as GetHotTokensSortBy, dp as GetHotTokensSortDirection, dq as GetHotTokensTag, ed as GetLatestBlockResult, d2 as GetMarketDataMulti200, d1 as GetMarketDataMultiParams, fm as GetMarketDataMultiResult, fl as GetMarketDataResult, cQ as GetMetadataMulti200, cP as GetMetadataMultiParams, fb as GetMetadataMultiResult, fa as GetMetadataResult, dD as GetMigratedTokensParams, fL as GetMigratedTokensResult, dE as GetMigratedTokensSortBy, dF as GetMigratedTokensSortDirection, dG as GetMigratedTokensTag, d7 as GetMintAndBurnDirection, d6 as GetMintAndBurnParams, fq as GetMintAndBurnResult, d8 as GetMintAndBurnType, dP as GetNetWorthChartParams, g4 as GetNetWorthChartResult, dR as GetNetWorthDetailsDirection, dQ as GetNetWorthDetailsParams, g5 as GetNetWorthDetailsResult, dM as GetNetWorthDirection, dL as GetNetWorthParams, g2 as GetNetWorthResult, dH as GetNetWorthSummaryParams, f_ as GetNetWorthSummaryResult, dr as GetNewTokensParams, fI as GetNewTokensResult, ds as GetNewTokensSortBy, dt as GetNewTokensSortDirection, du as GetNewTokensTag, d0 as GetPairCandlesParams, fj as GetPairCandlesResult, dW as GetPnlByTokenDirection, dV as GetPnlByTokenParams, g8 as GetPnlByTokenResult, dJ as GetPnlByWalletDirection, dI as GetPnlByWalletParams, f$ as GetPnlByWalletResult, dU as GetPnlDetailsDirection, dT as GetPnlDetailsParams, g7 as GetPnlDetailsResult, dS as GetPnlParams, g6 as GetPnlResult, c$ as GetPoolCandlesParams, fi as GetPoolCandlesResult, cS as GetPoolsDirection, cR as GetPoolsParams, fc as GetPoolsResult, cT as GetPoolsSortBy, cU as GetPoolsSortDirection, d5 as GetPriceByTimeParams, fo as GetPriceByTimeResult, d4 as GetPricesDirection, d3 as GetPricesParams, fn as GetPricesResult, gm as GetRedpacketResult, e5 as GetRedpacketsByAddressParams, gq as GetRedpacketsByAddressResult, e3 as GetRedpacketsChain, e2 as GetRedpacketsParams, go as GetRedpacketsResult, G as GetResult, dd as GetSecurity200, fs as GetSecurityResult, cW as GetStatsMulti200, cV as GetStatsMultiParams, fe as GetStatsMultiResult, fd as GetStatsResult, dv as GetStocksTokensParams, fJ as GetStocksTokensResult, dw as GetStocksTokensSortBy, dx as GetStocksTokensSortDirection, dy as GetStocksTokensTag, ec as GetSupportedBlockchainsResult, df as GetTokenLiquiditySnapshotsDirection, de as GetTokenLiquiditySnapshotsParams, fv as GetTokenLiquiditySnapshotsResult, f9 as GetTokenResult, fu as GetTokenTradersResult, dj as GetTokenTransferTotalDirection, di as GetTokenTransferTotalParams, fx as GetTokenTransferTotalResult, dh as GetTokenTransfersDirection, dg as GetTokenTransfersParams, fw as GetTokenTransfersResult, dO as GetTokensBalanceDirection, dN as GetTokensBalanceParams, g3 as GetTokensBalanceResult, cM as GetTokensParams, f8 as GetTokensResult, cN as GetTokensSortBy, cO as GetTokensSortDirection, fk as GetTopHoldersResult, cB as GetTopTradersDirection, cA as GetTopTradersParams, eG as GetTopTradersResult, cE as GetTopTradersSortBy, cD as GetTopTradersSortType, cC as GetTopTradersTimeFrame, cG as GetTraderGainersLosersDirection, cF as GetTraderGainersLosersParams, eH as GetTraderGainersLosersResult, cH as GetTraderGainersLosersSortType, cv as GetTradesDirection, cu as GetTradesParams, eE as GetTradesResult, cw as GetTradesType, gL as GetTransferAlertsResult, gK as GetTransferDirectExposureResult, gM as GetTransferNetworkIdentificationsResult, gJ as GetTransferSummaryResult, dK as GetWalletFirstTxParams, g0 as GetWalletFirstTxResult, d_ as GetWalletTransferTotalDirection, dZ as GetWalletTransferTotalParams, ga as GetWalletTransferTotalResult, dY as GetWalletTransfersDirection, dX as GetWalletTransfersParams, g9 as GetWalletTransfersResult, gR as GetWithdrawalAddressIdentificationsResult, gQ as GetWithdrawalAlertsResult, gP as GetWithdrawalDirectExposureResult, gT as GetWithdrawalFraudAssessmentResult, gS as GetWithdrawalNetworkIdentificationsResult, gO as GetWithdrawalSummaryResult, E as JobDTO, J as JobDTOResult, H as JobStreamingDTO, F as JobStreamingDTOData, bU as KYTRegisterTransferRequest, bT as KYTRegisterTransferRequestDirection, bS as KYTRegisterTransferRequestNetwork, c1 as KYTRegisterWithdrawalRequest, c0 as KYTRegisterWithdrawalRequestNetwork, ac as Link, ab as LinkLabel, cs as ListDexParams, et as ListDexResult, e7 as ListEndpointsOrder, e6 as ListEndpointsParams, h1 as ListEndpointsResult, da as ListTokenDirection, d9 as ListTokenParams, fr as ListTokenResult, db as ListTokenSort, dc as ListTokenSortBy, af as MoonshotCreateTokenInput, ad as MoonshotCreateTokenInputDex, ae as MoonshotCreateTokenInputMigrationDex, ah as MoonshotCreateTokenReply, ag as MoonshotCreateTokenReplyExtra, ew as MoonshotCreateTokenResult, ct as MoonshotSubmitCreateToken200, aj as MoonshotSubmitCreateTokenInput, ai as MoonshotSubmitCreateTokenInputExtra, ex as MoonshotSubmitCreateTokenResult, b_ as NetworkIdentificationOrg, c5 as OnChainActivity, bi as PnlDetailItemDTO, bh as PnlDetailSummaryDTO, bj as PnlDetailsPage, bu as PnlResolution, e9 as PresignResult, aW as PriceType, am as PumpCreateTokenInput, ak as PumpCreateTokenInputDex, al as PumpCreateTokenInputMigrationDex, ao as PumpCreateTokenReply, an as PumpCreateTokenReplyExtra, ez as PumpfunCreateTokenResult, cr as QuoteDex, cq as QuoteParams, er as QuoteResult, bN as RedPacketClaimDTO, bO as RedPacketClaimsPage, bM as RedPacketDTO, bK as RedPacketReply, bQ as RedPacketSendTxInput, bR as RedPacketSendTxResponse, bP as RedPacketsPage, gr as RedpacketSendResult, c8 as RegisterAddressRequest, c9 as RegisterAddressResponseDTO, gU as RegisterAddressResult, gI as RegisterTransferResult, gN as RegisterWithdrawalResult, aV as Resolution, h7 as RotateEndpointSecretResult, eq as RouteResult, cJ as SearchDirection, cI as SearchParams, f7 as SearchResult, cK as SearchSort, cL as SearchSortBy, eh 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, ep as SwapResult, a1 as SwapRouteInput, $ as SwapRouteInputDex, a0 as SwapRouteInputSwapMode, a3 as SwapRouteResponse, a2 as SwapRouteResponseRouteInfo, aM as Token, a$ as TokenCreationDTO, a_ as TokenCreationDTOType, b0 as TokenCreationPage, aw as TokenCreatorsDTO, aL as TokenExtension, ax as TokenExtraDTO, aT as TokenHolder, aU as TokenHolderPage, b6 as TokenLiquiditySnapshotDTO, b7 as TokenLiquiditySnapshotPage, b1 as TokenListPage, aK as TokenMarketData, aR as TokenMetadata, aO as TokenPage, aN as TokenPageCountsByProtocols, aY as TokenPriceDTO, aZ as TokenPricePage, T as TokenProvider, ay as TokenSocialMediasDTO, aE as TokenStat, aD as TokenStatPeriods, aC as TokenTradeStatPeriod, aB as TokenTradeStatPeriodBuySellRatio, aA as TokenTradeStatPeriodLiquidityChangeRatio, az as TokenTradeStatPeriodVolumeChangeRatio, b5 as TokenTrader, b4 as TokenTraderOnchainCreatedAt, b3 as TokenTraderTag, b9 as TokenTransferItemDTO, b8 as TokenTransferItemDTOFlow, ba as TokenTransferPage, bb as TokenTransferTotalDTO, bq as TokensBalancePage, ar as TopTradersDTO, as as TopTradersPage, ap as TradeDetailDTO, cp as TradeEvent, aq as TradePage, co as TradeType, au as TraderGainersLosersItemDTO, av as TraderGainersLosersPage, at as TraderPnlResolution, bz as TransactionHistoryItemDTO, by as TransactionHistoryItemDTOMainAction, bx as TransactionHistoryItemDTOStatus, bA as TransactionHistoryPage, bZ as TransferAlertsResponseDTO, bV as TransferBaseResponseDTO, bX as TransferDirectExposureResponseDTO, b$ as TransferNetworkIdentificationsResponseDTO, U as Unsubscribable, cn as UpdateEndpointInput, cl as UpdateEndpointInputChannelsItem, cm as UpdateEndpointInputMetadata, h3 as UpdateEndpointResult, bl as WalletFirstTxDTO, bk as WalletFirstTxDTOWallets, bs as WalletNetWorthChartDTO, bt as WalletNetWorthDetailsPage, br as WalletNetWorthHistoryItemDTO, bo as WalletNetWorthItemDTO, bp as WalletNetWorthPage, bg as WalletNetWorthSummaryDTO, bf as WalletNetWorthSummaryDTOWallets, bw as WalletPnlSummaryDTO, bv as WalletPnlSummaryDTOResolution, gt as WatchlistAddResult, c4 as WithdrawalAddressIdentificationsResponseDTO, c2 as WithdrawalBaseResponseDTO, c7 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, fP as calculatePnl, gd as claimRedpacket, gX as createEndpoint, gc as createRedpacket, en as createToken, g_ as deleteEndpoint, A as get, eB as getActivities, gH as getAddressRisk, fZ as getBalanceUpdates, eS as getCandles, gf as getClaims, gh as getClaimsByAddress, e_ as getCreation, f2 as getDevTokens, fy as getDexpool, fz as getDexpoolSnapshots, gZ as getEndpoint, g$ as getEndpointSecret, fF as getFinalStretchTokens, eg as getGasLimit, ef as getGasPrice, eQ as getHolders, eR as getHoldersMulti, fC as getHotTokens, eb as getLatestBlock, eW as getMarketData, eX as getMarketDataMulti, eL as getMetadata, eM as getMetadataMulti, fG as getMigratedTokens, e$ as getMintAndBurn, fQ as getNetWorth, fS as getNetWorthChart, fT as getNetWorthDetails, fM as getNetWorthSummary, fD as getNewTokens, eU as getPairCandles, fU as getPnl, fW as getPnlByToken, fN as getPnlByWallet, fV as getPnlDetails, eT as getPoolCandles, eN as getPools, eZ as getPriceByTime, eY as getPrices, ge as getRedpacket, gg as getRedpackets, gi as getRedpacketsByAddress, f1 as getSecurity, eO as getStats, eP as getStatsMulti, fE as getStocksTokens, ea as getSupportedBlockchains, eK as getToken, f4 as getTokenLiquiditySnapshots, f3 as getTokenTraders, f6 as getTokenTransferTotal, f5 as getTokenTransfers, eJ as getTokens, fR as getTokensBalance, eV as getTopHolders, eC as getTopTraders, eD as getTraderGainersLosers, eA as getTrades, gx as getTransferAlerts, gw as getTransferDirectExposure, gy as getTransferNetworkIdentifications, gv as getTransferSummary, fO as getWalletFirstTx, fY as getWalletTransferTotal, fX as getWalletTransfers, gD as getWithdrawalAddressIdentifications, gC as getWithdrawalAlerts, gB as getWithdrawalDirectExposure, gF as getWithdrawalFraudAssessment, gE as getWithdrawalNetworkIdentifications, gA as getWithdrawalSummary, eo as listDex, gW as listEndpoints, f0 as listToken, eu as moonshotCreateToken, ev as moonshotSubmitCreateToken, e8 as presign, ey as pumpfunCreateToken, em as quote, gj as redpacketSend, gG as registerAddress, gu as registerTransfer, gz as registerWithdrawal, h0 as rotateEndpointSecret, el as route, eI as search, ee as send, B as streaming, ek as swap, gY as updateEndpoint, gs as watchlistAdd } from './chainstream-DLKhKJTp.js';
|
|
1
|
+
export { cc as AddressExposure, cd as AddressRiskResponseDTO, b_ as AlertDetail, c8 as AlteryaIdentification, bE as BalanceChangeType, bD as BalanceTokenType, bF as BalanceUpdateDTO, bG as BalanceUpdatePage, I as BlockchainDTO, L as BlockchainLatestBlockDTO, bp as BooleanResultDTO, bo as CalculatePnlInput, g3 as CalculatePnlResult, aX as Candle, bN as Chain, C as ChainStreamClient, y as ChainStreamClientOptions, z as ChainStreamRequestContext, K as ChainSymbol, c5 as ChainalysisAddressIdentification, bL as ClaimRedPacketInput, bK as ClaimRedPacketInputChain, gn as ClaimRedpacketResult, cm as CreateEndpointInput, ck as CreateEndpointInputChannelsItem, cl as CreateEndpointInputMetadata, h4 as CreateEndpointResult, bI as CreateRedPacketInput, bH as CreateRedPacketInputChain, bJ as CreateRedPacketReply, gm as CreateRedpacketResult, a7 as CreateTokenInput, a5 as CreateTokenInputDex, a6 as CreateTokenInputExtra, a8 as CreateTokenReply, eu as CreateTokenResult, h7 as DeleteEndpointResult, b2 as DevTokenDTO, a9 as DexDTO, aa as DexPage, aJ as DexPoolDTO, aI as DexPoolDTOLiquidityModel, aG as DexPoolDTOType, aH as DexPoolDTOVersion, aS as DexPoolPage, bd as DexPoolSnapshotDTO, be as DexPoolSnapshotPage, aF as DexPoolTokenLiquidity, bc as DexPoolTokenSnapshotDTO, a4 as DexQuoteResponse, bY as DirectExposureDetail, ch as EndpointListResponse, cj as EndpointOperationResponse, cg as EndpointResponse, ce as EndpointResponseChannelsItem, cf as EndpointResponseMetadata, ci as EndpointSecretResponse, R as EstimateGasLimitInput, V as EstimateGasLimitResponse, aQ as FilterCondition, aP as FilterConditionField, Q as GasPriceResponse, cA as GetActivitiesDirection, cz as GetActivitiesParams, eH as GetActivitiesResult, cB as GetActivitiesType, gX as GetAddressRiskResult, e2 as GetBalanceUpdatesDirection, e1 as GetBalanceUpdatesParams, gd as GetBalanceUpdatesResult, d0 as GetCandlesParams, fj as GetCandlesResult, e6 as GetClaimsByAddressParams, gr as GetClaimsByAddressResult, e3 as GetClaimsParams, gp as GetClaimsResult, fr as GetCreationResult, fv as GetDevTokensResult, fC as GetDexpoolResult, dn as GetDexpoolSnapshotsDirection, dm as GetDexpoolSnapshotsParams, fD as GetDexpoolSnapshotsResult, h6 as GetEndpointResult, h8 as GetEndpointSecretResult, dB as GetFinalStretchTokensParams, fM as GetFinalStretchTokensResult, dC as GetFinalStretchTokensSortBy, dD as GetFinalStretchTokensSortDirection, dE as GetFinalStretchTokensTag, el as GetGasLimitResult, ek as GetGasPriceResult, c_ as GetHoldersDirection, c$ as GetHoldersMultiParams, fi as GetHoldersMultiResult, cZ as GetHoldersParams, fh as GetHoldersResult, dp as GetHotTokensParams, fJ as GetHotTokensResult, dq as GetHotTokensSortBy, dr as GetHotTokensSortDirection, ds as GetHotTokensTag, ef as GetLatestBlockResult, d4 as GetMarketDataMulti200, d3 as GetMarketDataMultiParams, fo as GetMarketDataMultiResult, fn as GetMarketDataResult, cS as GetMetadataMulti200, cR as GetMetadataMultiParams, fd as GetMetadataMultiResult, fc as GetMetadataResult, dF as GetMigratedTokensParams, fN as GetMigratedTokensResult, dG as GetMigratedTokensSortBy, dH as GetMigratedTokensSortDirection, dI as GetMigratedTokensTag, d9 as GetMintAndBurnDirection, d8 as GetMintAndBurnParams, fs as GetMintAndBurnResult, da as GetMintAndBurnType, dR as GetNetWorthChartParams, g6 as GetNetWorthChartResult, dT as GetNetWorthDetailsDirection, dS as GetNetWorthDetailsParams, g7 as GetNetWorthDetailsResult, dO as GetNetWorthDirection, dN as GetNetWorthParams, g4 as GetNetWorthResult, dJ as GetNetWorthSummaryParams, g0 as GetNetWorthSummaryResult, dt as GetNewTokensParams, fK as GetNewTokensResult, du as GetNewTokensSortBy, dv as GetNewTokensSortDirection, dw as GetNewTokensTag, d2 as GetPairCandlesParams, fl as GetPairCandlesResult, dY as GetPnlByTokenDirection, dX as GetPnlByTokenParams, ga as GetPnlByTokenResult, dL as GetPnlByWalletDirection, dK as GetPnlByWalletParams, g1 as GetPnlByWalletResult, dW as GetPnlDetailsDirection, dV as GetPnlDetailsParams, g9 as GetPnlDetailsResult, dU as GetPnlParams, g8 as GetPnlResult, d1 as GetPoolCandlesParams, fk as GetPoolCandlesResult, cU as GetPoolsDirection, cT as GetPoolsParams, fe as GetPoolsResult, cV as GetPoolsSortBy, cW as GetPoolsSortDirection, d7 as GetPriceByTimeParams, fq as GetPriceByTimeResult, d6 as GetPricesDirection, d5 as GetPricesParams, fp as GetPricesResult, go as GetRedpacketResult, e7 as GetRedpacketsByAddressParams, gs as GetRedpacketsByAddressResult, e5 as GetRedpacketsChain, e4 as GetRedpacketsParams, gq as GetRedpacketsResult, G as GetResult, df as GetSecurity200, fu as GetSecurityResult, cY as GetStatsMulti200, cX as GetStatsMultiParams, fg as GetStatsMultiResult, ff as GetStatsResult, dx as GetStocksTokensParams, fL as GetStocksTokensResult, dy as GetStocksTokensSortBy, dz as GetStocksTokensSortDirection, dA as GetStocksTokensTag, ee as GetSupportedBlockchainsResult, dh as GetTokenLiquiditySnapshotsDirection, dg as GetTokenLiquiditySnapshotsParams, fx as GetTokenLiquiditySnapshotsResult, fb as GetTokenResult, fw as GetTokenTradersResult, dl as GetTokenTransferTotalDirection, dk as GetTokenTransferTotalParams, fz as GetTokenTransferTotalResult, dj as GetTokenTransfersDirection, di as GetTokenTransfersParams, fy as GetTokenTransfersResult, dQ as GetTokensBalanceDirection, dP as GetTokensBalanceParams, g5 as GetTokensBalanceResult, cO as GetTokensParams, fa as GetTokensResult, cP as GetTokensSortBy, cQ as GetTokensSortDirection, fm as GetTopHoldersResult, cD as GetTopTradersDirection, cC as GetTopTradersParams, eI as GetTopTradersResult, cG as GetTopTradersSortBy, cF as GetTopTradersSortType, cE as GetTopTradersTimeFrame, cI as GetTraderGainersLosersDirection, cH as GetTraderGainersLosersParams, eJ as GetTraderGainersLosersResult, cJ as GetTraderGainersLosersSortType, cx as GetTradesDirection, cw as GetTradesParams, eG as GetTradesResult, cy as GetTradesType, gN as GetTransferAlertsResult, gM as GetTransferDirectExposureResult, gO as GetTransferNetworkIdentificationsResult, gL as GetTransferSummaryResult, dM as GetWalletFirstTxParams, g2 as GetWalletFirstTxResult, e0 as GetWalletTransferTotalDirection, d$ as GetWalletTransferTotalParams, gc as GetWalletTransferTotalResult, d_ as GetWalletTransfersDirection, dZ as GetWalletTransfersParams, gb as GetWalletTransfersResult, gT as GetWithdrawalAddressIdentificationsResult, gS as GetWithdrawalAlertsResult, gR as GetWithdrawalDirectExposureResult, gV as GetWithdrawalFraudAssessmentResult, gU as GetWithdrawalNetworkIdentificationsResult, gQ as GetWithdrawalSummaryResult, E as JobDTO, J as JobDTOResult, H as JobStreamingDTO, F as JobStreamingDTOData, bW as KYTRegisterTransferRequest, bV as KYTRegisterTransferRequestDirection, bU as KYTRegisterTransferRequestNetwork, c3 as KYTRegisterWithdrawalRequest, c2 as KYTRegisterWithdrawalRequestNetwork, ac as Link, ab as LinkLabel, cu as ListDexParams, ev as ListDexResult, e9 as ListEndpointsOrder, e8 as ListEndpointsParams, h3 as ListEndpointsResult, dc as ListTokenDirection, db as ListTokenParams, ft as ListTokenResult, dd as ListTokenSort, de as ListTokenSortBy, af as MoonshotCreateTokenInput, ad as MoonshotCreateTokenInputDex, ae as MoonshotCreateTokenInputMigrationDex, ah as MoonshotCreateTokenReply, ag as MoonshotCreateTokenReplyExtra, ey as MoonshotCreateTokenResult, cv as MoonshotSubmitCreateToken200, aj as MoonshotSubmitCreateTokenInput, ai as MoonshotSubmitCreateTokenInputExtra, ez as MoonshotSubmitCreateTokenResult, c0 as NetworkIdentificationOrg, c7 as OnChainActivity, bj as PnlDetailItemDTO, bi as PnlDetailSummaryDTO, bk as PnlDetailsPage, bw as PnlResolution, eb as PresignResult, aW as PriceType, am as PumpCreateTokenInput, ak as PumpCreateTokenInputDex, al as PumpCreateTokenInputMigrationDex, ao as PumpCreateTokenReply, an as PumpCreateTokenReplyExtra, eB as PumpfunCreateTokenResult, ct as QuoteDex, cs as QuoteParams, et as QuoteResult, bP as RedPacketClaimDTO, bQ as RedPacketClaimsPage, bO as RedPacketDTO, bM as RedPacketReply, bS as RedPacketSendTxInput, bT as RedPacketSendTxResponse, bR as RedPacketsPage, gt as RedpacketSendResult, ca as RegisterAddressRequest, cb as RegisterAddressResponseDTO, gW as RegisterAddressResult, gK as RegisterTransferResult, gP as RegisterWithdrawalResult, aV as Resolution, h9 as RotateEndpointSecretResult, es as RouteResult, cL as SearchDirection, cK as SearchParams, f9 as SearchResult, cM as SearchSort, cN as SearchSortBy, ej 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, er as SwapResult, a1 as SwapRouteInput, $ as SwapRouteInputDex, a0 as SwapRouteInputSwapMode, a3 as SwapRouteResponse, a2 as SwapRouteResponseRouteInfo, aM as Token, a$ as TokenCreationDTO, a_ as TokenCreationDTOType, b0 as TokenCreationPage, aw as TokenCreatorsDTO, aL as TokenExtension, ax as TokenExtraDTO, aT as TokenHolder, aU as TokenHolderPage, b6 as TokenLiquiditySnapshotDTO, b7 as TokenLiquiditySnapshotPage, b1 as TokenListPage, aK as TokenMarketData, aR as TokenMetadata, aO as TokenPage, aN as TokenPageCountsByProtocols, aY as TokenPriceDTO, aZ as TokenPricePage, T as TokenProvider, ay as TokenSocialMediasDTO, aE as TokenStat, aD as TokenStatPeriods, aC as TokenTradeStatPeriod, aB as TokenTradeStatPeriodBuySellRatio, aA as TokenTradeStatPeriodLiquidityChangeRatio, az as TokenTradeStatPeriodVolumeChangeRatio, b5 as TokenTrader, b4 as TokenTraderOnchainCreatedAt, b3 as TokenTraderTag, b9 as TokenTransferItemDTO, b8 as TokenTransferItemDTOFlow, ba as TokenTransferPage, bb as TokenTransferTotalDTO, bs as TokensBalancePage, ar as TopTradersDTO, as as TopTradersPage, ap as TradeDetailDTO, cr as TradeEvent, aq as TradePage, cq as TradeType, au as TraderGainersLosersItemDTO, av as TraderGainersLosersPage, at as TraderPnlResolution, bB as TransactionHistoryItemDTO, bA as TransactionHistoryItemDTOMainAction, bz as TransactionHistoryItemDTOStatus, bC as TransactionHistoryPage, b$ as TransferAlertsResponseDTO, bX as TransferBaseResponseDTO, bZ as TransferDirectExposureResponseDTO, c1 as TransferNetworkIdentificationsResponseDTO, U as Unsubscribable, cp as UpdateEndpointInput, cn as UpdateEndpointInputChannelsItem, co as UpdateEndpointInputMetadata, h5 as UpdateEndpointResult, bn as WalletFirstTxDTO, bm as WalletFirstTxDTOWallets, bl as WalletFirstTxItemDTO, bu as WalletNetWorthChartDTO, bv as WalletNetWorthDetailsPage, bt as WalletNetWorthHistoryItemDTO, bq as WalletNetWorthItemDTO, br as WalletNetWorthPage, bh as WalletNetWorthSummaryDTO, bg as WalletNetWorthSummaryDTOWallets, bf as WalletNetWorthSummaryValueDTO, by as WalletPnlSummaryDTO, bx as WalletPnlSummaryDTOResolution, gv as WatchlistAddResult, c6 as WithdrawalAddressIdentificationsResponseDTO, c4 as WithdrawalBaseResponseDTO, c9 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, fR as calculatePnl, gf as claimRedpacket, gZ as createEndpoint, ge as createRedpacket, ep as createToken, h0 as deleteEndpoint, A as get, eD as getActivities, gJ as getAddressRisk, f$ as getBalanceUpdates, eU as getCandles, gh as getClaims, gj as getClaimsByAddress, f0 as getCreation, f4 as getDevTokens, fA as getDexpool, fB as getDexpoolSnapshots, g$ as getEndpoint, h1 as getEndpointSecret, fH as getFinalStretchTokens, ei as getGasLimit, eh as getGasPrice, eS as getHolders, eT as getHoldersMulti, fE as getHotTokens, ed as getLatestBlock, eY as getMarketData, eZ as getMarketDataMulti, eN as getMetadata, eO as getMetadataMulti, fI as getMigratedTokens, f1 as getMintAndBurn, fS as getNetWorth, fU as getNetWorthChart, fV as getNetWorthDetails, fO as getNetWorthSummary, fF as getNewTokens, eW as getPairCandles, fW as getPnl, fY as getPnlByToken, fP as getPnlByWallet, fX as getPnlDetails, eV as getPoolCandles, eP as getPools, e$ as getPriceByTime, e_ as getPrices, gg as getRedpacket, gi as getRedpackets, gk as getRedpacketsByAddress, f3 as getSecurity, eQ as getStats, eR as getStatsMulti, fG as getStocksTokens, ec as getSupportedBlockchains, eM as getToken, f6 as getTokenLiquiditySnapshots, f5 as getTokenTraders, f8 as getTokenTransferTotal, f7 as getTokenTransfers, eL as getTokens, fT as getTokensBalance, eX as getTopHolders, eE as getTopTraders, eF as getTraderGainersLosers, eC as getTrades, gz as getTransferAlerts, gy as getTransferDirectExposure, gA as getTransferNetworkIdentifications, gx as getTransferSummary, fQ as getWalletFirstTx, f_ as getWalletTransferTotal, fZ as getWalletTransfers, gF as getWithdrawalAddressIdentifications, gE as getWithdrawalAlerts, gD as getWithdrawalDirectExposure, gH as getWithdrawalFraudAssessment, gG as getWithdrawalNetworkIdentifications, gC as getWithdrawalSummary, eq as listDex, gY as listEndpoints, f2 as listToken, ew as moonshotCreateToken, ex as moonshotSubmitCreateToken, ea as presign, eA as pumpfunCreateToken, eo as quote, gl as redpacketSend, gI as registerAddress, gw as registerTransfer, gB as registerWithdrawal, h2 as rotateEndpointSecret, en as route, eK as search, eg as send, B as streaming, em as swap, g_ as updateEndpoint, gu as watchlistAdd } from './chainstream-BY9CsB3h.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
|
@@ -15,7 +15,7 @@ import axiosRetry, { exponentialDelay } from "axios-retry";
|
|
|
15
15
|
var axiosInstance;
|
|
16
16
|
var currentOptions = void 0;
|
|
17
17
|
var configure = (options) => {
|
|
18
|
-
const baseURL = options.basePath || "https://api
|
|
18
|
+
const baseURL = options.basePath || "https://api.chainstream.io";
|
|
19
19
|
currentOptions = {
|
|
20
20
|
...options,
|
|
21
21
|
basePath: baseURL
|
|
@@ -239,12 +239,35 @@ var CEL_FIELD_MAPPINGS = {
|
|
|
239
239
|
balanceTagRatRatio: "btrr",
|
|
240
240
|
timestamp: "ts"
|
|
241
241
|
},
|
|
242
|
-
// New token subscription fields
|
|
242
|
+
// New token subscription fields (dex-new-token, supports CEL filter)
|
|
243
243
|
subscribeNewToken: {
|
|
244
244
|
tokenAddress: "a",
|
|
245
245
|
name: "n",
|
|
246
246
|
symbol: "s",
|
|
247
|
-
|
|
247
|
+
decimals: "dec",
|
|
248
|
+
imageUrl: "iu",
|
|
249
|
+
description: "de",
|
|
250
|
+
createdAtMs: "cts",
|
|
251
|
+
coingeckoCoinId: "cgi",
|
|
252
|
+
"socialMedia.twitter": "sm.tw",
|
|
253
|
+
"socialMedia.telegram": "sm.tg",
|
|
254
|
+
"socialMedia.website": "sm.w",
|
|
255
|
+
"socialMedia.tiktok": "sm.tt",
|
|
256
|
+
"socialMedia.discord": "sm.dc",
|
|
257
|
+
"socialMedia.facebook": "sm.fb",
|
|
258
|
+
"socialMedia.github": "sm.gh",
|
|
259
|
+
"socialMedia.instagram": "sm.ig",
|
|
260
|
+
"socialMedia.linkedin": "sm.li",
|
|
261
|
+
"socialMedia.medium": "sm.md",
|
|
262
|
+
"socialMedia.reddit": "sm.rd",
|
|
263
|
+
"socialMedia.youtube": "sm.yt",
|
|
264
|
+
"socialMedia.bitbucket": "sm.bb",
|
|
265
|
+
"launchFrom.programAddress": "lf.pa",
|
|
266
|
+
"launchFrom.protocolFamily": "lf.pf",
|
|
267
|
+
"launchFrom.protocolName": "lf.pn",
|
|
268
|
+
"migratedTo.programAddress": "mt.pa",
|
|
269
|
+
"migratedTo.protocolFamily": "mt.pf",
|
|
270
|
+
"migratedTo.protocolName": "mt.pn"
|
|
248
271
|
},
|
|
249
272
|
// Token supply subscription fields
|
|
250
273
|
subscribeTokenSupply: {
|
|
@@ -267,15 +290,65 @@ var CEL_FIELD_MAPPINGS = {
|
|
|
267
290
|
value: "v",
|
|
268
291
|
timestamp: "ts"
|
|
269
292
|
},
|
|
270
|
-
// New token metadata subscription fields
|
|
293
|
+
// New token metadata subscription fields (dex-new-tokens-metadata)
|
|
271
294
|
subscribeNewTokensMetadata: {
|
|
272
295
|
tokenAddress: "a",
|
|
273
296
|
name: "n",
|
|
297
|
+
decimals: "dec",
|
|
274
298
|
symbol: "s",
|
|
275
299
|
imageUrl: "iu",
|
|
276
300
|
description: "de",
|
|
277
|
-
|
|
278
|
-
|
|
301
|
+
createdAtMs: "cts",
|
|
302
|
+
coingeckoCoinId: "cgi",
|
|
303
|
+
"socialMedia.twitter": "sm.tw",
|
|
304
|
+
"socialMedia.telegram": "sm.tg",
|
|
305
|
+
"socialMedia.website": "sm.w",
|
|
306
|
+
"socialMedia.tiktok": "sm.tt",
|
|
307
|
+
"socialMedia.discord": "sm.dc",
|
|
308
|
+
"socialMedia.facebook": "sm.fb",
|
|
309
|
+
"socialMedia.github": "sm.gh",
|
|
310
|
+
"socialMedia.instagram": "sm.ig",
|
|
311
|
+
"socialMedia.linkedin": "sm.li",
|
|
312
|
+
"socialMedia.medium": "sm.md",
|
|
313
|
+
"socialMedia.reddit": "sm.rd",
|
|
314
|
+
"socialMedia.youtube": "sm.yt",
|
|
315
|
+
"socialMedia.bitbucket": "sm.bb",
|
|
316
|
+
"launchFrom.programAddress": "lf.pa",
|
|
317
|
+
"launchFrom.protocolFamily": "lf.pf",
|
|
318
|
+
"launchFrom.protocolName": "lf.pn",
|
|
319
|
+
"migratedTo.programAddress": "mt.pa",
|
|
320
|
+
"migratedTo.protocolFamily": "mt.pf",
|
|
321
|
+
"migratedTo.protocolName": "mt.pn"
|
|
322
|
+
},
|
|
323
|
+
// New tokens list subscription fields (dex-new-tokens)
|
|
324
|
+
subscribeNewTokens: {
|
|
325
|
+
tokenAddress: "a",
|
|
326
|
+
name: "n",
|
|
327
|
+
decimals: "dec",
|
|
328
|
+
symbol: "s",
|
|
329
|
+
imageUrl: "iu",
|
|
330
|
+
description: "de",
|
|
331
|
+
createdAtMs: "cts",
|
|
332
|
+
coingeckoCoinId: "cgi",
|
|
333
|
+
"socialMedia.twitter": "sm.tw",
|
|
334
|
+
"socialMedia.telegram": "sm.tg",
|
|
335
|
+
"socialMedia.website": "sm.w",
|
|
336
|
+
"socialMedia.tiktok": "sm.tt",
|
|
337
|
+
"socialMedia.discord": "sm.dc",
|
|
338
|
+
"socialMedia.facebook": "sm.fb",
|
|
339
|
+
"socialMedia.github": "sm.gh",
|
|
340
|
+
"socialMedia.instagram": "sm.ig",
|
|
341
|
+
"socialMedia.linkedin": "sm.li",
|
|
342
|
+
"socialMedia.medium": "sm.md",
|
|
343
|
+
"socialMedia.reddit": "sm.rd",
|
|
344
|
+
"socialMedia.youtube": "sm.yt",
|
|
345
|
+
"socialMedia.bitbucket": "sm.bb",
|
|
346
|
+
"launchFrom.programAddress": "lf.pa",
|
|
347
|
+
"launchFrom.protocolFamily": "lf.pf",
|
|
348
|
+
"launchFrom.protocolName": "lf.pn",
|
|
349
|
+
"migratedTo.programAddress": "mt.pa",
|
|
350
|
+
"migratedTo.protocolFamily": "mt.pf",
|
|
351
|
+
"migratedTo.protocolName": "mt.pn"
|
|
279
352
|
},
|
|
280
353
|
// Token trades subscription fields
|
|
281
354
|
subscribeTokenTrades: {
|
|
@@ -351,12 +424,14 @@ function replaceFilterFields(filter, methodName) {
|
|
|
351
424
|
}
|
|
352
425
|
const fieldMappings = getFieldMappings(methodName);
|
|
353
426
|
let result = filter;
|
|
354
|
-
|
|
427
|
+
const sortedEntries = Object.entries(fieldMappings).sort(([a], [b]) => b.length - a.length);
|
|
428
|
+
for (const [longField, shortField] of sortedEntries) {
|
|
429
|
+
const escapedField = longField.replace(/\./g, "\\.");
|
|
355
430
|
const patterns = [
|
|
356
|
-
// Pattern 1: fieldName (
|
|
357
|
-
new RegExp(`\\
|
|
358
|
-
// Pattern 2:
|
|
359
|
-
new RegExp(`\\
|
|
431
|
+
// Pattern 1: meta.fieldName (with meta. prefix) — check first to avoid double meta.
|
|
432
|
+
new RegExp(`\\bmeta\\.${escapedField}\\b`, "g"),
|
|
433
|
+
// Pattern 2: fieldName (without meta. prefix)
|
|
434
|
+
new RegExp(`\\b${escapedField}\\b`, "g")
|
|
360
435
|
];
|
|
361
436
|
patterns.forEach((pattern) => {
|
|
362
437
|
result = result.replace(pattern, `meta.${shortField}`);
|
|
@@ -663,6 +738,57 @@ var StreamApi = class {
|
|
|
663
738
|
[`liquidityChangeRatio${suffix}`]: this.formatScientificNotation(data[`lpc${suffix}`])
|
|
664
739
|
};
|
|
665
740
|
}
|
|
741
|
+
/**
|
|
742
|
+
* Parse social media data from short field names
|
|
743
|
+
*/
|
|
744
|
+
parseSocialMedia(sm) {
|
|
745
|
+
if (!sm) return void 0;
|
|
746
|
+
return {
|
|
747
|
+
twitter: sm.tw,
|
|
748
|
+
telegram: sm.tg,
|
|
749
|
+
website: sm.w,
|
|
750
|
+
tiktok: sm.tt,
|
|
751
|
+
discord: sm.dc,
|
|
752
|
+
facebook: sm.fb,
|
|
753
|
+
github: sm.gh,
|
|
754
|
+
instagram: sm.ig,
|
|
755
|
+
linkedin: sm.li,
|
|
756
|
+
medium: sm.md,
|
|
757
|
+
reddit: sm.rd,
|
|
758
|
+
youtube: sm.yt,
|
|
759
|
+
bitbucket: sm.bb
|
|
760
|
+
};
|
|
761
|
+
}
|
|
762
|
+
/**
|
|
763
|
+
* Parse DEX protocol data from short field names
|
|
764
|
+
*/
|
|
765
|
+
parseDexProtocol(lf) {
|
|
766
|
+
if (!lf) return void 0;
|
|
767
|
+
const result = {};
|
|
768
|
+
if (lf.pa) result.programAddress = lf.pa;
|
|
769
|
+
if (lf.pf) result.protocolFamily = lf.pf;
|
|
770
|
+
if (lf.pn) result.protocolName = lf.pn;
|
|
771
|
+
return result;
|
|
772
|
+
}
|
|
773
|
+
/**
|
|
774
|
+
* Parse a TokenMetadataTimeEvent from raw WebSocket data
|
|
775
|
+
*/
|
|
776
|
+
parseTokenMetadata(data) {
|
|
777
|
+
const result = {
|
|
778
|
+
tokenAddress: data.a
|
|
779
|
+
};
|
|
780
|
+
if (data.n != null) result.name = data.n;
|
|
781
|
+
if (data.dec != null) result.decimals = data.dec;
|
|
782
|
+
if (data.s != null) result.symbol = data.s;
|
|
783
|
+
if (data.iu != null) result.imageUrl = data.iu;
|
|
784
|
+
if (data.de != null) result.description = data.de;
|
|
785
|
+
if (data.sm) result.socialMedia = this.parseSocialMedia(data.sm);
|
|
786
|
+
if (data.cts != null) result.createdAtMs = data.cts;
|
|
787
|
+
if (data.cgi != null) result.coingeckoCoinId = data.cgi;
|
|
788
|
+
if (data.lf) result.launchFrom = this.parseDexProtocol(data.lf);
|
|
789
|
+
if (data.mt) result.migratedTo = this.parseDexProtocol(data.mt);
|
|
790
|
+
return result;
|
|
791
|
+
}
|
|
666
792
|
/**
|
|
667
793
|
* Subscribe to token trade statistics
|
|
668
794
|
* Channel: dex-token-stats:{chain}_{tokenAddress}
|
|
@@ -763,6 +889,10 @@ var StreamApi = class {
|
|
|
763
889
|
"subscribeTokenHolders"
|
|
764
890
|
);
|
|
765
891
|
}
|
|
892
|
+
/**
|
|
893
|
+
* Subscribe to new token events (single token per event, supports CEL filter)
|
|
894
|
+
* Channel: dex-new-token:{chain}
|
|
895
|
+
*/
|
|
766
896
|
subscribeNewToken({
|
|
767
897
|
chain,
|
|
768
898
|
callback,
|
|
@@ -778,28 +908,24 @@ var StreamApi = class {
|
|
|
778
908
|
symbol: data.s,
|
|
779
909
|
createdAtMs: data.cts
|
|
780
910
|
};
|
|
781
|
-
if (data.dec)
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
if (data.
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
result.launchFrom.programAddress = lf.pa;
|
|
789
|
-
}
|
|
790
|
-
if (lf.pf) {
|
|
791
|
-
result.launchFrom.protocolFamily = lf.pf;
|
|
792
|
-
}
|
|
793
|
-
if (lf.pn) {
|
|
794
|
-
result.launchFrom.protocolName = lf.pn;
|
|
795
|
-
}
|
|
796
|
-
}
|
|
911
|
+
if (data.dec != null) result.decimals = data.dec;
|
|
912
|
+
if (data.iu != null) result.imageUrl = data.iu;
|
|
913
|
+
if (data.de != null) result.description = data.de;
|
|
914
|
+
if (data.sm) result.socialMedia = this.parseSocialMedia(data.sm);
|
|
915
|
+
if (data.cgi != null) result.coingeckoCoinId = data.cgi;
|
|
916
|
+
if (data.lf) result.launchFrom = this.parseDexProtocol(data.lf);
|
|
917
|
+
if (data.mt) result.migratedTo = this.parseDexProtocol(data.mt);
|
|
797
918
|
callback(result);
|
|
798
919
|
},
|
|
799
920
|
filter,
|
|
800
921
|
"subscribeNewToken"
|
|
801
922
|
);
|
|
802
923
|
}
|
|
924
|
+
/**
|
|
925
|
+
* Subscribe to new tokens metadata (batch, aggregated every 1 second)
|
|
926
|
+
* Channel: dex-new-tokens-metadata:{chain}
|
|
927
|
+
* No CEL filter support
|
|
928
|
+
*/
|
|
803
929
|
subscribeNewTokensMetadata({
|
|
804
930
|
chain,
|
|
805
931
|
callback
|
|
@@ -807,35 +933,22 @@ var StreamApi = class {
|
|
|
807
933
|
const channel = `dex-new-tokens-metadata:${chain}`;
|
|
808
934
|
return this.subscribe(
|
|
809
935
|
channel,
|
|
810
|
-
(data) => callback(
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
facebook: sm.fb,
|
|
827
|
-
github: sm.gh,
|
|
828
|
-
instagram: sm.ig,
|
|
829
|
-
linkedin: sm.li,
|
|
830
|
-
medium: sm.md,
|
|
831
|
-
reddit: sm.rd,
|
|
832
|
-
youtube: sm.yt,
|
|
833
|
-
bitbucket: sm.bb
|
|
834
|
-
};
|
|
835
|
-
})(),
|
|
836
|
-
createdAtMs: it.cts
|
|
837
|
-
}))
|
|
838
|
-
)
|
|
936
|
+
(data) => callback(data.map((it) => this.parseTokenMetadata(it)))
|
|
937
|
+
);
|
|
938
|
+
}
|
|
939
|
+
/**
|
|
940
|
+
* Subscribe to new tokens list (batch from token-created-to-realtime-pipeline)
|
|
941
|
+
* Channel: dex-new-tokens:{chain}
|
|
942
|
+
* No CEL filter support
|
|
943
|
+
*/
|
|
944
|
+
subscribeNewTokens({
|
|
945
|
+
chain,
|
|
946
|
+
callback
|
|
947
|
+
}) {
|
|
948
|
+
const channel = `dex-new-tokens:${chain}`;
|
|
949
|
+
return this.subscribe(
|
|
950
|
+
channel,
|
|
951
|
+
(data) => callback(data.map((it) => this.parseTokenMetadata(it)))
|
|
839
952
|
);
|
|
840
953
|
}
|
|
841
954
|
subscribeTokenSupply({
|
|
@@ -984,73 +1097,13 @@ var StreamApi = class {
|
|
|
984
1097
|
result.metadata.createdAtMs = t.cts;
|
|
985
1098
|
}
|
|
986
1099
|
if (t.lf) {
|
|
987
|
-
|
|
988
|
-
result.metadata.launchFrom = {};
|
|
989
|
-
if (lf.pa) {
|
|
990
|
-
result.metadata.launchFrom.programAddress = lf.pa;
|
|
991
|
-
}
|
|
992
|
-
if (lf.pf) {
|
|
993
|
-
result.metadata.launchFrom.protocolFamily = lf.pf;
|
|
994
|
-
}
|
|
995
|
-
if (lf.pn) {
|
|
996
|
-
result.metadata.launchFrom.protocolName = lf.pn;
|
|
997
|
-
}
|
|
1100
|
+
result.metadata.launchFrom = this.parseDexProtocol(t.lf);
|
|
998
1101
|
}
|
|
999
1102
|
if (t.mt) {
|
|
1000
|
-
|
|
1001
|
-
result.metadata.migratedTo = {};
|
|
1002
|
-
if (mt.pa) {
|
|
1003
|
-
result.metadata.migratedTo.programAddress = mt.pa;
|
|
1004
|
-
}
|
|
1005
|
-
if (mt.pf) {
|
|
1006
|
-
result.metadata.migratedTo.protocolFamily = mt.pf;
|
|
1007
|
-
}
|
|
1008
|
-
if (mt.pn) {
|
|
1009
|
-
result.metadata.migratedTo.protocolName = mt.pn;
|
|
1010
|
-
}
|
|
1103
|
+
result.metadata.migratedTo = this.parseDexProtocol(t.mt);
|
|
1011
1104
|
}
|
|
1012
1105
|
if (t.sm) {
|
|
1013
|
-
|
|
1014
|
-
result.metadata.socialMedia = {};
|
|
1015
|
-
if (sm.tw) {
|
|
1016
|
-
result.metadata.socialMedia.twitter = sm.tw;
|
|
1017
|
-
}
|
|
1018
|
-
if (sm.tg) {
|
|
1019
|
-
result.metadata.socialMedia.telegram = sm.tg;
|
|
1020
|
-
}
|
|
1021
|
-
if (sm.w) {
|
|
1022
|
-
result.metadata.socialMedia.website = sm.w;
|
|
1023
|
-
}
|
|
1024
|
-
if (sm.tt) {
|
|
1025
|
-
result.metadata.socialMedia.tiktok = sm.tt;
|
|
1026
|
-
}
|
|
1027
|
-
if (sm.dc) {
|
|
1028
|
-
result.metadata.socialMedia.discord = sm.dc;
|
|
1029
|
-
}
|
|
1030
|
-
if (sm.fb) {
|
|
1031
|
-
result.metadata.socialMedia.facebook = sm.fb;
|
|
1032
|
-
}
|
|
1033
|
-
if (sm.gh) {
|
|
1034
|
-
result.metadata.socialMedia.github = sm.gh;
|
|
1035
|
-
}
|
|
1036
|
-
if (sm.ig) {
|
|
1037
|
-
result.metadata.socialMedia.instagram = sm.ig;
|
|
1038
|
-
}
|
|
1039
|
-
if (sm.li) {
|
|
1040
|
-
result.metadata.socialMedia.linkedin = sm.li;
|
|
1041
|
-
}
|
|
1042
|
-
if (sm.md) {
|
|
1043
|
-
result.metadata.socialMedia.medium = sm.md;
|
|
1044
|
-
}
|
|
1045
|
-
if (sm.rd) {
|
|
1046
|
-
result.metadata.socialMedia.reddit = sm.rd;
|
|
1047
|
-
}
|
|
1048
|
-
if (sm.yt) {
|
|
1049
|
-
result.metadata.socialMedia.youtube = sm.yt;
|
|
1050
|
-
}
|
|
1051
|
-
if (sm.bb) {
|
|
1052
|
-
result.metadata.socialMedia.bitbucket = sm.bb;
|
|
1053
|
-
}
|
|
1106
|
+
result.metadata.socialMedia = this.parseSocialMedia(t.sm);
|
|
1054
1107
|
}
|
|
1055
1108
|
}
|
|
1056
1109
|
if (bc) {
|
|
@@ -2325,7 +2378,7 @@ var ChainStreamClient = class {
|
|
|
2325
2378
|
__publicField(this, "jobs");
|
|
2326
2379
|
__publicField(this, "kyt");
|
|
2327
2380
|
__publicField(this, "endpoint");
|
|
2328
|
-
const baseUrl = options.serverUrl ?? "https://api
|
|
2381
|
+
const baseUrl = options.serverUrl ?? "https://api.chainstream.io";
|
|
2329
2382
|
const streamUrl = options.streamUrl ?? "wss://realtime-dex.chainstream.io/connection/websocket";
|
|
2330
2383
|
this.requestCtx = { baseUrl, streamUrl, accessToken };
|
|
2331
2384
|
configure({
|