<p>No, you can't, apart from trying various paths and re-deriving it.</p>

CC BY-SA 4.0
2020-10-05T00:44:10.983Z
2020-10-05T00:44:10.983Z
Pieter Wuille
<p>I have an xpub derived from <code>m/44'/0'/1'</code> can I get that path again from generated xpub or pubkey?  something like</p>
<pre><code>def get_path(xpub):

   return derivative_path
</code></pre>

<electrum><bip32-hd-wallets>
is there any way to get derivative path from public key and xpub?
Sunny
# is there any way to get derivative path from public key and xpub?

(Asked by: username_0 on 2020-10-04)

I have an xpub derived from `m/44'/0'/1'` can I get that path again from generated xpub or pubkey? something like

```
def get_path(xpub):

   return derivative_path

```

**Tags:** electrum, bip32-hd-wallets


---

## 1 answers

### Answer by username_1 on 2020-10-05. Score: 2 | Accepted answer

No, you can't, apart from trying various paths and re-deriving it.


---

