Transaction Signing - Refactoring required