previewDeposit

Calls the "previewDeposit" function on the contract.

Example

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

Parameters

The options for the previewDeposit function.

Type

Returns

let returnType: Promise<bigint>;

The parsed result of the function call.