Skip to main content

close_thread

Function close_thread 

Source
pub fn close_thread<'info>(
    ctx: Context<'info, ThreadClose<'info>>,
) -> Result<()>
Expand description

Closes an existing thread account and returns the lamports to the owner. Requires authority (owner) or thread itself to sign. External fiber accounts should be passed via remaining_accounts.