# New "sweep" transaction type

**URL:** <https://forums.counterparty.io/t/new-sweep-transaction-type/4912>\
**Category:** Counterparty\
**Created:** [July 17, 2018, 4:09pm UTC](https://forums.counterparty.io/t/new-sweep-transaction-type/4912 "2018-07-17T16:09:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jdogresorg](https://yyz2.discourse-cdn.com/flex004/user_avatar/forums.counterparty.io/jdogresorg/32/1349_2.png) [@jdogresorg](https://forums.counterparty.io/u/jdogresorg)\
**Post date:** [July 17, 2018, 4:09pm UTC](https://forums.counterparty.io/t/new-sweep-transaction-type/4912/1 "2018-07-17T16:09:23Z")

</div>

A number of users in the community have expressed frustrations with the “sweep” functionality both failing to work in counterwallet most of the time, as well as costing a bunch of BTC fees to transfer each asset/token individually.

Needmoney proposed an elegant solution to the problem a while ago when he proposed a new “sweep” transaction type which would simply take a new address as input and “move” ALL the assets/tokens to the new address. This would allow users to move their entire wallet to a new address with a single transaction instead of paying a transaction fee for every token moved.

Thoughts?

---

<div class="post-metadata">

**Author:** ![foldinger](https://avatars.discourse-cdn.com/v4/letter/f/8e8cbc/32.png) [@foldinger](https://forums.counterparty.io/u/foldinger)\
**Post date:** [July 18, 2018, 8:15am UTC](https://forums.counterparty.io/t/new-sweep-transaction-type/4912/2 "2018-07-18T08:15:37Z")

</div>

Most sweep requests I saw were because of wrong send of counterparty asset to a pure bitcoin address. So to sweep it back a sweeping ALL asset transaction would be perfect.

---

<div class="post-metadata">

**Author:** ![Blockchaintoken](https://yyz2.discourse-cdn.com/flex004/user_avatar/forums.counterparty.io/blockchaintoken/32/538_2.png) [@Blockchaintoken](https://forums.counterparty.io/u/Blockchaintoken)\
**Post date:** [August 8, 2018, 10:04pm UTC](https://forums.counterparty.io/t/new-sweep-transaction-type/4912/3 "2018-08-08T22:04:50Z")

</div>

I would welcome the solution.

---

<div class="post-metadata">

**Author:** ![mdw](https://avatars.discourse-cdn.com/v4/letter/m/f19dbf/32.png) [@mdw](https://forums.counterparty.io/u/mdw)\
**Post date:** [September 5, 2018, 4:11pm UTC](https://forums.counterparty.io/t/new-sweep-transaction-type/4912/4 "2018-09-05T16:11:06Z")

</div>

This would be a welcome addition useful for reducing fees and time required to do things like

- separating groups of assets into different wallets for security purposes
- enabling the selling of collections of assets
- trading groups of assets in a single deal
- sending multiple assets to holding addresses pending auction

Does anyone object to getting this funded and making it happen?

---

<div class="post-metadata">

**Author:** ![chiguireitor](https://yyz2.discourse-cdn.com/flex004/user_avatar/forums.counterparty.io/chiguireitor/32/675_2.png) [@chiguireitor](https://forums.counterparty.io/u/chiguireitor)\
**Post date:** [September 18, 2018, 1:36am UTC](https://forums.counterparty.io/t/new-sweep-transaction-type/4912/5 "2018-09-18T01:36:34Z")

</div>

Liking this idea, someone should begin writing a CIP (i could help on the technical level). This could be a good candidate to code after CIP19 is finished.
