Docs

redeem

Calls the "redeem" function on the contract.

Example

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

Parameters

Returns

A prepared transaction object.