Kagome
Polkadot Runtime Engine in C++17
kagome::api::SystemApi Class Referenceabstract

#include <system_api.hpp>

Inheritance diagram for kagome::api::SystemApi:
Collaboration diagram for kagome::api::SystemApi:

Public Member Functions

virtual ~SystemApi ()=default
 
virtual std::shared_ptr< application::ChainSpecgetConfig () const =0
 
virtual std::shared_ptr< consensus::babe::BabegetBabe () const =0
 
virtual std::shared_ptr< network::PeerManagergetPeerManager () const =0
 
virtual outcome::result< primitives::AccountNoncegetNonceFor (std::string_view account_address) const =0
 

Detailed Description

Auxiliary class that provides access to some app's parts for RPC methods

Definition at line 19 of file system_api.hpp.

Constructor & Destructor Documentation

virtual kagome::api::SystemApi::~SystemApi ( )
virtualdefault

Member Function Documentation

virtual std::shared_ptr<consensus::babe::Babe> kagome::api::SystemApi::getBabe ( ) const
pure virtual

Implemented in kagome::api::SystemApiImpl.

virtual std::shared_ptr<application::ChainSpec> kagome::api::SystemApi::getConfig ( ) const
pure virtual

Implemented in kagome::api::SystemApiImpl.

virtual outcome::result<primitives::AccountNonce> kagome::api::SystemApi::getNonceFor ( std::string_view  account_address) const
pure virtual

Implemented in kagome::api::SystemApiImpl.

virtual std::shared_ptr<network::PeerManager> kagome::api::SystemApi::getPeerManager ( ) const
pure virtual

Implemented in kagome::api::SystemApiImpl.


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