-
Notifications
You must be signed in to change notification settings - Fork 31
Emit events
as a top-level field in getTransaction response
#389
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@leighmcculloch why not call |
|
Looking at this further, the
Much of that makes sense. The presence of |
I mean, those endpoints are completely different, so it makes sense for their shapes to have minimal overlap ( The amount of work for the user to parse events out of the |
What problem does your feature solve?
When interacting with a transaction via
simulateTransaction
an array of base64 xdr encoded events is returned.When interacting with a transaction via
getTransaction
no array of events are provided. The events are in the transaction meta though.What would you like to see?
A top-level events field like what we see with the
simulationTransaction
method.Events should be easily accessible and first-class field in the API.
What alternatives are there?
Do nothing and folks can get the events out of the transaction meta.
The text was updated successfully, but these errors were encountered: