Skip to content

getDidUri

getDidUri(didOrAddress): DidUri

Builds the URI an accountswill have after it’s stored on the blockchain.

Parameters

didOrAddress: 3${string} | did:cord:3${string}

The URI of the account. Internally it’s used with the DID “address” as well.

Returns

DidUri

The expected DID URI.

Source

did/src/Did.utils.ts:147