Down the compiled metadata from thirdweb contract api and format it
import { getCompilerMetadata, getContract } from "thirdweb/contracts"; const contract = getContract({ address: "0x...", chain: ethereum, client: "",});const metadata = await getCompilerMetadata(contract);
function getCompilerMetadata( contract: Readonly<ContractOptions<[]>>,): Promise<PublishedMetadata>;
let contract: Readonly<ContractOptions<[]>>;
let returnType: Promise<PublishedMetadata>;