interface · Browser and Node

# SpendEntry

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

Import:

```ts
import { type SpendEntry } from "@toip-tools/mandates";
```

## Declaration

interface:

```ts
interface SpendEntry {
  mandate: string;
  actionId: string;
  spend: Units;
  /** Milliseconds since the epoch, on the delegate's clock. */
  at: number;
  /** Units given back by refunds. */
  refunded?: Units;
}
```

## Properties

**`mandate` (required)**

`string`

**`actionId` (required)**

`string`

**`spend` (required)**

`string`

**`at` (required)**

`number`

Milliseconds since the epoch, on the delegate's clock.

**`refunded` (optional)**

`string | undefined`

Units given back by refunds.

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

---

This is the Markdown version of https://toip.tools/toolkit/mandates/api/SpendEntry/. An index of the documentation for AI assistants is at https://toip.tools/llms.txt.
