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, `0x${string}`>>,): Promise<{ address: string; bytecode: `0x${string}` }>;
The contract to resolve the implementation for.
let contract: Readonly<ContractOptions<any, `0x${string}`>>;
let returnType: Promise<{ address: string; bytecode: `0x${string}` }>;
A promise that resolves to an object containing the implementation address and bytecode.