20#include <xrpld/app/ledger/LedgerMaster.h>
21#include <xrpld/app/misc/NetworkOPs.h>
22#include <xrpld/rpc/Context.h>
24#include <xrpl/json/json_value.h>
25#include <xrpl/protocol/ErrorCodes.h>
26#include <xrpl/protocol/RPCErr.h>
27#include <xrpl/protocol/jss.h>
51 ret[jss::accepted] = accountID.
has_value()
std::string asString() const
Returns the unquoted string value.
bool isMember(char const *key) const
Return true if the object has a member named key.
std::shared_ptr< ReadView const > getCurrentLedger()
std::shared_ptr< Ledger const > getClosedLedger()
virtual Json::Value getOwnerInfo(std::shared_ptr< ReadView const > lpLedger, AccountID const &account)=0
Json::Value missing_field_error(std::string const &name)
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Json::Value rpcError(int iError)
Json::Value doOwnerInfo(RPC::JsonContext &)
LedgerMaster & ledgerMaster