({{, (RefLink[BlockchainData, paclet:ref/BlockchainData])[] 
gives information about the blockchain specified by (RefLink[$BlockchainBase, paclet:ref/$BlockchainBase]).}, {, (RefLink[BlockchainData, paclet:ref/BlockchainData])[property] 
gives the value of the specified property of the blockchain.}})

OpenersNotesSection(Spacer1)Details and Options

(RefLink[BlockchainData, paclet:ref/BlockchainData]) has the option (RefLink[BlockchainBase, paclet:ref/BlockchainBase]), with default setting (RefLink[$BlockchainBase, paclet:ref/$BlockchainBase]).

(RefLink[BlockchainData, paclet:ref/BlockchainData])[ ] gives an association that includes a collection of properties of the blockchain.

Basic blockchain identification properties include:

Basic blockchain state information properties include:

Additional properties for Bitcoin include:

Additional properties for Ethereum include:

OpenersPrimaryExamplesSection(Spacer1)Examples  (10)

OpenersExampleSection0(Spacer1)Basic Examples  (3)

Get basic information on the default blockchain:

BlockchainData[]

Get basic information on the Ethereum blockchain:

BlockchainData[BlockchainBase->"Ethereum"]

Get the number of blocks in the Ethereum blockchain:

BlockchainData["Blocks",BlockchainBase->"Ethereum"]

Get the number of blocks in the Bitcoin blockchain:

BlockchainData["Blocks",BlockchainBase-> "Bitcoin"]

Get the lowest, average and highest gas prices of the last Ethereum block:

BlockchainData[{"LowestGasPrice","AverageGasPrice","HighestGasPrice"},BlockchainBase-> "Ethereum"]

OpenersExampleSection1(Spacer1)Scope  (6)

List properties for each blockchain:

OpenersExampleSubsubsection0(Spacer1)Bitcoin mainnet  (1)

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

OpenersExampleSubsubsection1(Spacer1)Bitcoin testnet  (1)

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

OpenersExampleSubsubsection2(Spacer1)Ethereum mainnet  (1)

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

OpenersExampleSubsubsection3(Spacer1)Ethereum testnet  (1)

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

OpenersExampleSubsubsection4(Spacer1)Wolfram blockchain  (1)

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

OpenersExampleSection2(Spacer1)Options  (1)

OpenersExampleSubsection0(Spacer1)BlockchainBase  (1)

Compare properties of different blockchains:

Dataset[Map[BlockchainData[BlockchainBase->#]&,{"Bitcoin",{"Bitcoin","Testnet"},"Ethereum",{"Ethereum","Testnet"}}]]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[BlockchainBlockData, paclet:ref/BlockchainBlockData])  ▪  (RefLink[BlockchainTransactionData, paclet:ref/BlockchainTransactionData])  ▪  (RefLink[BlockchainBase, paclet:ref/BlockchainBase])  ▪  (RefLink[$BlockchainBase, paclet:ref/$BlockchainBase])  ▪  (RefLink[BlockchainPut, paclet:ref/BlockchainPut])  ▪  (RefLink[BlockchainGet, paclet:ref/BlockchainGet])  ▪  (RefLink[CurrencyConvert, paclet:ref/CurrencyConvert])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[Financial & Economic Data, paclet:guide/FinancialAndEconomicData])}, {▪(RefLinkPlain[Listing of Supported External Services, paclet:guide/ListingOfSupportedExternalServices])}, {▪(RefLinkPlain[Working with Blockchains, paclet:guide/Blockchain])}, {▪(RefLinkPlain[Persistent Storage, paclet:guide/PersistentStorage])}, {▪(RefLinkPlain[Accessing External Services & APIs, paclet:guide/AccessingExternalServicesAndAPIs])}})}})