pub fn is_valid_spl_interface_pda(
mint_bytes: &[u8],
spl_interface_pubkey: &Pubkey,
pool_index: u8,
bump: Option<u8>,
restricted: bool,
) -> boolExpand description
Validate that an SPL interface PDA is correctly derived.
§Arguments
mint_bytes- The mint public key as bytesspl_interface_pubkey- The SPL interface PDA to validatepool_index- The pool index (0-4)bump- Optional bump seed for faster validationrestricted- Whether to validate against restricted derivation
§Returns
true if the PDA is valid, false otherwise