like web3 but for minimalists
Note
This is a temporary fork ofethereumjs/eth-query
created by MetaMask which adds TypeScript type definitions for compatibility with our libraries.
var provider = {
sendAsync: function (params, cb) {
/* ... */
},
};
var query = new EthQuery(provider);
query.getBalance(address, cb);