Header

Interface
All of the properties of a Block except the Transactions themselves.
export interface Header { 
  readonly version: number; 
  readonly hash: Hash256String; 
  readonly previousBlockHash: Hash256String; 
  readonly merkleRoot: Hash256String; 
  readonly time: number; 
  readonly index: number; 
  readonly nonce: string; 
  readonly nextConsensus: AddressString; 
  readonly script: Witness; 
  readonly size: number; 
} 

Properties

version
number
NEO blockchain version
previousBlockHash
Previous Block hash.
merkleRoot
Merkle Root of the Transactions of this Block.
time
number
Block time persisted
index
number
Block index
nonce
string
Unique number to ensure the block hash is always unique.
nextConsensus
Next consensus address.
script
'Witness' to the Block's validity.
size
number
Size in bytes of the Block.
  • @neo-one/client
  • @neo-one/smart-contract
DOCS
InstallationMain ConceptsAdvanced GuidesAPI ReferenceContributing
CHANNELS
GitHubStack OverflowDiscord ChatTwitterYouTube
COPYRIGHT © 2021 NEO•ONE