---
title: "readAttributePacketTxCount(completion:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclusterethernetnetworkdiagnostics/readattributepackettxcount(completion:)"
---

# readAttributePacketTxCount(completion:)

## Declaration

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

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