Working with Ethereum Blockchains

The Wolfram Language has built-in capabilities for interacting with Ethereum blockchains. It can both retrieve detailed information from Ethereum mainnet and testnet and construct and submit transactions to the blockchains.

Accessing Ethereum Blockchains

BlockchainData get current information about an Ethereum blockchain

BlockchainBlockData get information about a particular Ethereum block

BlockchainTransactionData get information about an Ethereum transaction

BlockchainAddressData get information connected with an Ethereum blockchain address

BlockchainTokenData get information about the usage of an Ethereum smart contractdefined token

BlockchainBase option to specify blockchain and network

$BlockchainBase default blockchain and network to use

Key Management

GenerateAsymmetricKeyPair generate key pairs for blockchain transactions

PrivateKey  ▪  PublicKey

BlockchainKeyEncode encode a key to get an address, WIF, etc.

Ethereum Blockchain Transactions

BlockchainTransaction symbolic representation of an Ethereum blockchain transaction

BlockchainTransactionSign use a private key to sign an Ethereum blockchain transaction

BlockchainTransactionSubmit submit a transaction for inclusion on an Ethereum blockchain

Ethereum Computational Contracts

BlockchainContractValue get a value from an Ethereum contract (e.g. a function or Wolfram expression result)

Financial Information

CurrencyConvert conversions for bitcoin and other cryptocurrencies