pub fn transfer_from_purse_to_public_key(
    source: URef,
    target: PublicKey,
    amount: U512,
    id: Option<u64>
) -> TransferResult
Expand description

Transfers amount of motes from source to the main purse of target. If the account referenced by target does not exist, it will be created.