Coin Market is a simple library designed to make it easy get market or account information for cryptocurrencies by interacting with ShapeShift and Etherscan APIs.
toml
[dependencies]
coinmarket = "0.2"
```rust use coinmarket::ethereum::{Ethereum, EthNetworks};
pub fn main() { let network = Web3::new(Web3Provider::MainNet); let balance = network.ether_balance("0x341A3A994A150962F3e82b195873B736dAEb4bB3") .expect("Parsing error");
println!("{}", balance);
} ```
This project is dual-licensed under the BSD-3-Clause or the UNLICENSE.