Skip to main content

  1. Closing a Light Token account transfers remaining lamports to a destination account and the rent sponsor can reclaim sponsored rent.
  2. Light token accounts can be closed by the owner.
The closes the account and preserves the balance as compressed token account when the account becomes . The account is loaded in flight with the same state the next time it is accessed.
Install the agent skill:
See the AI tools guide for dedicated skills.
Use CloseTokenAccount to close an empty Light Token account.Compare to SPL:
1

Prerequisites

Cargo.toml
Test with Lite-SVM (…)
2

Close Light Token Account

Find the source code here.

Next Steps

Go back to the overview for the Light Token standard.