Jump to content
McKay Development

how I can get the assetid of the skin that was transferred to the account. I only have an ID trade.


Risse

Recommended Posts

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?

Link to comment
Share on other sites

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 by Risse
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...