6 #ifndef KAGOME_CORE_API_SERVICE_CHILD_STATE_REQUESTS_GET_STORAGE_SIZE 7 #define KAGOME_CORE_API_SERVICE_CHILD_STATE_REQUESTS_GET_STORAGE_SIZE 11 #include <jsonrpc-lean/request.h> 32 outcome::result<void>
init(
const jsonrpc::Request::Parameters ¶ms);
34 outcome::result<std::optional<uint64_t>>
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_SIZE Class represents arbitrary (including empty) byte buffer.
GetStorageSize(std::shared_ptr< ChildStateApi > api)
GetStorageSize(GetStorageSize const &)=delete
outcome::result< void > init(const jsonrpc::Request::Parameters ¶ms)
outcome::result< std::optional< uint64_t > > execute()
std::shared_ptr< ChildStateApi > api_
common::Buffer child_storage_key_
std::optional< kagome::primitives::BlockHash > at_
GetStorageSize & operator=(GetStorageSize const &)=delete
~GetStorageSize()=default