<p>You don't have any bitcoins, so you can't create, sign, and broadcast a transaction.</p>

<p>As for generating a new address, use the <code>getnewaddress</code> RPC.  It will give you an address you can give someone else to send you bitcoins.  Once you have bitcoins, you can create and broadcast a transaction in one step using either the <code>sendtoaddress</code> RPC or the <code>sendmany</code> RPC.</p>

<p>Use <code>help getnewaddress</code>, <code>help sendtoaddress</code>, and <code>help sendmany</code> to learn more about each RPC.</p>

CC BY-SA 3.0
2014-12-23T15:19:27.950Z
Thank you. I run "bitcoind getnewaddress" and I can see the address on blockchain.info. I thought that I had to broadcast the transaction of created new address.. but it seems not be necessary. Now I'm checking out "sendtoaddress"
zono
CC BY-SA 3.0
2014-12-23T16:38:40.820Z
I could send btc by using "sendtoaddress". The command seems to include sign and broadcast. Thanks
zono
CC BY-SA 3.0
2014-12-23T15:14:19.797Z
2014-12-23T15:14:19.797Z
David A. Harding
<p>I have my own server running bitcoind. Could you tell me how to generate new bitcoin address, sign and broadcast? My goal is that I can see the generated address's balance on Blockchain.info. As for you, my question may be very easy but I am looking for the way for a long time...</p>

<p>bitcoind's version is 0.9.2.</p>

<pre><code>$ bitcoind getinfo
{
    "version" : 90200,
    "protocolversion" : 70002,
    "walletversion" : 60000,
    "balance" : 0.00000000,
    "blocks" : 335538,
    "timeoffset" : -1,
    "connections" : 21,
    "proxy" : "",
    "difficulty" : 39457671307.13873291,
    "testnet" : false,
    "keypoololdest" : 1418654127,
    "keypoolsize" : 101,
    "paytxfee" : 0.00000000,
    "relayfee" : 0.00001000,
    "errors" : ""
}
</code></pre>

<bitcoind>
bitcoind: How to generate new address and broadcast?
zono
# bitcoind: How to generate new address and broadcast?

(Asked by: username_0 on 2014-12-23)

I have my own server running bitcoind. Could you tell me how to generate new bitcoin address, sign and broadcast? My goal is that I can see the generated address's balance on Blockchain.info. As for you, my question may be very easy but I am looking for the way for a long time...
bitcoind's version is 0.9.2.
$ bitcoind getinfo
{
    "version" : 90200,
    "protocolversion" : 70002,
    "walletversion" : 60000,
    "balance" : 0.00000000,
    "blocks" : 335538,
    "timeoffset" : -1,
    "connections" : 21,
    "proxy" : "",
    "difficulty" : 39457671307.13873291,
    "testnet" : false,
    "keypoololdest" : 1418654127,
    "keypoolsize" : 101,
    "paytxfee" : 0.00000000,
    "relayfee" : 0.00001000,
    "errors" : ""
}

**Tags:** bitcoind


---

## 1 answers

### Answer by username_1 on 2014-12-23. Score: 2 | Accepted answer

You don't have any bitcoins, so you can't create, sign, and broadcast a transaction.

As for generating a new address, use the `getnewaddress` RPC. It will give you an address you can give someone else to send you bitcoins. Once you have bitcoins, you can create and broadcast a transaction in one step using either the `sendtoaddress` RPC or the `sendmany` RPC.

Use `help getnewaddress`, `help sendtoaddress`, and `help sendmany` to learn more about each RPC.

> **Comments:**
> **username_0**: Thank you. I run "bitcoind getnewaddress" and I can see the address on blockchain.info. I thought that I had to broadcast the transaction of created new address.. but it seems not be necessary. Now I'm checking out "sendtoaddress"  
> **username_0**: I could send btc by using "sendtoaddress". The command seems to include sign and broadcast. Thanks  

---

