pub fn sign_transaction<A: Account>(
raw_txn: &RawTransaction,
account: &A,
) -> AptosResult<SignedTransaction>Expand description
Signs a raw transaction with the given account.
ยงErrors
Returns an error if generating the signing message fails or if the account fails to sign.