dispatchReinstateEntryToChain
dispatchReinstateEntryToChain(
registryId,registryEntryId,authorAccount):Promise<string>
Dispatches a transaction to reinstate a previously revoked registry entry on the CORD blockchain.
Restores an entry to active status, ensuring it exists before reinstatement.
Parameters
Section titled “Parameters”• registryId: string
The identifier of the registry containing the entry (e.g., 2Lwde3xygo...).
• registryEntryId: string
The identifier of the entry to reinstate (e.g., 2Kwfjhabc123...).
• authorAccount: CordKeyringPair
The keyring pair of the account authorizing the transaction.
Returns
Section titled “Returns”Promise<string>
A promise that resolves when the transaction is submitted successfully.
Throws
Section titled “Throws”If the entry doesn’t exist or the transaction fails.
Example
Section titled “Example”await dispatchReinstateEntryToChain( '2Kwe3xygo...', '2wefhjabc123...', authorAccount);console.log('✅ Entry reinstated');