Stellar · Schema

Path

BlockchainCryptocurrencyDecentralized ExchangeLedgerPaymentsSmart ContractsWeb3

Properties

Name Type Description
_embedded object
View JSON Schema on GitHub

JSON Schema

stellar-horizon-path.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://developers.stellar.org/schemas/horizon/Path.json",
  "title": "Path",
  "type": "object",
  "properties": {
    "_embedded": {
      "type": "object",
      "properties": {
        "records": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "source_asset_type": {
                "type": "string"
              },
              "source_asset_code": {
                "type": "string"
              },
              "source_asset_issuer": {
                "$ref": "#/components/schemas/address"
              },
              "source_amount": {
                "type": "string"
              },
              "destination_asset_type": {
                "type": "string"
              },
              "destination_asset_code": {
                "type": "string"
              },
              "destination_asset_issuer": {
                "$ref": "#/components/schemas/address"
              },
              "destination_amount": {
                "type": "string"
              },
              "path": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/schemas-Asset"
                }
              }
            }
          },
          "required": [
            "source_asset_type",
            "source_amount",
            "destination_asset_type",
            "destination_amount",
            "path"
          ]
        }
      }
    }
  }
}