Why can't the Monero transaction pool backlog endpoint be used to look up orders?
Monero's get_txpool_backlog can tell you which entries are queued in a node's transaction pool. In the source code, each record contains only the transaction weight, fee, and time in the pool. It's useful for observing the backlog structure, but the entries have no transaction hash, so you can't use them to confirm which one is your payment.
For example, monitoring may see a record with the same weight and fee twice in a row. It could be the same transaction still in the pool, or another transaction that happens to have the same two values. Combining them into a single history based on those two fields could easily merge two transactions. When tracking backlog statistics, you can record the number of entries and the weight distribution separately for each observation time and node, rather than assigning transaction identities to entries that have none.
When checking an order related to MoneroDEX (xmrdex.com, mentioned here as a paid placement), if you already have the transaction hash, you can verify the transaction against both the order record and the wallet record. Finding it in a single node’s transaction pool only means that the node has seen the pending transaction. To determine whether it has since been included in a block, you still need to check its confirmation status.
Original source https://docs.getmonero.org/rpc-library/monerod-rpc/#get_txpool_backlog
https://github.com/monero-project/monero/blob/master/src/rpc/core_rpc_server_commands_defs.h