Merge #815: Add derivation_index to GetAddressResult

2e2afc1d7bf85dec7319b78e5a2634558952bc25 doc: document deriv index in getnewaddress result (Antoine Poinsot)

Pull request description:

  The derivation index is required for
  for client to derive and verify the address
  on hardware wallets.

ACKs for top commit:
  darosior:
    ACK 2e2afc1d7bf85dec7319b78e5a2634558952bc25

Tree-SHA512: dd6280662244ff307a8eceb76a48d7b0ed651cc6e512708029afd6dda4bde0b0d0f8a63d30b9a7710d819f03e2d4bad250e3e24abab23578b5b684665a429c52
This commit is contained in:
Antoine Poinsot 2023-11-16 18:10:50 +01:00
commit bd71cd646c
No known key found for this signature in database
GPG Key ID: E13FC145CD3F4304

View File

@ -75,9 +75,10 @@ This command does not take any parameter for now.
#### Response
| Field | Type | Description |
| ------------- | ------ | ------------------ |
| `address` | string | A Bitcoin address |
| Field | Type | Description |
| ---------------------- | ------- | ------------------------------------- |
| `address` | string | A Bitcoin address |
| `derivation_index` | integer | The derivation index for this address |
### `listaddresses`