Skip to content

Sim evm balances#28

Open
ivpusic wants to merge 1 commit intomainfrom
sim/evm-balances
Open

Sim evm balances#28
ivpusic wants to merge 1 commit intomainfrom
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.

@ivpusic ivpusic force-pushed the sim/supported-chains branch from 6641c15 to e26d221 Compare March 12, 2026 15:34
@ivpusic ivpusic force-pushed the sim/supported-chains branch 2 times, most recently from 4669a46 to c65dd10 Compare March 12, 2026 16:07
@ivpusic ivpusic changed the base branch from sim/supported-chains to graphite-base/28 March 12, 2026 16:10
@ivpusic ivpusic changed the base branch from graphite-base/28 to main March 12, 2026 16:10
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