get_v4_exchange_rate
Get exchange rates for any token via Aave V4's Chainlink oracle. Supports ERC-20, native tokens, and fiat currencies without requiring an API key.
Instructions
Get exchange rate for any token via Aave V4's Chainlink oracle integration. Supports ERC-20 tokens, native tokens (ETH), and fiat currencies. No API key needed.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_v4_exchange_rate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Target currency: USD, EUR, or GBP | USD |
| native | No | Set true to get native token (ETH) price instead of ERC-20 | |
| chainId | No | Chain ID for the token | |
| tokenAddress | No | ERC-20 token address (e.g. WETH: 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2) |