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

Description Usage Arguments Value Note

View source: R/findPaymentPaths.R

Description

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

Usage

1
2
3
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 “native”.

destination_asset_issuer

character - The issuer for the destination, if destination_asset_type is not “native”.

destination_amount

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

source_account

character - The sender’s account id. Any returned path must use a source that the sender can hold.

Value

list

Note

https://www.stellar.org/developers/horizon/reference/endpoints/path-finding.html


stellaRbase documentation built on April 11, 2018, 5:03 p.m.