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

app transaction-decoder

A CLI tool for decoding Ethereum transactions

1 unstable release

new 0.1.0 Dec 19, 2024

#34 in #evm

MIT license

28KB
364 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
~376K SLoC