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<CompilerMetadata>;
let contract: Readonly<ContractOptions<[]>>;
let returnType: Promise<CompilerMetadata>;
The compiler metadata for the contract