I want to convert the hash of a pool in hexadecimal to pool1... format

How can I do this?

2 Answers 2


The encoding is called Bech32.

I suspect that cardano-addresses can do this conversion.


You can do it with the bech32 command (which comez in the cardano-wallet package, if you don't already have it):

bech32 pool <<< <hex_pool_id>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.