6 #ifndef KAGOME_CORE_API_SERVICE_CHILD_STATE_REQUESTS_GET_STORAGE 7 #define KAGOME_CORE_API_SERVICE_CHILD_STATE_REQUESTS_GET_STORAGE 11 #include <jsonrpc-lean/request.h> 32 outcome::result<void>
init(
const jsonrpc::Request::Parameters ¶ms);
34 outcome::result<std::optional<common::Buffer>>
execute();
37 std::shared_ptr<ChildStateApi>
api_;
40 std::optional<kagome::primitives::BlockHash>
at_;
45 #endif // KAGOME_CORE_API_SERVICE_CHILD_STATE_REQUESTS_GET_STORAGE Class represents arbitrary (including empty) byte buffer.
GetStorage & operator=(GetStorage const &)=delete
outcome::result< void > init(const jsonrpc::Request::Parameters ¶ms)
GetStorage(GetStorage const &)=delete
outcome::result< std::optional< common::Buffer > > execute()
std::shared_ptr< ChildStateApi > api_
common::Buffer child_storage_key_
GetStorage(std::shared_ptr< ChildStateApi > api)
std::optional< kagome::primitives::BlockHash > at_