toip.tools

function · Browser and Node

buildIcp

@toip-tools/eventlogView source
TypeScriptImport
import { buildIcp } from "@toip-tools/eventlog";

Declaration

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

Parameters

frequired
IcpFields

Returns

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

Returned object

The returned object exposes these properties and methods.

Properties

rawrequired
string
bodyrequired
Record<string, unknown>