route
API allows withdrawing (redeeming) from a curated vault position to an arbitrary DeFi or base asset.
Withdraw PT and swap to USDC
This route redeems ezETH PT into USDC, performing any necessary withdrawals and swaps. Try this route → Route mechanics:- Redeem from
PT_ezETH
to getSY_ezETH
- Redeem from
SY_ezETH
to obtain the depositedezETH
- Swap
ezETH
to desiredUSDC
Withdraw ADAI to USDC
This sample withdrawsADAI
and swaps it to USDC in a single transaction.
Try this route →
Route mechanics:
- Withdraw deposited
ADAI
to the underlyingDAI
- Swaps
DAI
toUSDC
- The
receiver
gets the resulting funds