# Function: unwrapSeedWithDeviceKey()

```ts
function unwrapSeedWithDeviceKey(
   wrap, 
   deviceKey, 
   did
): Promise<Uint8Array<ArrayBufferLike>>;
```

Defined in: [packages/core/src/identity/account-vault.ts:102](https://github.com/leifriksheim/minca/blob/main/core/src/identity/account-vault.ts#L102)

Opens a device wrap.

## Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `wrap` | [`DeviceWrap`](https://minca.dev/api/core/interfaces/DeviceWrap.md) | - |
| `deviceKey` | `CryptoKey` | - |
| `did` | `string` | The vault's DID: the seed inside must derive it |

## Returns

`Promise`\<`Uint8Array`\<`ArrayBufferLike`\>\>
