previewRedeem

Calls the "previewRedeem" function on the contract.

Example

import { previewRedeem } from "thirdweb/extensions/erc4626";
const result = await previewRedeem({
contract,
shares: ...,
});

Parameters

Returns

The parsed result of the function call.