Prepares a transaction to call the "mint" function on the contract.
import { sendTransaction } from "thirdweb";import { mint } from "thirdweb/extensions/erc4626"; const transaction = mint({ contract, shares: ..., receiver: ..., overrides: { ... }}); // Send the transactionawait sendTransaction({ transaction, account });
function mint( >,
The options for the "mint" function.
A prepared transaction object.