Skip to content

getAddressByKey

getAddressByKey(input): CordAddress

Internal: derive the address part of the DID when it is created from authentication key.

input: Pick<DidVerificationKey, "type" | "publicKey">

The authentication key.

CordAddress

The expected address of the DID.

did/src/Did.utils.ts:126