Kagome
Polkadot Runtime Engine in C++17
|
#include <get_finalized_head.hpp>
Public Member Functions | |
GetFinalizedHead (std::shared_ptr< ChainApi > &api) | |
outcome::result< primitives::BlockHash > | execute () override |
Public Member Functions inherited from kagome::api::details::RequestType< primitives::BlockHash > | |
RequestType ()=default | |
RequestType (const RequestType &)=delete | |
RequestType (RequestType &&)=delete | |
virtual | ~RequestType ()=default |
RequestType & | operator= (const RequestType &)=delete |
RequestType & | operator= (RequestType &&)=delete |
outcome::result< void > | init (const jsonrpc::Request::Parameters ¶ms) |
auto | getParam () -> typename std::tuple_element< I, decltype(params_)>::type & |
Private Attributes | |
std::shared_ptr< ChainApi > | api_ |
Additional Inherited Members | |
Public Types inherited from kagome::api::details::RequestType< primitives::BlockHash > | |
using | Params = std::tuple< ArgumentTypes... > |
using | Return = primitives::BlockHash |
Definition at line 13 of file get_finalized_head.hpp.
|
inlineexplicit |
Definition at line 14 of file get_finalized_head.hpp.
|
inlineoverridevirtual |
Implements kagome::api::details::RequestType< primitives::BlockHash >.
Definition at line 16 of file get_finalized_head.hpp.
|
private |
Definition at line 21 of file get_finalized_head.hpp.