From the course: Interacting with Blockchains in the Wolfram Language
Unlock this course with a free trial
Join today to access over 24,800 courses taught by industry experts.
Blockchain block data - Wolfram Language Tutorial
From the course: Interacting with Blockchains in the Wolfram Language
Blockchain block data
So let's explore the blocks. So we have the BlockchainBlockData function. The BlockchainBlockData function receives and a block height or a block hash and displays information about that specific block. So in this case, we are using the default blockchain, which is the Bitcoin blockchain. If you want to see the default blockchain, remember we had this BlockchainBase option. So the BlockchainBase option takes as default the $BlockchainBase variable. So the automatic, the automatic value is a Bitcoin blockchain, as you can see here. So if I change this, let's say to Ethereum. Now I don't have to use the BlockchainBase option anymore because it will default to Ethereum. So in this case, this is or you can, maybe you can see it here, but let's see with BlockchainData. We have the Ethereum blockchain here. But let's keep talking about blocks. So let me get that to the Bitcoin blockchain. And as I was saying, the BlockchainBlockData receives a block height. In this case, this is just some…