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
equals: ((other) => other is Link<T, 112, 18, Version>)

Type declaration

link: (() => Link<T, 112, 18, 0>)

Type declaration

    • (): Link<T, 112, 18, 0>
    • Returns Link<T, 112, 18, 0>

multihash: MultihashDigest<18>
toString: (<Prefix>(base?) => ToString<Link<T, 112, 18, Version>, Prefix>)

Type declaration

toV1: (() => Link<T, 112, 18, 1>)

Type declaration

    • (): Link<T, 112, 18, 1>
    • Returns Link<T, 112, 18, 1>

version: 0

Generated using TypeDoc