BlockchainData(for Bitcoin)

$BlockchainBase = "Bitcoin"

BlockchainData[]

gives information about the Bitcoin blockchain.

BlockchainData[property]

gives the value of the specified property of the Bitcoin 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
    "Core"blockchain implementation core
    "Blocks"current total number of blocks in the Bitcoin blockchain
    "LatestBlockHash"hash of latest block in the Bitcoin blockchain
    "MinimumFee"minimum average fee per KB to relay a transaction in satoshis
  • BlockchainData can access the Bitcoin mainnet (default) and testnet. To specify these networks, use the BlockchainBase option.

Examples

open allclose all

Basic Examples  (3)

Get basic information on the Bitcoin blockchain:

Get the number of blocks in the Bitcoin blockchain:

Get multiple properties from the Bitcoin blockchain:

Scope  (6)

Blocks  (1)

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

Core  (1)

Get the Bitcoin blockchain implementation core:

LatestBlockHash  (1)

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

MinimumFee  (1)

Get the minimum average fee per KB to relay a transaction in the Bitcoin blockchain:

Name  (1)

Get the name of the blockchain:

Type  (1)

Get the type of the blockchain:

Options  (2)

BlockchainBase  (2)

Mainnet  (1)

Get basic information on the Bitcoin blockchain mainnet:

Testnet  (1)

Get basic information on the Bitcoin blockchain testnet:

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

Text

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

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