BlockchainTransactionSign(for Bitcoin)

$BlockchainBase = "Bitcoin"

BlockchainTransactionSign[obj,key]

digitally signs a Bitcoin blockchain transaction using the specified private key.

BlockchainTransactionSign[obj,{key1,key2,}]

digitally signs a transaction using all the keys keyi.

Details

Examples

open allclose all

Basic Examples  (1)

Create a Bitcoin Pay-to-Public-Key-Hash BlockchainTransaction:

Sign the transaction object using a WIF-encoded private key:

Scope  (1)

Multiple Key Signatures  (1)

Sign a Bitcoin transaction with multiple keys:

Applications  (1)

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:

Possible Issues  (1)

Incorrect Private Key  (1)

Providing an invalid private key will return a $Failed output:

Wolfram Research (2019), BlockchainTransactionSign, Wolfram Language function, https://reference.wolfram.com/language/ref/blockchain/BlockchainTransactionSign-Bitcoin.html.

Text

Wolfram Research (2019), BlockchainTransactionSign, Wolfram Language function, https://reference.wolfram.com/language/ref/blockchain/BlockchainTransactionSign-Bitcoin.html.

CMS

Wolfram Language. 2019. "BlockchainTransactionSign." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/blockchain/BlockchainTransactionSign-Bitcoin.html.

APA

Wolfram Language. (2019). BlockchainTransactionSign. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/blockchain/BlockchainTransactionSign-Bitcoin.html

BibTeX

@misc{reference.wolfram_2021_blockchaintransactionsign, author="Wolfram Research", title="{BlockchainTransactionSign}", year="2019", howpublished="\url{https://reference.wolfram.com/language/ref/blockchain/BlockchainTransactionSign-Bitcoin.html}", note=[Accessed: 24-May-2022 ]}

BibLaTeX

@online{reference.wolfram_2021_blockchaintransactionsign, organization={Wolfram Research}, title={BlockchainTransactionSign}, year={2019}, url={https://reference.wolfram.com/language/ref/blockchain/BlockchainTransactionSign-Bitcoin.html}, note=[Accessed: 24-May-2022 ]}