Function spl_governance::state::token_owner_record::get_token_owner_record_data_for_realm
source · [−]pub fn get_token_owner_record_data_for_realm(
program_id: &Pubkey,
token_owner_record_info: &AccountInfo<'_>,
realm: &Pubkey
) -> Result<TokenOwnerRecordV2, ProgramError>
Expand description
Deserializes TokenOwnerRecord account and asserts it belongs to the given realm