Kagome
Polkadot Runtime Engine in C++17
|
#include <get_block.hpp>
Public Member Functions | |
GetBlock (std::shared_ptr< ChainApi > &api) | |
outcome::result< primitives::BlockData > | execute () override |
Public Member Functions inherited from kagome::api::details::RequestType< primitives::BlockData, std::optional< std::string > > | |
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::BlockData, std::optional< std::string > > | |
using | Params = std::tuple< ArgumentTypes... > |
using | Return = primitives::BlockData |
Definition at line 13 of file get_block.hpp.
|
inlineexplicit |
Definition at line 15 of file get_block.hpp.
|
inlineoverridevirtual |
Implements kagome::api::details::RequestType< primitives::BlockData, std::optional< std::string > >.
Definition at line 17 of file get_block.hpp.
|
private |
Definition at line 25 of file get_block.hpp.