stopNotifyingUtxosChanged method

Future<void> stopNotifyingUtxosChanged(
  1. List<String> addresses
)

Implementation

Future<void> stopNotifyingUtxosChanged(List<String> addresses) async {
  final message = KaspadMessage(
    stopNotifyingUtxosChangedRequest: StopNotifyingUtxosChangedRequestMessage(
      addresses: addresses,
    ),
  );

  final response = await _singleRequest(message);
  final error = response.stopNotifyingUtxosChangedResponse.error;
  if (error.message.isNotEmpty) {
    throw RpcException(error);
  }
}