Skip to content

feature(rpc): Adds getBundleStatuses rpc method#608

Open
0xzrf wants to merge 5 commits intosolana-foundation:mainfrom
0xzrf:fetch_bundle_status
Open

feature(rpc): Adds getBundleStatuses rpc method#608
0xzrf wants to merge 5 commits intosolana-foundation:mainfrom
0xzrf:fetch_bundle_status

Conversation

@0xzrf
Copy link
Copy Markdown
Contributor

@0xzrf 0xzrf commented Apr 2, 2026

Summery

This PR adds the getBundleStatuses rpc method in the jito.rs file to get statuses of the transactions submitted via sendBundle rpc method

Changes

  • Adds jito_bundles: Box<dyn Storage<String, Vec<String>>> to SurfnetSvm to persist jito bundles based on bundle_id
  • Adds get_bundle and process_bundle helper methods to inside locker.rs
  • Adds SimnetCommand::SendBundle to send the bundle to runloop via simet_command_tx
  • Calls SimnetCommand::SendBundle inside sendBundle rpc call
  • Adds get_bundle_statuses method inSurfpoolJitoRpc which takes a bundle_id: String, looks it up in via get_bundle helper, and then calls SurfpoolFullRpc::get_signature_statuses and sends back status of each transaction in the same order as originally sent in sendBundle

Closes #595

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.

Implement getBundleStatuses jito method

1 participant