---
title: "readAttributeTxRetryCount(completionHandler:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclusterthreadnetworkdiagnostics/readattributetxretrycount(completionhandler:)"
---

# readAttributeTxRetryCount(completionHandler:)

## Declaration

```swift
func readAttributeTxRetryCount(completionHandler: @escaping @Sendable (NSNumber?, (any Error)?) -> Void)
```

```swift
func readAttributeTxRetryCount() async throws -> NSNumber
```
