Withdraw
Last updated
Last updated
Byzantine provides a seamless way to deposit assets and earn rewards through restaking. This guide explains how to interact with Byzantine vaults for withdrawals.
Withdrawing your assets from Byzantine is a simple two-step process that ensures security through a waiting period.
Choose one of these methods based on what you want to specify:
By Assets
You know exactly how many tokens you want to withdraw
withdraw(assets, receiver, owner)
By Shares
You know exactly how many shares you want to redeem
redeem(shares, receiver, owner)
Where:
assets
: Number of tokens to withdraw
shares
: Number of vault shares to redeem
receiver
: Address that will receive the withdrawn assets
owner
: Address that owns the shares (usually your address)
After the waiting period has passed:
Call completeWithdrawal(requestId)
Your assets will be transferred to the receiver address you specified
Every withdrawal has a mandatory waiting period
The duration varies by protocol
During the waiting period, your withdrawal amount may be reduced if the protocol experiences slashing
This mechanism protects the protocol and other users
Monitor the status of your pending withdrawals:
getWithdrawalRequest(requestId)
: Get details of a specific request
getQueuedWithdrawalRequests(staker)
: View all your pending withdrawals
For specific withdrawal instructions: