Public Key Hash from Address


thats my first post here and i already searched the forum about this task, but i can not find anything suitable.

Is it possible (or better: how is it possible) to get the public key hash (PKH) just from the address? When i enter an address in cardanoscan, it displays the pkh below the address. Iā€™m working on Smart Contracts which needs the PKH - but i dont have the PKH, i only have the address.

Does anyone has an idea about this? :slight_smile:

Addresses contain the hash in encoded form.

The encoding is described in:

The used encoding (BECH32) is specified in:


Thanks, that was really helpful. I got it working

1 Like