# @elrondnetwork/transaction-decoder

> Transaction metadata decoder

Latest version **1.0.0** (published 2022-07-29) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install @elrondnetwork/transaction-decoder
pnpm add @elrondnetwork/transaction-decoder
yarn add @elrondnetwork/transaction-decoder
bun add @elrondnetwork/transaction-decoder
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2022-07-29 |
| First published | 2022-03-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 26.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | ElrondNetwork |
| Maintainers | cipriand, stanislav, tanghel, lucian.mincu, ccorcoveanu, titel, valentinlup, arhtudormorar, andreibancioiu |
| Keywords | elrond, transaction, decoder |

## Links

- npm: https://www.npmjs.com/package/@elrondnetwork/transaction-decoder
- Repository: https://github.com/ElrondNetwork/transaction-decoder
- Homepage: https://github.com/ElrondNetwork/transaction-decoder#readme
- Issues: https://github.com/ElrondNetwork/transaction-decoder/issues
- npm.io page: https://npm.io/package/@elrondnetwork/transaction-decoder

## Dependencies (1)

- [bech32](https://npm.io/package/bech32.md) ^2.0.0

## Alternatives

- [flatbuffers](https://npm.io/package/flatbuffers.md) — 6.0M weekly downloads
- [jwt-simple](https://npm.io/package/jwt-simple.md) — 259.5K weekly downloads
- [@exodus/patch-broken-hermes-typed-arrays](https://npm.io/package/@exodus/patch-broken-hermes-typed-arrays.md) — 28.5K weekly downloads
- [@native-to-anchor/buffer-layout](https://npm.io/package/@native-to-anchor/buffer-layout.md) — 12.2K weekly downloads
- [binary-parser-encoder](https://npm.io/package/binary-parser-encoder.md) — 5.3K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2022-07-29
- 0.1.0 — 2022-03-24

## README

# Transaction Decoder for JavaScript

Transaction processor for JavaScript and TypeScript (written in TypeScript).

## Distribution

[npm](https://www.npmjs.com/package/@elrondnetwork/transaction-decoder)

## Usage

```js
const metadata = new TransactionDecoder().getTransactionMetadata({
  sender: 'erd18w6yj09l9jwlpj5cjqq9eccfgulkympv7d4rj6vq4u49j8fpwzwsvx7e85',
  receiver: 'erd18w6yj09l9jwlpj5cjqq9eccfgulkympv7d4rj6vq4u49j8fpwzwsvx7e85',
  data: 'RVNEVE5GVFRyYW5zZmVyQDRjNGI0ZDQ1NTgyZDYxNjE2MjM5MzEzMEAyZmI0ZTlAZTQwZjE2OTk3MTY1NWU2YmIwNGNAMDAwMDAwMDAwMDAwMDAwMDA1MDBkZjNiZWJlMWFmYTEwYzQwOTI1ZTgzM2MxNGE0NjBlMTBhODQ5ZjUwYTQ2OEA3Mzc3NjE3MDVmNmM2YjZkNjU3ODVmNzQ2ZjVmNjU2NzZjNjRAMGIzNzdmMjYxYzNjNzE5MUA=',
  value: '0',
});
```

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