totalAssets

Calls the "totalAssets" function on the contract.

Example

import { totalAssets } from "thirdweb/extensions/erc4626";
const result = await totalAssets({
contract,
});

Parameters

Returns

The parsed result of the function call.