For example I have this transaction https://etherscan.io/tx/0xe76ff4f05f32f077098f671c362a32b0650a9d1d12aaa8069fa39e0726c1ecf4 which is pending because there are lower nonce transactions which were stuck. Is there a way to find out such information that the transaction is gonna pending due to another transaction? Etherscan API only tells me whether transaction is confirmed or not. Thanks in advance.
Apparently we need an ethereum node to access to mempool, however we won't be able to get all pending transactions according to this link Get pending transactions to a given address/contract