Withdraw max
Withdraw max
Ethereum
Ethereum
Base
Base

Sablier · Acts onchain

Withdraws everything a Sablier stream has vested and not yet paid out, to an address. The socket reads what the stream can pay out now and, when that is not zero, the Lockup transfers all of it in the stream's token; the action returns what the address received, zero when nothing had vested since the last withdrawal. Anyone may withdraw a stream to its recipient; only the recipient, or an operator it approved, may send the tokens anywhere else. Standing alone, a stream the wallet receives is withdrawn by the wallet sending the call itself. Beside other steps the Plug account makes the withdrawal: paying the wallet as anyone may, or paying the Plug account so the next steps can spend it, as the operator the wallet approves for the stream in the same confirmation. Reach for it in a scheduled plug that sweeps a vesting stream every week and swaps, deposits or bridges what it paid in the same run.