[−][src]Function interledger_spsp::pay
pub fn pay<S, A>(
service: S,
from_account: A,
receiver: &str,
source_amount: u64
) -> impl Future<Item = u64, Error = Error> where
S: IncomingService<A> + Clone,
A: Account,
Query the details of the given Payment Pointer and send a payment using the STREAM protocol.
This returns the amount delivered, as reported by the receiver and in the receiver's asset's units.