Jump to content

"unable to retrieve transactions" from Ripple Data API v2 if descending


Simon

Recommended Posts

I'm trying to retrieve transactions for addresses in descending (latest comes first in response array) but having issue with querying address that has ONLY 29 transactions.

Here is an example of address with only 3 transactions, it work fine in both directions. I could probably query with limit 1000 until i find the end, but don't really want do it.

https://data.ripple.com/v2/accounts/rwTHCbVBQ5TXD85rrs9XRAGr6eCytZ5jZr/transactions?type=Payment&result=tesSUCCESS
https://data.ripple.com/v2/accounts/rwTHCbVBQ5TXD85rrs9XRAGr6eCytZ5jZr/transactions?type=Payment&result=tesSUCCESS&descending=true

Linke to explorer for convenience: https://bithomp.com/explorer/rn7won7V9qq2VwuAFs1gFUM5V4cNfR5X4V

Here is an address with 29 transaction, and when i query with "descending=true" this is return an error:

https://data.ripple.com/v2/accounts/rn7won7V9qq2VwuAFs1gFUM5V4cNfR5X4V/transactions?type=Payment&result=tesSUCCESS
https://data.ripple.com/v2/accounts/rn7won7V9qq2VwuAFs1gFUM5V4cNfR5X4V/transactions?type=Payment&result=tesSUCCESS&descending=true

Error:

{

result: "error",

message: "unable to retrieve transactions"

}

Linke to explorer for convenience: https://bithomp.com/explorer/rDpysuumkweqeC7XdNgYNtzL5GxbdsmrtF

Edited by Simon
Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

ripple api is buggy, you can create an issue on githib for that. 

They often miss some ledgers, sometimes data available not in full, therefore api isn't very reliable. 

You can get transactions in descending order on Bithomp though.

 

Screen Shot 2019-03-14 at 13.25.30.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...