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

Wrap the mempool recommended fee rates API #102

Closed
ShookLyngs opened this issue Apr 24, 2024 · 1 comment
Closed

Wrap the mempool recommended fee rates API #102

ShookLyngs opened this issue Apr 24, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@ShookLyngs
Copy link
Collaborator

ShookLyngs commented Apr 24, 2024

Recently, the 503 error is often reported from the @rgbpp-sdk/btc when requesting the /api/v1/fees/recommended API from the mempool.space service. Here's one of the failed actions: rgbpp-sdk/action#8802346792. Since the btc-assets-api is planning to replace electrs with the mempool.space API, I suggest also wrapping the recommended fee rates API in the btc-assets-api.

Some benefits:

  • Reduce the dependencies used in the @rgbpp-sdk/btc by only requesting from the btc-assets-api
  • The btc-assets-api can auto-retry when a 503 error occurs and can cache the result of the recommended fees API
@ahonn ahonn added the enhancement New feature or request label Apr 24, 2024
@ahonn ahonn self-assigned this Apr 29, 2024
@Flouse Flouse closed this as completed May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants