identity_iota::iota::rebased::migration

Function get_identity

Source
pub async fn get_identity(
    client: &IdentityClientReadOnly,
    object_id: ObjectID,
) -> Result<Option<OnChainIdentity>, Error>
Expand description

Returns the OnChainIdentity having ID object_id, if it exists.