$BlockchainBase

$BlockchainBase

给出用于区块链计算的默认区块链名称.

更多信息

  • $BlockchainBase 可被重置.
  • $BlockchainBase 的可能设置包括:
  • "ARK", {"ARK","Mainnet"}ARK 主网区块链
    {"ARK","Devnet"}ARK devnet 区块链
    "Bitcoin" , {"Bitcoin","Mainnet"}比特币主网区块链
    {"Bitcoin","Testnet"}比特币测试网区块链
    "Bloxberg"bloxberg 区块链
    "Cardano",{"Cardano","Mainnet"}Cardano 主网区块链
    {"Cardano","Testnet"}Cardano 测试网区块链
    "Ethereum", {"Ethereum","Mainnet"}以太主网区块链
    {"Ethereum","Testnet"}以太测试网区块链
    "Tezos", {"Tezos, "Mainnet"}Tezos 主网区块链
    {"Tezos","Testnet"}Tezos 测试网区块链
    {"Tezos",network}network 名称(如 "Delphinet")指定的 Tezos 网络
    {"Tezos",chainID}chainID(如 "NetXdQprcVkpaWU")指定的 Tezos 网络)
    {"MultiChain","Wolfram"}Wolfram 维护的区块链

范例

打开所有单元关闭所有单元

基本范例  (2)

显示 $BlockchainBase 的当前设置:

BlockchainData 将使用 $BlockchainBase 的当前设置:

更改设置:

现在 BlockchainData 将返回比特币区块链的元信息:

更改设置:

现在 BlockchainData 会返回 ARK 区块链的元信息:

改变设置:

现在 BlockchainData 将返回 bloxberg 区块链的元信息:

改变设置:

现在 BlockchainData 将返回 Tezos 区块链的元信息:

改变设置:

现在 BlockchainData 将返回 Cardano 区块链的元信息:

用 Tezos 链 ID 来指定网络:

范围  (1)

获取以太网测试网区块链的最后一个区块:

可能存在的问题  (1)

使用来自于主网网络的交易 ID 从比特币测试网获取交易信息会返回 Missing["NotAvailable"] 输出:

Wolfram Research (2018),$BlockchainBase,Wolfram 语言函数,https://reference.wolfram.com/language/ref/$BlockchainBase.html.

文本

Wolfram Research (2018),$BlockchainBase,Wolfram 语言函数,https://reference.wolfram.com/language/ref/$BlockchainBase.html.

CMS

Wolfram 语言. 2018. "$BlockchainBase." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/$BlockchainBase.html.

APA

Wolfram 语言. (2018). $BlockchainBase. Wolfram 语言与系统参考资料中心. 追溯自 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-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: 22-November-2024 ]}