Loading...
Loading...
Aave V3 lending: supply tokens to earn yield, withdraw any time, view positions. Use when farming lending yield or checking Aave positions (e.g. supply 100 USDC on Arbitrum, withdraw all DAI, current Aave APY).
npx skill4agent add starchild-ai-agent/official-skills aaveaave_*aave_positions(chain)aave_supply(chain, token, amount)aave_withdraw(chain, token, amount=0, max=False)from skills.aave.exports import aave_positions, aave_supply, aave_withdrawcore.wallet_runtime| Chain | USDC | USDT | DAI | WETH | WBTC |
|---|---|---|---|---|---|
| Ethereum | yes | yes | yes | yes | yes |
| Arbitrum | yes | yes | yes | yes | yes |
| Polygon | yes | yes | yes | yes | yes |
| Optimism | yes | yes | yes | yes | yes |
| Avalanche | yes | yes | yes | yes | yes |
| Base | yes | — | yes | yes | — |
import asyncio
from skills.aave.exports import aave_positions
async def main():
result = await aave_positions(chain="arbitrum")
print(result)
asyncio.run(main())import asyncio
from skills.aave.exports import aave_supply
async def main():
result = await aave_supply(chain="arbitrum", token="USDC", amount=100)
print(result)
asyncio.run(main())import asyncio
from skills.aave.exports import aave_withdraw
async def main():
part = await aave_withdraw(chain="arbitrum", token="USDC", amount=50)
print(part)
full = await aave_withdraw(chain="arbitrum", token="USDC", max=True)
print(full)
asyncio.run(main())| Error | Cause | Solution |
|---|---|---|
| Invalid chain name | Use: ethereum, arbitrum, base, optimism, polygon, avalanche |
| Token not available on that chain | Check supported tokens table |
| Not enough tokens in wallet | Check wallet balance before supply |
| Zero or negative amount | Use a positive number |
| Wallet policy blocks transaction | Update wallet policy |
| Local dev environment | Supply/withdraw require deployed env with wallet |