spl_token_2022::extension::confidential_transfer::instruction

Function configure_account_with_registry

Source
pub fn configure_account_with_registry(
    token_program_id: &Pubkey,
    token_account: &Pubkey,
    mint: &Pubkey,
    elgamal_registry_account: &Pubkey,
    payer: Option<&Pubkey>,
) -> Result<Instruction, ProgramError>
Expand description

Create a ConfigureAccountWithRegistry instruction