[−][src]Trait sp_api::Metadata
The Metadata
api trait that returns metadata for the runtime.
Provided methods
pub fn metadata(
&self,
__runtime_api_at_param__: &BlockId<Block>
) -> Result<OpaqueMetadata, Self::Error>
[src]
&self,
__runtime_api_at_param__: &BlockId<Block>
) -> Result<OpaqueMetadata, Self::Error>
Returns the metadata of a runtime.
pub fn metadata_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext
) -> Result<OpaqueMetadata, Self::Error>
[src]
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext
) -> Result<OpaqueMetadata, Self::Error>
Returns the metadata of a runtime.