Api displays ONLY Circulating Supply as a numerical value

Hi ,
How to build api displays ONLY Circulating Supply as a numerical value
example : http://chainz.cryptoid.info/grs/api.dws?q=circulating

is there any ready code for bsc token ?

thanks

:1234: Code to reproduce


:computer: Environment

1 Like

You need to manually subtract the uncirculating supply from totalSupply. Getting the circulating supply is not part of the ERC20 / BEP20 token standard.