claim() function allows a stream recipient to withdraw all currently vested but not-yet-claimed tokens. The covenant enforces the math directly — no trust in the frontend required.
Claim Formula
Linear vesting:cursor begins at startTimestamp and is advanced by the cumulative pause duration each time the stream is resumed.
Cliff
IfcliffTimestamp > 0, calling claim() before the cliff will fail at the contract level:
startTimestamp become claimable at once.
How to Claim in the App
Open your stream
Go to Streams and select the stream. The dashboard shows claimable amount, total vested, and time remaining.
Auto-Complete
WhennewTotalReleased >= totalAmount, the claim transaction produces no replacement NFT output. The stream is marked COMPLETED and disappears from the active streams list.

