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

# readAttributeTxBeaconCount(completion:)

## Declaration

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

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