withdrawVault
Signature
Params
interface WithdrawVaultArguments {
strategyId: string;
vaultId: string;
poolId: string;
address: string;
// Acceptable wasted amount percentage. Range: [0, 100), value is enlarged 10000 times
percentage: number;
// only withraw A token
onlyTokenA?: boolean;
// only withraw B token
onlyTokenB?: boolean;
slippage?: string | number;
deadline?: number;
txb?: Transaction;
}Examples
Last updated