Copy as Markdown[View as Markdown](/docs/sdk/functions/getAdrs.md)

***

# Function: getAdrs()

> **getAdrs**(`directory`): (`options`?) => `Promise`<`Adr`\[]>

Defined in: adrs.ts:20

## Parameters[​](#parameters "Direct link to Parameters")

| Parameter   | Type     |
| ----------- | -------- |
| `directory` | `string` |

## Returns[​](#returns "Direct link to Returns")

`Function`

### Parameters[​](#parameters-1 "Direct link to Parameters")

| Parameter             | Type                         |
| --------------------- | ---------------------------- |
| `options`?            | { `latestOnly`: `boolean`; } |
| `options.latestOnly`? | `boolean`                    |

### Returns[​](#returns-1 "Direct link to Returns")

`Promise`<`Adr`\[]>
