Trait switchboard_solana::prelude::AccountsClose
pub trait AccountsClose<'info>: ToAccountInfos<'info> {
// Required method
fn close(&self, sol_destination: AccountInfo<'info>) -> Result<(), Error>;
}
Expand description
The close procedure to initiate garabage collection of an account, allowing one to retrieve the rent exemption.