How to print pending transactions