Function buildDidCreationTransaction

  • Builds a bitcoin transaction that creates a DID. The transaction consumes the provided UTXO and puts the provided multikey in an OP_RETURN output as the initial verification method.

    Parameters

    Returns BitcoinTransaction

    A bitcoin transaction that creates a DID along with its txid.