BlockchainBlockData (for ARK)
BlockchainBlockData["blockid"]
gives information about the block with the specified block ID on the ARK blockchain.
gives information about block n on the ARK blockchain.
gives information about the block n elements from the end of the ARK blockchain.
BlockchainBlockData[bspec,prop]
gives the specified property of the block.
Details
- BlockchainBlockData[-1] gives information on the latest ARK block.
- Properties include:
-
"BlockID" ID of this block "BlockNumber" number (height) of this block in the ARK blockchain "Timestamp" time when this block was forged "Forged" forging information "Payload" metadata on the block's transactions (hash, length) "Generator" the delegate that forged this block "Signature" signature of the forging delegate of this block "Version" version of this block "PreviousBlockID" ID of the previous block "TotalTransactions" total number of transactions in this block "TransactionList" list of transaction IDs in this block - "Forged" gives an association with the following properties as its keys:
-
"Reward" reward for forging this block "Fee" sum of all the fees in this block's transactions "Total" total (reward plus fees) that goes to the delegate "Amount" sum of all the amounts in this block's transactions - "Payload" gives an association with the following properties as its keys:
-
"Hash" hash of the serialized data of this block "Length" number of bytes of all transaction IDs of this block - "Generator" gives an association with the following properties as its keys:
-
"Username" username of the delegate that forged this block "Address" address of the delegate that forged this block "PublicKey" public key of the delegate that forged this block - Possible options include:
-
BlockchainBase Automatic sets the blockchain and its network MaxItems All the maximum number of items to return - BlockchainBlockData can access the ARK mainnet (default) and devnet. To specify these networks, use the BlockchainBase option.
- The setting for MaxItems specifies the maximum number of transactions to include in the result.
Examples
open allclose allBasic Examples (6)Summary of the most common use cases
Get information about a block from the ARK blockchain using its height:

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

Use a block ID to get information about an ARK block:

https://wolfram.com/xid/0hkig83b2ht0wgw44u5jq6kmprebfw2axld4s8hu-pdqi3p

Get the latest block of the ARK devnet blockchain:

https://wolfram.com/xid/0hkig83b2ht0wgw44u5jq6kmprebfw2axld4s8hu-bf9uic

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

https://wolfram.com/xid/0hkig83b2ht0wgw44u5jq6kmprebfw2axld4s8hu-vz3l81

Get a property from an ARK block:

https://wolfram.com/xid/0hkig83b2ht0wgw44u5jq6kmprebfw2axld4s8hu-4vvlcw

Get multiple properties from an ARK block:

https://wolfram.com/xid/0hkig83b2ht0wgw44u5jq6kmprebfw2axld4s8hu-46vton

Scope (11)Survey of the scope of standard use cases
BlockID (1)
BlockNumber (1)
Forged (1)
Generator (1)
Payload (1)
PreviousBlockID (1)
Signature (1)
Timestamp (1)
TotalTransactions (1)
TransactionList (1)
Options (3)Common values & functionality for each option
BlockchainBase (2)
Devnet (1)
Applications (1)Sample problems that can be solved with this function
Get the address of a block's generator and inspect its balance:

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


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

Convert the result to fiat currency:

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

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

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


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


Incorrect Hashes (1)
Providing an invalid block ID will return a $Failed output:

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


Wolfram Research (2019), BlockchainBlockData, Wolfram Language function, https://reference.wolfram.com/language/ref/blockchain/BlockchainBlockData-ARK.html.
Text
Wolfram Research (2019), BlockchainBlockData, Wolfram Language function, https://reference.wolfram.com/language/ref/blockchain/BlockchainBlockData-ARK.html.
Wolfram Research (2019), BlockchainBlockData, Wolfram Language function, https://reference.wolfram.com/language/ref/blockchain/BlockchainBlockData-ARK.html.
CMS
Wolfram Language. 2019. "BlockchainBlockData." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/blockchain/BlockchainBlockData-ARK.html.
Wolfram Language. 2019. "BlockchainBlockData." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/blockchain/BlockchainBlockData-ARK.html.
APA
Wolfram Language. (2019). BlockchainBlockData. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/blockchain/BlockchainBlockData-ARK.html
Wolfram Language. (2019). BlockchainBlockData. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/blockchain/BlockchainBlockData-ARK.html
BibTeX
@misc{reference.wolfram_2025_blockchainblockdata, author="Wolfram Research", title="{BlockchainBlockData}", year="2019", howpublished="\url{https://reference.wolfram.com/language/ref/blockchain/BlockchainBlockData-ARK.html}", note=[Accessed: 05-May-2025
]}
BibLaTeX
@online{reference.wolfram_2025_blockchainblockdata, organization={Wolfram Research}, title={BlockchainBlockData}, year={2019}, url={https://reference.wolfram.com/language/ref/blockchain/BlockchainBlockData-ARK.html}, note=[Accessed: 05-May-2025
]}