verifyRegistryEntry
verifyRegistryEntry(
input):void
Verifies the integrity of the given IRegistryEntry object.
Ensures that the input conforms to the expected data structure by checking required fields,
such as the transaction hash (tx_hash) and the format of the optional blob.
Parameters
Section titled “Parameters”• input: IRegistryEntry
The IRegistryEntry object to verify.
Returns
Section titled “Returns”void
Throws
Section titled “Throws”If the tx_hash is missing or invalid, or if blob is not a string or null.
Example
Section titled “Example”const entry = { tx_hash: '0x1234abcd...', blob: '{"key":"value"}', registryUri: '2Lwdxygo...',};verifyRegistryEntry(entry);console.log('✅ Entry verified');