Function truncate_uninitialized

Source
pub fn truncate_uninitialized(
    program_address: &Pubkey,
    authority: &Pubkey,
    new_size: u32,
    recipient_address: &Pubkey,
) -> Instruction
Available on crate feature bincode only.
Expand description

Returns the instructions required to set the length of an uninitialized program account. This instruction will require the program account to also sign the transaction.