[][src]Function solana_libra_transaction_builder::encode_transfer_script

pub fn encode_transfer_script(recipient: &AccountAddress, amount: u64) -> Script

Encode a program transferring amount coins from sender to recipient. Fails if there is no account at the recipient address or if the sender's balance is lower than amount.