Resolves the implementation address and bytecode for a given proxy contract.
import { resolveImplementation } from "thirdweb";const implementation = await resolveImplementation(contract);
function resolveImplementation( contract: Readonly<ContractOptions<any>>,): Promise<{ address: string; bytecode: Hex }>;
The contract to resolve the implementation for.
let contract: Readonly<ContractOptions<any>>;
let returnType: `0x${string}`;
A promise that resolves to an object containing the implementation address and bytecode.