Skip to content

Sim evm balances#28

Open
ivpusic wants to merge 1 commit intosim/supported-chainsfrom
sim/evm-balances
Open

Sim evm balances#28
ivpusic wants to merge 1 commit intosim/supported-chainsfrom
sim/evm-balances

Conversation

@ivpusic
Copy link
Member

@ivpusic ivpusic commented Mar 11, 2026

Add dune sim evm balances <address> for querying multi-chain EVM token balances with --chain-ids, --filters, --exclude-spam, --historical-prices flags. Includes warning handling, amount formatting, text table and JSON output.

@ivpusic ivpusic mentioned this pull request Mar 11, 2026
@cursor
Copy link

cursor bot commented Mar 12, 2026

PR Summary

Low Risk
Low risk additive CLI change that introduces a new sim evm balances subcommand and associated formatting/parsing logic; main risk is incorrect query parameter mapping or output formatting when the Sim API response shape changes.

Overview
Adds a new authenticated CLI subcommand, dune sim evm balances <address>, to query the Sim API for native/ERC20 token balances across EVM chains with optional filtering, spam exclusion, historical pricing, and pagination (limit/offset).

Supports text table output (including amount/price/value formatting and next_offset hint) and passthrough json output, and prints any API warnings to stderr.

Introduces E2E tests for the new command (text/JSON, filters, exclude-spam, pagination) and refactors the existing supported-chains tests to reuse shared test helpers.

Written by Cursor Bugbot for commit 7a9a11d. Configure here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants