Calls the "maxDeposit" function on the contract.
import { maxDeposit } from "thirdweb/extensions/erc4626"; const result = await maxDeposit({ contract, receiver: ...,});
function maxDeposit( options: BaseTransactionOptions<MaxDepositParams>,): Promise<bigint>;
The options for the maxDeposit function.
let options: BaseTransactionOptions<MaxDepositParams>;
let returnType: Promise<bigint>;
The parsed result of the function call.