Author

Topic: Bitcoin PHP Library, Getting address for generated block? (Read 1159 times)

legendary
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
I found out what i wanted to do wasn't something bitcoin was capable of.

I basically wanted to take some bitcoins out of one address and then move them into another address on the same bitcoin wallet with out extracting the bitcoins from multiple addresses.
newbie
Activity: 42
Merit: 0
What's wrong with:

sendtoaddress [comment] [comment-to]

Huh

I believe I have sent testnet coins from one address, to another new address that I have created inside the same wallet using the above code.

Otherwise I don't understand your question :S
legendary
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
So basically I need to move X amount of bitcoins to a bitcoin address, yet the bitcoin client doesn't seem to have a query for moving bitcoins from an address to an address. All i see in the Bitcoin PHP library is for moving from an account to an address, and an account can only be set with the bitcoin address, which "listtransactions" query doesn't supply, the most i can get is the TXID and that dosen't help in getting the address.

Let me know if this doesn't make any sense I'm sure i can re-phrase it better!
Jump to: