Function signTransaction

  • Sign a given TransactionV1 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: TransactionV1

      Transaction object.

    • options: any = {}

      Options object.

    Returns Promise<TransactionV1>

    Signed TransactionV1 object.