BlockchainBase

BlockchainBase

is an option for various blockchain functions that specifies which blockchain to use.

Details

  • The default setting for BlockchainBase is $BlockchainBase.
  • 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  (4)

Use the Bitcoin blockchain:

Use the Ethereum blockchain:

Use the ARK blockchain:

Use the bloxberg blockchain:

Use the Tezos blockchain:

Use the Cardano blockchain:

Get the last block of the Bitcoin testnet blockchain:

Get information about a transaction from the bloxberg blockchain:

Get information about a transaction from the Cardano blockchain:

Scope  (5)

Bitcoin, Ethereum, ARK, Cardano and Tezos mainnet networks can also be specified explicitly:

Get data from the Bitcoin testnet:

Get data from the ARK devnet:

Get data from the Cardano testnet:

Use a Tezos chain ID to specify the network:

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: 21-November-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: 21-November-2024 ]}