bitcoind.app
CommandsGuidesContact ↗
Home/Wallet/sendall
Wallet

sendall

Spend the value of all (or specific) confirmed UTXOs to one or more recipients. Unconfirmed inputs may be included with include_unsafe.

Parameters

recipientsarrayREQUIRED
Array of recipient addresses or {address: amount} objects
conf_targetnumberoptional
Confirmation target
estimate_modestringoptional
Fee estimate mode
fee_ratenumberoptional
Fee rate in sat/vB
optionsobjectoptional
Options: include_watching, inputs, locktime, lock_unspents, psbt, etc.

Returns

objectObject with txid and complete status

Code Examples

curl --user myuser --data-binary '{"jsonrpc":"1.0","id":"1","method":"sendall","params":[["bc1q..."]]}' -H 'content-type:text/plain;' http://127.0.0.1:8332/

Example Response

{
  "txid": "a1075db55d...",
  "complete": true
}
← Previous
send
Next →
sendmany

More Wallet Commands

abandontransactioncreatewalletdumpprivkeygetbalancegetnewaddressgettransaction

bitcoind.app — Bitcoin Core RPC Reference

GuidesContact ↗