Withdrawals
Handling withdrawals
In order to initiate withdrawal, use the following code:
Where:
vaultAddress is one of the vault set up by Yelay. See vault addresses here: https://yelay.gitbook.io/yelay-v3-sdk-docs/setting-up-check
poolId is one the projects (aka "pools") set up by the Client in the vault
The withdrawals always return vault assets. I.e. USDC vault returns USDC, while WETH returns WETH etc.
Last updated