I want to make logic following
- A user send token to B(transaction #1)
- contract check in realtime whether transaction #1 is mined or not.
- If it is mined, contract goes to next step.
How can I make step 2? Is it possible? Is it better to get balance of B in real time than process above?