6 #ifndef KAGOME_API_SYSTEM_REQUEST_PROPERTIES 7 #define KAGOME_API_SYSTEM_REQUEST_PROPERTIES 9 #include <jsonrpc-lean/request.h> 37 outcome::result<void>
init(
const jsonrpc::Request::Parameters ¶ms);
39 outcome::result<std::map<std::string, std::string>>
execute();
42 std::shared_ptr<SystemApi>
api_;
47 #endif // KAGOME_API_SYSTEM_REQUEST_PROPERTIES std::shared_ptr< SystemApi > api_
Properties(std::shared_ptr< SystemApi > api)
Get a custom set of properties as a JSON object, defined in the chain spec.
outcome::result< std::map< std::string, std::string > > execute()
Properties & operator=(Properties const &)=delete
Properties(Properties const &)=delete
outcome::result< void > init(const jsonrpc::Request::Parameters ¶ms)