added type option to transaction search command