public IRpcMethodResult GetVerifiedHashes(List <string> hashes) { try { BlockComponent component = new BlockComponent(); List <Block> result = component.GetVerifiedHashes(hashes); return(Ok(result)); } catch (CommonException ce) { return(Error(ce.ErrorCode, ce.Message, ce)); } catch (Exception ex) { return(Error(ErrorCode.UNKNOWN_ERROR, ex.Message, ex)); } }