extractMinimalProxyImplementationAddress

Extracts the implementation address from a given bytecode string if it matches any of the known minimal proxy patterns.

Example

import { extractMinimalProxyImplementationAddress } from "thirdweb/utils";
const bytecode = "0x363d3d373d3d3d363d73...";
const implementationAddress =
extractMinimalProxyImplementationAddress(bytecode);

Parameters

Returns

The implementation address as a string if a match is found, otherwise undefined.