Prepare calldata
vaults.fyi Earn API endpoints help prepare payloads and calldata for interactions with smart contracts across leading DeFi protocols, including Aave, Sky, Morpho, Euler, Compound, and more.
Make protocol integrations a breeze
Supply/Deposit transactions: Use the /v1/transactions/vaults/deposit to prepare transaction details and calldata for deposit transactions. Optionally, this can also return simulations for transactions.
Redeem transactions: Use /v1/transactions/vaults/redeem to prepare transaction details and calldata for withdrawals from vaults.
for protocols with redemptions requests (e.g. Lido stETH):
Request redemption: Utilize the /v1/transactions/vaults/request-redeem endpoint to initiate a redeem request, ensuring you have access to your assets when needed.
Claim redemption: Once redemption is ready, use the /v1/transactions/vaults/claim-redeem endpoint to claim your assets seamlessly.
Claim rewards: use /v1/transactions/vaults/claim-rewards to prepare transaction details and calldata for claiming rewards accrued by a user for a specified vault.
Last updated