getPublishedContractVersions

Calls the "getPublishedContractVersions" function on the contract.

Example

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 }>>

Parameters

The options for the getPublishedContractVersions function.

Type

Returns

let returnType: Promise<readonly Array<{ bytecodeHash: `0x${string}`; contractId: string; implementation: string; publishMetadataUri: string; publishTimestamp: bigint }>>

The parsed result of the function call.