$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:
  • "Wolfram" or "WolframBlockchain"Wolfram public blockchain
    "Bitcoin" or "BTC"Bitcoin public blockchain
    "Ethereum", "ETH" or "ETH.main"main Ethereum blockchain

Examples

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 back to the default setting:

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

See Also

BlockchainBase  BlockchainData  BlockchainBlockData

Introduced in 2018
(11.3)