#blockchain #ethereum #cli #decoder #evm

bin+lib transaction-decoder

A CLI tool for decoding Ethereum transactions

9 releases

new 0.1.8 Apr 22, 2025
0.1.7 Apr 21, 2025
0.1.1 Dec 26, 2024

#531 in Magic Beans

Download history 2/week @ 2025-01-08 1/week @ 2025-02-26 139/week @ 2025-04-02 274/week @ 2025-04-09 413/week @ 2025-04-16

826 downloads per month

MIT license

33KB
733 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

~15–27MB
~407K SLoC