Function hashSequence

  • Return the proper hashSequence value for a given a signing serialization type.

    Parameters

    • __namedParameters: {
          signingSerializationType: Uint8Array;
          transactionSequenceNumbers: Uint8Array;
      }
    • sha256: {
          hash: ((input: Uint8Array) => Uint8Array);
      } = internalSha256
      • hash: ((input: Uint8Array) => Uint8Array)
          • (input: Uint8Array): Uint8Array
          • Returns the sha256 hash of the provided input.

            To incrementally construct a sha256 hash (e.g. for streaming), use init, update, and final.

            Parameters

            • input: Uint8Array

              a Uint8Array to be hashed using sha256

            Returns Uint8Array

    Returns Uint8Array

Generated using TypeDoc