gives information about the block with the specified hash on the blockchain specified by $BlockchainBase.
gives information about the block n elements from the end of the blockchain.
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)Summary of the most common use cases
Get information about a block from the Bitcoin blockchain using its height:

https://wolfram.com/xid/0gcv07zjnnf5jjjale-vydue6

Get information about a block from the Ethereum blockchain using its hash:

https://wolfram.com/xid/0gcv07zjnnf5jjjale-coxtll

Get information about the latest block from the ARK blockchain:

https://wolfram.com/xid/0gcv07zjnnf5jjjale-12liei

Get information about the genesis block from the Tezos blockchain:

https://wolfram.com/xid/0gcv07zjnnf5jjjale-rzf0x0

Get information about a random block from the Cardano blockchain:

https://wolfram.com/xid/0gcv07zjnnf5jjjale-bwysw9

Get multiple blocks by providing a list of heights or block hashes:

https://wolfram.com/xid/0gcv07zjnnf5jjjale-kx1dst

Get multiple properties from an Ethereum block:

https://wolfram.com/xid/0gcv07zjnnf5jjjale-juwzza

Options (3)Common values & functionality for each option
BlockchainBase (3)
Get information from a random Bitcoin mainnet block:

https://wolfram.com/xid/0gcv07zjnnf5jjjale-7gc5y9

Get information from a random ARK devnet block:

https://wolfram.com/xid/0gcv07zjnnf5jjjale-u05t3c

Get information from a random Tezos testnet block:

https://wolfram.com/xid/0gcv07zjnnf5jjjale-tivyjy

Applications (2)Sample problems that can be solved with this function
Get the size of the latest Bitcoin block in megabytes:

https://wolfram.com/xid/0gcv07zjnnf5jjjale-1qbzec

Get the address of a block's generator and inspect its balance:

https://wolfram.com/xid/0gcv07zjnnf5jjjale-73vli


https://wolfram.com/xid/0gcv07zjnnf5jjjale-yrfhsz

Convert the result to fiat currency:

https://wolfram.com/xid/0gcv07zjnnf5jjjale-sxulnl

Possible Issues (2)Common pitfalls and unexpected behavior
Nonexistent Hashes (1)
Using a block hash from one blockchain in another one will return a Missing["NotAvailable"] output:

https://wolfram.com/xid/0gcv07zjnnf5jjjale-l5mpak


https://wolfram.com/xid/0gcv07zjnnf5jjjale-hxhsea

Incorrect Hashes (1)
Providing a block hash that is not a hex number will return a $Failed output:

https://wolfram.com/xid/0gcv07zjnnf5jjjale-1wshvl


Wolfram Research (2018), BlockchainBlockData, Wolfram Language function, https://reference.wolfram.com/language/ref/BlockchainBlockData.html.
Text
Wolfram Research (2018), BlockchainBlockData, Wolfram Language function, https://reference.wolfram.com/language/ref/BlockchainBlockData.html.
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.
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
Wolfram Language. (2018). BlockchainBlockData. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/BlockchainBlockData.html
BibTeX
@misc{reference.wolfram_2025_blockchainblockdata, author="Wolfram Research", title="{BlockchainBlockData}", year="2018", howpublished="\url{https://reference.wolfram.com/language/ref/BlockchainBlockData.html}", note=[Accessed: 29-March-2025
]}
BibLaTeX
@online{reference.wolfram_2025_blockchainblockdata, organization={Wolfram Research}, title={BlockchainBlockData}, year={2018}, url={https://reference.wolfram.com/language/ref/BlockchainBlockData.html}, note=[Accessed: 29-March-2025
]}