cách phát hiện giao dịch trong apex