Open jrwbabylonlab opened 3 days ago
We will let FE do the filter. Backend will return all FPs
Added as part of this PR https://github.com/babylonlabs-io/staking-api-service/pull/151
However, the "not yet transitioned" will still need to be handled in backend as FE has no idea about the phase-1 FP anymore
Decision based on the conversation with @totraev : We will return all FPs from v2 endpoint, that including the v1 ones that were injected fromt he FP file. We just mark those as not transitioned flag so that FE can do the filtering with a single API response.
The v2 FP endpoint to support filtering by below:
Return all by default