""" asset_metadata.py – Asset metadata endpoints for CoinDesk API client. - list_assets(): List all supported assets with basic metadata. - get_asset_details(symbol): Fetch detailed metadata for a specific asset. """ from client import BaseClient class AssetMetadataClient(BaseClient): def list_assets(self): """ Get a list of all supported assets and their basic metadata. :return: JSON response containing assets list. """ return self._get("assets") def get_asset_details(self, symbol): """ Get detailed metadata for a specific asset. :param symbol: Asset symbol, e.g., "BTC" or "ETH". :return: JSON response with asset details. """ return self._get(f"assets/{symbol}")