Function casper_contract::contract_api::system::transfer_to_public_key
source · pub fn transfer_to_public_key(
target: PublicKey,
amount: U512,
id: Option<u64>
) -> TransferResult
Expand description
Transfers amount
of motes from the main purse of the caller’s account to the main purse of
target
. If the account referenced by target
does not exist, it will be created.