isRegistryEntryStored
isRegistryEntryStored(
registryEntryId):Promise<boolean>
Checks whether a registry entry exists on the CORD blockchain.
Queries the chain using the provided registry entry identifier to determine if an entry is stored.
Parameters
• registryEntryId: string
The identifier of the registry entry to check (without entry:cord: prefix).
Returns
Promise<boolean>
A promise resolving to true if the entry exists, false otherwise.
Throws
If an error occurs while querying the blockchain.
Example
const exists = await isRegistryEntryStored('abc123');console.log(`Entry exists: ${exists}`); // true or false