Skip to content

BLOG · LEARN WEB3

What Is Blockchain and How Does It Work? Types, Real Examples and Limits

Published Updated 13 MIN READ Jesús Sánchez Fernández

What Is Blockchain and How Does It Work? Types, Real Examples and Limits

A blockchain is a shared record of operations grouped into cryptographically linked blocks, maintained by many participants rather than by a single entity. Each block contains a fingerprint of the previous one, so altering an old entry would require redoing everything after it and would be detected immediately.

Blockchain is a record of transactions shared among many computers, called nodes, that agree on its contents without relying on a central administrator. Transactions are grouped into blocks, and each block includes the fingerprint (hash) of the previous one, so changing an old entry would mean redoing every later block, and the change would be detected. It is the technology Bitcoin and Ethereum run on, and EU and Spanish law already provide for its use to issue e-money tokens or to represent transferable securities. This guide explains how it works, which types of network exist, what it is used for with examples you can check, what the regulation says and where its limits are. The short definition is in our blockchain glossary entry.

What is blockchain, in plain words

Think of a ledger where every participant keeps an identical copy. When someone wants to add a transaction, the network checks that it is valid and, if rules set in advance are met, records it in every copy. No one can erase or rewrite a page on their own, because their copy would no longer match everyone else's.

The EU Markets in Crypto-Assets Regulation (MiCA) defines it in technical terms: a distributed ledger is "an information repository that keeps records of transactions and that is shared across, and synchronised between, a set of DLT network nodes using a consensus mechanism" (Art. 3(1)(2) of Regulation (EU) 2023/1114). Blockchain is one type of distributed ledger technology (DLT): the one that organizes data into chained blocks.

It becomes useful when several parties who do not know or trust each other need to share the same record without any one of them controlling it. That is what Bitcoin set out to do. Its white paper, signed by Satoshi Nakamoto, proposes an electronic payment system based on cryptographic proof instead of trust in a third party, so two parties can pay each other directly without going through a financial institution. The problem it solves is double spending: preventing the same digital money from being spent twice without an intermediary watching over it.

How it works: blocks, hashes, nodes and consensus

Blocks and hashes

A hash is a digital fingerprint calculated from data of almost any size. If a single bit of the input changes, the resulting fingerprint is completely different, and it is computationally infeasible to work out the original data from the fingerprint (NIST IR 8202, Section 3.1). Each block stores a batch of transactions and the hash of the previous block. As the Ethereum documentation explains, a change to any past block would invalidate all the blocks after it, because their hashes would change, and everyone running the chain would notice. The Bitcoin white paper gives the SHA-256 function as an example for its proof of work.

Nodes

Nodes are the computers that run the network's software. MiCA defines a node as a device or process that holds a complete or partial replica of records of all transactions (Art. 3(1)(4)). New transactions are broadcast to the nodes, which collect them into blocks and accept a block only if all its transactions are valid and not already spent (Bitcoin white paper, Section 5). On Ethereum, a full node validates the chain block by block.

Consensus: proof of work and proof of stake

A consensus mechanism means "the rules and procedures by which an agreement is reached, among DLT network nodes, that a transaction is validated" (Art. 3(1)(3) of MiCA). Public networks usually rely on one of these two models (NIST IR 8202, Section 2.1):

  • Proof of work (PoW). Bitcoin uses it. The nodes that create blocks, called miners, try values (the nonce) until the block's hash begins with a required number of zero bits. Finding it takes a lot of computation; checking it takes a single hash. The valid chain is the one with the most work behind it, and to change a past block an attacker would have to redo the work of that block and every block after it and then outpace the rest of the network (white paper, Section 4). Whoever creates the block receives new coins and the transaction fees (Section 6).
  • Proof of stake (PoS). Ethereum has used it since the upgrade known as The Merge, executed on September 15, 2022, which reduced its energy consumption by about 99.95%, according to ethereum.org. Validators lock up ETH as collateral in a smart contract. In each 12-second slot, one validator is randomly chosen to propose the block and a committee is chosen to vote on it. A validator that acts dishonestly, for example by proposing two blocks in the same slot, can lose part or all of its stake.

There are other models, mainly in permissioned networks, where only identified participants validate. According to NIST, consensus in those networks is usually faster and less computationally expensive, because whoever publishes blocks is authorized and can lose that authorization for misbehaving.

A transaction, step by step

  • The user signs the transaction with their private key, usually from a wallet.
  • The transaction is broadcast to the network's nodes.
  • A miner or validator includes it in a block along with others.
  • The other nodes check the block and, if it is valid, add it to their copy.
  • Each new block makes earlier ones harder to reverse. On Ethereum, reverting a "finalized" block would cost the attacker at least one-third of all the ETH staked (ethereum.org).

Types of blockchain: public, private, permissioned and consortium

The key difference is who can add blocks. The U.S. National Institute of Standards and Technology (NIST) puts it this way: if anyone can publish a block, the network is permissionless; if only authorized users can, it is permissioned (NIST IR 8202, Section 2).

TypeWho validatesWho can readExample
Public (permissionless)Anyone who follows the protocol rulesAnyoneBitcoin, Ethereum
PrivateNodes authorized by a single organizationWhoever that organization decidesA company's internal records
PermissionedParticipants authorized by an authority, centralized or decentralizedOpen or restricted, depending on the networkIndustry or public-sector networks with identified validators, such as ISBE in Spain
ConsortiumA group of organizations that governs the network jointlyAccording to the consortium's rulesEBSI, the EU's blockchain infrastructure

"Private" and "permissioned" are often used interchangeably, but they are not the same: a permissioned network can let anyone read the data and restrict only who validates. NIST adds that these networks are often deployed for a group of organizations, a consortium, and warns that if a single entity controls who can publish blocks, users have to trust that entity. We compare both ends in public vs. private blockchain.

What blockchain is used for: real examples

Blockchain adds value when several parties need a shared record that is verifiable and hard to alter, and none of them should control it alone. These examples can be checked against official sources:

  • Peer-to-peer digital money. Bitcoin lets one party send payments to another without going through a financial institution; it is the use the technology was designed for (white paper, abstract).
  • Programmable contracts. On Ethereum, a smart contract is a program that runs on the chain, with its code and data at a specific address (ethereum.org). Tokens and decentralized applications (dApps) are built on them.
  • Tokenized securities in Spain. Under Law 6/2023, transferable securities such as shares or bonds (Art. 2(1)(a)) can be represented through systems based on distributed ledger technology, as well as through book entries or certificates (Art. 6(1)). In the issuance document, the issuer appoints an entity responsible for registration and recording (ERIR), which must be authorized for the activity in Art. 126(a) of the law (Art. 8(4)).
  • Securities markets on DLT. The EU pilot regime allows DLT-based financial instruments to be traded and settled on specific infrastructures (Regulation (EU) 2022/858, Art. 2(5)). On November 26, 2025, Spain's securities regulator (CNMV) authorized SECURITIZE, a trading and settlement system operated by Securitize Europe Brokerage and Markets, S.V., S.A., on which instruments including "tokenised" shares and bonds will be traded (CNMV press release). We explain it in what a DLT market is.
  • E-money in token form. MiCA regulates e-money tokens: crypto-assets that, to maintain a stable value, reference the value of one official currency (Art. 3(1)(7)). Their rules (Title IV) have applied since June 30, 2024.
  • Verifiable diplomas and credentials. The European Blockchain Partnership (EBP), launched in 2018 and made up of the 27 EU countries, Norway, Liechtenstein and the European Commission, set up the European Blockchain Services Infrastructure (EBSI). It is now run by Europeum-EDIC, a consortium of Member States created by a Commission decision in May 2024, which took over its governance and maintenance. EBSI is a network of nodes run by organizations approved by Europeum-EDIC, and its use cases include diplomas (ebsi.eu). In Spain, ISBE (Blockchain Services Infrastructure of Spain), set up under an agreement between the Community of Madrid and Alastria, lists verifiable credentials among its use cases and plans to connect with EBSI.
  • Product traceability and origin. The Commission also lists track and trace and anti-counterfeiting among EBSI's uses. A shared record lets every party in the supply chain verify origin without relying on documents from a single source.
  • Document timestamping. Recording a document's hash proves that the document existed at that time without revealing its contents. This is the timestamp server idea the Bitcoin white paper builds on (Section 3), citing as prior work S. Haber and W. S. Stornetta's 1991 paper on time-stamping digital documents.

Benefits of blockchain

  • A shared record with no single administrator. All parties work on the same data, kept in sync by the consensus mechanism, instead of each keeping its own version.
  • Hard to alter, easy to audit. NIST describes blockchains as ledgers that are "tamper evident and tamper resistant."
  • Traceability. Every transaction is ordered in time and can be traced back to its origin. According to NIST, permissioned networks can offer the same traceability of digital assets as public ones.
  • Resilience. There are many copies on many nodes, so the network does not depend on a single server: NIST describes distributed, resilient and redundant data storage.
  • Rules that execute themselves. A smart contract carries out what was agreed (a payment, a distribution, a transfer restriction) when its conditions are met. The Ethereum documentation compares it to a vending machine: with the right inputs, a certain output is guaranteed.
  • Open access on public networks. On a permissionless network, anyone can read the chain and submit transactions (NIST IR 8202, Section 2.1).

Limitations of blockchain

  • Capacity and cost. Having every node validate and store every transaction limits the capacity of public networks. Ethereum relies on layer 2 networks built on top of it; those that store their data on the main network are often called rollups (ethereum.org).
  • Energy use in proof of work. Proof of work spends computing time and electricity by design (Bitcoin white paper, Section 6). Proof of stake does away with mining.
  • "Immutable" is not absolute. NIST warns that a blockchain cannot be considered completely immutable: the most recent blocks can be replaced by a longer alternative chain, and a network with few block-publishing nodes can be rewritten by an attacker (Sections 7.1 and 7.4).
  • Private keys. Anyone who loses their private key loses the associated assets, because it cannot be regenerated. If it is stolen, the attacker controls those assets and, in general, the transfer cannot be undone (NIST IR 8202, Section 3.4.1).
  • Smart contract bugs. The chain can be secure while the contract is not. On public networks, deployed code usually cannot be changed to patch a flaw, and stolen assets are extremely difficult to track and mostly irrecoverable (ethereum.org, smart contract security). That is why contracts should be audited before deployment.
  • Real-world data. The chain cannot tell whether what is recorded is true: if a sensor fails or someone enters false data, the ledger stores that error. This is known as the oracle problem (NIST IR 8202, Section 7.3).
  • Personal data. The European Data Protection Board (EDPB) recommends, as a general rule, avoiding storing personal data on a blockchain if this conflicts with data protection principles, and stresses the rights to rectification and erasure (Guidelines 02/2025, final version of July 7, 2026). These are EDPB guidelines on applying the GDPR, not a new law.
  • Not everything needs a blockchain. NIST recommends that organizations examine whether existing technologies can better solve their problem (NIST IR 8202, Section 8). If a single entity controls the data and everyone already trusts it, a conventional database is usually enough.

Blockchain and regulation in the EU and Spain

The EU does not regulate the technology itself, but what is done with it. MiCA says so in Recital 9: EU financial services law should be guided by the principles of "same activities, same risks, same rules" and of technology neutrality. These are the three rules worth knowing:

  • MiCA, Regulation (EU) 2023/1114. It applies to anyone who issues, offers to the public or seeks admission to trading of crypto-assets, or provides crypto-asset services, in the EU (Art. 2(1)). It defines a crypto-asset as a digital representation of a value or a right that can be transferred and stored electronically using DLT or similar technology (Art. 3(1)(5)). The rules on asset-referenced tokens and e-money tokens (Titles III and IV) have applied since June 30, 2024, and the rest, as a general rule, since December 30, 2024 (Art. 149). To provide crypto-asset services, a firm must be authorized as a crypto-asset service provider or, for certain financial entities that are already authorized (banks, investment firms or e-money institutions, among others), follow the procedure in Art. 60 (Art. 59(1)). MiCA does not apply to crypto-assets that qualify as financial instruments (Art. 2(4)(a)): those fall under securities law.
  • DLT Pilot Regime, Regulation (EU) 2022/858. Applicable since March 23, 2023 (Art. 19(2)), it allows multilateral trading facilities, settlement systems and systems that combine both to run on DLT with financial instruments, and provides specific exemptions from market rules for them (Arts. 2(5) and 4 to 6).
  • Spain's Law 6/2023 of March 17 on Securities Markets and Investment Services. It allows transferable securities to be represented through systems based on distributed ledger technology (Art. 6(1)). If those securities are admitted to trading on a trading venue, the DLT representation must be within the framework of Regulation (EU) 2022/858 (Art. 6(2)). The ERIR is appointed in the issuance document (Art. 8(4)).

If a project issues securities or crypto-assets, the technology is only one part: the legal fit of each case is determined by the project's legal counsel.

Frequently asked questions

Are blockchain and Bitcoin the same thing?

No. Bitcoin is a payment network and blockchain is the ledger technology it uses. There are other public networks, such as Ethereum, and permissioned networks for companies or public administrations, such as EBSI.

What is the difference between blockchain and DLT?

DLT (distributed ledger technology) is the broader category: a ledger shared and synchronized among nodes through a consensus mechanism (Art. 3(1) of MiCA). Blockchain is a type of DLT that organizes data into blocks linked by hashes. MiCA calls for "distributed ledger technology" to be defined as widely as possible (Recital 16), which is why the rules refer to DLT rather than blockchain.

Can data on a blockchain be deleted or changed?

Not unilaterally: changing a block means redoing the ones after it and overpowering the rest of the network. NIST notes that it is not immutable in an absolute sense, because the latest blocks can be replaced and a network with few nodes can be rewritten. Precisely because deletion is so hard, the EDPB recommends avoiding storing personal data on-chain where it conflicts with the GDPR.

Does blockchain use a lot of energy?

It depends on the consensus mechanism. Proof of work, which Bitcoin uses, spends electricity by design. Proof of stake does not need mining: according to ethereum.org, Ethereum cut its energy consumption by about 99.95% when it switched to it on September 15, 2022.

Is it legal to use blockchain in Spain?

Yes. What is regulated is not the technology but the activity: issuing crypto-assets or providing services related to them falls under MiCA, and issuing tokenized transferable securities falls under Law 6/2023 and the rest of securities law.

How we work at Unknown Gravity

Unknown Gravity is a Spanish tokenization technology and blockchain infrastructure company. We design and build smart contracts, platforms and integrations on public networks such as Ethereum or Bitcoin and on permissioned networks, together with the client's legal counsel and, when the project requires it, with regulated entities. We explain it in our blockchain development service.

Official sources

Framework verified as of October 13, 2026. This content is for information only and is not legal or investment advice. Have a use case and want to know whether blockchain fits? Talk to us.

KEEP READING

Related articles