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

# readAttributeDataVersion(completionHandler:)

## Declaration

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

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