BlockchainTransaction

Versions for specific blockchains »

BlockchainTransaction[assoc]

represents a blockchain transaction built from the components in the association assoc.

Details and Options

  • BlockchainTransaction gives a symbolic representation of a blockchain transaction; it does not submit the transaction, and the transaction is not signed.
  • BlockchainTransaction[][prop] gives the value of the property prop for the transaction.
  • To specify a transaction, the following element must be given in the association:
  • "BlockchainBase"blockchain base to use

Examples

Basic Examples  (10)

Create a Bitcoin transaction object representing a Pay-to-Public-Key-Hash transaction:

Create an Ethereum transaction object to send ether:

Create an ARK transaction object representing a "Transfer" transaction:

Create a bloxberg transaction object to send bergs:

Create a Tezos transaction object representing a "Transaction" operation:

Create a "Transaction" Tezos operation and specify a baker fee:

Create a "Delegation" Tezos operation. The elements that are not specified use automatic values:

Create a Cardano transaction object to transfer ada cryptocurrency:

Create a Cardano transaction object to transfer ada cryptocurrency, using the minimum required fee:

Create a Cardano transaction object to transfer ada and tokens:

Wolfram Research (2019), BlockchainTransaction, Wolfram Language function, https://reference.wolfram.com/language/ref/BlockchainTransaction.html.

Text

Wolfram Research (2019), BlockchainTransaction, Wolfram Language function, https://reference.wolfram.com/language/ref/BlockchainTransaction.html.

CMS

Wolfram Language. 2019. "BlockchainTransaction." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/BlockchainTransaction.html.

APA

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

BibTeX

@misc{reference.wolfram_2024_blockchaintransaction, author="Wolfram Research", title="{BlockchainTransaction}", year="2019", howpublished="\url{https://reference.wolfram.com/language/ref/BlockchainTransaction.html}", note=[Accessed: 22-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_blockchaintransaction, organization={Wolfram Research}, title={BlockchainTransaction}, year={2019}, url={https://reference.wolfram.com/language/ref/BlockchainTransaction.html}, note=[Accessed: 22-December-2024 ]}