# @waves/marshall

> Marshall can serialize and parse Waves blockchain data structures

Latest version **1.15.0** (published 2026-04-21) · MIT license · 0 weekly downloads

## Install

```sh
npm install @waves/marshall
pnpm add @waves/marshall
yarn add @waves/marshall
bun add @waves/marshall
```

## Health

**Score 60/100 (C)** — status: stable.

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

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 1.15.0 |
| Published | 2026-04-21 |
| First published | 2018-12-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 209.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 1 |
| Author | Wavesplatform |
| Maintainers | wavesadmin, ssd25 |

## Links

- npm: https://www.npmjs.com/package/@waves/marshall
- Repository: https://github.com/wavesplatform/marshall
- Homepage: https://github.com/wavesplatform/marshall#readme
- Issues: https://github.com/wavesplatform/marshall/issues
- npm.io page: https://npm.io/package/@waves/marshall

## Dependencies (3)

- [long](https://npm.io/package/long.md) ^5.3.2
- [base64-js](https://npm.io/package/base64-js.md) ^1.5.1
- [@waves/parse-json-bignumber](https://npm.io/package/@waves/parse-json-bignumber.md) ^1.0.3

## Recent versions

- 1.15.0 (latest) — 2026-04-21
- 1.15.0-snapshot.3 (snapshot) — 2026-04-21
- 1.15.0-snapshot.2 — 2026-04-21
- 1.15.0-snapshot.1 — 2026-04-20
- 0.15.0-beta.1 — 2021-10-12
- 0.14.0 — 2020-09-04
- 0.13.0 — 2020-09-03
- 0.12.0 — 2020-09-01
- 0.11.0 — 2020-08-20
- 0.10.0 — 2019-12-20
- 0.9.1 — 2019-10-31
- 0.8.1 — 2019-09-10
- 0.8.0 — 2019-06-04
- 0.7.6 — 2019-05-30
- 0.7.5 — 2019-05-29
- … 32 more at https://npm.io/package/@waves/marshall/versions

## README

# @waves/marshall

Marshall can serialize and parse Waves blockchain data structures

### Includes:
- Serialization primitives
- Parsing primitives
- Binary to js converters
- Js to binary converters
- JSON to js converters
- Js to JSON converters

### Usage:
```javascript
import { binary, json } from 'parse-serialize'

const tx = {
  type: 10,
  version: 2,
  fee: 100000,
  senderPublicKey: '7GGPvAPV3Gmxo4eswmBRLb6bXXEhAovPinfcwVkA2LJh',
  timestamp: 1542539421565,
  id: '1bVuFdMbDAk6dhcQFfJFxpDjmm8DdFnnKesQ3wpxj7P',
  proofs:
    ['5cW1Ej6wFRK1XpMm3daCWjiSXaKGYfL7bmspZjzATXrNYjRVxZJQVJsDU7ZVcxNXcKJ39fhjxv3rSu4ovPT3Fau8'],
  alias: 'MyTestAlias'
};

// Binary converter
const bytes = binary.serializeTx(tx);

const txb = binary.parseTx(bytes)

// json converted
const jsonString = json.stringifyTx(tx)

const txj = json.parseTx(jsonString)

```

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