BlockchainBlockData (for Bitcoin)
gives information about the block with the specified hash on the Bitcoin blockchain.
gives information about block n on the Bitcoin blockchain.
gives information about the block n elements from the end of the Bitcoin blockchain.
gives the specified property of the block.
- BlockchainBlockData[-1] gives information on the latest Bitcoin block.
- Properties include:
"BlockHash" hash of this block "BlockNumber" number (height) of this block in the Bitcoin blockchain "TimeMined" time this block was mined "Amounts" amount information for this block "ByteCount" byte count for this block "Nonce" nonce used in the hash for this block "Version" version of the block "Confirmations" number of confirmations "PreviousBlockHash" hash of the previous block "MerkleRoot" Merkle root hash of the transactions "TransactionList" list of transaction IDs in this block
- "Amounts" gives an association with the following properties as its keys:
"BlockReward" reward for mining this block "TotalFee" sum of all the fees in this block's transactions "TotalInput" sum of all the input amounts in this block's transactions "TotalOutput" sum of all the output amounts in this block's transactions
- BlockchainBlockData can access the Bitcoin mainnet (default) and testnet. To specify these networks, use the BlockchainBase option.