Avantis is a perpetual trading protocol on Base. The API exposes a single vault (avUSDC) where depositors earn yield from trading fees.
avUSDC vault deposit with balance, APY, exchange rate, and vault metrics
query { walletPositions(inputs: [ { protocol: "avantis", chainId: 8453, walletAddress: "0x742d35Cc6634C0532925a3b8D4C9db96C4b4d8b6" } ]) { data { ... on AvantisWalletPositions { protocol walletAddress chainId vaultPosition { underlyingAsset { symbol } balanceUsd apy exchangeRate vaultMetrics { totalAssets totalSupply } } } } errors { protocol error { code message } } } }