[][src]Trait substrate_client::runtime_api::Metadata

pub trait Metadata<Block: BlockT>: Core<Block> {
    fn metadata(&self, at: &BlockId<Block>) -> Result<OpaqueMetadata, Error> { ... }
fn metadata_with_context(
        &self,
        at: &BlockId<Block>,
        context: ExecutionContext
    ) -> Result<OpaqueMetadata, Error> { ... } }

The Metadata api trait that returns metadata for the runtime.

Provided methods

fn metadata(&self, at: &BlockId<Block>) -> Result<OpaqueMetadata, Error>

Returns the metadata of a runtime.

fn metadata_with_context(
    &self,
    at: &BlockId<Block>,
    context: ExecutionContext
) -> Result<OpaqueMetadata, Error>

Returns the metadata of a runtime.

Loading content...

Trait Implementations

impl<Block: BlockT> RuntimeApiInfo for dyn Metadata<Block>[src]

Implementors

Loading content...