Function signTransaction

  • Sign a given Transaction Object with the corresponding public key. You must pass the active public key from the user and the public key where the transaction is going to be used.

    Parameters

    • transaction: Transaction

      Transaction object.

    • options: any = {}

      Options object.

    Returns Promise<TransactionV1>

    Signed deploy object.