Terp Network Docs
APIsOpenapiQuery
GET
/cosmos/bank/v1beta1/supply/by_denom

When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.

Query Parameters

denom?string

denom is the coin denom to query balances for.

Response Body

application/json

application/json

curl -X GET "http://localhost:1317/cosmos/bank/v1beta1/supply/by_denom"
{
  "amount": {
    "denom": "string",
    "amount": "string"
  }
}
{
  "error": "string",
  "code": 0,
  "message": "string",
  "details": [
    {
      "type_url": "string",
      "value": "string"
    }
  ]
}