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 endpoint exposing data write (or all) fee details #159

Closed
cptartur opened this issue Apr 24, 2024 · 2 comments
Closed

Add endpoint exposing data write (or all) fee details #159

cptartur opened this issue Apr 24, 2024 · 2 comments

Comments

@cptartur
Copy link

What problem does your feature solve?

Currently, it's not easily possible (or not possible at all) to get the fees breakdown for writing data to the ledger.

What would you like to see?

Add a new endpoint which exposes the current fee details. I propose that for future proofing it exposes all fees, even the ones that do not change dynamically i.e. all fees included in this documentation page:

https://developers.stellar.org/docs/reference/resource-limits-fees#resource-fees

Additionally, values like minimum TTL for entries could be provided in the endpoint output as well.

What alternatives are there?

A minimal viable solution would just be an endpoint that provides the fee of writing to the ledger, without the data on other fees.

@cptartur
Copy link
Author

What we could consider is also providing the details on fees paid for the sent transaction. This would be a nice to have feature for reference. However, only implementing this without creating a separate endpoint for fees would not resolve the issue.

@mollykarcher
Copy link
Contributor

@cptartur thanks for reporting! I'm going to close this as a duplicate of #114, but please comment over there and/or reopen if you think that solution won't suit your needs.

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