6 #ifndef KAGOME_API_SYSTEM_REQUEST_VERSION 7 #define KAGOME_API_SYSTEM_REQUEST_VERSION 9 #include <jsonrpc-lean/request.h> 31 explicit Version(std::shared_ptr<SystemApi> api);
34 outcome::result<void>
init(
const jsonrpc::Request::Parameters ¶ms);
36 outcome::result<std::string>
execute();
39 std::shared_ptr<SystemApi>
api_;
44 #endif // KAGOME_API_SYSTEM_REQUEST_VERSION Version & operator=(const Version &)=delete
Version(const Version &)=delete
Get the node implementation's version. Should be a semver string.
outcome::result< void > init(const jsonrpc::Request::Parameters ¶ms)
outcome::result< std::string > execute()
std::shared_ptr< SystemApi > api_