Skip to main content

Get remote trust entity

Returns details on a trust entity.

This method makes an HTTP call to the publisher.

See the Procivis Trust Registry guide for more.

Function

getRemoteTrustEntity(trustEntityId: TrustEntity["id"]): Promise<TrustEntity>

Parameters

  • didId - Specify the DID of the trust entity.

Return value

export interface TrustEntity {
id: string;
createdDate: string;
lastModified: string;
name: string;
logo?: string;
website?: string;
termsUrl?: string;
privacyUrl?: string;
role: TrustEntityRoleEnum;
state: TrustEntityStateEnum;
did: DidListItem;
trustAnchor: TrustAnchor;
}