BlockchainTransactionSign
Versions for specific blockchains »BlockchainTransactionSign[obj,key]
digitally signs a blockchain transaction using the specified private key.
BlockchainTransactionSign[obj,{key1,key2,…}]
digitally signs a transaction using all the keys keyi.
Details
- In BlockchainTransactionSign[obj,…], obj is a BlockchainTransaction object.
- The key for BlockchainTransactionSign must be a PrivateKey object or a hex string representing a private key.
- The type of private key must be appropriate for the blockchain being used.
- BlockchainTransactionSign returns a blockchain transaction object with True as the value of its property "Signed".
- Multiple private keys can be given in any order.
Examples
Basic Examples (6)
Create a Bitcoin Pay-to-Public-Key-Hash BlockchainTransaction:
Sign the transaction object using a WIF-encoded private key:
Create an Ethereum BlockchainTransaction:
Create an ARK BlockchainTransaction:
Sign the transaction object using a private key object:
Create a bloxberg BlockchainTransaction:
Create a Tezos BlockchainTransaction:
Sign the transaction object using a private key object:
Create a Cardano blockchain transaction:
Sign the transaction with a PrivateKey object:
Text
Wolfram Research (2019), BlockchainTransactionSign, Wolfram Language function, https://reference.wolfram.com/language/ref/BlockchainTransactionSign.html.
CMS
Wolfram Language. 2019. "BlockchainTransactionSign." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/BlockchainTransactionSign.html.
APA
Wolfram Language. (2019). BlockchainTransactionSign. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/BlockchainTransactionSign.html