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