#evm #decoder #cli #ethereum #blockchain #command-line-tool

app transaction-decoder

A CLI tool for decoding Ethereum transactions

2 releases

0.1.1 Dec 26, 2024
0.1.0 Dec 19, 2024

#40 in #evm

Download history 79/week @ 2024-12-14 131/week @ 2024-12-21 16/week @ 2024-12-28 2/week @ 2025-01-04

228 downloads per month

MIT license

28KB
321 lines

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>

Example

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

Dependencies

~14–26MB
~382K SLoC