The ledger_index method fetches the latest closed ledger before the given date.
More...
#include <LedgerIndex.hpp>
|
| struct | Output |
| | A struct to hold the output data of the command. More...
|
The ledger_index method fetches the latest closed ledger before the given date.
◆ LedgerIndexHandler()
| rpc::LedgerIndexHandler::LedgerIndexHandler |
( |
std::shared_ptr< BackendInterface > | sharedPtrBackend | ) |
|
|
inline |
◆ process()
| LedgerIndexHandler::Result rpc::LedgerIndexHandler::process |
( |
Input const & | input, |
|
|
Context const & | ctx ) const |
|
nodiscard |
Process the LedgerIndex command.
- Parameters
-
| input | The input data for the command |
| ctx | The context of the request |
- Returns
- The result of the operation
◆ tag_invoke
Convert the Output to a JSON object.
- Parameters
-
| [out] | jv | The JSON object to convert to |
| output | The output to convert |
The documentation for this class was generated from the following files:
- /__w/clio/clio/src/rpc/handlers/LedgerIndex.hpp
- /__w/clio/clio/src/rpc/handlers/LedgerIndex.cpp