Blockchain is a special technology for peer-to-peer transaction platforms that uses decentralised storage to record all transaction data. Blockchain technology strengthens the market role of individual consumers and producers. It enables prosumers, i.e. households that not only consume but also produce energy, to buy and sell energy directly, with a high degree of autonomy. The current legal and regulatory framework for consumers and prosumers in the energy sector is clearly defined and provides protection on many levels to consumers in particular. However, in the medium to long term, this framework will probably have to be adjusted to reflect the requirements of decentralised transaction models.