<p>From a security perspective (i.e. could directly lead to loss of funds) the only thing you should be worried about are private keys or seeds that are used to generate private keys. There are no private keys or seeds in this output.</p>
<p>From a privacy perspective it is all data that isn't required to be public so you wouldn't choose to make it public. But if it was all leaked it wouldn't be a disaster and lead to loss of funds. Some fields (e.g. the address) are already public on the blockchain and others (e.g. part of the descriptor) is made public on the blockchain when you spend from the address.</p>

CC BY-SA 4.0
2023-03-29T14:00:07.433Z
2023-03-29T14:00:07.433Z
Michael Folkson
<p>Create a new address in a descriptor wallet, then <code>getaddressinfo</code> - a result like the following is output:</p>
<pre><code>{
  &quot;result&quot;: {
    &quot;address&quot;: &quot;bc1qf...&quot;,
    &quot;scriptPubKey&quot;: &quot;00144f...&quot;,
    &quot;ismine&quot;: true,
    &quot;solvable&quot;: true,
    &quot;desc&quot;: &quot;wpkh([5ba92dac/84'/0'/0'/0/0]0321c...)#cp9v54cz&quot;,
    &quot;parent_desc&quot;: &quot;wpkh([5ba92dac/84'/0'/0']xpub.../0/*)#9udarq7y&quot;,
    &quot;iswatchonly&quot;: false,
    &quot;isscript&quot;: false,
    &quot;iswitness&quot;: true,
    &quot;witness_version&quot;: 0,
    &quot;witness_program&quot;: &quot;...&quot;,
    &quot;pubkey&quot;: &quot;...&quot;,
    &quot;ischange&quot;: false,
    &quot;timestamp&quot;: 1679913806,
    &quot;hdkeypath&quot;: &quot;m/84'/0'/0'/0/0&quot;,
    &quot;hdseedid&quot;: &quot;0000000000000000000000000000000000000000&quot;,
    &quot;hdmasterfingerprint&quot;: &quot;...&quot;,
    &quot;labels&quot;: [
      &quot;&quot;
    ]
  },
  &quot;error&quot;: null,
  &quot;id&quot;: &quot;getaddressinfo&quot;
}
</code></pre>
<p>Which of all these fields are considered safe if accessed by the public, and which are not?</p>

<address><private-key><privacy>
Which are considered not-for-public fields of the ones returned by getaddressinfo?
Meglio
# Which are considered not-for-public fields of the ones returned by getaddressinfo?

(Asked by: username_0 on 2023-03-29)

Create a new address in a descriptor wallet, then `getaddressinfo` - a result like the following is output:

```
{
  "result": {
    "address": "bc1qf...",
    "scriptPubKey": "00144f...",
    "ismine": true,
    "solvable": true,
    "desc": "wpkh([5ba92dac/84'/0'/0'/0/0]0321c...)#cp9v54cz",
    "parent_desc": "wpkh([5ba92dac/84'/0'/0']xpub.../0/*)#9udarq7y",
    "iswatchonly": false,
    "isscript": false,
    "iswitness": true,
    "witness_version": 0,
    "witness_program": "...",
    "pubkey": "...",
    "ischange": false,
    "timestamp": 1679913806,
    "hdkeypath": "m/84'/0'/0'/0/0",
    "hdseedid": "0000000000000000000000000000000000000000",
    "hdmasterfingerprint": "...",
    "labels": [
      ""
    ]
  },
  "error": null,
  "id": "getaddressinfo"
}

```

Which of all these fields are considered safe if accessed by the public, and which are not?

**Tags:** address, private-key, privacy


---

## 1 answers

### Answer by username_1 on 2023-03-29. Score: 2 | Accepted answer

From a security perspective (i.e. could directly lead to loss of funds) the only thing you should be worried about are private keys or seeds that are used to generate private keys. There are no private keys or seeds in this output.

From a privacy perspective it is all data that isn't required to be public so you wouldn't choose to make it public. But if it was all leaked it wouldn't be a disaster and lead to loss of funds. Some fields (e.g. the address) are already public on the blockchain and others (e.g. part of the descriptor) is made public on the blockchain when you spend from the address.


---

