smart_get_l2_tvl
Retrieves Layer 2 total value locked (TVL) by chain, automatically falling back from growthepie to DefiLlama when data is unavailable.
Instructions
Get L2 TVL with automatic fallbacks: growthepie → DefiLlama
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"chain": "<chain>"
},
"name": "smart_get_l2_tvl"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | L2 chain name (e.g., "arbitrum", "optimism", "base") |