The Amplify SDK provides functions for initializing the SDK, fetching data, and preparing transactions for deposits and withdrawals.Documentation Index
Fetch the complete documentation index at: https://developers.paxoslabs.com/llms.txt
Use this file to discover all available pages before exploring further.
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.
Function Quick Reference
| Function | Description |
|---|---|
initAmplifySDK | Initialize SDK with API key and options |
fetchSupportedAssets | Get supported tokens for a yield type |
prepareDepositAuthorization | Determine optimal authorization method |
prepareDeposit | Prepare deposit with auto-detected method |
prepareDepositTxData | Prepare standard deposit transaction |
prepareDepositWithPermitTxData | Prepare permit-based deposit transaction |
prepareApproveWithdrawTxData | Prepare withdrawal approval transaction |
prepareWithdrawTxData | Prepare withdrawal execution transaction |