Learn R Programming

stellaRbase (version 0.1.0)

findPaymentPaths: Find a payment path between a source and a destination.

Description

Calculate a path for a payment based on the assets the source/target owns.

Usage

findPaymentPaths(destination_account, destination_asset_type,
  destination_asset_code, destination_asset_issuer, destination_amount,
  source_account)

Arguments

destination_account

character - The destination account that any returned path should use.

destination_asset_type

character - The type of the destination asset credit_alphanum4

destination_asset_code

character - The code for the destination, if destination_asset_type is not <U+201C>native<U+201D>.

destination_asset_issuer

character - The issuer for the destination, if destination_asset_type is not <U+201C>native<U+201D>.

destination_amount

character - The amount, denominated in the destination asset, that any returned path should be able to satisfy.

source_account

character - The sender<U+2019>s account id. Any returned path must use a source that the sender can hold.

Value

list