Skip to main content

Interface: Block<T, Format, Alg, V>

types.Block

Extends IPLDBlock with an optional data field.

Type parameters

NameType
Textends unknown = unknown
Formatextends number = number
Algextends number = number
Vextends LinkVersion = 1

Hierarchy

  • Block<T, Format, Alg, V>

    Block

Properties

bytes

bytes: ByteView<T>

Inherited from

IPLDBlock.bytes

Defined in

node_modules/multiformats/dist/types/src/block/interface.d.ts:40


cid

cid: Link<T, Format, Alg, V>

Inherited from

IPLDBlock.cid

Defined in

node_modules/multiformats/dist/types/src/block/interface.d.ts:41


data

Optional data: T

Defined in

node_modules/@ucanto/interface/dist/src/transport.d.ts:42