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

# readAttributeTxRetryCount(completion:)

## Declaration

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

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