XRPLF / xrpl.js

A JavaScript/TypeScript API for interacting with the XRP Ledger in Node.js and the browser
https://xrpl.org/
1.2k stars 511 forks source link

Problem with fetching transactions history for specific address with multiple query params #1309

Closed EnoRage closed 4 years ago

EnoRage commented 4 years ago

Hi! I am from TrustWallet team. We are using ripple api to show transactions for users. We are having some difficulties with it:

  1. not working https://data.ripple.com/v2/accounts/rawbonesfckvLGGgDvtGHRXHXrp9quqnpd/transactions?descending=true&limit=25&type=Payment

descending=true limit=25 type=Payment

Screenshot 2020-08-12 at 18 06 03

2. working https://data.ripple.com/v2/accounts/rawbonesfckvLGGgDvtGHRXHXrp9quqnpd/transactions?descending=true&limit=25

descending=true limit=25

Screenshot 2020-08-12 at 18 06 17
  1. working https://data.ripple.com/v2/accounts/rawbonesfckvLGGgDvtGHRXHXrp9quqnpd/transactions?limit=25&type=Payment

limit=25 type=Payment

Screenshot 2020-08-12 at 18 06 48
intelliot commented 4 years ago

You appear to be using the Data API, which is not related to this repository.

As the Data API currently does not have any uptime/reliability guarantees, I would recommend instead retrieving the transactions from your own rippled server.

If you want to use JavaScript/TypeScript, you can use RippleAPI (ripple-lib) to connect to your rippled server and retrieve transactions.

EnoRage commented 4 years ago

Thanks @intelliot