contractType

Calls the "contractType" function on the contract.

Example

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

Parameters

The options for the contractType function.

Type

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

Returns

let returnType: Promise<string>;

The parsed result of the function call.