Deposit sweeps explained: moving customer funds to your treasury

Thousands of customer deposit addresses each holding a little is hard to manage and spend. Sweeps collect confirmed deposits into one wallet on a schedule you set.

The Valtu team

Giving every customer their own deposit address is the cleanest way to know who paid. It also scatters your funds across thousands of addresses. Sweeping collects them.

What a sweep is

A sweep moves a confirmed deposit from a customer's address to one of your own wallets, typically a treasury or payout wallet. It's an internal move, not a payment: your customer's balance in your system doesn't change, only where the coins sit.

Sweep tasks

In Valtu a sweep task says:

  • from where: every customer (user) wallet, or a list of wallets;
  • to where: a treasury or operational wallet;
  • which coins: all, or a list;
  • when: every 5, 15 or 60 minutes, every 6 hours, or once a day;
  • how much is worth it: a minimum USD value, so you don't spend a dollar in fees to move two.

When a task runs, it queues one sweep per wallet and coin worth moving. Sweeps go through the same transfer pipeline as payouts, with the same signing rules and a full record.

Gas, again

Sweeping USDT out of an address that holds only USDT needs a network fee in the native coin. Your gas wallet sends exactly what each sweep needs, within its daily cap. On Tron, energy can be rented instead.

Never under a pending payout

A wallet with a payout waiting isn't swept on that network: the sweep would take the funds (and, on EVM networks, the nonce) the payout needs. It's picked up on a later run.

Bitcoin

On Bitcoin, the sweep pays its fee from the coins it moves, so no gas is needed. See Bitcoin on Valtu.

Keep reading

More from the blog

operations · fees Why token payouts need gas, and how a gas wallet handles it A wallet holding only USDT can't send USDT: every token transfer pays its network fee in the network's own coin. A gas wallet tops wallets up automatically, within limits you set. networks · deposits When is a deposit final? Seeing a transaction isn't the same as being able to rely on it. How Valtu decides a deposit is final on each network, and the one status your ledger should credit on. product · security Introducing Valtu: wallet infrastructure you can verify Wallets for every customer, deposits that are credited only when final, payouts your own team approves, and keys held in hardware enclaves you can check yourself.

Start with a test workspace today.

Same dashboard, same API, free test coins. Go live when your team is ready.