$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 allclose all

Basic Examples  (1)

Display the current setting for $BlockchainBase:

BlockchainData will use the current setting for $BlockchainBase:

Change the setting:

Now BlockchainData will return metainformation for the Bitcoin blockchain:

Change the setting:

Now BlockchainData will return metainformation for the ARK blockchain:

Scope  (1)

Get the last block of the Bitcoin testnet 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:

Introduced in 2018
 (11.3)