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
code: 112
link: (() => Link<T, 112, 18, 0>)

Type declaration

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

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

Type declaration

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

version: 0

Generated using TypeDoc