interface · Browser and Node

# SignedMessage

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

Import:

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

## Declaration

interface:

```ts
interface SignedMessage {
  t: MessageType;
  /** Exact bytes signed and hashed. */
  raw: string;
  body: Record<string, unknown>;
  logId: Qb64;
  s: number;
  d: Qb64;
  controllerSigs?: IndexedSig[];
  witnessSigs?: IndexedSig[];
  keyRefSig?: KeyRefSig;
  couples?: Couple[];
}
```

## Properties

**`t` (required)**

`MessageType`

**`raw` (required)**

`string`

Exact bytes signed and hashed.

**`body` (required)**

`Record<string, unknown>`

**`logId` (required)**

`string`

**`s` (required)**

`number`

**`d` (required)**

`string`

**`controllerSigs` (optional)**

`IndexedSig[] | undefined`

**`witnessSigs` (optional)**

`IndexedSig[] | undefined`

**`keyRefSig` (optional)**

`KeyRefSig | undefined`

**`couples` (optional)**

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