#ifndef XRPL_REPORTING_RPCHELPERS_H_INCLUDED #define XRPL_REPORTING_RPCHELPERS_H_INCLUDED #include #include #include #include std::optional accountFromStringStrict(std::string const& account); std::pair< std::shared_ptr, std::shared_ptr> deserializeTxPlusMeta(Backend::TransactionAndMetadata const& blobs); boost::json::object getJson(ripple::STBase const& obj); boost::json::object getJson(ripple::SLE const& sle); std::optional ledgerSequenceFromRequest( boost::json::object const& request, BackendInterface const& backend); #endif