toip.tools

function · Browser and Node

buildTen

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

Declaration

TypeScriptSignature
buildTen(f: {
    trailId: Qb64;
    s: number;
    prior: Qb64;
    dt: string;
    kind: string;
    bodySaid: Qb64 | "";
    refs: Seal[];
}): {
    raw: string;
    body: Record<string, unknown>;
};

Parameters

frequired
{ trailId: Qb64; s: number; prior: Qb64; dt: string; kind: string; bodySaid: Qb64 | ""; refs: Seal[]; }

Returns

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

Returned object

The returned object exposes these properties and methods.

Properties

rawrequired
string
bodyrequired
Record<string, unknown>