function · Browser and Node

# buildIcp

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

Import:

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

## Declaration

Signature:

```ts
buildIcp(f: IcpFields): {
    raw: string;
    body: Record<string, unknown>;
};
```

### Parameters

- **`f` (required)**: `IcpFields`

### Returns

`{ raw: string; body: Record<string, unknown>; }`

## Returned object

The returned object exposes these properties and methods.

## Properties

- **`raw` (required)**: `string`
- **`body` (required)**: `Record<string, unknown>`

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