My code is
const api = new RippleAPI({
server: 'wss://s1.ripple.com'
});
api.connect();
let isConnected = false;
api.on('connected', () => {
isConnected = true;
});
return api.getTransactions(address)
.then((transactions) => {
console.log(transactions);
})
.catch((err) => {
console.log(err);
})
But it doesn't actually return anything. It has an empty array []
for transactions.
If you look at the address I'm looking at: https://xrpcharts.ripple.com/#/graph/rqnfXCcsZRadjoj8tDQWYsP1pVyv3Ro7X
You'll see there are some transactions. So why doesn't the API return anything?