Skip to main content
Prepares the transaction data for executing a deposit after the user has approved token spending. Use this for the approval flow or when allowance is already sufficient.
For most use cases, use the unified deposit workflow which handles authorization automatically.

Import

Usage

Parameters

Return Type

Examples

Slippage Configuration

The default slippage is 50 basis points (0.5%). Adjust for volatile conditions:

Error Handling