Working with Bitcoin Blockchains

The Wolfram Language has built-in capabilities for interacting with Bitcoin blockchains. It can both retrieve detailed information from Bitcoin mainnet and testnet and construct and submit transactions to the blockchains.

Accessing Bitcoin Blockchains

BlockchainData get current information about a Bitcoin blockchain

BlockchainBlockData get information about a particular Bitcoin block

BlockchainTransactionData get information about a Bitcoin transaction

BlockchainBase option to specify blockchain and network ("Bitcoin", ...)

$BlockchainBase default blockchain and network to use

Key Management

GenerateAsymmetricKeyPair generate key pairs for blockchain transactions

PrivateKey  ▪  PublicKey

BlockchainKeyEncode encode a key to get an address, WIF, etc.

Bitcoin Blockchain Transactions

BlockchainTransaction symbolic representation of a Bitcoin blockchain transaction

BlockchainTransactionSign use a private key to sign a Bitcoin blockchain transaction

BlockchainTransactionSubmit submit a transaction for inclusion on a Bitcoin blockchain

Financial Information

CurrencyConvert conversions for bitcoin and other cryptocurrencies