Skip to content

fetchRegistryEntryDetailsFromChain

fetchRegistryEntryDetailsFromChain(registryEntryId): Promise<IRegistryEntryChainStorage>

Fetches the registry entry details from the blockchain using the specified entry URI.

Converts the entry URI into its corresponding identifier, retrieves the details from the blockchain, and returns them in a structured format.

Parameters

registryEntryId: string

The id of the entry to fetch

Returns

Promise<IRegistryEntryChainStorage>

A promise resolving to the decoded entry details as IRegistryEntryChainStorage.

Throws

If no entry exists for the provided URI.

Source

entry/src/Entry.chain.ts:568