Kagome
Polkadot Runtime Engine in C++17
kagome::api::author::request::SubmitExtrinsic Class Referencefinal

#include <submit_extrinsic.hpp>

Inheritance diagram for kagome::api::author::request::SubmitExtrinsic:
Collaboration diagram for kagome::api::author::request::SubmitExtrinsic:

Public Member Functions

 SubmitExtrinsic (std::shared_ptr< AuthorApi > api)
 
outcome::result< common::Hash256execute () override
 
- Public Member Functions inherited from kagome::api::details::RequestType< common::Hash256, std::string >
 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< AuthorApiapi_
 

Additional Inherited Members

- Public Types inherited from kagome::api::details::RequestType< common::Hash256, std::string >
using Params = std::tuple< ArgumentTypes... >
 
using Return = common::Hash256
 

Detailed Description

Definition at line 16 of file submit_extrinsic.hpp.

Constructor & Destructor Documentation

kagome::api::author::request::SubmitExtrinsic::SubmitExtrinsic ( std::shared_ptr< AuthorApi api)
inlineexplicit

Definition at line 19 of file submit_extrinsic.hpp.

Member Function Documentation

outcome::result<common::Hash256> kagome::api::author::request::SubmitExtrinsic::execute ( )
inlineoverridevirtual

Member Data Documentation

std::shared_ptr<AuthorApi> kagome::api::author::request::SubmitExtrinsic::api_
private

Definition at line 33 of file submit_extrinsic.hpp.


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