BlockchainData (for Cardano)

BlockchainData[]

gives information about the Cardano blockchain.

BlockchainData[property]

gives the value of the specified property of the Cardano 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 Cardano blockchain
    "LatestBlockHash"hash of latest block in the Cardano blockchain
    "SlotNumber"current slot number
    "SlotInEpoch"slot number in the current epoch
    "LatestEpochData"current epoch information
    "Supply"supply information
  • "LatestEpochData" gives an association with the following properties as its keys:
  • "Number"epoch number
    "Nonce"epoch nonce
    "BlocksCount"current number of blocks in the epoch
    "TransactionsCount"current number of transactions in the epoch
    "TotalFee"current total fee amount in the epoch
    "TotalOutputAmount"current total output amount in the epoch
    "FirstBlockTimestamp"timestamp of the epoch's first block
    "LatestBlockTimestamp"timestamp of the epoch's latest block
    "ProtocolParameters"current protocol parameters
  • "ProtocolParameters" inside "LatestEpochData" gives an association with the following properties as its keys:
  • "A0"pool's pledge influence
    "DecentralisationParam"percentage of blocks produced by federated nodes
    "EMax"epoch bound on pool retirement
    "ExtraEntropy"extra entropy
    "KeyDeposit"amount of a key registration deposit
    "MaxBlockBodySize"maximum block body size
    "MaxBlockHeaderSize"maximum block header size
    "MaxTxSize"maximum transaction size
    "MinFeeA"linear factor for the minimum fee calculation
    "MinFeeB"constant factor for the minimum fee calculation
    "MinPoolCost"stake pools cannot register/re-register their stake cost below this value
    "MinUTxOValue"minimum UTXO value
    "NOpt"desired number of pools
    "PoolDeposit"amount of a pool registration deposit
    "ProtocolVersion"protocol version
    "Rho"monetary expansion
    "Tau"treasury expansion
  • "Supply" gives an association with the following properties as its keys:
  • "CirculatingSupply"ada currently in circulation
    "MaxSupply"maximal amount of ada that can ever exist
    "TotalSupply"all ada currently in circulation, plus the ada in the treasury
  • BlockchainData can access the Cardano mainnet (default) and testnet "preprod", which is a new network for testing purposes. To specify these networks, use the BlockchainBase option.

Examples

open allclose all

Basic Examples  (4)

Get basic information on the Cardano blockchain:

Get basic information on the Cardano testnet blockchain:

Get the number of blocks in the Cardano blockchain:

Get multiple properties from the Cardano blockchain:

Scope  (7)

Blocks  (1)

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

LatestBlockHash  (1)

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

Name  (1)

Get the name of the blockchain:

SlotInEpoch  (1)

Get the slot number in the current epoch of the blockchain:

SlotNumber  (1)

Get the current slot number in the Cardano blockchain:

Supply  (1)

Get the supply information of the blockchain:

Type  (1)

Get the type of the blockchain:

Options  (2)

BlockchainBase  (2)

Mainnet  (1)

Get basic information on the Cardano blockchain mainnet:

Testnet  (1)

Get basic information on the Cardano blockchain testnet:

Wolfram Research (2021), BlockchainData, Wolfram Language function, https://reference.wolfram.com/language/ref/blockchain/BlockchainData-Cardano.html.

Text

Wolfram Research (2021), BlockchainData, Wolfram Language function, https://reference.wolfram.com/language/ref/blockchain/BlockchainData-Cardano.html.

CMS

Wolfram Language. 2021. "BlockchainData." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/blockchain/BlockchainData-Cardano.html.

APA

Wolfram Language. (2021). BlockchainData. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/blockchain/BlockchainData-Cardano.html

BibTeX

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

BibLaTeX

@online{reference.wolfram_2024_blockchaindata, organization={Wolfram Research}, title={BlockchainData}, year={2021}, url={https://reference.wolfram.com/language/ref/blockchain/BlockchainData-Cardano.html}, note=[Accessed: 09-November-2024 ]}