$BlockchainBase
gives the name of the default blockchain to be used for blockchain computations.
Details
- $BlockchainBase can be reset.
- 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") {"MultiChain","Wolfram"} Wolfram-maintained blockchain
Examples
open allclose allBasic Examples (2)
Display the current setting for $BlockchainBase:
BlockchainData will use the current setting for $BlockchainBase:
Now BlockchainData will return metainformation for the Bitcoin blockchain:
Now BlockchainData will return metainformation for the ARK blockchain:
Now BlockchainData will return metainformation for the bloxberg blockchain:
Now BlockchainData will return metainformation for the Tezos blockchain:
Now BlockchainData will return metainformation for the Cardano blockchain:
Possible Issues (1)
Getting transaction information from the Bitcoin testnet using a transaction ID from the mainnet network will return a Missing["NotAvailable"] output:
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