Options
All
  • Public
  • Public/Protected
  • All
Menu

Signature generated by signing transaction hash with Private Keys.

Hierarchy

  • TxSignature

Index

Properties

M

M: number

pubKeys

pubKeys: PublicKey[]

Public keys used to create this signature.

sigData

sigData: string[]

Methods

serialize

  • serialize(): string

Static create

  • Creates Transaction signature of hash with supplied private key and scheme.

    If the signature schemas is not provided, the default schemes for the key types are used.

    Parameters

    • hash: string

      hash of the transaction

    • privateKey: PrivateKey

      Private key to use

    • Optional scheme: SignatureScheme

      Signature scheme to use

    Returns TxSignature

Static createAsync

  • Creates Transaction signature of hash with supplied private key and scheme asynchroniously.

    If the signature schemas is not provided, the default schemes for the key types are used.

    Parameters

    • hash: string

      hash of the transaction

    • privateKey: PrivateKey

      Private key to use

    • Optional scheme: SignatureScheme

      Signature scheme to use

    Returns Promise<TxSignature>

Static deserialize

Generated using TypeDoc