maxDeposit

Calls the "maxDeposit" function on the contract.

Example

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

Parameters

The options for the maxDeposit function.

Type

Returns

let returnType: Promise<bigint>;

The parsed result of the function call.