Features
- Log Fetching: Parallel RPC requests across 22+ free archive nodes
- Transaction Analysis: Decode transactions with signature lookup
- Account Operations: Balance, transactions, token transfers
- Contract Tools: ABI fetching, source code, verification status
- Type Conversions: Wei/Gwei/Eth, hex/dec, checksums, hashing
- RPC Commands: Direct blockchain calls (call, block, storage, etc.)
- ENS Resolution: Resolve names to addresses and reverse lookup
- Gas Oracle: Real-time gas prices from Etherscan
- Multi-chain: Ethereum, Polygon, Arbitrum, Optimism, Base, BSC, Avalanche
Installation
Download Binary
# macOS (Apple Silicon)
|
# macOS (Intel)
|
# Linux (x86_64)
|
# Linux (ARM64)
|
Install with Cargo
Quick Start
# Fetch Transfer events from USDC
# Analyze a transaction
# Get account balance
# Resolve ENS name
# Get current gas prices
Commands
Logs - Fetch Historical Events
# Fetch specific events
# Fetch all events (auto-fetches ABI from Etherscan)
# Output to SQLite
# High concurrency with resume
Transaction - Analyze Transactions
# Analyze a transaction
# Show decoded input data
# Output as JSON
Account - Balance and History
# Get ETH balance
# Get token balance
# List recent transactions
# List token transfers
Contract - ABI and Source Code
# Get contract ABI
# Get source code
# Get creation transaction
Cast - Type Conversions and Hashing
# Unit conversions
# Hex/decimal
# Hashing
# Address tools
# ABI encode/decode
RPC - Direct Blockchain Calls
# Call a contract (read-only)
# Get block info
# Read storage slot
# Get contract code
# Get nonce
# Get transaction receipt
# Chain info
ENS - Name Resolution
# Resolve name to address
# Reverse lookup (address to name)
# Get resolver
# Compute namehash
Gas - Gas Oracle
# Get current gas prices
# Estimate confirmation time
Token - Token Operations
# Get token info
# Get top holders
Signature - Lookup Function/Event Signatures
# Lookup function by selector
# Lookup event by topic
Multi-Chain Support
# Use --chain flag for other networks
# Supported chains:
# ethereum, polygon, arbitrum, optimism, base, bsc, avalanche
Configuration
Config file: ~/.config/eth-log-fetcher/config.toml
# Set Etherscan API key (optional, increases rate limit)
= "YOUR_KEY"
# Add custom endpoints
[[]]
= "https://my-private-node.example.com"
= 10000000
= 1000000
= 100
Or via CLI:
Environment Variables
License
MIT