we dont hit that when we call the method it calls that thats where the tradeurl is stored no?
async function getTradeURL() {
return new Promise((resolve, reject) => {
community.getTradeURL((err, url, token) => {
if (err) {
reject(err);
} else {
tradeurl = url;
tradetoken = token;
resolve(url);
}
});
});
}