8 #include <boost/assert.hpp> 15 BOOST_ASSERT(
api_ !=
nullptr);
19 const jsonrpc::Request::Parameters ¶ms) {
20 if (!params.empty()) {
21 throw jsonrpc::InvalidParametersFault(
"Method should not have params");
23 return outcome::success();
27 return api_->getConfig()->name();
outcome::result< void > init(const jsonrpc::Request::Parameters ¶ms)
Chain(const Chain &)=delete
outcome::result< std::string > execute()
std::shared_ptr< SystemApi > api_