Skip to main content

Overview

Reclaim rent from rejected, cancelled, executed, or stale Vault Transaction accounts to recover SOL.

Prerequisites

  • Existing multisig with rejected, cancelled, executed, or stale transactions
  • Rent collector set on the multisig
  • @sqds/multisig package installed

Quick Example

When to Reclaim Rent

Rent can be reclaimed from Vault Transactions when:
  • Corresponding proposal status is Rejected
  • Corresponding proposal status is Cancelled
  • Transaction has been Executed
  • Transaction is stale (transactionIndex ≤ staleTransactionIndex) and its proposal is Draft or Active or does not exist
A Vault Transaction whose proposal is Approved cannot be closed, even if it is stale. Cancel the proposal first.
Reclaimed rent is returned to the rentCollector address set on the Multisig account.

See Also