Skip to main content

admin_burn

Function admin_burn 

Source
pub fn admin_burn(
    allowlist_program_id: &Pubkey,
    admin_authority_pubkey: &Pubkey,
    user_token_account_owner_pubkey: &Pubkey,
    user_token_account_pubkey: &Pubkey,
    mint_pubkey: &Pubkey,
    token_program_id: &Pubkey,
    amount: u64,
    decimals: u8,
) -> Result<Instruction, ProgramError>