BlockchainTransactionSign (for Ethereum)
BlockchainTransactionSign[obj,key]
digitally signs an Ethereum blockchain transaction using the specified private key.
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.
- BlockchainTransactionSign returns a blockchain transaction object with True as the value of its property "Signed" and with the added property "RawTransaction".
Examples
open allclose allBasic Examples (1)
Create an Ethereum BlockchainTransaction:
Applications (1)
Create an Ethereum BlockchainTransaction:
Possible Issues (1)
Incorrect Private Key (1)
Providing an invalid private key will return a $Failed output:
Text
Wolfram Research (2019), BlockchainTransactionSign, Wolfram Language function, https://reference.wolfram.com/language/ref/blockchain/BlockchainTransactionSign-Ethereum.html.
CMS
Wolfram Language. 2019. "BlockchainTransactionSign." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/blockchain/BlockchainTransactionSign-Ethereum.html.
APA
Wolfram Language. (2019). BlockchainTransactionSign. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/blockchain/BlockchainTransactionSign-Ethereum.html