Skip to main content
glnc

REFERENCE

Supported chains and aliases

glnc covers nine chains across three execution models. Seven EVM L1/L2s share a common adapter, Solana has its own multi-RPC fallback chain, and Bitcoin uses two independent APIs for balance and fee data. balance works on all nine, gas works on all nine, tx covers the eight chains excluding Bitcoin.

The matrix

Click any chain for its dedicated reference page with example commands and chain-specific notes.

ChainbalancetxgasAliases
Ethereumeth, ethereum
Polygonpoly, matic, polygon
Arbitrumarb, arbitrum
Basebase
Optimismop, optimism
zkSynczk, era, zksync
Linealinea
Solanasol, solana
Bitcoinbtc, bitcoin

Address format is auto-detected; the --chain flag is only required when you want to narrow a query to a specific chain.

EVM token pricing on Linea and zkSync

Native balances on Linea and zkSync are priced normally, but ERC-20 token prices are intentionally fail-closed (noPrice) on those chains until canonical token addresses are independently verified. This prevents spoofed tokens from inheriting real prices. Pass --show-unpriced to see all balances.

Solana RPC fallback

Solana token discovery uses getTokenAccountsByOwner with an automatic RPC fallback chain: solana-rpc.publicnode.com as primary, then api.mainnet-beta.solana.com, then solana-mainnet.public.blastapi.io. mainnet-beta throttles anonymous traffic hard, which is why the fallback is automatic rather than opt-in.

Bitcoin

tx is not supported on Bitcoin. The Bitcoin UTXO model and the way wallets reuse keypairs make a useful "decode this hash" output meaningfully different from the EVM story; rather than ship a half-correct version, glnc points you at a block explorer. balance and gas are fully supported via blockstream.info and mempool.space.

glnc balance bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh
₿ BITCOIN
BTC 3.654456 $293,292.06