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

# readAttributeTxDataPollCount(completion:)

## Declaration

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

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