Wallet Sweep
Pronunciation: WOL-it SWEEP
Also known as: Sweep, Fund Sweep, Sweeping, Fund Sweeping, Wallet Sweeping
Definition
A wallet sweep moves available funds from one or more addresses or wallets to a designated destination, commonly a treasury or secured storage address.
Overview
What it means
A wallet sweep moves available funds from one or more addresses or wallets to a designated destination, commonly a treasury or secured storage address. A sweep is an actual transfer, not merely a bookkeeping balance adjustment.
How it works
Automation discovers spendable outputs or token balances, estimates fees, constructs transfers, obtains signing approval and monitors confirmation. For UTXO chains, spending multiple small outputs changes transaction size and fees. Token sweeps often require native-chain assets to pay gas, even when the collected token has value.
Understanding the technical details
A sweep scheduler should calculate the net value after fees before acting. On Bitcoin, consolidating many tiny UTXOs during an expensive fee period can be wasteful; on token networks, many fresh deposit accounts may each require native-asset gas. Retry logic should use the same planned destinations and track attempt hashes so internal transfers are not mistaken for fresh customer revenue. Reconciliation should link original deposits to the sweep batch and final treasury credit.
Additional protocol context
Importing a private key is not the same as sweeping because the old key remains authoritative. A sweep can also miss tokens, staking positions, contract permissions, unconfirmed funds, or future deposits. Fee estimation and dust can affect the final amount.
Users should verify destination, network, asset inventory, fee funding, and confirmation state. Suspected compromise requires a trusted new wallet and rapid, prioritized execution. Organizations need approval, monitoring, and source-to-destination reconciliation. The old address should remain watched for delayed receipts or attacker activity, while related permissions and integrations are revoked or updated.
Common failures and limitations
Sweeping every tiny deposit can cost more than it saves. An incomplete sweep can leave dust or stranded tokens. Systems should account for reorgs, retries, address permissions and chain-specific token restrictions.
Related concepts
Crypto Wallet, Private Key, Seed Phrase.
Further reading
Example
A merchant has received 80 small payments to unique addresses. A daily sweep combines eligible balances into its treasury. The finance ledger tracks original customer deposits separately from the later internal consolidation transaction.
Comparison
A sweep moves assets on-chain; reconciliation proves amounts were correctly attributed in books. A balance transfer inside a custodial provider may be internal accounting rather than a blockchain sweep.
Key Takeaway
Sweeping every tiny deposit can cost more than it saves.
Sources
- Bitcoin.org Documentation: Wallets — Bitcoin.org (2026-07-30)
- NIST Documentation: Key Management — NIST (2026-07-30)
- Bitcoin Core walletcreatefundedpsbt RPC — Bitcoin.org (2026-08-02)
- BIP 174: Partially Signed Bitcoin Transaction Format — Bitcoin Improvement Proposals (2026-08-02)
- Recommendation for Key Management: Part 1 – General — NIST (2026-08-02)