Object

import { ExampleResponse } from "components/ExampleResponse"; import { AttributeTable } from "components/AttributeTable";

When Horizon returns information about a path, it uses the following format:

- ATTRIBUTE -

  • source_asset_type string

    The type for the source asset. Either native, credit_alphanum4, or credit_alphanum12.

  • source_asset_code string

    The code for the source asset.

  • source_asset_issuer string

    The Stellar address of the source asset’s issuer.

  • source_amount 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.

  • destination_asset_type string

    The type for the destination asset. Either native, credit_alphanum4, or credit_alphanum12.

  • destination_asset_code string

    The code for the destination asset.

  • destination_asset_issuer string

    The Stellar address of the destination asset’s issuer.

  • destination_amount string

    The destination amount specified in the search that found this path.

  • path array of objects

    The intermediary assets that this path hops through.Hide child attributes

    • asset_code string

      The code for this intermediary asset.

    • asset_issuer string

      The Stellar address of the intermediary asset’s issuer.

    • asset_type string

      The type for the intermediary asset. Either native, credit_alphanum4, or credit_alphanum12.

Last updated

Was this helpful?