# ethereum-types

> Ethereum types

Latest version **3.7.1** (published 2022-08-18) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install ethereum-types
pnpm add ethereum-types
yarn add ethereum-types
bun add ethereum-types
```

## Health

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

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 3.7.1 |
| Published | 2022-08-18 |
| First published | 2018-05-31 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=6.12 |
| Dependencies | 2 |
| Unpacked size | 59 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 98 |
| Maintainers | dekz, amirbandeali, xianny, dave4506, logvinov, fberger |

## Links

- npm: https://www.npmjs.com/package/ethereum-types
- Repository: https://github.com/0xProject/tools
- Homepage: https://github.com/0xProject/tools/tree/main/ethereum-types
- Issues: https://github.com/0xProject/tools/issues
- npm.io page: https://npm.io/package/ethereum-types

## Dependencies (2)

- [@types/node](https://npm.io/package/@types/node.md) 12.12.54
- [bignumber.js](https://npm.io/package/bignumber.js.md) ~9.0.2

## Recent versions

- 3.7.1 (latest) — 2022-08-18
- 2.2.0-beta.2 (protocolV3) — 2019-11-17
- 3.7.0 — 2022-03-16
- 3.6.1 — 2022-02-26
- 3.6.0 — 2021-08-25
- 3.5.0 — 2021-04-26
- 3.4.1 — 2021-03-24
- 3.4.0 — 2020-12-02
- 3.3.3 — 2020-10-21
- 3.3.2 — 2020-10-21
- 3.3.1 — 2020-10-20
- 3.3.0 — 2020-10-20
- 3.2.0 — 2020-07-15
- 3.1.1 — 2020-06-24
- 3.1.0 — 2020-02-08
- … 28 more at https://npm.io/package/ethereum-types/versions

## README

## ethereum-types

TypeScript types shared across Ethereum-related packages/libraries/tools.

## Installation

```bash
yarn add -D ethereum-types
```

## Usage

```javascript
import { TransactionReceipt, TxData, TxDataPayable } from 'ethereum-types';
```

## Contributing

We welcome improvements and fixes from the wider community! To report bugs within this package, please create an issue in this repository.

Please read our [contribution guidelines](../../CONTRIBUTING.md) before getting started.

### Install dependencies

If you don't have yarn workspaces enabled (Yarn < v1.0) - enable them:

```bash
yarn config set workspaces-experimental true
```

Then install dependencies

```bash
yarn install
```

### Build

To build this package and all other monorepo packages that it depends on, run the following from the monorepo root directory:

```bash
PKG=ethereum-types yarn build
```

Or continuously rebuild on change:

```bash
PKG=ethereum-types yarn watch
```

### Clean

```bash
yarn clean
```

### Lint

```bash
yarn lint
```

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