Native Api
Supply API
8 min
total query the total supply of tokens parameter no return value return a json object, the structure is as follows: height block height result\ result denom token name amount total tokens sample code request: curl x get 'https //rpc block caduceus global 8545/supply/total' response: { "height" "2366", "result" \[ { "denom" "coin0", "amount" "1000000000000000000" }, { "denom" "coin1", "amount" "1000000000000000000" }, { "denom" "coin2", "amount" "1000000000000000000" }, { "denom" "coin3", "amount" "1000000000000000000" }, { "denom" "coin4", "amount" "1000000000000000000" }, { "denom" "hcoin", "amount" "100000995526916900910884159" } ] } total/coin query the supply of a specified token parameter no return value return a json object, the structure is as follows: height block height result total tokens sample code request: curl x get 'https //rpc block caduceus global/supply/total coin/hcoin' response: { "height" "2556", "result" "100001075503930823270200350" }