Document changes to the NextAddress RPC.

This commit is contained in:
Josh Rickmar 2016-02-23 19:36:54 -05:00
parent 8455454ed5
commit f03556b2f9

View file

@ -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.