# @metamask/eth-query

> like web3 but for minimalists

Latest version **4.0.0** (published 2023-11-13) · ISC license · 0 weekly downloads

## Install

```sh
npm install @metamask/eth-query
pnpm add @metamask/eth-query
yarn add @metamask/eth-query
bun add @metamask/eth-query
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 4.0.0 |
| Published | 2023-11-13 |
| First published | 2023-07-21 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=16.0.0 |
| Dependencies | 2 |
| Unpacked size | 10.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Maintainers | mcmire, nicholasellul, lgbot, naugtur, ritave, danfinlay, kumavis, rekmarks, metamaskbot, gudahtt, brad.decker, sethkfman |

## Links

- npm: https://www.npmjs.com/package/@metamask/eth-query
- Repository: https://github.com/MetaMask/eth-query
- Homepage: https://github.com/MetaMask/eth-query#readme
- Issues: https://github.com/MetaMask/eth-query/issues
- npm.io page: https://npm.io/package/@metamask/eth-query

## Dependencies (2)

- [xtend](https://npm.io/package/xtend.md) ^4.0.1
- [json-rpc-random-id](https://npm.io/package/json-rpc-random-id.md) ^1.0.0

## Recent versions

- 4.0.0 (latest) — 2023-11-13
- 3.0.1 — 2023-07-21
- 3.0.0 — 2023-07-21

## README

like web3 but for minimalists

> **Note**  
> **This is a temporary fork of [`ethereumjs/eth-query`](https://github.com/ethereumjs/eth-query) created by MetaMask which adds TypeScript type definitions for compatibility with our libraries.**

```js
var provider = {
  sendAsync: function (params, cb) {
    /* ... */
  },
};
var query = new EthQuery(provider);

query.getBalance(address, cb);
```

---
_Source: https://npm.io/package/@metamask/eth-query · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
