Function ccash_rs::methods::send_funds[][src]

pub async fn send_funds(
    session: &CCashSession,
    user: &CCashUser,
    recipient_name: &str,
    amount: u32
) -> Result<u32, CCashError>
Expand description

Sends funds from the user to the user with the recipient_name. This function returns the user’s balance after a successful transaction has been made.