6 #ifndef KAGOME_API_SYSTEMAPI 7 #define KAGOME_API_SYSTEMAPI 23 virtual std::shared_ptr<application::ChainSpec>
getConfig()
const = 0;
25 virtual std::shared_ptr<consensus::babe::Babe>
getBabe()
const = 0;
27 virtual std::shared_ptr<network::PeerManager>
getPeerManager()
const = 0;
29 virtual outcome::result<primitives::AccountNonce>
getNonceFor(
30 std::string_view account_address)
const = 0;
35 #endif // KAGOME_API_SYSTEMAPI
virtual std::shared_ptr< consensus::babe::Babe > getBabe() const =0
virtual std::shared_ptr< application::ChainSpec > getConfig() const =0
virtual outcome::result< primitives::AccountNonce > getNonceFor(std::string_view account_address) const =0
virtual std::shared_ptr< network::PeerManager > getPeerManager() const =0
virtual ~SystemApi()=default