Import
Usage
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
yieldType | YieldType | Yes | Yield strategy type |
chainId | ChainId | Yes | Blockchain network ID |
assetAddress | Address | Yes | Asset address for vault lookup |
Return Type
Example: Input Validation
Error Handling
| Error Message Pattern | Description | Resolution |
|---|---|---|
"No vault found" | No vault matches parameters | Verify yieldType, asset, chainId |
"SDK not initialized" | SDK not initialized | Call initAmplifySDK() first |
Related
- Withdrawals Guide - Complete withdrawal flow
- getWithdrawalFee - Calculate withdrawal fees