Retrieves the contract metadata including name and symbol.
import { getContractMetadata } from "thirdweb/extensions/common";const metadata = await getContractMetadata({ contract });
function getContractMetadata( options: BaseTransactionOptions,): Promise<{ name: string; symbol: string }>;
The transaction options.
let options: { contract: ThirdwebContract<abi> } & T;
let returnType: Promise<{ name: string; symbol: string }>;
A promise that resolves to an object containing the resolved metadata, name, and symbol.