BlockchainTransactionData
✖
BlockchainTransactionData
Versions for specific blockchains »
gives information about the blockchain transaction with ID txid on the blockchain specified by $BlockchainBase.
Details and Options

- BlockchainTransactionData has the option BlockchainBase, with default setting $BlockchainBase.
Examples
open allclose allBasic Examples (9)Summary of the most common use cases
Get information about a transaction from the Bitcoin blockchain:

https://wolfram.com/xid/0pf6gryb3113z6y4ufertu-vuuqjd

Get information about a transaction from the Ethereum blockchain:

https://wolfram.com/xid/0pf6gryb3113z6y4ufertu-ds3fn

Get information about a transaction from the ARK blockchain:

https://wolfram.com/xid/0pf6gryb3113z6y4ufertu-prgax4

Get information about a transaction from the bloxberg blockchain:

https://wolfram.com/xid/0pf6gryb3113z6y4ufertu-br2g7c

Get information about a transaction from the Tezos blockchain:

https://wolfram.com/xid/0pf6gryb3113z6y4ufertu-0afy4k

Get information about a transaction from the Cardano blockchain:

https://wolfram.com/xid/0pf6gryb3113z6y4ufertu-28sedy

Get data from multiple ARK transactions by providing a list of transaction IDs:

https://wolfram.com/xid/0pf6gryb3113z6y4ufertu-z3jqh0

Get the Bitcoin block number where the transaction was included:

https://wolfram.com/xid/0pf6gryb3113z6y4ufertu-n2n4yj

Get multiple properties from a Bitcoin transaction:

https://wolfram.com/xid/0pf6gryb3113z6y4ufertu-whlucu

Options (4)Common values & functionality for each option
BlockchainBase (4)
Get information from a Bitcoin mainnet transaction:

https://wolfram.com/xid/0pf6gryb3113z6y4ufertu-56bahr

Get information from an ARK devnet transaction:

https://wolfram.com/xid/0pf6gryb3113z6y4ufertu-1dlbu2

Get information from a Tezos testnet transaction:

https://wolfram.com/xid/0pf6gryb3113z6y4ufertu-4zt9lp

https://wolfram.com/xid/0pf6gryb3113z6y4ufertu-in9iy8

Get information about a transaction from the Cardano blockchain:

https://wolfram.com/xid/0pf6gryb3113z6y4ufertu-ozmq46

Applications (2)Sample problems that can be solved with this function
Get information on the most recent Ethereum block:

https://wolfram.com/xid/0pf6gryb3113z6y4ufertu-f914hk
Randomly select a transaction from this block:

https://wolfram.com/xid/0pf6gryb3113z6y4ufertu-jmkqgg

Get detailed information for this transaction:

https://wolfram.com/xid/0pf6gryb3113z6y4ufertu-ds1tob

Convert the transaction amount to fiat currency using the current price:

https://wolfram.com/xid/0pf6gryb3113z6y4ufertu-uzjj3r

Get the inputs and outputs of a Bitcoin transaction:

https://wolfram.com/xid/0pf6gryb3113z6y4ufertu-ju31d5

Inspect the locking script of the inputs:

https://wolfram.com/xid/0pf6gryb3113z6y4ufertu-pphttf

And the unlocking scripts of the outputs:

https://wolfram.com/xid/0pf6gryb3113z6y4ufertu-r3h1yw

Possible Issues (2)Common pitfalls and unexpected behavior
Nonexistent Hashes (1)
Using a transaction ID from one blockchain in another blockchain will return a Missing["NotAvailable"] output:

https://wolfram.com/xid/0pf6gryb3113z6y4ufertu-l5mpak


https://wolfram.com/xid/0pf6gryb3113z6y4ufertu-hg2t87


https://wolfram.com/xid/0pf6gryb3113z6y4ufertu-hxhsea

Incorrect Hashes (1)
Providing an invalid transaction ID will return a $Failed output:

https://wolfram.com/xid/0pf6gryb3113z6y4ufertu-1wshvl


Neat Examples (1)Surprising or curious use cases

https://wolfram.com/xid/0pf6gryb3113z6y4ufertu-79inby
Find the input script byte array for the coinbase transaction of block 416,236:

https://wolfram.com/xid/0pf6gryb3113z6y4ufertu-m79pqm

The raw bytes include some readable characters:

https://wolfram.com/xid/0pf6gryb3113z6y4ufertu-wsq610

Wolfram Research (2018), BlockchainTransactionData, Wolfram Language function, https://reference.wolfram.com/language/ref/BlockchainTransactionData.html (updated 2019).
Text
Wolfram Research (2018), BlockchainTransactionData, Wolfram Language function, https://reference.wolfram.com/language/ref/BlockchainTransactionData.html (updated 2019).
Wolfram Research (2018), BlockchainTransactionData, Wolfram Language function, https://reference.wolfram.com/language/ref/BlockchainTransactionData.html (updated 2019).
CMS
Wolfram Language. 2018. "BlockchainTransactionData." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2019. https://reference.wolfram.com/language/ref/BlockchainTransactionData.html.
Wolfram Language. 2018. "BlockchainTransactionData." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2019. https://reference.wolfram.com/language/ref/BlockchainTransactionData.html.
APA
Wolfram Language. (2018). BlockchainTransactionData. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/BlockchainTransactionData.html
Wolfram Language. (2018). BlockchainTransactionData. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/BlockchainTransactionData.html
BibTeX
@misc{reference.wolfram_2025_blockchaintransactiondata, author="Wolfram Research", title="{BlockchainTransactionData}", year="2019", howpublished="\url{https://reference.wolfram.com/language/ref/BlockchainTransactionData.html}", note=[Accessed: 19-June-2025
]}
BibLaTeX
@online{reference.wolfram_2025_blockchaintransactiondata, organization={Wolfram Research}, title={BlockchainTransactionData}, year={2019}, url={https://reference.wolfram.com/language/ref/BlockchainTransactionData.html}, note=[Accessed: 19-June-2025
]}