BlockchainData (for Ethereum)
$BlockchainBase = "Ethereum"
gives information about the Ethereum blockchain.
BlockchainData[property]
gives the value of the specified property of the Ethereum blockchain.
Details
- BlockchainData[] gives an association that includes a collection of properties of the blockchain.
- Properties include:
-
"Type" type of blockchain "Name" name of specific blockchain "Core" blockchain implementation core "LatestSlot" slot of the latest block in the Ethereum blockchain "CurrentEpoch" current epoch in the Ethereum blockchain "Blocks" current total number of blocks in the Ethereum blockchain "LatestBlockHash" hash of latest block in the Ethereum blockchain "LowestGasPrice" lowest gas price of last block in gwei "AverageGasPrice" average gas price of last block in gwei "HighestGasPrice" highest gas price of last block in gwei - BlockchainData can access the Ethereum mainnet (default) and testnet (Sepolia). To specify these networks, use the BlockchainBase option.
Examples
open allclose allBasic Examples (3)
Scope (10)
Wolfram Research (2019), BlockchainData, Wolfram Language function, https://reference.wolfram.com/language/ref/blockchain/BlockchainData-Ethereum.html.
Text
Wolfram Research (2019), BlockchainData, Wolfram Language function, https://reference.wolfram.com/language/ref/blockchain/BlockchainData-Ethereum.html.
CMS
Wolfram Language. 2019. "BlockchainData." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/blockchain/BlockchainData-Ethereum.html.
APA
Wolfram Language. (2019). BlockchainData. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/blockchain/BlockchainData-Ethereum.html