Trait sp_api::ConstructRuntimeApi[][src]

pub trait ConstructRuntimeApi<Block: BlockT, C: CallApiAt<Block>> {
    type RuntimeApi: ApiExt<Block>;
    fn construct_runtime_api<'a>(call: &'a C) -> ApiRef<'a, Self::RuntimeApi>;
}
Expand description

Something that can be constructed to a runtime api.

Associated Types

The actual runtime api that will be constructed.

Required methods

Construct an instance of the runtime api.

Implementors