interface · Browser and Node

# StoredReceipt

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

Import:

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

## Declaration

interface:

```ts
interface StoredReceipt {
  by: Qb64;
  /** "timed": a witness's trc over a KEL event, giving its time (ours, additive). */
  kind: "witness" | "endorsement" | "timed";
  raw: string;
  attachments: string;
  dt?: string;
}
```

## Properties

**`by` (required)**

`string`

**`kind` (required)**

`"endorsement" | "timed" | "witness"`

"timed": a witness's trc over a KEL event, giving its time (ours, additive).

**`raw` (required)**

`string`

**`attachments` (required)**

`string`

**`dt` (optional)**

`string | undefined`

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