6 #ifndef KAGOME_API_RPC_REQUEST_METHODS 7 #define KAGOME_API_RPC_REQUEST_METHODS 9 #include <jsonrpc-lean/request.h> 10 #include <boost/assert.hpp> 38 outcome::result<void>
init(
const jsonrpc::Request::Parameters ¶ms);
40 outcome::result<primitives::RpcMethods>
execute();
43 std::shared_ptr<RpcApi>
api_;
48 #endif // KAGOME_API_RPC_REQUEST_METHODS outcome::result< void > init(const jsonrpc::Request::Parameters ¶ms)
Methods(Methods const &)=delete
Methods & operator=(Methods const &)=delete
std::shared_ptr< RpcApi > api_
outcome::result< primitives::RpcMethods > execute()
Methods(std::shared_ptr< RpcApi > api)