BlockchainTransactionSubmit (for Bitcoin)
BlockchainTransactionSubmit[obj]
submits the transaction specified in the BlockchainTransaction object obj to the Bitcoin blockchain.
Details
- BlockchainTransactionSubmit[obj] submits the transaction to a Bitcoin node for inclusion in a future block.
- BlockchainTransactionSubmit will return a BlockchainTransaction object with the added property "TransactionID".
- BlockchainTransactionData can be applied to the result from BlockchainTransactionSubmit to determine if the submitted transaction has been added to the Bitcoin blockchain yet.
- BlockchainTransactionSubmit can submit transactions to the Bitcoin mainnet (default) and testnet. These networks are specified in the BlockchainTransaction object.
Examples
open all close allBasic Examples (1)
Create a Bitcoin Pay-to-Public-Key-Hash BlockchainTransaction:
Sign the transaction object using a WIF-encoded private key:
Possible Issues (1)
Incomplete Multi-signature (1)
Related Guides
History
Introduced in 2019 (12.0)
Text
Wolfram Research (2019), BlockchainTransactionSubmit, Wolfram Language function, https://reference.wolfram.com/language/ref/blockchain/BlockchainTransactionSubmit-Bitcoin.html.
CMS
Wolfram Language. 2019. "BlockchainTransactionSubmit." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/blockchain/BlockchainTransactionSubmit-Bitcoin.html.
APA
Wolfram Language. (2019). BlockchainTransactionSubmit. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/blockchain/BlockchainTransactionSubmit-Bitcoin.html
BibTeX
@misc{reference.wolfram_2025_blockchaintransactionsubmit, author="Wolfram Research", title="{BlockchainTransactionSubmit}", year="2019", howpublished="\url{https://reference.wolfram.com/language/ref/blockchain/BlockchainTransactionSubmit-Bitcoin.html}", note=[Accessed: 11-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_blockchaintransactionsubmit, organization={Wolfram Research}, title={BlockchainTransactionSubmit}, year={2019}, url={https://reference.wolfram.com/language/ref/blockchain/BlockchainTransactionSubmit-Bitcoin.html}, note=[Accessed: 11-August-2025]}