[−][src]Function interledger::stream::send_money
pub fn send_money<S, A>(
service: S,
from_account: &A,
destination_account: &[u8],
shared_secret: &[u8],
source_amount: u64
) -> impl Future<Item = (u64, S), Error = Error> where
A: Account,
S: IncomingService<A> + Clone,
Send a given amount of money using the STREAM transport protocol.
This returns the amount delivered, as reported by the receiver and in the receiver's asset's units.