toip.tools

function · Browser and Node

anchoredIn

Where a digest is anchored: KEL seals {d}, and trail entries' a or x. digest is a qb64 digest, or 32 raw bytes (matched as Blake3 or SHA-256).

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

Declaration

TypeScriptSignature
anchoredIn(kel: KelResult, digest: Qb64 | Uint8Array, trails?: TrailResult[]): Anchor[];

Parameters

kelrequired
KelResult
digestrequired
string | Uint8Array<ArrayBufferLike>
trailsoptional
TrailResult[]

Default: []

Returns