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
Section titled “Parameters”• registryEntryId: string
The identifier of the registry entry to check (without entry:cord: prefix).
Returns
Section titled “Returns”Promise<boolean>
A promise resolving to true if the entry exists, false otherwise.
Throws
Section titled “Throws”If an error occurs while querying the blockchain.
Example
Section titled “Example”const exists = await isRegistryEntryStored('abc123');console.log(`Entry exists: ${exists}`); // true or false