cosmos/bank/v1beta1/denoms_metadata

Parameters

Object NameRequiredTypeDetail
pagination.key❌StringThe value returned in PageResponse.next_key to begin querying the next page most efficiently. If provided, then pagination.offset is not allowed.
pagination.offset❌IntegerA numeric offset that can be used when pagination.key is unavailable. It is less efficient than pagination.key. If provided, then pagination.key is not allowed.
pagination.limit❌IntegerThe total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.
pagination.count_total❌BooleanIf set to true, the result will include a count of the total number of items available for pagination. count_total is only respected when offset is used. It is ignored when key is set.
pagination.reverse❌BooleanSet to true if results are to be returned in the descending order.
/cosmos/bank/v1beta1/denoms_metadata

Result

Example

Request

curl <your-rest-endpoint>/cosmos/bank/v1beta1/denoms_metadata \
  -X GET \
  -H "accept: application/json"

Return

{
    "metadatas": [
        {
            "description": "The native staking token of the Cosmos Hub.",
            "denom_units": [
                {
                    "denom": "uatom",
                    "exponent": 0,
                    "aliases": [
                        "microatom"
                    ]
                },
                {
                    "denom": "matom",
                    "exponent": 3,
                    "aliases": [
                        "milliatom"
                    ]
                },
                {
                    "denom": "atom",
                    "exponent": 6,
                    "aliases": []
                }
            ],
            "base": "uatom",
            "display": "atom",
            "name": "Cosmos Hub Atom",
            "symbol": "ATOM"
        }
    ],
    "pagination": {
        "next_key": null,
        "total": "1"
    }
}