Risse Posted September 16, 2023 Report Posted September 16, 2023 Hi, please tell me how I can get the assetid of the skin that was transferred to the account. I only have an ID trade. I also wanted to ask, a function that allows you to get an inventory of CSOs of various users, how often can I use it from one ip so that steam does not add an IP to the ban? Quote
Dr. McKay Posted September 16, 2023 Report Posted September 16, 2023 Use the getExchangeDetails TradeOffer method to get the new asset ids of the items you received. 1 hour ago, Risse said: I also wanted to ask, a function that allows you to get an inventory of CSOs of various users, how often can I use it from one ip so that steam does not add an IP to the ban? Exact numbers are not known. Quote
Risse Posted September 16, 2023 Author Report Posted September 16, 2023 (edited) 57 minutes ago, Dr. McKay said: Use the getExchangeDetails TradeOffer method to get the new asset ids of the items you received. Exact numbers are not known. however, I do not have access to the offer, there is only the exchange ID and if it was accepted, then I will process the new assetid values, manager.get Offer(steam_trade_id_izm, function(err, info_trade){ if(!err){ let state = info_trade.state; } }) Please help me, how can I get the data about assets transferred to me only by the idi trade I was considering the get Exchange Det ails function, however it will work something like this: let offer = manager.createOffer(trade_url); offer.addTheirItem({"appid":"something","contextid":2,"assetid":something}); offer.addMyItems([]); offer.send(function(err, status) { console.log(status) }) offer.getExchangeDetails(function(err, Details) { console.log(Details) }) Edited September 16, 2023 by Risse Quote
Dr. McKay Posted September 16, 2023 Report Posted September 16, 2023 If you have the 64-bit trade ID, you can use the GetTradeStatus WebAPI method. Risse 1 Quote
Risse Posted September 16, 2023 Author Report Posted September 16, 2023 (edited) it works! THX! Edited September 17, 2023 by Risse 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.