Build a portfolio tracker.
A portfolio tracker shows a user's positions and how they are doing, kept current without refreshing. Chainmetric provides the data as documents you fetch over HTTP and follow live, on EVM chains and Solana.
How the pieces fit
Each screen of the app reads one Chainmetric document: a snapshot first, then the live stream.
The data it needs
| Screen | Document | Why |
|---|---|---|
| Positions | Wallet positions | Fetched once, then followed live. |
| Realized and unrealized PnL | Wallet stats | Fetched once, then followed live. |
| Price updates | Prices | Fetched once, then followed live. |
| Token details | Token stats | Fetched once, then followed live. |
Build it in four steps
Pick your chains
The same documents work on EVM chains and Solana.
Load snapshots
Fetch each document over HTTP to render the first screen.
Subscribe
Follow each document from its sequence number.
Show finality
Use each record's commitment level to mark what is still settling.
Questions people ask
What data do I need to build a portfolio tracker?
The documents shown above: wallet positions, wallet stats, prices, token stats.
Can I build a portfolio tracker without an SDK?
Yes. Chainmetric is plain HTTP, Server-Sent Events and WebSocket.
Does it work on Solana?
Yes. The same documents work on EVM chains and Solana.
Build on Chainmetric.
Live blockchain data and wallet intelligence on EVM chains and Solana, with one schema.