#blockchain #ethereum #cli #decoder #evm

bin+lib transaction-decoder

A CLI tool for decoding Ethereum transactions

10 releases

0.1.9 Apr 28, 2025
0.1.8 Apr 22, 2025
0.1.1 Dec 26, 2024

#58 in #evm

Download history 1/week @ 2025-02-26 139/week @ 2025-04-02 274/week @ 2025-04-09 388/week @ 2025-04-16 168/week @ 2025-04-23 39/week @ 2025-04-30 24/week @ 2025-05-07

767 downloads per month

MIT license

34KB
757 lines

Transaction Decoder CLI

This crate is a binary CLI tool for decoding Ethereum transactions.

See the CLI help: transaction-decoder --help


Docs.rs

Transaction Decoder

A CLI tool for decoding EVM transactions.

Features

  • Decodes EVM transaction input data dynamically.
  • Supports legacy, EIP-2930, EIP-1559, and EIP-4844 transactions.
  • Fetches function signatures and names.

Installation

Install the CLI via Cargo:

cargo install transaction-decoder

Usage

transaction-decoder <TRANSACTION_HASH> --rpc-url <RPC_URL> --logs

Example

transaction-decoder 0x1234... --rpc-url https://mainnet.infura.io/v3/YOUR-API-KEY --logs

Dependencies

~35–49MB
~893K SLoC