Kagome
Polkadot Runtime Engine in C++17
kagome::runtime::Metadata Class Referenceabstract

#include <metadata.hpp>

Inheritance diagram for kagome::runtime::Metadata:
Collaboration diagram for kagome::runtime::Metadata:

Public Member Functions

virtual ~Metadata ()=default
 
virtual outcome::result< OpaqueMetadatametadata (const primitives::BlockHash &block_hash)=0
 calls metadata method of Metadata runtime api More...
 

Protected Types

using OpaqueMetadata = primitives::OpaqueMetadata
 

Detailed Description

Definition at line 16 of file metadata.hpp.

Member Typedef Documentation

Constructor & Destructor Documentation

virtual kagome::runtime::Metadata::~Metadata ( )
virtualdefault

Member Function Documentation

virtual outcome::result<OpaqueMetadata> kagome::runtime::Metadata::metadata ( const primitives::BlockHash block_hash)
pure virtual

calls metadata method of Metadata runtime api

Returns
opaque metadata object or error

Implemented in kagome::runtime::MetadataImpl.


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