public async Task <IActionResult> Key([FromBody] KeyRequest request) { var key = await m_ChainManager.GetKeyAsync(request); if (key == null) { return(NotFound("key not found")); } return(Json(key)); }