Skip to content

toChain

toChain(did): CordAddress

Format a DID to be used as a parameter for the blockchain API functions.

Parameters

did: did:cord:3${string}

The DID to format.

Returns

CordAddress

The blockchain-formatted DID.

Source

did/src/Did.chain.ts:65