Retrieves the bytecode of a contract.
import { getBytecode } from "thirdweb/contract";const bytecode = await getBytecode(contract);
function getBytecode<abi extends Abi>( contract: Readonly<ContractOptions<abi>>,): Promise<Hex>;
The ThirdwebContract instance.
let contract: Readonly<ContractOptions<abi>>;
let returnType: Promise<Hex>;
A Promise that resolves to the bytecode of the contract.