convertToAssets

Calls the "convertToAssets" function on the contract.

Example

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

Parameters

Returns

The parsed result of the function call.