Initialization
initAmplifySDK
Initialize the SDK with your API key before using any other functions.
fetchSupportedAssets
Fetch supported tokens and vault configurations for a yield type.
Deposits
Deposit Workflow
The unified deposit API with
prepareDepositAuthorization and prepareDeposit.prepareDepositTxData
Prepare transaction data for a standard deposit after approval.
prepareDepositWithPermitTxData
Prepare transaction data for a permit-based deposit (single transaction).
Withdrawals
prepareApproveWithdrawTxData
Prepare the approval transaction required before withdrawing.
prepareWithdrawTxData
Prepare transaction data to redeem vault shares for tokens.