CHAIN
Check balances and decode transactions on Ethereum from the command line
Everything glnc can do on Ethereum: balance lookup, transaction decoding, and live gas. Examples below are copy-pasteable; swap the address or hash for your own.
Quick install
On macOS or Linux:
brew install aryarahimi1/glnc/glncglnc 1.0.9 ready · Ethereum support built in
Balance on Ethereum
glnc auto-detects Ethereum from the address format. To restrict a multi-chain query to Ethereum only, pass --chain eth.
glnc balance vitalik.eth resolved: vitalik.eth → 0xd8dA…6045
⬢ ETHEREUM (59 tokens)
ETH 229.58 $539,891.08
USDC 120,133.62 $120,106.12
WBTC 12.04 $1,138,221.00
─────────────────────────────────────
Grand Total $663,208.68
Decode a Ethereum transaction
Pass a hash and (optionally) --chain eth to skip cross-chain probing. glnc decodes calldata and walks token movements out of the receipt logs.
glnc tx 0x02d15281c5514a447192cc8d6140216050f8d3bf92efccd420b635274764fb94 ✓ Multi-command swap
via Uniswap Universal Router on ⬢ ETHEREUM
Token movements:
− 40,000.000000 wXTM you → 0x5ADe…34F5
+ 77.797032 USDT 0x4C82…2cCA → you
gas: 542,564 × 0.32 gwei · $0.41
Ethereum gas right now
Live percentile fee tiers from eth_feeHistory across the last 64 blocks, plus a USD estimate at the current Ethereum native price.
glnc gas --chain ethereum Chain base p10 p50 p90 block fast avg
ethereum 12.4 0.5 1.2 3.1 ~12s $0.34 $0.18
Aliases
Every alias resolves to the same chain. Pass any of them to --chain:
glnc balance 0x... --chain eth accepted aliases: eth, ethereum