({{, (RefLink[BlockchainBase, paclet:ref/BlockchainBase]) 
is an option for various blockchain functions that specifies which blockchain to use.}})

OpenersNotesSection(Spacer1)Details

The default setting for (RefLink[BlockchainBase, paclet:ref/BlockchainBase]) is (RefLink[$BlockchainBase, paclet:ref/$BlockchainBase]).

Possible settings for (RefLink[$BlockchainBase, paclet:ref/$BlockchainBase]) include:

OpenersPrimaryExamplesSection(Spacer1)Examples  (4)

OpenersExampleSection0(Spacer1)Basic Examples  (1)

Use the {"MultiChain","Wolfram"} blockchain:

BlockchainData[BlockchainBase->{"MultiChain","Wolfram"}]//Dataset

Use the "Bitcoin" blockchain:

BlockchainData[BlockchainBase->"Bitcoin"]//Dataset

Use the "Ethereum" blockchain:

BlockchainData[BlockchainBase->"Ethereum"]//Dataset

OpenersExampleSection1(Spacer1)Scope  (2)

Bitcoin or Ethereum mainnet network can also be specified explicitly:

BlockchainData[BlockchainBase-> {"Bitcoin","Mainnet"}]//Dataset

BlockchainData[BlockchainBase-> {"Ethereum","Mainnet"}]//Dataset

Get the last block of the Bitcoin testnet blockchain:

BlockchainBlockData[-1,BlockchainBase-> {"Bitcoin","Testnet"}]//Dataset

OpenersExampleSection3(Spacer1)Possible Issues  (1)

Getting transaction information from the Bitcoin testnet using a transaction ID from the mainnet network will return a (RefLink[$Failed, paclet:ref/$Failed]) output:

txid=RandomChoice[BlockchainBlockData[-1,BlockchainBase-> "Bitcoin"]["TransactionList"]]

BlockchainTransactionData[txid,BlockchainBase-> {"Bitcoin","Testnet"}]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[$BlockchainBase, paclet:ref/$BlockchainBase])  ▪  (RefLink[BlockchainData, paclet:ref/BlockchainData])  ▪  (RefLink[BlockchainBlockData, paclet:ref/BlockchainBlockData])  ▪  (RefLink[BlockchainTransactionData, paclet:ref/BlockchainTransactionData])  ▪  (RefLink[BlockchainAddressData, paclet:ref/BlockchainAddressData])  ▪  (RefLink[BlockchainTokenData, paclet:ref/BlockchainTokenData])  ▪  (RefLink[BlockchainKeyEncode, paclet:ref/BlockchainKeyEncode])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[Working with Blockchains, paclet:guide/Blockchain])}})}})