Prepare deposit transaction
Returns ABI-encoded calldata for a vault deposit. Identify the vault by its BoringVault contract address. Provide a permit signature from the authorize step (GET /v2/core/authorization) to use the gas-free permit path; omit to use a standard approve+deposit flow. Note: permit signatures are bound to a specific spender, amount, nonce, and deadline, so replay is bounded — but because they are passed as query params they may appear in access logs, browser history, and proxy/CDN caches. Callers should use short permitDeadline values to minimize the exposure window.
Query Parameters
Slippage tolerance for the minimum shares accepted, in basis points (0-10000). Defaults to 50 (0.5%). Raise it on vaults whose deposit fee moves with market prices, where the fee quoted while preparing can change before the transaction lands and cause it to fail.
0 <= x <= 1000050
EVM chain ID to deliver the new shares to. When set, the deposit and the cross-chain transfer happen in one transaction, and the shares are issued on that chain instead of this one. No deposit fee applies on this route. Cannot be combined with permitSignature or to.
196