Calls the "getPublishedContractVersions" function on the contract.
import { getPublishedContractVersions } from "thirdweb/extensions/thirdweb"; const result = await getPublishedContractVersions({ contract, publisher: ..., contractId: ...,});
function getPublishedContractVersions(options: BaseTransactionOptions<GetPublishedContractVersionsParams>) : Promise<readonly Array<{ bytecodeHash: `0x${string}`; contractId: string; implementation: string; publishMetadataUri: string; publishTimestamp: bigint }>>
The options for the getPublishedContractVersions function.
let options: BaseTransactionOptions<GetPublishedContractVersionsParams>;
let returnType: Promise<readonly Array<{ bytecodeHash: `0x${string}`; contractId: string; implementation: string; publishMetadataUri: string; publishTimestamp: bigint }>>
The parsed result of the function call.