Vault deposit
GET/v1/actions/vaults/deposit
Build calldata for an ERC-4626 vault deposit via the 1delta Composer. Native ETH is supported by passing payAsset=0x0 (or the 0xEEEE… sentinel) — the composer wraps to the vault's underlying before calling deposit.
This endpoint targets passive ERC-4626 vaults — share tokens that mint Diesel-style shares to a recipient. For Fluid's margin vaults (NFT-position lending markets), use /v1/actions/lending/deposit instead.
Native deposits
Most vaults accept native ETH only via the composer's wrap-then-deposit path. Fluid fToken vaults additionally expose a payable depositNative that skips wrapping — opt in with provider=fluid when paying with native; the dispatcher routes to the vault directly instead of through the composer.
Approvals
When callerAsset is an ERC-20, the user must approve the composer (not the vault) so it can transferIn the underlying before calling vault.deposit. The endpoint returns this approval in the permissions array of the action envelope. Native deposits and permit2 / EIP-2612 paths skip the on-chain approve.
Request
Responses
- 200
- 400
Transaction calldata + approval(s) for the vault deposit
Validation error