---
title: "readAttributeActiveEndpoints(completion:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclusterpowertopology/readattributeactiveendpoints(completion:)"
---

# readAttributeActiveEndpoints(completion:)

## Declaration

```swift
func readAttributeActiveEndpoints(completion: @escaping @Sendable ([Any]?, (any Error)?) -> Void)
```

```swift
func readAttributeActiveEndpoints() async throws -> [Any]
```
