asset

Calls the "asset" function on the contract.

Example

import { asset } from "thirdweb/extensions/erc4626";
const result = await asset({
contract,
});
function asset(options: BaseTransactionOptions): Promise<string>;

Parameters

The options for the asset function.

Type

let options: { contract: ThirdwebContract<abi> } & T;

Returns

let returnType: Promise<string>;

The parsed result of the function call.