Parameters
Object Name | Required | Type | Detail |
---|---|---|---|
denom | ✅ | String | The coin denom to query the metadata for. |
/cosmos/bank/v1beta1/denoms_metadata/uatom
Result
Example
Request
curl <your-rest-endpoint>/cosmos/bank/v1beta1/denoms_metadata/uatom \
-X GET \
-H "accept: application/json"
Return
{
"metadata": {
"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"
}
}