getAllPublishedContracts

Calls the "getAllPublishedContracts" function on the contract.

Example

import { getAllPublishedContracts } from "thirdweb/extensions/thirdweb";
const result = await getAllPublishedContracts({
contract,
publisher: ...,
});
function getAllPublishedContracts(options: BaseTransactionOptions<GetAllPublishedContractsParams>) : Promise<readonly Array<{ bytecodeHash: `0x${string}`; contractId: string; implementation: string; publishMetadataUri: string; publishTimestamp: bigint }>>

Parameters

The options for the getAllPublishedContracts 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.