Stellar · Schema

ClaimableBalances

BlockchainCryptocurrencyDecentralized ExchangeLedgerPaymentsSmart ContractsWeb3

Properties

Name Type Description
_embedded object
View JSON Schema on GitHub

JSON Schema

stellar-horizon-claimablebalances.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://developers.stellar.org/schemas/horizon/ClaimableBalances.json",
  "title": "ClaimableBalances",
  "type": "object",
  "properties": {
    "_embedded": {
      "type": "object",
      "properties": {
        "records": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "_links": {
                "type": "object",
                "properties": {
                  "self": {
                    "$ref": "#/components/schemas/link"
                  },
                  "operations": {
                    "$ref": "#/components/schemas/link"
                  },
                  "transactions": {
                    "$ref": "#/components/schemas/link"
                  }
                },
                "required": [
                  "self",
                  "operations",
                  "transactions"
                ]
              },
              "id": {
                "$ref": "#/components/schemas/id"
              },
              "paging_token": {
                "type": "string"
              },
              "asset": {
                "type": "string"
              },
              "amount": {
                "type": "string"
              },
              "sponsor": {
                "type": "string"
              },
              "last_modified_ledger": {
                "type": "string"
              },
              "last_modified_time": {
                "type": "string"
              },
              "claimants": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "destination": {
                      "$ref": "#/components/schemas/address"
                    },
                    "predicate": {
                      "type": "object",
                      "properties": {
                        "and": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "or": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "relBefore": {
                                      "type": "string"
                                    },
                                    "absBefore": {
                                      "type": "string"
                                    },
                                    "absBeforeEpoch": {
                                      "type": "string"
                                    }
                                  }
                                }
                              },
                              "not": {
                                "type": "object",
                                "properties": {
                                  "unconditional": {
                                    "type": "boolean"
                                  },
                                  "relBefore": {
                                    "type": "string"
                                  },
                                  "absBefore": {
                                    "type": "string"
                                  },
                                  "absBeforeEpoch": {
                                    "type": "string"
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              },
              "flags": {
                "type": "integer"
              }
            },
            "required": [
              "id",
              "paging_token",
              "asset",
              "amount",
              "last_modified_ledger",
              "last_modified_time"
            ]
          }
        }
      }
    }
  }
}