Skip to main content
glnc

COMMAND

Live gas prices across 9 chains

glnc gas prints a current fee snapshot across every supported chain in one table. EVM tiers are percentile priority fees computed from the last 64 blocks via eth_feeHistory. Bitcoin uses the mempool.space API. Solana reports priority fees in micro-lamports. Add --watch for a live in-place refresh.

Synopsis

glnc gas [--chain <name>] [--watch] [--json]
glnc gas
glnc gas --watch --interval 5
glnc gas --chain ethereum --json

Example

glnc gas
Chain base p10 p50 p90 block fast avg
────────────────────────────────────────────────────────────────
ethereum 12.4 0.5 1.2 3.1 ~12s $0.34 $0.18
polygon 34.2 30.0 32.5 40.1 ~2s $0.01 $0.005
arbitrum 0.01 0.001 0.001 0.001 ~250ms $0.00 $0.00
base 0.04 0.001 0.001 0.001 ~2s $0.00 $0.00
optimism 0.001 0.0001 0.0001 0.001 ~2s $0.00 $0.00
linea 0.04 0.001 0.001 0.001 ~3s $0.00 $0.00
zksync 0.04 0.001 0.001 0.001 ~3s $0.00 $0.00
bitcoin — — 1 4 ~10m $0.84 $0.21
solana — 0 3000 5000 ~400ms $0.001 $0.00

How the numbers are computed

EVM chains report a base fee and three priority percentiles (p10 / p50 / p90) computed from the last 64 blocks via eth_feeHistory. The fastand avg columns are USD estimates for a 21,000-gas transfer at the current native price.

Bitcoin reports a single sat/vB number per priority tier from the mempool.space API. Solana reports priority fees in micro-lamports from getRecentPrioritizationFees. Solana has no base fee in the EVM sense, so the base column is .

Watch mode

glnc gas --watch refreshes the table in place, in the terminal's alternate screen buffer. Ctrl+C restores your scrollback. With --json, watch mode emits NDJSON (one envelope per poll), under the schema glnc.gas.watch/v1.

glnc gas --watch --json | jq -c 'select(.event=="poll") | .data.chains[] | select(.chain=="ethereum" and .baseFeeGwei > 80)'
(prints lines only when ETH base fee crosses 80 gwei)

Flags

Flags accepted by glnc gas.
FlagDescription
--chain <name>Restrict to a single chain. Otherwise all 9 supported chains are queried in parallel.
--watch / -wRe-poll on an interval; update the table in place.
--interval <N>Watch interval in seconds. Default 15.
--jsonEmit glnc.gas/v1 (one-shot) or glnc.gas.watch/v1 (NDJSON, with --watch).
--no-colorDisable ANSI colors. NO_COLOR env and --json also disable colors.
--strictExit 3 if any chain failed (one-shot); abort on first fetch exception (watch).

JSON envelope

See the JSON envelope reference for the full glnc.gas/v1 shape. The data.chains array carries one object per chain, each with its fee tiers, a native price (when available), and a meta block flagging any chain that failed.