mint

Prepares a transaction to call the "mint" function on the contract.

Example

import { mint } from "thirdweb/extensions/erc4626";
const transaction = mint({
contract,
shares: ...,
receiver: ...,
overrides: {
...
}
});
// Send the transaction
...

Parameters

Returns

A prepared transaction object.