Last DEX TVL
last_tvlGet the live aggregated total value locked (TVL) for a DEX trading pair on an EVM chain like Ethereum or Arbitrum. Provide the canonical pair and chain to receive current TVL data.
Instructions
Current aggregated total value locked (TVL) for a DEX trading pair on an EVM chain, read live. Provide the canonical pair (e.g. WETH-USDC); for a wallet's token balances use dex_wallet. Returns structuredContent alongside the text.
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>",
"pair": "<pair>"
},
"name": "last_tvl"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pair | Yes | Canonical pair, e.g. WETH-USDC. | |
| chain | Yes | EVM chain: eth, base, arbitrum, bsc, polygon. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes | Number of pools aggregated. | |
| t | Yes | Timestamp, Unix epoch milliseconds. | |
| v | Yes | Version/volume counter. | |
| r0 | Yes | Reserve of token0. | |
| r1 | Yes | Reserve of token1. | |
| usd | Yes | Total value locked, USD. | |
| pair | Yes | Canonical uppercase pair, e.g. WETH-USDC. | |
| chain | Yes | Canonical lowercase chain. |