convertToAssets

Calls the "convertToAssets" function on the contract.

Example

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

Parameters

The options for the convertToAssets function.

Type

Returns

let returnType: Promise<bigint>;

The parsed result of the function call.