Function sn_client::send

source ·
pub async fn send(
    from: LocalWallet,
    amount: Token,
    to: PublicAddress,
    client: &Client
) -> Dbc
Expand description

Use the client to send a DBC from a local wallet to an address. This marks the spent DBC as spent in the Network