type · Browser and Node

# SubmitResult

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

Import:

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

## Declaration

type:

```ts
type SubmitResult =
  | { ok: true; receipts: string }
  /** `receipts` holds receipts for messages before the refused one. (Additive.) */
  | { ok: false; refusal: Refusal; problems: Problem[]; firstSeen?: string; receipts?: string };
```

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