maxDeposit

Calls the "maxDeposit" function on the contract.

Example

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

Parameters

Returns

The parsed result of the function call.