Skip to content

Get balance#29

Merged
ivpusic merged 1 commit intomainfrom
sim/evm-balance
Mar 13, 2026
Merged

Get balance#29
ivpusic merged 1 commit intomainfrom
sim/evm-balance

Conversation

@ivpusic
Copy link
Member

@ivpusic ivpusic commented Mar 11, 2026

Add dune sim evm balance <wallet_address> for querying a single token balance with required --token and --chain-ids flags. Outputs key-value text or JSON. Includes E2E tests with required flag validation.

This was referenced Mar 11, 2026
@cursor
Copy link

cursor bot commented Mar 12, 2026

PR Summary

Low Risk
Low risk: adds a new CLI subcommand and E2E tests without changing existing query behavior; main risk is limited to correctness of the new API path/flag validation.

Overview
Adds a new sim evm balance <wallet_address> subcommand to fetch a single-token balance via /v1/evm/balances/{address}/token/{token} with required --token and --chain-ids flags, supporting both key-value text output and raw JSON output.

Registers the command under sim evm and introduces E2E tests covering text/JSON modes and required-flag validation.

Written by Cursor Bugbot for commit 3101ca3. Configure here.

@ivpusic ivpusic force-pushed the sim/evm-balance branch 2 times, most recently from af2805d to b21c241 Compare March 12, 2026 15:39
@ivpusic ivpusic force-pushed the sim/evm-balances branch 2 times, most recently from 88d2a96 to 853c8c1 Compare March 12, 2026 16:10
@ivpusic ivpusic changed the base branch from sim/evm-balances to graphite-base/29 March 13, 2026 09:00
@ivpusic ivpusic changed the base branch from graphite-base/29 to main March 13, 2026 09:00
@ivpusic ivpusic merged commit ab5061a into main Mar 13, 2026
2 checks passed
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