Exemple #1
0
        /// <inheritdoc />
        public async Task <bool> StopHistoryObservationOfOutgoingTransactionsAsync(string address)
        {
            ValidateAddressIsNotEmpty(address);

            try
            {
                await _runner.RunWithRetriesAsync(() => _api.StopHistoryObservationOfOutgoingTransactionsAsync(address));

                return(true);
            }
            catch (ErrorResponseException ex) when(ex.StatusCode == HttpStatusCode.NoContent)
            {
                return(false);
            }
        }