identity_iota::iota::rebased::migration

Function lookup

Source
pub async fn lookup(
    id_client: &IdentityClientReadOnly,
    alias_id: ObjectID,
) -> Result<Option<OnChainIdentity>, Error>
Expand description

Lookup a legacy alias_id into the migration registry to get the UID of the corresponding migrated DID document if any.