the authenticator to use when signing the transaction
the transaction to sign
the provided transaction with the appropriate signatures added
all evm signatures have to be added before ft signatures can be added. Trying to add evm signatures after ft signatures are added will result in an error.
Signs a transaction using an authenticator. This function will add all the necessary missing signatures which the authenticator permits it to. I.e., both evm and ft signatures. For signers which the authenticator does not know how to sign, it will just ignore adding those signatures. It is important to notice however, that if this function is called to add additional evm signatures after ft signatures are added. An error will be thrown. If you want to sign the transactions with keystores instead of with an authenticator, see: signTransactionWithKeyStores