The vault_info command retrieves information about a vault, currency, shares etc.
More...
#include <VaultInfo.hpp>
|
| struct | Output |
| | A struct to hold the output data for the command. More...
|
|
| | VaultInfoHandler (std::shared_ptr< BackendInterface > sharedPtrBackend) |
| | Construct a new VaultInfo object.
|
| Result | process (Input const &input, Context const &ctx) const |
| | Process the VaultInfo command.
|
The vault_info command retrieves information about a vault, currency, shares etc.
◆ VaultInfoHandler()
| rpc::VaultInfoHandler::VaultInfoHandler |
( |
std::shared_ptr< BackendInterface > | sharedPtrBackend | ) |
|
Construct a new VaultInfo object.
- Parameters
-
| sharedPtrBackend | The backend to use |
◆ process()
| VaultInfoHandler::Result rpc::VaultInfoHandler::process |
( |
Input const & | input, |
|
|
Context const & | ctx ) const |
|
nodiscard |
Process the VaultInfo 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
-
| 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/VaultInfo.hpp
- /__w/clio/clio/src/rpc/handlers/VaultInfo.cpp