


Reads onchain state
Reads what canceling a Sablier stream would refund its sender right now, in the stream's token. The Lockup's refundableAmountOf is the deposit the stream has not yet vested, and zero once the stream can no longer be canceled: renounced, settled, canceled or depleted. Reach for it to size what a cancellation returns before a plug cancels a stream and routes the refund.
Plug lets you combine onchain actions like this one into a single transaction, without writing a smart contract. Use in App opens a new plug with this action already in it.
More on Sablier · 11