contractURI

Calls the "contractURI" function on the contract.

Example

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

Parameters

The options for the contractURI function.

Type

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

Returns

let returnType: Promise<string>;

The parsed result of the function call.