user11286: If I have, say 20, priv/pub key pairs in my wallet which bitcoin API calls do I use to:

Select a specific privpub key pair.
Generate a new bitcoin address (using the selected private key)


user4241: bitcoind getnewaddress [account]

Where account is the name you want the new address associated with. 
Here is the API documentation. 

11286: <p>If I have, say 20, priv/pub key pairs in my wallet which bitcoin API calls do I use to:</p>

<ol>
<li>Select a specific privpub key pair.</li>
<li>Generate a new bitcoin address (using the selected private key)</li>
</ol>
 4241: <pre><code>bitcoind getnewaddress [account]
</code></pre>

<p>Where <code>account</code> is the name you want the new address associated with. </p>

<p>Here is the <a href="https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list" rel="nofollow">API documentation.</a> </p>
