Skip to content

Conversation

abdulrabbani00
Copy link
Contributor

@abdulrabbani00 abdulrabbani00 commented May 30, 2025

Right now, users can access the Metadata and their decoded account data within process. This is great if you want your decoded data which most users want.

But I have a use case where I want both the decoded data and the raw Account or Instruction data. This implementation lets me have both. Some benefits:

  1. Returns both objects
  2. For instruction it returns the entire NestedInstruction

This solution is not backward compatible, but as you can see from my updates of the examples, its pretty simple to implement.

@abdulrabbani00 abdulrabbani00 changed the title Process Account Data With Raw Data Return Raw Account + Instructions May 30, 2025
@abdulrabbani00 abdulrabbani00 requested a review from KellianDev June 3, 2025 11:27
Copy link
Contributor

@KellianDev KellianDev left a comment

Choose a reason for hiding this comment

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

LGTM

@abdulrabbani00 abdulrabbani00 requested a review from KellianDev June 3, 2025 11:40
@KellianDev KellianDev merged commit 600c45c into sevenlabs-hq:main Jun 3, 2025
5 checks passed
@abdulrabbani00 abdulrabbani00 deleted the feature/process-account-with-raw-data branch June 3, 2025 12:01
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