$BlockchainBase

$BlockchainBase

gives the name of the default blockchain to be used for blockchain computations.

Details

  • $BlockchainBase can be reset.
  • Possible settings for $BlockchainBase include:
  • "Bitcoin" , {"Bitcoin","Mainnet"}Bitcoin mainnet blockchain
    {"Bitcoin","Testnet"}Bitcoin testnet blockchain
    "Ethereum", {"Ethereum","Mainnet"}Ethereum mainnet blockchain
    {"Ethereum","Testnet"}Ethereum testnet blockchain
    "ARK"ARK mainnet blockchain
    {"ARK","Devnet"}ARK devnet blockchain
    {"MultiChain","Wolfram"}Wolfram-maintained blockchain

Examples

open all close all

Basic Examples  (1)

Display the current setting for $BlockchainBase:

In[1]:=
Click for copyable input
Out[1]=

BlockchainData will use the current setting for $BlockchainBase:

In[2]:=
Click for copyable input
Out[2]=

Change the setting:

In[3]:=
Click for copyable input
Out[3]=

Now BlockchainData will return metainformation for the Bitcoin blockchain:

In[4]:=
Click for copyable input
Out[4]=

Change the setting:

In[5]:=
Click for copyable input
Out[5]=

Now BlockchainData will return metainformation for the ARK blockchain:

In[6]:=
Click for copyable input
Out[6]=

Scope  (1)

Possible Issues  (1)

Introduced in 2018
(11.3)