Docs

maxDeposit

Calls the "maxDeposit" function on the contract.

Example

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

Parameters

Returns

The parsed result of the function call.