Fetches the published contract based on the provided options.
const publishedContract = await fetchPublishedContract({ publisherAddress: "0x1234", contractName: "MyContract", version: "1.0.0", client: client,});
function fetchPublishedContract( options: FetchPublishedContractOptions,): Promise<{ bytecodeHash: `0x${string}`; contractId: string; implementation: string; publishMetadataUri: string; publishTimestamp: bigint;}>;
The options for fetching the published contract.
let options: FetchPublishedContractOptions;
let returnType: Promise<{ bytecodeHash: `0x${string}`; contractId: string; implementation: string; publishMetadataUri: string; publishTimestamp: bigint;}>;
The published contract.