Prepares a transaction to call the "mint" function on the contract.
import { mint } from "thirdweb/extensions/erc4626"; const transaction = mint({ contract, shares: ..., receiver: ..., overrides: { ... }}); // Send the transaction...
function mint( options: BaseTransactionOptions< MintParams | { asyncParams: () => Promise<MintParams> } >,): PreparedTransaction<any, AbiFunction, PrepareTransactionOptions>;
The options for the "mint" function.
let options: BaseTransactionOptions< MintParams | { asyncParams: () => Promise<MintParams> }>;
let returnType: PreparedTransaction< any, AbiFunction, PrepareTransactionOptions>;
A prepared transaction object.