6 #ifndef KAGOME_API_REQUEST_GET_STORAGE 7 #define KAGOME_API_REQUEST_GET_STORAGE 9 #include <jsonrpc-lean/request.h> 31 outcome::result<void>
init(
const jsonrpc::Request::Parameters ¶ms);
33 outcome::result<std::optional<common::Buffer>>
execute();
36 std::shared_ptr<StateApi>
api_;
38 std::optional<kagome::primitives::BlockHash>
at_;
43 #endif // KAGOME_STATE_JRPC_PROCESSOR_HPP
Class represents arbitrary (including empty) byte buffer.
GetStorage & operator=(GetStorage const &)=delete
outcome::result< std::optional< common::Buffer > > execute()
std::optional< kagome::primitives::BlockHash > at_
GetStorage(std::shared_ptr< StateApi > api)
outcome::result< void > init(const jsonrpc::Request::Parameters ¶ms)
GetStorage(GetStorage const &)=delete
std::shared_ptr< StateApi > api_