christianwdev Posted November 30, 2022 Report Posted November 30, 2022 (edited) Looking into the documentation I notice getExchangeDetails won't return data unless the ETradeStatus is Complete, InEscrow, or EscrowRollback, which is a different state from ETradeOfferState, which is fine. Is it possible to get ETradeStatus without querying getExchangeDetails as I didn't see the method nor variable on the TradeOffer object. I'm sure I was just misunderstanding how to use this or fetch the state, but was hoping I could check before querying steam as I want to prevent as much requests as possible. Thanks, Christian Edited November 30, 2022 by christianwdev Quote
Dr. McKay Posted November 30, 2022 Report Posted November 30, 2022 No, the API method called by getExchangeDetails is the only place to get the trade status. christianwdev 1 Quote
christianwdev Posted November 30, 2022 Author Report Posted November 30, 2022 (edited) 1 hour ago, Dr. McKay said: No, the API method called by getExchangeDetails is the only place to get the trade status. Do you know where I'd get the notification for when a rollback occurs? It appears that the ETradeStatus is for accepted trades looking at "valvesoftware". Wasn't sure if you could shed any more light on this. That and what ETradeOfferState this would occur under as well, so I can just refetch and update my local inventory for those state changes. Edited November 30, 2022 by christianwdev Quote
Dr. McKay Posted December 1, 2022 Report Posted December 1, 2022 As far as I'm aware, if a trade is rolled back after it's successfully committed, the trade offer stays in the "accepted" state. Really the only way to know a rollback happened is to either check your trade history or check your inventory and notice that items are gone/replaced. christianwdev 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.