pub fn transfer(from: &AccountInfo, recipient: &AccountInfo, amount: u64)
Expand description
Transfer lamports between accounts.
ยงArguments
from
: Funding account.recipient
: Recipient account.amount
: Number of lamports to transfer.
pub fn transfer(from: &AccountInfo, recipient: &AccountInfo, amount: u64)
Transfer lamports between accounts.
from
: Funding account.recipient
: Recipient account.amount
: Number of lamports to transfer.