|
Clio
develop
The XRP Ledger API server.
|
Retrieve information about the public ledger. More...
#include <Ledger.hpp>


Classes | |
| struct | Output |
| A struct to hold the output data of the command. More... | |
Public Types | |
| using | Result = HandlerReturnType<Output> |
| The result type of the command: either the Output or an error status. | |
Public Member Functions | |
| LedgerHandler (std::shared_ptr< BackendInterface > sharedPtrBackend, std::shared_ptr< data::AmendmentCenterInterface const > amendmentCenter) | |
| Construct a new LedgerHandler object. | |
| Result | process (Input const &input, Context const &ctx) const |
| Process the Ledger command. | |
Friends | |
| void | tag_invoke (boost::json::value_from_tag, boost::json::value &jv, LedgerHandler::Output const &output) |
| Convert the Output to a JSON object. | |
Retrieve information about the public ledger.
For more details see: https://xrpl.org/ledger.html
|
inline |
Construct a new LedgerHandler object.
| sharedPtrBackend | The backend to use |
| amendmentCenter | The amendmentCenter to use |
|
nodiscard |
Process the Ledger command.
| input | The input data for the command |
| ctx | The context of the request |
|
friend |
Convert the Output to a JSON object.
| [out] | jv | The JSON object to convert to |
| output | The output to convert |