6 #ifndef KAGOME_API_REQUEST_GET_VERSION 7 #define KAGOME_API_REQUEST_GET_VERSION 9 #include <jsonrpc-lean/request.h> 29 outcome::result<void>
init(jsonrpc::Request::Parameters
const ¶ms);
30 outcome::result<primitives::Version>
execute();
33 std::shared_ptr<StateApi>
api_;
34 std::optional<primitives::BlockHash>
at_;
39 #endif // KAGOME_API_REQUEST_GET_VERSION
outcome::result< primitives::Version > execute()
GetRuntimeVersion(const GetRuntimeVersion &)=delete
std::shared_ptr< StateApi > api_
GetRuntimeVersion & operator=(const GetRuntimeVersion &)=delete
~GetRuntimeVersion()=default
std::optional< primitives::BlockHash > at_
outcome::result< void > init(jsonrpc::Request::Parameters const ¶ms)