previewRedeem

Calls the "previewRedeem" function on the contract.

Example

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

Parameters

The options for the previewRedeem function.

Type

Returns

let returnType: Promise<bigint>;

The parsed result of the function call.