I am trying to understand the bitcoin block structure and if it's possible to obtain the price of a bitcoin coin from within the bitcoin block itself.

If the price of bitcoin is not obtained from the bitcoin blocks how do sites like coinmarketcap.com generate a price for a bitcoin coin? Do they obtain the price from the block itself or do they obtain it from the exchanges, or ...?


2 Answers 2


The exchange rate to other currencies is not part of the currency, not part of the block structure.

Bitcoin would work as originally intended even if no other currencies existed.

Prices in markets, whether vegetable markets, stock markets or currency markets, are determined by the actual prices agreed between individual buyers and sellers.

The owners of the marketplaces may record these prices and display them but they don't really set them.


Bitcoin blocks contain transaction data and other metadata related to the Bitcoin network, but they do not directly include the price of a Bitcoin coin. The price of Bitcoin, like any other cryptocurrency or asset, is determined by market forces on various cryptocurrency exchanges.

Websites like CoinMarketCap and other cryptocurrency data aggregators obtain the price of Bitcoin from these exchanges. They collect data from multiple exchanges and calculate an average price or a weighted average based on trading volumes on those exchanges. This aggregated price is then displayed on their platforms as the current price of Bitcoin.

These platforms typically have APIs (Application Programming Interfaces) through which they can retrieve the latest price data from exchanges in real-time. They continuously update their databases with this information to provide users with accurate and up-to-date pricing information.

It's important to note that the price of Bitcoin can vary slightly across different exchanges due to factors like supply and demand dynamics, liquidity, and regional variations. Therefore, the prices displayed on different platforms may differ slightly, but they generally remain close to one another.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.