IdentityWallet.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
Parameter | Type | Description |
---|---|---|
did | DID | profile that has been derived or genesis identity |
Returns:
Promise<{ nonce: number; genesisDID: DID; }>
{Promise<{nonce:number, genesisIdentifier: DID}>}