is an option for various blockchain functions that specifies which blockchain to use.
BlockchainBase
is an option for various blockchain functions that specifies which blockchain to use.
Details
- The default setting for BlockchainBase is $BlockchainBase.
- Possible settings for BlockchainBase include:
-
"ARK",{"ARK","Mainnet"} ARK mainnet blockchain {"ARK","Devnet"} ARK devnet blockchain "Bitcoin" ,{"Bitcoin","Mainnet"} Bitcoin mainnet blockchain {"Bitcoin","Testnet"} Bitcoin testnet blockchain "Bloxberg" bloxberg blockchain "Cardano",{"Cardano","Mainnet"} Cardano mainnet blockchain {"Cardano","Testnet"} Cardano testnet blockchain "Ethereum",{"Ethereum","Mainnet"} Ethereum mainnet blockchain {"Ethereum","Testnet"} Ethereum testnet blockchain "Tezos", {"Tezos, "Mainnet"} Tezos mainnet blockchain {"Tezos","Testnet"} Tezos testnet blockchain {"Tezos",network} Tezos network specified by its name network (e.g. "Delphinet") {"Tezos",chainID} Tezos network specified by its chainID (e.g. "NetXdQprcVkpaWU") "Litecoin" ,{"Litecoin","Mainnet"} Litecoin mainnet blockchain {"Litecoin","Testnet"} Litecoin testnet blockchain "BitcoinCash" ,{"BitcoinCash","Mainnet"} Bitcoin Cash mainnet blockchain {"BitcoinCash","Testnet"} Bitcoin Cash testnet blockchain {"MultiChain","Wolfram"} Wolfram-maintained blockchain
Examples
open all close allBasic Examples (2)
Scope (5)
Testnet networks can be specified:
BlockchainData[BlockchainBase -> {"Bitcoin", "Testnet"}]//DatasetMainnet networks can also be specified explicitly:
BlockchainData[BlockchainBase -> {"Bitcoin", "Mainnet"}]//DatasetBlockchainData[BlockchainBase -> {"ARK", "Devnet"}]//DatasetGet data from the Cardano testnet:
BlockchainData[BlockchainBase -> {"Cardano", "Testnet"}]//DatasetUse a Tezos chain ID to specify the network:
chainID = BlockchainData["ChainID", BlockchainBase -> "Tezos"]BlockchainData[BlockchainBase -> {"Tezos", chainID}]//DatasetPossible Issues (1)
Getting transaction information from the Bitcoin testnet using a transaction ID from the mainnet network will return a Missing[NotAvailable] output:
txid = RandomChoice[BlockchainBlockData[-1, BlockchainBase -> "Bitcoin"]["TransactionList"]]BlockchainTransactionData[txid, BlockchainBase -> {"Bitcoin", "Testnet"}]Related Guides
-
▪
- Working with Tezos Blockchains ▪
- Working with Litecoin Blockchains ▪
- Working with Ethereum Blockchains ▪
- Working with Cardano Blockchains ▪
- Working with bloxberg Blockchain ▪
- Working with Bitcoin Cash Blockchains ▪
- Working with Bitcoin Blockchains ▪
- Working with ARK Blockchains ▪
- Working with Blockchains
Related Workflows
- Create a Pay-to-Public-Key-Hash Bitcoin Address ▪
- Create an Ethereum Address ▪
- Create an ARK Address
History
Text
Wolfram Research (2018), BlockchainBase, Wolfram Language function, https://reference.wolfram.com/language/ref/BlockchainBase.html.
CMS
Wolfram Language. 2018. "BlockchainBase." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/BlockchainBase.html.
APA
Wolfram Language. (2018). BlockchainBase. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/BlockchainBase.html
BibTeX
@misc{reference.wolfram_2026_blockchainbase, author="Wolfram Research", title="{BlockchainBase}", year="2018", howpublished="\url{https://reference.wolfram.com/language/ref/BlockchainBase.html}", note=[Accessed: 12-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_blockchainbase, organization={Wolfram Research}, title={BlockchainBase}, year={2018}, url={https://reference.wolfram.com/language/ref/BlockchainBase.html}, note=[Accessed: 12-June-2026]}