WOLFRAM

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)Summary of the most common use cases

Display the current setting for $BlockchainBase:

Out[1]=1

BlockchainData will use the current setting for $BlockchainBase:

Out[2]=2

Change the setting:

Out[3]=3

Now BlockchainData will return metainformation for the Bitcoin blockchain:

Out[4]=4

Change the setting:

Out[5]=5

Now BlockchainData will return metainformation for the ARK blockchain:

Out[6]=6

Change the setting:

Out[7]=7

Now BlockchainData will return metainformation for the bloxberg blockchain:

Out[8]=8

Change the setting:

Out[9]=9

Now BlockchainData will return metainformation for the Tezos blockchain:

Out[10]=10

Change the setting:

Out[11]=11

Now BlockchainData will return metainformation for the Cardano blockchain:

Out[12]=12

Use a Tezos chain ID to specify the network:

Out[1]=1
Out[2]=2
Out[3]=3

Scope  (1)Survey of the scope of standard use cases

Get the last block of the Bitcoin testnet blockchain:

Out[1]=1
Out[2]=2

Possible Issues  (1)Common pitfalls and unexpected behavior

Getting transaction information from the Bitcoin testnet using a transaction ID from the mainnet network will return a Missing["NotAvailable"] output:

Out[4]=4
Out[5]=5
Out[6]=6
Out[7]=7
Wolfram Research (2018), $BlockchainBase, Wolfram Language function, https://reference.wolfram.com/language/ref/$BlockchainBase.html.
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.

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.

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

Wolfram Language. (2018). $BlockchainBase. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/$BlockchainBase.html

BibTeX

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

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

BibLaTeX

@online{reference.wolfram_2025_$blockchainbase, organization={Wolfram Research}, title={$BlockchainBase}, year={2018}, url={https://reference.wolfram.com/language/ref/$BlockchainBase.html}, note=[Accessed: 10-July-2025 ]}

@online{reference.wolfram_2025_$blockchainbase, organization={Wolfram Research}, title={$BlockchainBase}, year={2018}, url={https://reference.wolfram.com/language/ref/$BlockchainBase.html}, note=[Accessed: 10-July-2025 ]}