Ξ Escan is a Rust API wrapper for Etherscan
A production ready Rust Crate to work with Ethereum blockchain data
rust
// Create your client
let client = Client::new(API_TOKEN);
// Get balance of an address
let bal = client.ether_balance("0xBE0eB53F46cd790Cd13851d5EFf43D12404d33E8", Tag::Latest);
// Print it
println!("{} ETH", bal);
// Prints:
// "1.927 ETH"
add Escan to dependencies list in Cargo.toml
toml
# ...
[dependencies]
# other deps
escan = "0.1.0"
# other deps
Pull requests are welcome
If you want to contribute just let me know ;)
Made with ❤️ by Berzan