DOCS

resolveImplementation

Resolve the implementation address of a proxy contract and its bytecode

function resolveImplementation(
  address: string,
  provider: Provider,
): Promise<{ address: string; bytecode: string }>;

Parameters

Returns

the implementation address and its bytecode

type ReturnType = Promise<{ address: string; bytecode: string }>;