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 API: "transactions" function should have a parameter to skip XDR content #5463

Open
alien2108 opened this issue Sep 17, 2024 · 1 comment
Labels
horizon-api Issues or features related to the Horizon API

Comments

@alien2108
Copy link

What problem does your feature solve?

Some transactions (claimable balance....) have HUGE XDR load. Like 10Mb per transaction. If you do not need XDR info it would be good to provide parameter to skip this data in return. We have seen "transactions" responses that were 800MB for a single wallet due to complete overload of XDR fields.

What would you like to see?

Something as "xdr=true(default)/false" that would not return value of result_xdr and result_meta_xdr

What alternatives are there?

@Shaptic
Copy link
Contributor

Shaptic commented Sep 17, 2024

You're in luck: the SDF Horizon instance (which I presume you're using) will soon turn off ingestion of transaction metadata (see #5452). If you aren't using it, the SKIP_TXMETA flag does what you want!

@johncanneto johncanneto added the horizon-api Issues or features related to the Horizon API label Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
horizon-api Issues or features related to the Horizon API
Projects
Status: Backlog
Development

No branches or pull requests

3 participants