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]Example
glnc gasHow 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)'Flags
| Flag | Description |
|---|---|
--chain <name> | Restrict to a single chain. Otherwise all 9 supported chains are queried in parallel. |
--watch / -w | Re-poll on an interval; update the table in place. |
--interval <N> | Watch interval in seconds. Default 15. |
--json | Emit glnc.gas/v1 (one-shot) or glnc.gas.watch/v1 (NDJSON, with --watch). |
--no-color | Disable ANSI colors. NO_COLOR env and --json also disable colors. |
--strict | Exit 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.