Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

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

Open
Shaptic opened this issue Jan 11, 2024 · 0 comments
Open

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant