-
Notifications
You must be signed in to change notification settings - Fork 31
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
Make getApiV1BoxesP1 optionally return unconfirmed boxes #216
Comments
the pr #214 does this also |
Great :) |
@monyedavid @oskin1 #214 is merged now, how can I access the unconfirmed boxes by id? |
@MrStahlfelge |
This was is what was asked for. We needed an endpoint for unconfirmed boxes by id. Additionally, I tested the endpoint and the behaviour is weird:
Last but not last, endpoint is not in API doc. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
getApiV1BoxesP1 returns box information, but there doesn't seem to be a way to make it return information for unconfirmed boxes. Only way to retrieve box information for unconfirmed boxes is to request the whole mempool, which is over the top when the box id is already known.
I suggest we add a
includeMempool
parameter to getApiV1BoxesP1 which, when set to true, also returns unconfirmed boxes when available for the given id.The text was updated successfully, but these errors were encountered: