<p>The easiest way I can think of (so far) is:</p>
<ol>
<li>Grab your bech32 address from the Nami wallet interface (e.g. <code>addr_***</code>)</li>
<li>Inspect that address with the <a href="https://github.com/input-output-hk/cardano-addresses" rel="nofollow noreferrer">cardano-address</a> tool with this command:</li>
</ol>
<pre><code>echo &lt;YOUR_ADDRESS_HERE addr_...&gt; | cardano-address address inspect
</code></pre>
<ol start="3">
<li>You should be able to find the hex hash in the output under the property <code>spending_key_hash</code></li>
</ol>
<p>ALTERNATIVELY, there's another easy way where you dont need to download <code>cardano-address</code>. By using the <code>cardano-address</code> demo here <a href="https://input-output-hk.github.io/cardano-addresses/demo/" rel="nofollow noreferrer">Cardano Address Inspector</a>.</p>
<ul>
<li>Unfortunately they have disabled the hex output option, not sure why</li>
<li>But I realized that they do print the <code>cardano-address</code> output into the console... So if you open the browser inspect tool and hit Inspect again, you should be able to find the hex hash with the key <code>spending_key_hash</code></li>
</ul>

CC BY-SA 4.0
2022-02-23T16:36:30.200Z
2022-02-23T16:43:09.513Z
2022-02-23T16:43:09.513Z
Alo - RAMBO Pool
<p>I would be interested in getting the holdings of that pkh as a list after getting the pkh, but I think this is a user input type of deal.</p>
<p>I don't think you can get the pkh for a random wallet on nami without other information such as the wallet address (I mean how is it gonna know which address your requesting the pkh for?).</p>
<p>Also if your using smart contracts, I think whatever the solution is would work any address on the chain regardless of which wallet they are using.</p>

CC BY-SA 4.0
2022-02-22T18:12:44.110Z
maybe not the pkh or public key of any specific address, but an account-level public key should be an option
zhekson
CC BY-SA 4.0
2022-02-22T20:26:23.600Z
Hi @zhekson can you please clarify what you mean by account level pk and how this differs from the pk of an address?
KryptoKing
CC BY-SA 4.0
2022-02-22T20:28:41.067Z
Scroll down to the "HD Sequential wallets (à la BIP-44)" [here](https://input-output-hk.github.io/cardano-wallet/concepts/address-derivation)
zhekson
CC BY-SA 4.0
2022-02-22T20:37:25.047Z
Thanks Ill take a look at it
KryptoKing
CC BY-SA 4.0
2022-02-22T17:13:47.680Z
2022-02-22T17:13:47.680Z
KryptoKing
<p>wondering whats the simplest way to get the pkh for nami-wallet? Is it possible through the webapp?</p>

<nami-wallet><public-key>
how to get public key of nami wallet
# how to get public key of nami wallet

(Asked by: username_0 on 2022-02-22)

wondering whats the simplest way to get the pkh for nami-wallet? Is it possible through the webapp?

**Tags:** nami-wallet, public-key

---

## 2 answers

### Answer by username_1 on 2022-02-23. Score: 0

The easiest way I can think of (so far) is:

Grab your bech32 address from the Nami wallet interface (e.g. addr_***)
Inspect that address with the cardano-address tool with this command:

echo  | cardano-address address inspect


You should be able to find the hex hash in the output under the property spending_key_hash

ALTERNATIVELY, there's another easy way where you dont need to download cardano-address. By using the cardano-address demo here Cardano Address Inspector.

Unfortunately they have disabled the hex output option, not sure why
But I realized that they do print the cardano-address output into the console... So if you open the browser inspect tool and hit Inspect again, you should be able to find the hex hash with the key spending_key_hash


---

### Answer by username_2 on 2022-02-22. Score: 0

I would be interested in getting the holdings of that pkh as a list after getting the pkh, but I think this is a user input type of deal.

I don't think you can get the pkh for a random wallet on nami without other information such as the wallet address (I mean how is it gonna know which address your requesting the pkh for?).

Also if your using smart contracts, I think whatever the solution is would work any address on the chain regardless of which wallet they are using.

> **Comments:**
> **username_3**: maybe not the pkh or public key of any specific address, but an account-level public key should be an option  
> **username_2**: Hi @zhekson can you please clarify what you mean by account level pk and how this differs from the pk of an address?  
> **username_3**: Scroll down to the "HD Sequential wallets (à la BIP-44)" [here](https://input-output-hk.github.io/cardano-wallet/concepts/address-derivation)  
> **username_2**: Thanks Ill take a look at it  

---

