Skip to main content
Each helper in the Amplify SDK prepares calldata for a specific vault action. Use this section as the reference companion to the Quickstart and Developer Guide.

Deposit

Use prepareDepositTxData when allowance is already in place—includes viem, wagmi, and Privy snippets.

Approve & Deposit

Sequence prepareApproveDepositTokenTxData with a deposit call to handle the standard two-transaction ERC-20 flow.

Deposit with Permit

Generate typed-data signatures via prepareDepositPermitSignature and submit a single depositWithPermit transaction.

Withdraw

Redeem shares immediately using prepareWithdrawTxData, with safety notes on slippage and liquidity.
Need full app wiring? Visit the Examples section for ready-to-run React integrations.***