Author

Topic: [Solved] can I send BTC out from an "account" but not an "address" (Read 781 times)

rex
newbie
Activity: 52
Merit: 0
$from Send from a specific Bitcoin Address

The description is grey, he just missed the (optional) in the end. If you don't use the from parameter, your whole wallet will be used.

Thanks very much, your reply is very helpful to me. I think I know how to do now.

An additional question: I noticed that I can label any address in my wallet, and I can give several addresses a same label. Are these addresses having the same label belong to an "account"? Is it possible to pay through a specific "account"?
sr. member
Activity: 376
Merit: 312
Can you say... nighty-night?
$from Send from a specific Bitcoin Address

The description is grey, he just missed the (optional) in the end. If you don't use the from parameter, your whole wallet will be used.
rex
newbie
Activity: 52
Merit: 0
The case is, I have several addresses for users to send Bitcoin in, and also I need to send Bitcoin out to many receivers at once regardless of which address(es) it would use.

From the wallet API (https://blockchain.info/api/blockchain_wallet_api) I see the following api is close to my need:

Send Many Transactions

https://blockchain.info/merchant/$guid/sendmany?password=$main_password&second_password=$second_password&recipients=$recipients&anonymous=$anonymous&fee=$fee

$main_password Your Main My wallet password
$second_password Your second My Wallet password if double encryption is enabled.
$recipients Is a JSON Object using Bitcoin Addresses as keys and the amounts to send as values (See below).
$from Send from a specific Bitcoin Address
$anonymous "true" or "false" indicating whether the transaction should be sent through the a mixer. Fees apply. (Optional)
$fee Transaction fee value in satoshi (Must be greater than default fee) (Optional)
$note A public note to include with the transaction (Optional)


The "from" parameter is an Bitcoin "address", not an "account", or the whole "wallet". In my case, no single address would have sufficient balance to send the payment, but the whole wallet would have.

How should I deal with this case with blockchain.info? When use bitcoind, I know that I could do this by sendmany command.
Jump to: