function · Browser and Node

# endorse

An endorsement of a trail entry by a did:key identity (a counterparty, a principal).

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

Import:

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

## Declaration

Signature:

```ts
endorse(entry: SignedMessage, identity: Identity, dt: string): SignedMessage;
```

### Parameters

- **`entry` (required)**: `SignedMessage`
- **`identity` (required)**: `Identity`
- **`dt` (required)**: `string`

### Returns

`SignedMessage`

[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/endorse/. An index of the documentation for AI assistants is at https://toip.tools/llms.txt.
