Prepare calldata
Last updated
Last updated
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.
Supply/Deposit transactions: Use the to prepare transaction details and calldata for deposit transactions. Optionally, this can also return simulations for transactions.
Redeem transactions: Use to prepare transaction details and calldata for withdrawals from vaults.
for protocols with redemptions requests (e.g. Lido stETH):
Request redemption: Utilize the endpoint to initiate a redeem request, ensuring you have access to your assets when needed.
Claim redemption: Once redemption is ready, use the endpoint to claim your assets seamlessly.
Claim rewards: use to prepare transaction details and calldata for claiming rewards accrued by a user for a specified vault.