BlockchainData (for Tezos)
gives information about the Tezos blockchain.
BlockchainData[property]
gives the value of the specified property of the Tezos blockchain.
Details
- BlockchainData[] gives an association that includes a collection of properties of the blockchain.
- Properties include:
-
"Type" type of blockchain "Name" name of specific blockchain "Blocks" current total number of blocks in the Tezos blockchain "LatestBlockHash" hash of latest block in the Tezos blockchain "ChainID" network ID "Protocol" current economic protocol "CycleData" current cycle data "ElectionData" voting period data of last block "Statistics" cryptocurrency statistics in the Tezos blockchain - "CycleData" gives an association with the following properties as its keys:
-
"SnapshotIndex" index of the snapshot "SnapshotBlockNumber" height of the block where the snapshot was taken "TotalStaking" total staking balance of all bakers active in this cycle "TotalBakers" total number of all bakers active in this cycle "ProposerReward" reward received by block proposers this cycle "BakerReward" reward received by bakers this cycle "Seed" randomly generated seed used by the network "Cycle" current cycle "CyclePosition" current cycle position - "ElectionData" gives an association with the following properties as its keys:
-
"CurrentVotingPeriod" index of the current voting period "CurrentVotingPeriodPosition" position of the current voting period "CurrentVotingPeriodKind" kind of the current voting period "CurrentProposal" current proposal hash "ProposalPeriod" information about the proposal voting period "ExplorationPeriod" information about the exploration period "CooldownPeriod" information about the cooldown period "PromotionPeriod" information about the proposal promotion period "AdoptionPeriod" information about the proposal adoption period - "Statistics" gives an association with the following properties as its keys:
-
"TotalBootstrapped" total amount of mutez initially created when starting the blockchain "TotalCommitments" total commitment amount "TotalActivated" total amount of tez activated "TotalCreated" total amount of mutez created or issued "TotalBurned" total amount of mutez burned "TotalBanished" total amount of mutez banished "TotalFrozen" total amount of frozen mutez "TotalRollupBonds" total amount of rollup funds locked "TotalSmartRollupBonds" total amount of smart rollup funds locked "TotalLost" total amount of mutez lost - BlockchainData can access the Tezos mainnet (default) and testnet (Ghostnet). To specify these networks, use the BlockchainBase option.
Examples
open allclose allBasic Examples (4)Summary of the most common use cases
Get basic information on the Tezos blockchain:

https://wolfram.com/xid/062a5mw0a78313443v6ywbkt7xafgpwzq9dsnys-6fs73l

Get basic information on the Tezos testnet blockchain:

https://wolfram.com/xid/062a5mw0a78313443v6ywbkt7xafgpwzq9dsnys-mqtf2r

Get the number of blocks in the Tezos blockchain:

https://wolfram.com/xid/062a5mw0a78313443v6ywbkt7xafgpwzq9dsnys-s9h4ch

Get multiple properties from the Tezos blockchain:

https://wolfram.com/xid/062a5mw0a78313443v6ywbkt7xafgpwzq9dsnys-1i84tu

Scope (9)Survey of the scope of standard use cases
Blocks (1)
ChainID (1)
CycleData (1)
ElectionData (1)
LatestBlockHash (1)
Name (1)
Protocol (1)
Statistics (1)
Options (2)Common values & functionality for each option
BlockchainBase (2)
Mainnet (1)
Wolfram Research (2020), BlockchainData, Wolfram Language function, https://reference.wolfram.com/language/ref/blockchain/BlockchainData-Tezos.html.
Text
Wolfram Research (2020), BlockchainData, Wolfram Language function, https://reference.wolfram.com/language/ref/blockchain/BlockchainData-Tezos.html.
Wolfram Research (2020), BlockchainData, Wolfram Language function, https://reference.wolfram.com/language/ref/blockchain/BlockchainData-Tezos.html.
CMS
Wolfram Language. 2020. "BlockchainData." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/blockchain/BlockchainData-Tezos.html.
Wolfram Language. 2020. "BlockchainData." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/blockchain/BlockchainData-Tezos.html.
APA
Wolfram Language. (2020). BlockchainData. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/blockchain/BlockchainData-Tezos.html
Wolfram Language. (2020). BlockchainData. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/blockchain/BlockchainData-Tezos.html
BibTeX
@misc{reference.wolfram_2025_blockchaindata, author="Wolfram Research", title="{BlockchainData}", year="2020", howpublished="\url{https://reference.wolfram.com/language/ref/blockchain/BlockchainData-Tezos.html}", note=[Accessed: 24-May-2025
]}
BibLaTeX
@online{reference.wolfram_2025_blockchaindata, organization={Wolfram Research}, title={BlockchainData}, year={2020}, url={https://reference.wolfram.com/language/ref/blockchain/BlockchainData-Tezos.html}, note=[Accessed: 24-May-2025
]}