Block Hash

Block Hash Block ID

A Block Hash is basically a reference number for a block in the blockchain.

How do you get a Block Hash?

You get a Block Hash by hashing the block header through SHA256 twice.

Example

Here's the serialized block header for block 123,456:

010000009500c43a25c624520b5100adf82cb9f9da72fd2447a496bc600b0000000000006cd862370395dedf1da2841ccda0fc489e3039de5f1ccddef0e834991a65600ea6c8cb4db3936a1ae3143991

(swap endian)

0000000000002917ED80650C6174AAC8DFC46F5FE36480AAEF682FF6CD83C3CA


Tools:
Hash Block Header
Related Pages:
Mining

By Greg Walker,

Last Updated: Mar 14 2018
  • Mar 14 2018: Renamed block-id to block-hash, finally