Instant Withdrawals
Withdraw
const vaultAbi = [{
type: 'function', stateMutability: 'nonpayable', name: 'withdraw',
inputs: [
{name: 'assets', type: 'uint256'},
{name: 'receiver', type: 'address'},
{name: 'owner', type: 'address'},
],
outputs: [{name: 'shares', type: 'uint256'}],
}] as const
await walletClient.writeContract({
address: vault,
abi: vaultAbi,
functionName: 'withdraw',
args: [assets, receiver, owner],
})Redeem (by share count)
Falling back to scheduled
Last updated
Was this helpful?
