BlockchainTransactionData (for Bitcoin)
gives information about the blockchain transaction with ID txid on the Bitcoin blockchain.
gives the specified property of the transaction.
- Properties include:
"TransactionID" transaction ID "BlockHash" hash of the block containing the transaction "BlockNumber" height of the block containing the transaction "Confirmations" blocks confirming the block containing the transaction "Timestamp" timestamp for the transaction "LockTime" earliest time or block when the transaction may be added "Version" transaction version number "TotalInput" total number of bitcoins associated with the inputs of this transaction "TotalOutput" total number of bitcoins associated with the outputs of this transaction "Fee" fee paid for this transaction "ByteCount" transaction size in bytes "Inputs" transaction input data "Outputs" transaction output data
- The value of "Inputs" is a list of associations with typical elements including:
"TransactionID" hash of a previous transaction "Index" index within the previous transaction output "Amount" source amount "ScriptByteArray" script for the transaction as a byte array "ScriptString" script as a string "SequenceNumber" sequence number of this transaction "Addresses" public hashes for source addresses "SourceConfirmations" number of confirmations of the transaction generating this input
- The value of "Outputs" is a list of associations with elements including:
"Amount" transferred amount "ScriptByteArray" script for the transaction as a byte array "ScriptString" script as a string "Addresses" public hashes for destination addresses "SpentQ" True if this output has been spent "DestinationTransaction" hash of the transaction that spent this output
- BlockchainTransactionData can access the Bitcoin mainnet (default) and testnet. To specify these networks, use the BlockchainBase option.
Examplesopen allclose all
Basic Examples (4)
Possible Issues (2)
Wolfram Research (2019), BlockchainTransactionData, Wolfram Language function, https://reference.wolfram.com/language/ref/blockchain/BlockchainTransactionData-Bitcoin.html.
Wolfram Language. 2019. "BlockchainTransactionData." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/blockchain/BlockchainTransactionData-Bitcoin.html.
Wolfram Language. (2019). BlockchainTransactionData. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/blockchain/BlockchainTransactionData-Bitcoin.html