interface · Browser and Node

# TrailEntry

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

Import:

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

## Declaration

interface:

```ts
interface TrailEntry {
  s: number;
  d: Qb64;
  t: "tin" | "ten" | "tcl";
  kind: string;
  dt: string;
  status: EntryStatus;
  keyState: KeyRef;
  receipts: { witness: Qb64; dt: string }[];
  earliestReceipt?: string;
  endorsements: { signer: string; dt: string }[];
  /** KEL sn of the first checkpoint or rotation that sealed this entry or a later one. */
  anchoredBy?: number;
  body?: { said: Qb64; ok: boolean };
  /** KEL sn of the rotation that cut it. */
  cutBy?: number;
  /** The body SAID the header commits to (`a`), and its other seals (`x`). */
  a: Qb64 | "";
  x: Seal[];
}
```

## Properties

**`s` (required)**

`number`

**`d` (required)**

`string`

**`t` (required)**

`"tcl" | "ten" | "tin"`

**`kind` (required)**

`string`

**`dt` (required)**

`string`

**`status` (required)**

`EntryStatus`

**`keyState` (required)**

`KeyRef`

**`receipts` (required)**

`{ witness: Qb64; dt: string; }[]`

**`earliestReceipt` (optional)**

`string | undefined`

**`endorsements` (required)**

`{ signer: string; dt: string; }[]`

**`anchoredBy` (optional)**

`number | undefined`

KEL sn of the first checkpoint or rotation that sealed this entry or a later one.

**`body` (optional)**

`{ said: Qb64; ok: boolean; } | undefined`

**`cutBy` (optional)**

`number | undefined`

KEL sn of the rotation that cut it.

**`a` (required)**

`string`

The body SAID the header commits to (`a`), and its other seals (`x`).

**`x` (required)**

`Seal[]`

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