Skip to content
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

Add support for new fields in Soroban RPC's sendTransaction endpoint #910

Closed
Shaptic opened this issue Jan 11, 2024 · 0 comments · Fixed by #908
Closed

Add support for new fields in Soroban RPC's sendTransaction endpoint #910

Shaptic opened this issue Jan 11, 2024 · 0 comments · Fixed by #908

Comments

@Shaptic
Copy link
Contributor

Shaptic commented Jan 11, 2024

Soroban RPC Changes

With the introduction of stellar/soroban-tools#1152, the Soroban RPC server introduces the following changes:

sendTransaction

The response will include a new, optional field in its response schema:

  • diagnosticEventsXdr: string[] - If the transaction status is "ERROR", this field may be present with an array of base64-encoded strings. Each string will decode to a raw DiagnosticEvent XDR struct containing details on why stellar-core rejected the transaction.
SDKs should add support for this field.

References

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 a pull request may close this issue.

1 participant