Represents an IPLD link to a specific data of type T.

Template

Logical type of the data being linked to.

Template

multicodec code corresponding to a codec linked data is encoded with

Template

multicodec code corresponding to the hashing algorithm of the CID

Type Parameters

  • T extends unknown = unknown

Hierarchy

Properties

[Marker]?: T
byteLength: number
byteOffset: number
bytes: ByteView<Link<T, 112, 18, 0>>
code: 112
multihash: MultihashDigest<18>
version: 0

Methods

  • Parameters

    • other: unknown

    Returns other is Link<T, 112, 18, Version>

  • Returns Link<T, 112, 18, 0>

  • Type Parameters

    • Prefix extends string

    Parameters

    Returns ToString<Link<T, 112, 18, Version>, Prefix>

  • Returns Link<T, 112, 18, 1>

Generated using TypeDoc