Skip to main content

spl_token_transfer

Function spl_token_transfer 

Source
pub fn spl_token_transfer<'info>(
    from: AccountInfo<'info>,
    to: AccountInfo<'info>,
    authority: AccountInfo<'info>,
    token_program: AccountInfo<'info>,
    amount: u64,
) -> Result<()>
Expand description

Invoke the spl token transfer instruction with transaction signer. Used to compress spl tokens.