Stellar v0.2.0 Stellar.PaymentPaths View Source

Functions for interacting with PaymentPaths

Link to this section Summary

Link to this section Functions

Link to this function all(destination_account, destination_asset_type, destination_amount, params \\ []) View Source
all(binary(), Stellar.asset_type(), number(), Keyword.t()) :: {Stellar.status(), map()}

Returns payment paths meeting the given parameters

optional params can take any of the following:

  • destination_asset_code: The code for the destination. Required if destination_asset_type is not native.

  • destination_asset_issuer: The issuer for the destination, Required if destination_asset_type is not native.

  • source_account: The sender’s account id. Any returned path must use a source that the sender can hold.