Git Product home page Git Product logo

escan's Introduction

escan

Ξ Escan is a Rust API wrapper for Etherscan and its derivatives

A production ready Rust Crate to work with Ethereum blockchain data

  // Create your client
  let client = Client::new(API_TOKEN, Chain::Ethereum); // Or Chain::BinanceSmartChain
  // Get balance of an address
  let bal = client.balance("0xBE0eB53F46cd790Cd13851d5EFf43D12404d33E8", Tag::Latest).await?;
  // Print it
  println!("{} ETH", bal);
  // Prints:
  // "1.927 ETH"

Supported Chains

  • Ethereum
  • Binance Smart Chain

New chain supports are coming

Usage

add Escan to dependencies list in Cargo.toml

  # ...
  [dependencies]
  # other deps
  escan = "0.1.0"
  # other deps
  # also don't forget to add Tokio runtime
  tokio = { version = "1.19.2", features = ["full"] }

API Endpoints

  • Accounts 🗸
  • Contracts ✖️
  • Transactions ✖️
  • Blocks ✖️
  • Logs ✖️
  • Geth/Parity Proxy ✖️
  • Tokens ✖️
  • Gas Tracker ✖️
  • Stats ✖️

🗸 Supported

✖️ Not supported

Development

Pull requests are welcome

If you want to contribute just let me know ;)

Made with ❤️ by Berzan

escan's People

Contributors

berzanorg avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

platocrat

escan's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.