From 78f3c9ec81992c7b382c2ecbf74ae3e6890ed37f Mon Sep 17 00:00:00 2001 From: mpoke Date: Fri, 8 Dec 2023 18:37:18 +0100 Subject: [PATCH] add example of denom-hash query --- docs/docs/features/proposals.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/docs/docs/features/proposals.md b/docs/docs/features/proposals.md index 35dc2e9ee6..93877ec452 100644 --- a/docs/docs/features/proposals.md +++ b/docs/docs/features/proposals.md @@ -93,9 +93,14 @@ Minimal example: ``` :::tip -Besides native provider denoms (e.g., `uatom`), please use the `ibc/*` denom trace format. -For example, use `ibc/0025F8A87464A471E66B234C4F93AEC5B4DA3D42D7986451A059273426290DD5`, -for `untrn` transferred on the channel `transfer/channel-569`, e.g., +Besides native provider denoms (e.g., `uatom` for the Cosmos Hub), please use the `ibc/*` denom trace format. +For example, for `untrn` transfered over the path `transfer/channel-569`, the denom trace +can be queried using the following command: +```bash +> gaiad query ibc-transfer denom-hash transfer/channel-569/untrn +hash: 0025F8A87464A471E66B234C4F93AEC5B4DA3D42D7986451A059273426290DD5 +``` +Then use the resulting hash in the `ChangeRewardDenomProposal`, e.g., ```js { "title": "Add untrn as a reward denom",