Function hotshot_builder_api::v0_3::builder::define_api

source ยท
pub fn define_api<State, Types: NodeType>(
    options: &Options,
) -> Result<Api<State, Error, Version>, ApiError>
where State: 'static + Send + Sync + ReadState, <State as ReadState>::State: Send + Sync + BuilderDataSource<Types>,