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

Horizon v2.31.0 and RPC v21.4.0 changes #958

Closed
Shaptic opened this issue Jul 19, 2024 · 1 comment
Closed

Horizon v2.31.0 and RPC v21.4.0 changes #958

Shaptic opened this issue Jul 19, 2024 · 1 comment

Comments

@Shaptic
Copy link

Shaptic commented Jul 19, 2024

Please add support to your SDK for the following API changes.

Horizon Changes

Horizon v2.31.0 made the following changes:

  • New endpoint: POST /transactions_async allows asynchronous transaction submission (code: stellar/go#5188).
  • Error schema change: POST /transactions now includes a the hash in its timeout response, which may or may not require code changes depending on how your SDK handles transaction submission errors (code: stellar/go#5328).

Soroban RPC Changes

RPC v21.4.0 added the following endpoints:

  • getTransactions, which returns pages of transaction details (code: stellar/soroban-rpc#174).
  • getFeeStats, which returns aggregated fee statistics over a few ledgers (code: stellar/soroban-rpc#172).
  • getVersionInfo, which returns detailed information about the software versions the RPC server is running (code: stellar/soroban-rpc#132). Please keep in mind that this endpoint accidentally used snake_case for response fields and it will be updated to camelCase (see soroban-rpc#164) as part of Protocol 22's breaking changes when the time comes.

Reference

@overcat
Copy link
Member

overcat commented Jul 25, 2024

The getVersionInfo interface has not been implemented yet, and we plan to wait until the breaking change is applied before adding it. Other interfaces have been implemented.

@overcat overcat closed this as completed Jul 25, 2024
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