Skip to content

resourceIdToChain

resourceIdToChain(id): string

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

Parameters

id: #${string}

The DID resource ID to format.

Returns

string

The blockchain-formatted ID.

Source

did/src/Did.chain.ts:75