Function resourceIdToChain

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

    Returns

    The blockchain-formatted ID.

    Parameters

    • id: `#${string}`

      The DID resource ID to format.

    Returns string