BlockchainTransactionSubmit (for Tezos)
BlockchainTransactionSubmit[obj]
submits the operation specified in the BlockchainTransaction object obj to the Tezos blockchain.
Details
- BlockchainTransactionSubmit[obj] submits the operation to a Tezos 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 operation has been added to the Tezos blockchain yet.
- BlockchainTransactionSubmit can submit operations to the Tezos mainnet (default) and testnet (Shadownet). These networks are specified in the BlockchainTransaction object.
Examples
Basic Examples (1)
Create a Tezos BlockchainTransaction:
tezosTX = BlockchainTransaction[<|
"BlockchainBase" -> {"Tezos", "Testnet"},
"Type" -> "Transaction",
"Sender" -> "tz1QQq7Zf1vqFtVwQUotAAnduqFJJVJXQj8B",
"Target" -> "tz1YeQkgxvzVroTyMh72DrmNRsyzQfsBmxt8",
"Amount" -> 1|>]Sign the transaction object using a private key object:
tezosTXSigned = BlockchainTransactionSign[tezosTX, PrivateKey[Association["Type" -> "EdwardsCurve", "CurveName" -> "ed25519",
"PrivateByteArray" -> ByteArray["t6mN4yZraSgHhBNriYkfLSUZXBknkn5jwxSTGVaE+ZA="],
"PublicByteArray" -> ByteArray["XV8X/6Px3jp6g7P7fjP9Kx3kkRqRo+Qjs0NetwesZ3A="],
"PublicCurvePoint" ->
{45001969305677632895706978426590845419496377012816879793671527316425824597738,
50842211597400211252558589180780840303852599974743311386585975784578039111517}]]]Send the signed operation to the Tezos blockchain:
tezosTXSubmit = BlockchainTransactionSubmit[tezosTXSigned]Verify the operation using its "TransactionID":
txdata = BlockchainTransactionData[tezosTXSubmit["TransactionID"], BlockchainBase -> {"Tezos", "Testnet"}]Related Guides
History
Introduced in 2020 (12.2)
Text
Wolfram Research (2020), BlockchainTransactionSubmit, Wolfram Language function, https://reference.wolfram.com/language/ref/blockchain/BlockchainTransactionSubmit-Tezos.html.
CMS
Wolfram Language. 2020. "BlockchainTransactionSubmit." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/blockchain/BlockchainTransactionSubmit-Tezos.html.
APA
Wolfram Language. (2020). BlockchainTransactionSubmit. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/blockchain/BlockchainTransactionSubmit-Tezos.html
BibTeX
@misc{reference.wolfram_2026_blockchaintransactionsubmit, author="Wolfram Research", title="{BlockchainTransactionSubmit}", year="2020", howpublished="\url{https://reference.wolfram.com/language/ref/blockchain/BlockchainTransactionSubmit-Tezos.html}", note=[Accessed: 30-April-2026]}
BibLaTeX
@online{reference.wolfram_2026_blockchaintransactionsubmit, organization={Wolfram Research}, title={BlockchainTransactionSubmit}, year={2020}, url={https://reference.wolfram.com/language/ref/blockchain/BlockchainTransactionSubmit-Tezos.html}, note=[Accessed: 30-April-2026]}