BlockchainBlockData
Versions for specific blockchains »BlockchainBlockData["hash"]
gives information about the block with the specified hash on the blockchain specified by $BlockchainBase.
gives information about block n on the blockchain.
gives information about the block n elements from the end of the blockchain.
BlockchainBlockData[bspec,prop]
gives the specified property of the block.
Details and Options
- BlockchainBlockData has the option BlockchainBase, with default setting $BlockchainBase.
- BlockchainBlockData[-1] gives information on the latest block in a blockchain.
Examples
open allclose allBasic Examples (7)
Get information about a block from the Bitcoin blockchain using its height:
Get information about a block from the Ethereum blockchain using its hash:
Get information about the latest block from the ARK blockchain:
Get information about the genesis block from the Tezos blockchain:
Get information about a random block from the Cardano blockchain:
Get multiple blocks by providing a list of heights or block hashes:
Options (3)
Applications (2)
Possible Issues (2)
Text
Wolfram Research (2018), BlockchainBlockData, Wolfram Language function, https://reference.wolfram.com/language/ref/BlockchainBlockData.html.
CMS
Wolfram Language. 2018. "BlockchainBlockData." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/BlockchainBlockData.html.
APA
Wolfram Language. (2018). BlockchainBlockData. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/BlockchainBlockData.html