getCompilerMetadata

Down the compiled metadata from thirdweb contract api and format it

Example

import { getCompilerMetadata, getContract } from "thirdweb/contracts";
const contract = getContract({
address: "0x...",
chain: ethereum,
client: "",
});
const metadata = await getCompilerMetadata(contract);

Parameters

Returns