Interface Block<T, Format, Alg, V>

Extends IPLDBlock with an optional data field.

Type Parameters

  • T extends unknown = unknown

  • Format extends number = number

  • Alg extends number = number

  • V extends Version = 1

Hierarchy

  • Block<T, Format, Alg, V>
    • Block

Properties

Properties

bytes: ByteView<T>
cid: Link<T, Format, Alg, V>
data?: T

Generated using TypeDoc