Skip to main content

Module portfolio

Module portfolio 

Source
Expand description

Portfolio aggregation from multiple API sources

This module fetches wallet token balances from multiple sources in parallel and merges them into a unified view.

Structs§

MergedToken
A token merged from multiple sources
PortfolioBalance
Portfolio token balance (distinct from normalize::PortfolioBalance)
PortfolioResult
Aggregated portfolio result (distinct from normalize::PortfolioResult)

Enums§

PortfolioSource
Supported portfolio data sources

Functions§

fetch_portfolio_all
Fetch portfolio from all available sources in parallel
fetch_portfolio_from_source
Fetch portfolio from a single source
fetch_portfolio_parallel
Fetch portfolio from specified sources in parallel