6 #ifndef KAGOME_CORE_API_SERVICE_CHILD_STATE_REQUESTS_GET_KEYS_HPP 7 #define KAGOME_CORE_API_SERVICE_CHILD_STATE_REQUESTS_GET_KEYS_HPP 11 #include <jsonrpc-lean/request.h> 30 explicit GetKeys(std::shared_ptr<ChildStateApi> api)
36 outcome::result<void>
init(
const jsonrpc::Request::Parameters ¶ms);
38 outcome::result<std::vector<common::Buffer>>
execute();
41 std::shared_ptr<ChildStateApi>
api_;
44 std::optional<primitives::BlockHash>
at_;
49 #endif // KAGOME_CORE_API_SERVICE_CHILD_STATE_REQUESTS_GET_KEYS_HPP Class represents arbitrary (including empty) byte buffer.
std::shared_ptr< ChildStateApi > api_
common::Buffer child_storage_key_
std::optional< common::Buffer > prefix_
outcome::result< void > init(const jsonrpc::Request::Parameters ¶ms)
GetKeys & operator=(GetKeys const &)=delete
std::optional< primitives::BlockHash > at_
GetKeys(GetKeys const &)=delete
GetKeys(std::shared_ptr< ChildStateApi > api)
outcome::result< std::vector< common::Buffer > > execute()