# Functions
Helper functions for asset extraction.
Helper functions for balance extraction.
CreateTransactionReader creates a new ingest.LedgerTransactionReader from a processor.Message.
Add this helper function.
ExtractLedgerCloseMeta extracts xdr.LedgerCloseMeta from a processor.Message.
ExtractLedgerTransaction extracts ingest.LedgerTransaction from a processor.Message.
ForwardToProcessors marshals the payload and forwards it to all downstream processors.
Helper function to convert ledger entry to hash.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewMarketMetricsProcessor creates a new market metrics processor.
No description provided by the author
Add this function after the existing helper functions.
NewTransformToAppAccount creates a new TransformToAppAccount processor.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewTransformToTokenPrice creates a new TransformToTokenPrice processor.
# Structs
AccountData represents key account information we want to track.
No description provided by the author
No description provided by the author
AccountTransaction represents a transaction involving a specific account.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
AssetEnrichment represents the enriched asset data.
AssetEnrichmentProcessor processes ledger entries to enrich asset data.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Data type definitions.
No description provided by the author
ContractCreation represents a contract creation event.
No description provided by the author
No description provided by the author
ContractEvent represents an event emitted by a contract.
No description provided by the author
No description provided by the author
ContractInvocation represents a contract invocation event.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DiagnosticData captures additional event diagnostic information.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Enhanced LatestLedger struct with transaction metrics.
No description provided by the author
LedgerChange represents a change in the ledger.
No description provided by the author
No description provided by the author
No description provided by the author
MarketAnalytics represents aggregated market data for a trading pair.
No description provided by the author
MarketCapAnalytics represents market cap and supply data for an asset.
MarketMetrics represents market analysis data for a trading pair.
MarketMetricsProcessor processes ledger data into market metrics.
Message encapsulates the payload to be processed.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TickerAsset represents the final ticker asset data structure Amount represents the operation amount in stroops (1 XLM = 10^7 stroops) - For payments: the payment amount - For claimable balances: the balance amount - For trustline operations: not used.
TickerOrderbook represents the orderbook data for a market.
No description provided by the author
TradeWindowEntry is used to store individual trade contributions within a sliding window.
No description provided by the author
No description provided by the author
TransformToAppAccount represents a processor that transforms account data.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TransformToTickerAssetProcessor transforms xdr.LedgerCloseMeta data into TickerAsset format.
No description provided by the author
No description provided by the author
# Interfaces
Processor defines the interface for processing messages.
# Type aliases
AnalyticsPeriod represents different time periods for analytics.
Add these type definitions after the existing var block.
No description provided by the author