Skip to main content
glnc

CHAIN

Check balances and decode transactions on Solana from the command line

Everything glnc can do on Solana: 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 · Solana support built in

Balance on Solana

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

glnc balance 9WzDXwBb...
◎ SOLANA (8 tokens)
SOL 240.50 $33,670.00
USDC 4,210.18 $4,210.18
JUP 12,400.00 $7,440.00
─────────────────────────────
Grand Total $45,320.18

Decode a Solana transaction

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

glnc tx 5JxNK... --chain solana
✓ SPL token transfer on ◎ SOLANA
Token movements:
− 100.00 USDC you → 9WzD…rJfs
fee: 5,000 lamports · $0.001

Solana gas right now

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

glnc gas --chain solana
Chain base p10 p50 p90 block fast avg
solana — 0 3000 5000 ~400ms $0.001 $0.00

Aliases

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

glnc balance 0x... --chain sol
accepted aliases: sol, solana

Solana-specific notes

Solana token discovery uses getTokenAccountsByOwner with an automatic RPC fallback chain: publicnode.com as primary, then mainnet-beta, then BlastAPI public endpoint. Address format is base58, 32-44 characters. Solana has no base fee in the EVM sense, so the base column in gas output is ; priority fees are reported in micro-lamports.