pub trait ConstructRuntimeApi<Block: BlockT, C: CallApiAt<Block>> {
    type RuntimeApi: ApiExt<Block>;

    fn construct_runtime_api(call: &C) -> ApiRef<'_, Self::RuntimeApi>;
}
Expand description

Something that can be constructed to a runtime api.

Required Associated Types§

The actual runtime api that will be constructed.

Required Methods§

Construct an instance of the runtime api.

Implementors§