$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:
  • "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 all

Basic Examples  (2)

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:

Change the setting:

Now BlockchainData will return metainformation for the bloxberg blockchain:

Change the setting:

Now BlockchainData will return metainformation for the Tezos blockchain:

Change the setting:

Now BlockchainData will return metainformation for the Cardano blockchain:

Use a Tezos chain ID to specify the network:

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.

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

BibTeX

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

BibLaTeX

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