Skip to content

/v2/accounts/{address}/transactions fails to return if descending=true  #198

@kolya182

Description

@kolya182

Docs https://github.com/ripple/rippled-historical-database#get-account-transaction-history

Excepted result:
https://data.ripple.com/v2/accounts/rGig91TmYtssYz8umHGtF6A22gBtwgLxHn/transactions?type=Payment&result=tesSUCCESS&limit=1&descending=true to return transactions in descending order

Actual result:
Server response code: 500 Internal Server Error

{
    "result": "error",
    "message": "unable to retrieve transactions"
}

Workarounds:

  1. Remove result=tesSUCCESS from query and sort manually"
    https://data.ripple.com/v2/accounts/rGig91TmYtssYz8umHGtF6A22gBtwgLxHn/transactions?type=Payment&limit=1&descending=true
  2. Remove sort criteria descending=true and sort manually:
    https://data.ripple.com/v2/accounts/rGig91TmYtssYz8umHGtF6A22gBtwgLxHn/transactions?type=Payment&result=tesSUCCESS&limit=1

@shekenahglory Can you take a look ?.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions