6 #ifndef KAGOME_API_SYSTEM_REQUEST_HEALTH 7 #define KAGOME_API_SYSTEM_REQUEST_HEALTH 9 #include <jsonrpc-lean/request.h> 31 explicit Health(std::shared_ptr<SystemApi> api);
34 outcome::result<void>
init(
const jsonrpc::Request::Parameters ¶ms);
36 outcome::result<jsonrpc::Value::Struct>
execute();
39 std::shared_ptr<SystemApi>
api_;
44 #endif // KAGOME_API_SYSTEM_REQUEST_HEALTH Return health status of the node.
outcome::result< void > init(const jsonrpc::Request::Parameters ¶ms)
std::shared_ptr< SystemApi > api_
Health & operator=(const Health &)=delete
outcome::result< jsonrpc::Value::Struct > execute()
Health(const Health &)=delete