balancednetwork / balanced-backend

Backend to balanced stats page and other services
Apache License 2.0
0 stars 1 forks source link

Endpoint for redemptions #12

Open hetfly opened 1 year ago

hetfly commented 1 year ago

Rebalancing was replaced by redemptions. Please create an endpoint that returns user related redemption info.

inputs - user address, collateral address/symbol, start timestamp output - collateral sold, bnUSD repaid

similar to https://balanced.sudoblock.io/api/v1/docs#/stats/get_stats_rebalanced_api_v1_stats_rebalanced_get

FezBox commented 5 months ago

Still valid and needed unless there is a way to check the data on the loans contract directly @AntonAndell can you confirm if this is possible?