track_portfolio
Track cryptocurrency portfolio value, allocation, profit/loss, and historical performance across multiple blockchain chains using wallet address.
Instructions
Get comprehensive portfolio tracking and analytics.
Args: wallet_address: The wallet address to track chains: List of chains to include in portfolio
Returns: Portfolio value, allocation, P&L, and historical performance.
Price: $0.75
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wallet_address | Yes | ||
| chains | No |
Implementation Reference
- coinrailz_mcp/__init__.py:641-660 (handler)Implementation of the track_portfolio tool, which handles the request to the Coinrailz portfolio-tracker service.
@mcp.tool() async def track_portfolio(wallet_address: str, chains: List[str] = None) -> str: """ Get comprehensive portfolio tracking and analytics. Args: wallet_address: The wallet address to track chains: List of chains to include in portfolio Returns: Portfolio value, allocation, P&L, and historical performance. Price: $0.75 """ payload = { "walletAddress": wallet_address, "chains": chains or ["ethereum", "base", "polygon", "arbitrum"] } result = await call_coinrailz_service("portfolio-tracker", payload) return json.dumps(result, indent=2)