Skip to content

prepareArchiveRegistryExtrinsic

prepareArchiveRegistryExtrinsic(registryId): Promise<SubmittableExtrinsic>

Prepares an extrinsic to archive a registry.

Parameters

registryId: string

The identifier of the registry to archive (e.g., ‘2Lwf3xygo…’).

Returns

Promise<SubmittableExtrinsic>

A promise that resolves to the prepared extrinsic.

Throws

If the preparation fails.

Example

const extrinsic = await prepareArchiveRegistryExtrinsic('registry:cord:3xygo...');

Source

registry/src/Registry.chain.ts:442