Interface: Block<T, Format, Alg, V>
types.Block
Extends IPLDBlock with an optional data
field.
Type parameters
Name | Type |
---|---|
T | extends unknown = unknown |
Format | extends number = number |
Alg | extends number = number |
V | extends 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