mirror of
https://github.com/XRPLF/clio.git
synced 2025-11-20 11:45:53 +00:00
25 lines
614 B
C++
25 lines
614 B
C++
|
|
#ifndef XRPL_REPORTING_RPCHELPERS_H_INCLUDED
|
|
#define XRPL_REPORTING_RPCHELPERS_H_INCLUDED
|
|
|
|
#include <ripple/protocol/STLedgerEntry.h>
|
|
#include <ripple/protocol/STTx.h>
|
|
#include <boost/json.hpp>
|
|
std::optional<ripple::AccountID>
|
|
accountFromStringStrict(std::string const& account);
|
|
|
|
std::pair<
|
|
std::shared_ptr<ripple::STTx const>,
|
|
std::shared_ptr<ripple::STObject const>>
|
|
deserializeTxPlusMeta(
|
|
std::pair<std::vector<unsigned char>, std::vector<unsigned char>> const&
|
|
blobs);
|
|
|
|
boost::json::object
|
|
getJson(ripple::STBase const& obj);
|
|
|
|
boost::json::object
|
|
getJson(ripple::SLE const& sle);
|
|
|
|
#endif
|