Retrieves the bytecode of a contract.
import { getBytecode } from "thirdweb/contract";const bytecode = await getBytecode(contract);
function getBytecode(contract: Readonly): Promise<`0x${string}`>;
The ThirdwebContract instance.
let contract: Readonly;
let returnType: Promise<`0x${string}`>;
A Promise that resolves to the bytecode of the contract.