javascript-sdk icon indicating copy to clipboard operation
javascript-sdk copied to clipboard

getTransactions doesn't work

Open Mahsa-Bastankhah opened this issue 5 years ago • 3 comments

I'm running client.getTransactions("tbnb1uxgesw2ktt524t29zytdjjm3kv3mkuczzmjz4x") but all I get is : { result: { tx: [], total: 0 }, status: 200 } if you check explorer you will see that this account has multiple transaction but non is returned by client.getTransactions

Mahsa-Bastankhah avatar Dec 10 '20 10:12 Mahsa-Bastankhah

Please check the API you connected with

grindydev avatar Dec 11 '20 06:12 grindydev

I'm connecting to : https://testnet-dex.binance.org/

Mahsa-Bastankhah avatar Dec 18 '20 21:12 Mahsa-Bastankhah

It is only returns transactions in the previous 24h. Please try again to validate and if that is true put a comment to my issue to try to fix it: https://github.com/binance-chain/javascript-sdk/issues/314

Gui-greg avatar Mar 18 '21 22:03 Gui-greg