Skip to main content
Every virtual output expires with the batch output that holds it. Before then, renew it in a batch swap, which moves it into a new batch with a new expiry. By default, the SDK renews automatically; see Renewal & Recovery.

Batch Expiry

After a batch output expires, the operator can sweep its bitcoin through the sweep path. Expiry lets the operator reclaim the bitcoin it puts into each batch. The operator can sweep a virtual output that you have not renewed before its batch expires. The operator still lets you recover the funds in a new batch swap (Virtual Output States), but you can no longer claim them onchain alone.

Liveness Requirements

Expiry means both the operator and users must be online at times.

Operator Liveness

If the operator is unavailable, users cannot make new Arkade transactions until it returns. Their funds stay safe: each user can exit unilaterally with the presigned transactions, and should do so before the batch expires.

User Liveness

Users must renew their virtual outputs before the batch expires, to keep the right to exit onchain alone.

Delegation

A user who cannot be online at the right time can delegate renewal to a third party, such as a wallet provider or their own server, without giving up custody.

How Delegation Works

A delegated virtual output has an extra spending path in its script:
  • User + operator (collaborative path). Standard spending.
  • User + timelock (exit path). Unilateral exit.
  • User + delegate + operator (delegation path). All three must sign.
The user presigns a batch registration request that lists exactly which virtual outputs to renew and which outputs to create. The delegate submits it in a batch swap for the user.

Guarantees

  • The user keeps custody. The delegate can only submit what the user signed. Unilateral exit stays available.
  • Inputs and outputs are fixed. The delegate cannot change them or move funds.
  • Timing is fixed. Each request has a start time, so the delegate cannot submit it early.