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.
pub async fn get_identity(
client: &IdentityClientReadOnly,
object_id: ObjectID,
) -> Result<Option<OnChainIdentity>, Error>
Returns the OnChainIdentity
having ID object_id
, if it exists.