Skip to content

Add svm transactions command with signature extraction and block time formatting#39

Merged
ivpusic merged 1 commit intomainfrom
sim/svm-transactions
Mar 19, 2026
Merged

Add svm transactions command with signature extraction and block time formatting#39
ivpusic merged 1 commit intomainfrom
sim/svm-transactions

Conversation

@ivpusic
Copy link
Member

@ivpusic ivpusic commented Mar 12, 2026

Add dune sim svm transactions <address> for SVM transaction history. Extracts first tx signature from raw data, formats block_time (microseconds) as readable timestamps. Supports text/JSON output with pagination.

@ivpusic ivpusic marked this pull request as ready for review March 12, 2026 09:13
@cursor
Copy link

cursor bot commented Mar 12, 2026

PR Summary

Low Risk
Low risk: adds a new CLI subcommand and tests without changing existing business logic, aside from updating sim svm help text and command registration.

Overview
Adds dune sim svm transactions <address> to fetch wallet transaction history from /beta/svm/transactions/<address>, with --limit/--offset pagination and text/JSON output.

Text output now renders a table including chain, slot, formatted UTC block time (microseconds), and the first extracted transaction signature; JSON output returns the raw API payload. Includes integration-style tests covering text/JSON output, limit handling, pagination, and presence of raw_transaction data.

Written by Cursor Bugbot for commit e4dd436. Configure here.

@ivpusic ivpusic force-pushed the sim/svm-transactions branch from aadfb1d to 6ff5f55 Compare March 12, 2026 15:34
@ivpusic ivpusic force-pushed the sim/svm-transactions branch from 6ff5f55 to 4cd0494 Compare March 12, 2026 15:39
@ivpusic ivpusic force-pushed the sim/svm-transactions branch from 4cd0494 to 08f625d Compare March 12, 2026 16:07
@ivpusic ivpusic force-pushed the sim/svm-transactions branch from 08f625d to 542db9b Compare March 12, 2026 16:10
@ivpusic ivpusic force-pushed the sim/svm-transactions branch from 542db9b to 6a7c9e1 Compare March 13, 2026 10:41
@ivpusic ivpusic force-pushed the sim/svm-transactions branch from 6a7c9e1 to 1049c34 Compare March 13, 2026 10:45
@ivpusic ivpusic force-pushed the sim/svm-transactions branch from 1049c34 to 8713618 Compare March 13, 2026 10:53
@ivpusic ivpusic force-pushed the sim/svm-balances branch 2 times, most recently from 440d4dd to 6501618 Compare March 13, 2026 10:56
@ivpusic ivpusic force-pushed the sim/svm-transactions branch from 8713618 to c12277d Compare March 13, 2026 10:56
@ivpusic ivpusic force-pushed the sim/svm-transactions branch from c12277d to 50efa90 Compare March 13, 2026 12:09
@ivpusic ivpusic force-pushed the sim/svm-transactions branch 2 times, most recently from fa37086 to 0846b27 Compare March 13, 2026 16:15
@ivpusic ivpusic force-pushed the sim/svm-balances branch 2 times, most recently from bad2eef to 9e733a1 Compare March 13, 2026 16:20
@ivpusic ivpusic force-pushed the sim/svm-transactions branch from 0846b27 to 6031605 Compare March 13, 2026 16:20
@ivpusic ivpusic force-pushed the sim/svm-transactions branch from 6031605 to 2a7f135 Compare March 13, 2026 16:26
@ivpusic ivpusic force-pushed the sim/svm-transactions branch from 2a7f135 to 598d122 Compare March 13, 2026 16:31
@ivpusic ivpusic force-pushed the sim/svm-transactions branch 2 times, most recently from 568e39f to d074d5b Compare March 19, 2026 10:37
@ivpusic ivpusic changed the base branch from sim/svm-balances to graphite-base/39 March 19, 2026 10:43
@ivpusic ivpusic force-pushed the sim/svm-transactions branch from d074d5b to e4dd436 Compare March 19, 2026 10:43
@ivpusic ivpusic changed the base branch from graphite-base/39 to main March 19, 2026 10:43
@ivpusic
Copy link
Member Author

ivpusic commented Mar 19, 2026

@cursor review

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

@ivpusic ivpusic merged commit 3d18cf2 into main Mar 19, 2026
4 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