feat: Phase 7-8 — data/output improvements, new commands, interactive pagination#35
Merged
CodesMcCabe merged 5 commits intomainfrom Mar 25, 2026
Merged
feat: Phase 7-8 — data/output improvements, new commands, interactive pagination#35CodesMcCabe merged 5 commits intomainfrom
CodesMcCabe merged 5 commits intomainfrom
Conversation
- balance: add --block option for historical balance queries - receipt: new command for eth_getTransactionReceipt with formatted output (status, gas used, gas price in gwei, logs count, contract created) - Human-readable decoding: consistent "decoded (0xhex)" format across block, tx, and receipt commands via new formatHexWithRaw(), formatWeiWithRaw(), formatGweiWithRaw() helpers - tx: now shows gas used, gas price in gwei, and native token symbol per chain instead of raw hex and hardcoded "ETH" - transfers: simplified to single request (bare address = outgoing), default 25 results in human mode (no limit in JSON mode), proper pagination with --page-key hint when more results exist - transfers: removed merge-two-requests approach that broke pagination - Added receipt to REPL autocomplete command list Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add gas command (eth_gasPrice + eth_maxPriorityFeePerGas), logs command (eth_getLogs with interactive TTY pagination), and shell completions command (bash/zsh/fish). Replace raw JSON dump in transfers with a proper table (Block, From, To, Value, Asset, Category). Add interactive server-side pagination to transfers, tokens, nfts, and replace "load all remaining" with "load next 5 pages" in apps. Fix formatGwei to show full precision instead of truncating to 2 decimal places. Fix promptSelect stdin cleanup to not kill the REPL session. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Injects the header at the fetchWithTimeout level so every HTTP call (RPC, REST, Admin, x402) automatically identifies itself as alchemy-cli. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
feat: add x-alchemy-client-breadcrumb header
lohnim
approved these changes
Mar 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
--blockon balance,receiptcommand, consistentdecoded (0xhex)format, pagination hints on transfers, default 25 results in human modegascommand (eth_gasPrice + eth_maxPriorityFeePerGas),logscommand (eth_getLogs with interactive pagination),completionscommand (bash/zsh/fish shell completions)formatGwei()shows full value (up to 9 decimals, trailing zeros stripped) instead of truncating to 2 decimal places — applied across gas, receipt, tx, blockpromptSelectno longer kills the REPL session by pausing stdin when already in raw modeTest plan
pnpm run build— cleanpnpm test— 237 tests passing (12 new)alchemy gason mainnet — verify full gwei precisionalchemy logs --from-block 18000000 --to-block 18000010— verify pagination promptalchemy completions zsh— verify Tab completion aftersource ~/.zshrcalchemy transfers <addr>in REPL — verify pagination doesn't exit REPLalchemy tokens <addr>— verify interactive paginationalchemy nfts <addr>— verify interactive pagination🤖 Generated with Claude Code