ergoplatform / ergoplatform/explorer-backend

Make getApiV1BoxesP1 optionally return unconfirmed boxes

Open
#216 5 comments 0 reactions 1 assignee Claimed by @semyonoskin View on GitHub
Dominant language
Scala
Stars
23
Forks
37
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.