pub fn string_to_txns( input: &mut &str, settings: &mut Settings, ) -> Result<TxnData, Error>
Returns Err in case of parse or semantic error
Err