prepareReinstateEntryExtrinsic
prepareReinstateEntryExtrinsic(
registryId,registryEntryId):Promise<SubmittableExtrinsic>
Prepares a transaction to reinstate a previously revoked registry entry on the CORD blockchain.
Constructs an extrinsic using the provided registry and entry URIs.
Parameters
• registryId: string
The identifier of the registry containing the entry (e.g., 2Lqwek3xygo...).
• registryEntryId: string
The identifier of the entry to reinstate (e.g., 2JKdwabc123...).
Returns
Promise<SubmittableExtrinsic>
A promise resolving to the prepared extrinsic for submission.
Throws
If an error occurs while preparing the extrinsic.
Example
const extrinsic = await prepareReinstateEntryExtrinsic( '2bWEb3xygo...', '2JHVabc123...');console.log(extrinsic); // Prepared extrinsic for submission