$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
    "Bloxberg"bloxberg 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:

Wolfram Research (2018), $BlockchainBase, Wolfram Language function, https://reference.wolfram.com/language/ref/$BlockchainBase.html.

Text

Wolfram Research (2018), $BlockchainBase, Wolfram Language function, https://reference.wolfram.com/language/ref/$BlockchainBase.html.

BibTeX

@misc{reference.wolfram_2020_$blockchainbase, author="Wolfram Research", title="{$BlockchainBase}", year="2018", howpublished="\url{https://reference.wolfram.com/language/ref/$BlockchainBase.html}", note=[Accessed: 02-December-2020 ]}

BibLaTeX

@online{reference.wolfram_2020_$blockchainbase, organization={Wolfram Research}, title={$BlockchainBase}, year={2018}, url={https://reference.wolfram.com/language/ref/$BlockchainBase.html}, note=[Accessed: 02-December-2020 ]}

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