Hi
im using this logit to check if trade partner has any prohibition or escrow or not
const offer = manager.createOffer({tradeLink});
offer.getUserDetails((err, me, them) => {
if (err) {
return res.status(200).send({
status: 1,
tradeBan: true,
error: err.message,
});
}
if (them.escrowDays) {
logger(`user has trade escrow days: ${them.escrowDays}`);
return res.status(200).send({
status: 1,
tradeBan: true,
error: 'trade has escrow',
});
}
but for some reason i got this error: "HTTP error 429" and its for rate limit / too many requests
i want to know :
1. is there any other way to check prohibition or escrow in trade execpt the getUserDetails() method?
2. how the taradeoffermanager works and get prohibition data from ?