From 2e2afc1d7bf85dec7319b78e5a2634558952bc25 Mon Sep 17 00:00:00 2001 From: Antoine Poinsot Date: Thu, 16 Nov 2023 18:09:51 +0100 Subject: [PATCH] doc: document deriv index in getnewaddress result --- doc/API.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/API.md b/doc/API.md index bf3084a31..47097bff7 100644 --- a/doc/API.md +++ b/doc/API.md @@ -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`