---
title: "readAttributeLastNetworkID(completion:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclusternetworkcommissioning/readattributelastnetworkid(completion:)"
---

# readAttributeLastNetworkID(completion:)

## Declaration

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

```swift
func readAttributeLastNetworkID() async throws -> Data
```
