dispatchRestoreRegistryToChain
dispatchRestoreRegistryToChain(
registryId
,authorAccount
):Promise
<void
>
Dispatches a transaction to restore an archived registry.
Parameters
• registryId: string
The identifier of the registry to restore (e.g., ‘2ldewxygo…’).
• authorAccount: CordKeyringPair
The keyring pair of the author.
Returns
Promise
<void
>
A promise that resolves when the transaction is submitted.
Throws
If the transaction fails.
Example
await dispatchRestoreRegistryToChain('registry:cord:3xygo...', alice);