2 releases
0.1.1 | Dec 26, 2024 |
---|---|
0.1.0 | Dec 19, 2024 |
#40 in #evm
228 downloads per month
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