Skip to content

@liquality.types.Block

Krasimir Raykov edited this page Mar 30, 2022 · 3 revisions

Interface: Block<BlockType, TransactionType>

@liquality/types.Block

Type parameters

Name Type
BlockType any
TransactionType any

Table of contents

Properties

Properties

_raw

_raw: BlockType

Defined in

types/lib/Block.ts:21


difficulty

Optional difficulty: number

Defined in

types/lib/Block.ts:13


hash

hash: string

Defined in

types/lib/Block.ts:7


nonce

Optional nonce: number

Defined in

types/lib/Block.ts:15


number

number: number

Defined in

types/lib/Block.ts:5


parentHash

Optional parentHash: string

Defined in

types/lib/Block.ts:11


size

Optional size: number

Defined in

types/lib/Block.ts:17


timestamp

timestamp: number

Defined in

types/lib/Block.ts:9


transactions

Optional transactions: Transaction<TransactionType>[]

Defined in

types/lib/Block.ts:19

Clone this wiki locally