public async Task <JsonResult> Register([FromBody] RegisterNodeRequest request)
        {
            return(await ProcessRequest(async() =>
            {
                if (request.NodeAddresses == null || request.NodeAddresses.Count == 0)
                {
                    return GenerateBadRequestResponse(new ArgumentException("Node addresses are required"));
                }

                var response = _localBlockChain.RegisterNodes(request.NodeAddresses);

                return GenerateOkResponse(response);
            }));
        }