Kagome
Polkadot Runtime Engine in C++17
kagome::api::state::request::GetMetadata Struct Referencefinal

#include <get_metadata.hpp>

Inheritance diagram for kagome::api::state::request::GetMetadata:
Collaboration diagram for kagome::api::state::request::GetMetadata:

Public Member Functions

 GetMetadata (std::shared_ptr< StateApi > api)
 
outcome::result< Returnexecute ()
 
- Public Member Functions inherited from kagome::api::details::RequestType< std::string, std::optional< 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< StateApiapi_
 

Additional Inherited Members

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

Detailed Description

Definition at line 22 of file get_metadata.hpp.

Constructor & Destructor Documentation

kagome::api::state::request::GetMetadata::GetMetadata ( std::shared_ptr< StateApi api)
inlineexplicit

Definition at line 25 of file get_metadata.hpp.

Member Function Documentation

outcome::result<Return> kagome::api::state::request::GetMetadata::execute ( )
inlinevirtual

Member Data Documentation

std::shared_ptr<StateApi> kagome::api::state::request::GetMetadata::api_
private

Definition at line 36 of file get_metadata.hpp.


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