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 allclose 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)
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