Function urlFragmentToChain

  • Extract a fragment from a DID URL to be used as a parameter for the blockchain API functions.

    Parameters

    • id: `#${string}` | DidUrl

      The DID URL or fragment to format.

    Returns string

    The blockchain-formatted ID.