6 #ifndef KAGOME_API_SYSTEM_REQUEST_NAME 7 #define KAGOME_API_SYSTEM_REQUEST_NAME 9 #include <jsonrpc-lean/request.h> 31 explicit Name(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_NAME Get the node's implementation name.
outcome::result< void > init(const jsonrpc::Request::Parameters ¶ms)
Name(const Name &)=delete
std::shared_ptr< SystemApi > api_
outcome::result< std::string > execute()
Name & operator=(const Name &)=delete