get_defi_by_protocol
Analyze wallet exposure to a specific DeFi protocol across all chains for risk assessment and yield optimization.
Instructions
Get DeFi positions for a wallet filtered by a specific protocol across all chains. Provides detailed analysis of exposure to a particular DeFi protocol for risk assessment and yield optimization.
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": {
"wallet": "<wallet>",
"protocol": "<protocol>"
},
"name": "get_defi_by_protocol"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wallet | Yes | Ethereum wallet address (42-character hex string starting with 0x) to get DeFi positions for | |
| protocol | Yes | DeFi protocol to filter by. Examples: 'uniswap', 'aave', 'compound', 'makerdao', 'curve', 'balancer', 'sushiswap', 'quickswap', 'traderjoe', 'pancakeswap' |