From f03556b2f9c051e1f7ba92fdb19e3f5602857c7d Mon Sep 17 00:00:00 2001 From: Josh Rickmar Date: Tue, 23 Feb 2016 19:36:54 -0500 Subject: [PATCH] Document changes to the NextAddress RPC. --- rpc/documentation/api.md | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/rpc/documentation/api.md b/rpc/documentation/api.md index 9dca050..4438e66 100644 --- a/rpc/documentation/api.md +++ b/rpc/documentation/api.md @@ -1,6 +1,6 @@ # RPC API Specification -Version: 0.1.0 +Version: 0.2.0 **Note:** This document assumes the reader is familiar with gRPC concepts. Refer to the [gRPC Concepts documentation](http://www.grpc.io/docs/guides/concepts.html) @@ -546,13 +546,23 @@ ___ #### `NextAddress` -The `NextAddress` method generates the next BIP0044 external account address for -the wallet. +The `NextAddress` method generates the next deterministic address for the +wallet. **Request:** `NextAddressRequest` - `uint32 account`: The number of the account to derive the next address for. +- `Kind kind`: The type of address to generate. + + **Nested enum:** `Kind` + + - `BIP0044_EXTERNAL`: The request specifies to generate the next address for + the account's BIP0044 external key chain. + + - `BIP0044_INTERNAL`: The request specifies to generate the next address for + the account's BIP0044 internal key chain. + **Response:** `NextAddressResponse` - `string address`: The payment address string.