-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Feature Description
When adding new tokens to the endpoint the front end need to duplicate code making not DRY
To solve this I propose a change on the json structure to make pairs of proprieties, example of possible format:
{
"balances": [
{
"symbol": "ETH",
"count": 138714.89847312044,
"price": 3746
},
{
"symbol": "BIT",
"count": 1000000020,
"price": 1.8032047833
},
{
"symbol": "xSUSHI",
"count": 2132234.813768734,
"price": 12.7604923276
},
{...}
],
"usdTotal": 2434324234234
}
Current structure changes the names of the property making hard to create more dynamic and flexible components:
Additional Information
This task need to be coordinated with front end changes to avoid any break logic
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
