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 #39

Closed
Shaptic opened this issue Jan 11, 2024 · 1 comment
Closed

Comments

@Shaptic
Copy link

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

@christian-rogobete
Copy link
Contributor

Hi @Shaptic, thank you for adding this issue. I added the field in release 1.3.4

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

No branches or pull requests

2 participants