public async Task <ActionResult> Observe(string address) { if (!Validators.ValidateAzureKey(address) || !_api.AddressIsValid(address)) { return(BadRequest(BlockchainErrorResponse.Create("'address' must be valid blockchain address"))); } if (await _depositWallets.TryObserveAsync(address)) { _chaosKitty?.Meow($"{nameof(Observe)}_Data"); await _api.ObserveAddressAsync(address); _chaosKitty?.Meow($"{nameof(Observe)}_Blockchain"); return(Ok()); } else { return(Conflict($"Address {address} is already observed")); } }