Interface Link<Data, Format, Alg, V>

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

Hierarchy

Implemented by

Properties

[Marker]?: Data
byteLength: number
byteOffset: number
code: Format
link: (() => Link<Data, Format, Alg, V>)

Type declaration

    • (): Link<Data, Format, Alg, V>
    • Returns Link<Data, Format, Alg, V>

toV1: (() => Link<Data, Format, Alg, 1>)

Type declaration

    • (): Link<Data, Format, Alg, 1>
    • Returns Link<Data, Format, Alg, 1>

version: V

Generated using TypeDoc