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