maxWithdraw

Calls the "maxWithdraw" function on the contract.

Example

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

Parameters

The options for the maxWithdraw function.

Type

Returns

let returnType: Promise<bigint>;

The parsed result of the function call.