Deposit into DeFi
Outline:
Discover markets with
GET /api/defi/markets.Deposit with
POST /api/defi/deposit—chain_id,market_id,amount.Track shares and USD value with
GET /api/defi/positions.Withdraw with
POST /api/defi/withdraw— passsharesfrom the position.Worked example: deposit USDC into a curated yield vault on Base.
Fees, gas sponsorship, and APY semantics.
See MCP Tools for the equivalent defi_deposit / defi_withdraw tools.
Last updated