Docs

previewMint

Calls the "previewMint" function on the contract.

Example

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

Parameters

Returns

The parsed result of the function call.