Function spl_token_2022::extension::transfer_hook::get_program_id

source ยท
pub fn get_program_id<S: BaseState, BSE: BaseStateWithExtensions<S>>(
    state: &BSE,
) -> Option<Pubkey>
Expand description

Attempts to get the transfer hook program id from the TLV data, returning None if the extension is not found