6 #ifndef KAGOME_CORE_API_SERVICE_STATE_REQUESTS_CALL_HPP 7 #define KAGOME_CORE_API_SERVICE_STATE_REQUESTS_CALL_HPP 9 #include <jsonrpc-lean/request.h> 31 explicit Call(std::shared_ptr<StateApi> api);
34 outcome::result<void>
init(
const jsonrpc::Request::Parameters ¶ms);
36 outcome::result<common::Buffer>
execute();
39 std::shared_ptr<StateApi>
api_;
42 std::optional<primitives::BlockHash>
at_;
47 #endif // KAGOME_CORE_API_SERVICE_STATE_REQUESTS_CALL_HPP std::shared_ptr< StateApi > api_
Class represents arbitrary (including empty) byte buffer.
Call(Call const &)=delete
outcome::result< void > init(const jsonrpc::Request::Parameters ¶ms)
std::optional< primitives::BlockHash > at_
outcome::result< common::Buffer > execute()
Call & operator=(Call const &)=delete