Note: This is the old version of the website. It will be taken offline on 01 May 2024. If there is anything on this website that you use and cannot find on the new version, please let me know at gregabc@learnme­abitxyzcoin.com.

  • Hash256
  • Hash160
  • Reverse Bytes
  • Hexadecimal
  • Satoshis

Block Hash

The hash of a block header.

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: 21 Jul 2020
  • 21 Jul 2020: renamed /guide/ to /technical/
Back to Top

Hey there, it's Greg.

I'll let you know about cool website updates, or if something seriously interesting happens in bitcoin.


Don't worry, it doesn't happen very often.