Skip to main content
When Horizon returns information about a path, it uses the following format:
string
The type for the source asset. Either native, credit_alphanum4, or credit_alphanum12.
string
The code for the source asset.
string
The Stellar address of the source asset’s issuer.
string
An estimated cost for making a payment of destination_amount on this path. Suitable for use in the sendMax field of a path payment operation.
string
The type for the destination asset. Either native, credit_alphanum4, or credit_alphanum12.
string
The code for the destination asset.
string
The Stellar address of the destination asset’s issuer.
string
The destination amount specified in the search that found this path.
array of objects
The intermediary assets that this path hops through.
The latest ledger known to Horizon is included as an HTTP header in the response.
Example