resolveImplementation

Resolves the implementation address and bytecode for a given proxy contract.

Example

import { resolveImplementation } from "thirdweb";
const implementation = await resolveImplementation(contract);

Parameters

Returns

A promise that resolves to an object containing the implementation address and bytecode.