interface · Browser and Node

# ReplayRecord

`@toip-tools/trust-core` · [View source](https://github.com/yourbuddyconner/toip-tools/blob/main/packages/trust-core/src/replayGuard.ts#L8)

Import:

```ts
import { type ReplayRecord } from "@toip-tools/trust-core";
```

## Declaration

interface:

```ts
interface ReplayRecord {
  id: string;
  digest: string;
  retainUntil?: number;
  /** The response the first execution produced, so a duplicate can be answered with it. */
  response?: unknown;
  completed: boolean;
}
```

## Properties

**`id` (required)**

`string`

**`digest` (required)**

`string`

**`retainUntil` (optional)**

`number | undefined`

**`response` (optional)**

`unknown`

The response the first execution produced, so a duplicate can be answered with it.

**`completed` (required)**

`boolean`

[Usage guide](https://toip.tools/toolkit/trust-core/#usage) · [Error handling](https://toip.tools/toolkit/trust-core/#errors) · [All exports](https://toip.tools/toolkit/trust-core/api/)

---

This is the Markdown version of https://toip.tools/toolkit/trust-core/api/ReplayRecord/. An index of the documentation for AI assistants is at https://toip.tools/llms.txt.
