Use sp_transactions with the state keyword to limit output to the specified transaction state.
sp_transactions "state", "Prepared"