get_etf_history_eth
Retrieve historical AUM data for all ETH ETFs using the MCP server to access DeFi and crypto information without managing individual API keys.
Instructions
GET /etfs/historyEth
Historical AUM of all ETH ETFs.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- defillama_server.py:419-426 (handler)The handler function for the 'get_etf_history_eth' tool. It is decorated with @mcp.tool() for automatic registration in FastMCP. The function makes a GET request to the DefiLlama API endpoint '/etfs/historyEth' using the shared 'make_request' helper and returns the JSON response as a string.@mcp.tool() async def get_etf_history_eth() -> str: """GET /etfs/historyEth Historical AUM of all ETH ETFs. """ result = await make_request('GET', '/etfs/historyEth') return str(result)