When looking at the pending transactions, in Mempool that is, and the ones that have to do with Uniswap (to == Uniswap router address), how can it be identified whether a certain tx is a "buy" or "sell" one?
How to get to know if tx is a "buy" or "sell" from the transaction details programmatically?