Prepare Veil Deposit
veil_prepare_depositPrepares unsigned Base calldata for ETH or USDC deposits into Veil. Optionally submits via WalletChan with popup approval.
Instructions
Prepare unsigned Base calldata for ETH or USDC Veil deposit. Set submitPreparedCalls=true to submit through WalletChan popup approval.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | Optional approved WalletChan sender for submission. | |
| asset | Yes | ||
| chain | No | Optional WalletChan chain override for submission. Defaults to base. | |
| owner | No | Owner address. Defaults to first approved WalletChan account. | |
| amount | Yes | Net amount intended to arrive in Veil, e.g. 0.1. | |
| previewOnly | No | If true with submitPreparedCalls, normalize calls without submitting. | |
| allowWarnings | No | Allow error-level prepared-call warnings only after explicit user confirmation. | |
| atomicRequired | No | Whether WalletChan batch execution must be atomic. | |
| submitPreparedCalls | No | If true, submit the prepared calls through WalletChan after Veil prepares them. |