pub struct TransferV1 {Show 17 fields
pub token: Pubkey,
pub token_owner: Pubkey,
pub destination_token: Pubkey,
pub destination_owner: Pubkey,
pub mint: Pubkey,
pub metadata: Pubkey,
pub edition: Option<Pubkey>,
pub token_record: Option<Pubkey>,
pub destination_token_record: Option<Pubkey>,
pub authority: Pubkey,
pub payer: Pubkey,
pub system_program: Pubkey,
pub sysvar_instructions: Pubkey,
pub spl_token_program: Pubkey,
pub spl_ata_program: Pubkey,
pub authorization_rules_program: Option<Pubkey>,
pub authorization_rules: Option<Pubkey>,
}
Expand description
Accounts.
Fields§
§token: Pubkey
Token account
token_owner: Pubkey
Token account owner
destination_token: Pubkey
Destination token account
destination_owner: Pubkey
Destination token account owner
mint: Pubkey
Mint of token asset
metadata: Pubkey
Metadata (pda of [‘metadata’, program id, mint id])
edition: Option<Pubkey>
Edition of token asset
token_record: Option<Pubkey>
Owner token record account
destination_token_record: Option<Pubkey>
Destination token record account
Transfer authority (token owner or delegate)
payer: Pubkey
Payer
system_program: Pubkey
System Program
sysvar_instructions: Pubkey
Instructions sysvar account
spl_token_program: Pubkey
SPL Token Program
spl_ata_program: Pubkey
SPL Associated Token Account program
Token Authorization Rules Program
Token Authorization Rules account
Implementations§
Source§impl TransferV1
impl TransferV1
pub fn instruction(&self, args: TransferV1InstructionArgs) -> Instruction
pub fn instruction_with_remaining_accounts( &self, args: TransferV1InstructionArgs, remaining_accounts: &[AccountMeta], ) -> Instruction
Auto Trait Implementations§
impl Freeze for TransferV1
impl RefUnwindSafe for TransferV1
impl Send for TransferV1
impl Sync for TransferV1
impl Unpin for TransferV1
impl UnwindSafe for TransferV1
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more