vocdoni/census3

feature: modify the token holder endpoint to return its balance

Closed this issue · 0 comments

Currently the /tokens/{tokenID}/holders/{holderID} endpoint returns true or false if the given holder is registered in the database as is.

Some use cases need to know the current registered balance of a token holder, so this endpoint needs to be updated to return the holder balance if the holder exists, and 404 if it does not.