light_token_interface/instructions/
create_token_account.rs

1use light_compressed_account::Pubkey;
2use light_zero_copy::ZeroCopy;
3
4use crate::{
5    instructions::extensions::compressible::CompressibleExtensionInstructionData,
6    AnchorDeserialize, AnchorSerialize,
7};
8
9#[repr(C)]
10#[derive(Debug, Clone, AnchorSerialize, AnchorDeserialize, ZeroCopy)]
11pub struct CreateTokenAccountInstructionData {
12    /// The owner of the token account
13    pub owner: Pubkey,
14    /// Optional compressible configuration for the token account
15    pub compressible_config: Option<CompressibleExtensionInstructionData>,
16}