Kagome
Polkadot Runtime Engine in C++17
kagome::api::chain::request::GetFinalizedHead Struct Referencefinal

#include <get_finalized_head.hpp>

Inheritance diagram for kagome::api::chain::request::GetFinalizedHead:
Collaboration diagram for kagome::api::chain::request::GetFinalizedHead:

Public Member Functions

 GetFinalizedHead (std::shared_ptr< ChainApi > &api)
 
outcome::result< primitives::BlockHashexecute () override
 
- Public Member Functions inherited from kagome::api::details::RequestType< primitives::BlockHash >
 RequestType ()=default
 
 RequestType (const RequestType &)=delete
 
 RequestType (RequestType &&)=delete
 
virtual ~RequestType ()=default
 
RequestTypeoperator= (const RequestType &)=delete
 
RequestTypeoperator= (RequestType &&)=delete
 
outcome::result< void > init (const jsonrpc::Request::Parameters &params)
 
auto getParam () -> typename std::tuple_element< I, decltype(params_)>::type &
 

Private Attributes

std::shared_ptr< ChainApiapi_
 

Additional Inherited Members

- Public Types inherited from kagome::api::details::RequestType< primitives::BlockHash >
using Params = std::tuple< ArgumentTypes... >
 
using Return = primitives::BlockHash
 

Detailed Description

Definition at line 13 of file get_finalized_head.hpp.

Constructor & Destructor Documentation

kagome::api::chain::request::GetFinalizedHead::GetFinalizedHead ( std::shared_ptr< ChainApi > &  api)
inlineexplicit

Definition at line 14 of file get_finalized_head.hpp.

Member Function Documentation

outcome::result<primitives::BlockHash> kagome::api::chain::request::GetFinalizedHead::execute ( )
inlineoverridevirtual

Member Data Documentation

std::shared_ptr<ChainApi> kagome::api::chain::request::GetFinalizedHead::api_
private

Definition at line 21 of file get_finalized_head.hpp.


The documentation for this struct was generated from the following file: