function · Browser and Node

# makeBinding

`@toip-tools/eventlog` · [View source](https://github.com/yourbuddyconner/toip-tools/blob/main/packages/eventlog/src/binding.ts#L17)

Import:

```ts
import { makeBinding } from "@toip-tools/eventlog";
```

## Declaration

Signature:

```ts
makeBinding(identity: Identity, aid: Qb64, clock: Clock, replaces?: Qb64): DidBinding;
```

### Parameters

- **`identity` (required)**: `Identity`
- **`aid` (required)**: `string`
- **`clock` (required)**: `Clock`
- **`replaces` (optional)**: `string | undefined`

### Returns

`DidBinding`

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

---

This is the Markdown version of https://toip.tools/toolkit/eventlog/api/makeBinding/. An index of the documentation for AI assistants is at https://toip.tools/llms.txt.
