⛓️Blockchains

The blockchain is a data structure composed of blocks of data which are linked to one another — hence the “chain” in their name.

The integrity of the data continued within blockchains uses cryptography to prove its correctness of it.

In its native form, blockchain data is stored in a binary format on disk by the various nodes of the network, which is incomprehensible on its own. In order to access this data you make API calls to the nodes. Such calls will return data such as the following:

baseFeePerGas: 30581824391,
difficulty: 12098153256606097,
extraData: "0x486976656f6e2065752d68656176792d797374",
gasLimit: 30000000,
gasUsed: 24510288,
hash: "0x73fa641f32b9b77c7d7fc44621b894415ce7084d2b9838f56e14ed1c795c7da7",
logsBloom: "0xbf7861b6f58da898347afedbe147b273d781ee9f06dacef66773eab3d7beb9f917dd714afdcf0715eccf7fddf54dcd67faa9873d6beae8232f3ed7421f79fa56e4046b2ec94987abef6bfcc9db33f9f949b4797e4b79ee659b37bde9ec40f731d25079e4df4ebdf9af68e76ddc9f0f517e0f1ab58aa23c67dec79d93dd7f481c5d0da770f6e33d62c6dbff6589b7e3feede09ee5b1e2be4c26633c7e48bad5fbaf91fd5772e9791bde82caf6a9d7fcd9bfc68889a18f3c2eebed5c97a838714cd11ff727c4d38f76546fbdda0feebfbd4d798ae73bfae5feccc09d37771fabeee679a0eb541080ad0b2fd6a27dd2befd67e44a67997ee3fa852cec70979d9a7d",
miner: "0x1ad91ee08f21be3de0ba2ba6918e714da6b45836",
mixHash: "0xe260b2aee8a1bf6707d5c056f58dba5b983b60e4bf92720942306e10569fe7b7",
nonce: "0x867ecc736c577201",
number: 15403628,
parentHash: "0x6f2ef8796249ed02d06f60236e0509ec43bcd6e62b0069ca6623ded7e23575bd",
receiptsRoot: "0xd7ffa09e202c062aeae11c2ae69dc3a9c0bd78f660bc6133511d3d0d7c298a1f",
sha3Uncles: "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
size: 118667,
stateRoot: "0x7e0e0630e0fb686659b9caabc46063faa3d217ad10a4c0821e3878ba5c6e8be8",
timestamp: 1661354142,
totalDifficulty: 5.7106560990957509755822e+22,
transactions: [
  "0x147d57bbd1658cf797e3920fe2774c41dfc2ea848c21ca6c8984bb306cd97833", 
  "0x95ff85e338f705331cda07a4a3a098f561460d194e6eb9b217ecf1e142df2453", 
  "0x6b99e08980a255caa7f9e2ae0ea95f4b3b4544a96affefd9edfe1554d30338ad", 
  ...
]

Without understanding the different relationships between blocks, transactions and the data represented by transactions (which we will be covering shortly), it's very difficult to interpret this data.

Fortunately, there are services available that aggregate this data, index and extract meaningful information from it.

The most common type of service is referred to as a block or blockchain explorer. These are services that provide a visual representation of the data contained within the blockchain in a format that allows users to browse for the data they require.

Such data includes details of transactions, accounts, tokens and cryptocurrencies that reside on that specific blockchain, which is the data users are typically most interested in.

The term “block explorer” is something of a misnomer, given that most users are interested in the assets and smart contracts that reside on different blockchains rather than the technical details of the blocks contained within.

If you want to understand the activities that are taking place on blockchain networks, your go-to tool should be the block explorer. There are analytics products available that provide complementary data sets, but if you cannot make sense of data with a block explorer, you’re unlikely to be able to understand the data provided by these other products.

Hence we will be continuing to drive into the various components of the blockchain to provide the fundamental knowledge you need in order to make sense of information “on-chain”.

We encourage you to try the Chainlens Explorer. A public-facing instance of it is available here which you can navigate to. This is connected to the Holesky testnet, which is a public Ethereum test network.

Summary

Data on blockchains is stored in a binary format by nodes that make up a blockchain network. In order to understand the data that resides on these nodes, your starting point should be a block explorer which provides a visual representation of the data contained on them. Chainlens provides blockchain exploration capabilities.

Last updated