Skip to content
This repository has been archived by the owner on Aug 20, 2023. It is now read-only.

ledger method support for ledger_hash arguments #7

Open
hlb8122 opened this issue May 14, 2019 · 2 comments
Open

ledger method support for ledger_hash arguments #7

hlb8122 opened this issue May 14, 2019 · 2 comments

Comments

@hlb8122
Copy link

hlb8122 commented May 14, 2019

Currently ledger method only supports ledger_index arguments, rather than both ledger_hash and ledger_index.

@arsenlosenko
Copy link
Owner

Hi,
Are you referring to a particular method, or all methods which are using ledger_index?

@hlb8122
Copy link
Author

hlb8122 commented May 14, 2019

I was talking specifically for the ledger method, but looking through the Rippled API it seems that all ledger-related methods: ledger, ledger_closed, ledger_entry and ledger_data should take ledger_hash as an optional argument (when ledger_index is left empty).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants