function · Browser and Node

# openRoute

`@toip-tools/mesh-transport` · [View source](https://github.com/yourbuddyconner/toip-tools/blob/main/packages/mesh-transport/src/keys.ts#L107)

Import:

```ts
import { openRoute } from "@toip-tools/mesh-transport";
```

## Declaration

Signature:

```ts
openRoute(block: Uint8Array, secretX: Uint8Array, enc: Uint8Array): Promise<{
    sender: string;
    receiver: string;
} | null>;
```

### Parameters

- **`block` (required)**: `Uint8Array<ArrayBufferLike>`
- **`secretX` (required)**: `Uint8Array<ArrayBufferLike>`
- **`enc` (required)**: `Uint8Array<ArrayBufferLike>`

### Returns

`Promise<{ sender: string; receiver: string; } | null>`

[Usage guide](https://toip.tools/toolkit/mesh-transport/#usage) · [Error handling](https://toip.tools/toolkit/mesh-transport/#errors) · [All exports](https://toip.tools/toolkit/mesh-transport/api/)

---

This is the Markdown version of https://toip.tools/toolkit/mesh-transport/api/openRoute/. An index of the documentation for AI assistants is at https://toip.tools/llms.txt.
