Closed some-dev closed 1 year ago
RippleApi is no longer supported please use the latest xrpl
package.
@some-dev I found a workaround. If you request limit: 100
it will work.
thanks for rapid response, il apply this workaround and will plan migration to the newer api
I am encountering an issue while using the getTransactions method on the RippleAPI library in conjunction with a Clio server. The goal is to retrieve transactions for a specific Ripple account. However, the code snippet provided below fails with the following error message:
fails with
This is a clio server. clio only serves validated data. If you want to talk to rippled, include \'ledger_index\':\'current\' in your request
Issue
The getTransactions method fails to retrieve transactions when using a Clio server, and it requires the inclusion of the 'ledger_index':'current' parameter in the request to interact with the rippled server.
Expected Behavior
I expect the getTransactions method to work seamlessly with the Clio server and correctly pass the 'ledger_index':'current' parameter in the request to retrieve transactions.
Any guidance on how to modify the code to make the "getTransactions" method work with the Clio server and include the required 'ledger_index':'current' parameter would be greatly appreciated.