pub fn sign_tx_with_random_key_pair<R: Rng>( rng: &mut R, tx: Transaction, ) -> TransactionSigned
Signs the [Transaction] with a random key pair.