Skip to main content

IIdentityWallet.getGenesisDIDMetadata() method

gets profile nonce by it's id. if profile is genesis identifier - 0 is returned

Signature:

getGenesisDIDMetadata(did: DID): Promise<{
nonce: number;
genesisDID: DID;
}>;

Parameters

ParameterTypeDescription
didDIDprofile that has been derived or genesis identity

Returns:

Promise<{ nonce: number; genesisDID: DID; }>

{Promise<{nonce:number, genesisIdentifier: DID}>}