darwinia-network / token-supply

token supply server
MIT License
0 stars 0 forks source link

don't display a few fields in Supply struct #7

Open cinlk opened 1 year ago

cinlk commented 1 year ago

now, the 'supply/ring' api return json response data as follow:

 {
    "code": 0,
    "data": {
        "circulatingSupply": "1216159745.3925520716097711",
        "totalSupply": "2188537052.019997102",
        "maxSupply": "10000000000",
        "details": [
            {
                "network": "Tron",
                "circulatingSupply": "42726443.5528615206097711",
                "totalSupply": "90403994.9525478491788821",
                "precision": 18,
                "type": "trc20",
                "contract": "TL175uyihLqQD656aFx3uhHYe1tyGkmXaW"
            },
            {
                "network": "Ethereum",
                "circulatingSupply": "981061187.5950266790487188",
                "totalSupply": "981061187.5950266790487188",
                "precision": 18,
                "type": "erc20",
                "contract": "0x9469d013805bffb7d3debe5e7839237e535ec483"
            }
        ]
    },
    "msg": "ok"
}