async fn await_response(
consensus_api: Arc<ConsensusApi>,
core_api: Arc<BTreeMap<String, ApiEndpoint<ConsensusApi>>>,
module_api: Arc<BTreeMap<ModuleInstanceId, BTreeMap<String, ApiEndpoint<DynServerModule>>>>,
request: IrohApiRequest,
) -> Result<Value, ApiError>