Remove obsolete owner_info API method #4594
Labels
API Change
APIv3
Change does not take effect unless client opts-in to api_version 3 (currently beta)
Tech Debt
Non-urgent improvements
The
owner_info
command is an obsolete equivalent toaccount_objects
. (#4404 was the first code change to touch it in ~8 years.) It's undocumented (other than the Public API Methods page saying to not use it).Unlike account_objects, which supports pagination, ledger selection, filtering, and all types of ledger entries, owner_info only returns lists of Offers and trust lines in the "current" and "accepted" ledgers. (The "accepted" ledger is kind of a legacy equivalent to the "validated" ledger; I'm unclear if there's actually a distinction under the covers.)
I believe you can call this method on p2p nodes from commandline, JSON-RPC, or WebSocket. Clio does not implement this method. I'm unsure about Reporting Mode.
There's no good reason to use
owner_info
, and I doubt there are any clients actively using it effectively, so we should remove it entirely.Main source file: https://github.com/XRPLF/rippled/blob/master/src/ripple/rpc/handlers/OwnerInfo.cpp
The text was updated successfully, but these errors were encountered: