Deposit into a vault
build_vault_depositOpen a new position in an automated vault with USDC (about half is swapped to WETH in the same transaction), or with both WETH and USDC. Minimum $5 (or $2.50 a side). Includes the USDC approval when needed. Returns unsigned transactions to sign in order (and as one EIP-5792 batch), simulated from the wallet, plus a sign_url for a human owner. Nothing is sent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vault | No | A Panda vault address from list_vaults. Optional: the open WETH/USDC vault when left out. | |
| wallet | Yes | The wallet on Base that will sign (and that owns the positions). | |
| amount_usdc | Yes | USDC to deposit, in whole USDC, e.g. "25" or "0.5". | |
| amount_weth | No | Optional: WETH to deposit alongside the USDC (no swap then). | |
| auto_compound | No | Add rewards back into the position automatically (default false: rewards are paid out). |