previewMint

Calls the "previewMint" function on the contract.

Example

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

Parameters

The options for the previewMint function.

Type

Returns

let returnType: Promise<bigint>;

The parsed result of the function call.