Skip to main content
glnc

CHAIN

Check balances and decode transactions on Base from the command line

Everything glnc can do on Base: 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/glnc
glnc 1.0.9 ready · Base support built in

Balance on Base

glnc auto-detects Base from the address format. To restrict a multi-chain query to Base only, pass --chain base.

glnc balance 0x... --chain base
⬢ BASE (12 tokens)
ETH 0.842 $2,734.50
USDC 4,201.18 $4,201.18
cbETH 0.500 $1,652.00
─────────────────────────────
Grand Total $8,587.68

Decode a Base transaction

Pass a hash and (optionally) --chain base to skip cross-chain probing. glnc decodes calldata and walks token movements out of the receipt logs.

glnc tx 0xabc... --chain base
✓ Swap via Uniswap Universal Router on ⬢ BASE
Token movements:
− 100.00 USDC you → 0x6ff5…46b4
+ 0.030 ETH 0x6ff5…46b4 → you
gas: 187,432 × 0.001 gwei · $0.00

Base gas right now

Live percentile fee tiers from eth_feeHistory across the last 64 blocks, plus a USD estimate at the current Base native price.

glnc gas --chain base
Chain base p10 p50 p90 block fast avg
base 0.04 0.001 0.001 0.001 ~2s $0.00 $0.00

Aliases

Every alias resolves to the same chain. Pass any of them to --chain:

glnc balance 0x... --chain base
accepted aliases: base