BlockchainTransactionSubmit
Versions for specific blockchains »BlockchainTransactionSubmit[obj]
submits the transaction specified in the BlockchainTransaction object obj to a blockchain.
Details
- BlockchainTransactionSubmit[obj] sends obj to a node of the appropriate blockchain, submitting it for inclusion in a future block.
- BlockchainTransactionSubmit uses the "BlockchainBase" property of the provided BlockchainTransaction object to connect to the appropriate blockchain.
- 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 yet been added to the blockchain.
Examples
Basic Examples (6)
Create a Bitcoin Pay-to-Public-Key-Hash BlockchainTransaction:
Sign the transaction object using a WIF-encoded private key:
Send the signed transaction to the Bitcoin blockchain:
Create an Ethereum BlockchainTransaction:
Send the signed transaction to the Ethereum blockchain:
Verify the transaction using its "TransactionID":
Create an ARK BlockchainTransaction:
Sign the transaction object using a private key object:
Send the signed transaction to the ARK blockchain:
Create a bloxberg BlockchainTransaction:
Send the signed transaction to the bloxberg blockchain:
Create a Tezos BlockchainTransaction:
Sign the transaction object using a private key object:
Send the signed operation to the Tezos blockchain:
Create a Cardano blockchain transaction to transfer ada cryptocurrency:
Sign the transaction with a PrivateKey object:
Text
Wolfram Research (2019), BlockchainTransactionSubmit, Wolfram Language function, https://reference.wolfram.com/language/ref/BlockchainTransactionSubmit.html.
CMS
Wolfram Language. 2019. "BlockchainTransactionSubmit." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/BlockchainTransactionSubmit.html.
APA
Wolfram Language. (2019). BlockchainTransactionSubmit. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/BlockchainTransactionSubmit.html