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