Docs

convertToShares

Calls the "convertToShares" function on the contract.

Example

import { convertToShares } from "thirdweb/extensions/erc4626";
const result = await convertToShares({
assets: ...,
});

Parameters

Returns

The parsed result of the function call.