maxWithdraw

Calls the "maxWithdraw" function on the contract.

Example

import { maxWithdraw } from "thirdweb/extensions/erc4626";
const result = await maxWithdraw({
contract,
owner: ...,
});

Parameters

Returns

The parsed result of the function call.