pub fn string_to_txns(
    input: &str,
    settings: &Settings
) -> Result<TxnData, Box<dyn Error>>