6 #ifndef KAGOME_API_SERVICE_CHAIN_GET_FINALIZED_HEAD_HPP 7 #define KAGOME_API_SERVICE_CHAIN_GET_FINALIZED_HEAD_HPP 16 outcome::result<primitives::BlockHash>
execute()
override {
17 return api_->getFinalizedHead();
21 std::shared_ptr<ChainApi>
api_;
26 #endif // KAGOME_API_SERVICE_CHAIN_GET_FINALIZED_HEAD_HPP
GetFinalizedHead(std::shared_ptr< ChainApi > &api)
outcome::result< primitives::BlockHash > execute() override
std::shared_ptr< ChainApi > api_