BlockchainData (for Tezos)

BlockchainData[]

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
    "TotalRolls"total number of rolls involved in baking rights distribution
    "TotalStaking"total staking balance of all bakers active in this cycle
    "TotalDelegated"total balance delegated to active bakers
    "TotalDelegators"total number of active bakers' delegators
    "TotalBakers"total number of all bakers active in 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
    "TestingVotePeriod"information about the testing voting period
    "TestingPeriod"information about the testing period
    "PromotionVotePeriod"information about the proposal promotion voting 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
    "TotalVested"total amount of mutez locked on vested contracts
    "TotalFrozen"total amount of frozen mutez
  • BlockchainData can access the Tezos mainnet (default), testnet and voting process testing period chain fork. To specify these networks, use the BlockchainBase option.

Examples

open allclose all

Basic Examples  (4)

Get basic information on the Tezos blockchain:

Get basic information on the Tezos testnet blockchain:

Get the number of blocks in the Tezos blockchain:

Get multiple properties from the Tezos blockchain:

Scope  (9)

Blocks  (1)

Get the current total number of blocks in the Tezos blockchain:

ChainID  (1)

Get the chain ID of the Tezos blockchain:

CycleData  (1)

Get the cycle data of a Tezos blockchain:

ElectionData  (1)

Get election data in the Tezos blockchain:

LatestBlockHash  (1)

Get the hash of the latest block in the Tezos blockchain:

Name  (1)

Get the name of the blockchain:

Protocol  (1)

Get the current protocol of the blockchain:

Statistics  (1)

Get statistics about the tez cryptocurrency in the Tezos blockchain:

Type  (1)

Get the type of the blockchain:

Options  (2)

BlockchainBase  (2)

Mainnet  (1)

Get basic information on the Tezos blockchain mainnet:

Testnet  (1)

Get basic information on the Tezos blockchain testnet:

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.

CMS

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

BibTeX

@misc{reference.wolfram_2024_blockchaindata, author="Wolfram Research", title="{BlockchainData}", year="2020", howpublished="\url{https://reference.wolfram.com/language/ref/blockchain/BlockchainData-Tezos.html}", note=[Accessed: 15-October-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_blockchaindata, organization={Wolfram Research}, title={BlockchainData}, year={2020}, url={https://reference.wolfram.com/language/ref/blockchain/BlockchainData-Tezos.html}, note=[Accessed: 15-October-2024 ]}