From the course: Interacting with Blockchains in the Wolfram Language
Unlock this course with a free trial
Join today to access over 24,700 courses taught by industry experts.
Blockchain address data - Wolfram Language Tutorial
From the course: Interacting with Blockchains in the Wolfram Language
Blockchain address data
We can extract data about addresses. So the addresses are handled differently in each blockchain. But we try to have a consistent design for this to work with everything. So where can we get an address? So let's say, let's use a BlockchainTransactionData. I have a hash here. So this is from the Ethereum blockchain. So if you see this here, you see a lot of properties, and you see that this transaction has a sender and a receiver. So let's ask for these two properties and let me remove this. All right. So let's pick one of these. Let's say the address will be the first. All right. Now we can use BlockchainAddressData. And for now, I'll stick to Ethereum blockchain. So I'll set the $BlockchainBase variable to Ethereum so I don't have to write BlockchainBase goes to Ethereum every time. All right. So let's try with this address. And what I get here is a summary of this address. So I get the balance, I get the type. In this case, it's an Ethereum address. A Bitcoin address is a bit…