Stellar · Schema

Account

BlockchainCryptocurrencyDecentralized ExchangeLedgerPaymentsSmart ContractsWeb3

Properties

Name Type Description
_embedded object
View JSON Schema on GitHub

JSON Schema

stellar-horizon-account.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://developers.stellar.org/schemas/horizon/Account.json",
  "title": "Account",
  "type": "object",
  "properties": {
    "_embedded": {
      "type": "object",
      "properties": {
        "records": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "_links": {
                "type": "object",
                "properties": {
                  "self": {
                    "$ref": "#/components/schemas/link"
                  },
                  "transactions": {
                    "$ref": "#/components/schemas/link"
                  },
                  "operations": {
                    "$ref": "#/components/schemas/link"
                  },
                  "payments": {
                    "$ref": "#/components/schemas/link"
                  },
                  "effects": {
                    "$ref": "#/components/schemas/link"
                  },
                  "offers": {
                    "$ref": "#/components/schemas/link"
                  },
                  "trades": {
                    "$ref": "#/components/schemas/link"
                  },
                  "data": {
                    "$ref": "#/components/schemas/link"
                  }
                },
                "required": [
                  "self",
                  "transactions",
                  "operations",
                  "payments",
                  "effects",
                  "offers",
                  "trades",
                  "data"
                ]
              },
              "id": {
                "$ref": "#/components/schemas/id"
              },
              "account_id": {
                "$ref": "#/components/schemas/address"
              },
              "sequence": {
                "$ref": "#/components/schemas/sequence"
              },
              "sequence_ledger": {
                "$ref": "#/components/schemas/sequence_ledger"
              },
              "sequence_time": {
                "type": "string"
              },
              "subentry_count": {
                "$ref": "#/components/schemas/subentry_count"
              },
              "inflation_destination": {
                "$ref": "#/components/schemas/address"
              },
              "home_domain": {
                "type": "string"
              },
              "last_modified_ledger": {
                "$ref": "#/components/schemas/last_modified_ledger"
              },
              "last_modified_time": {
                "type": "string"
              },
              "thresholds": {
                "$ref": "#/components/schemas/thresholds"
              },
              "flags": {
                "$ref": "#/components/schemas/flags"
              },
              "balances": {
                "type": "array",
                "items": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/BalanceLineNative"
                    },
                    {
                      "$ref": "#/components/schemas/BalanceLineAsset"
                    },
                    {
                      "$ref": "#/components/schemas/BalanceLineLiquidityPool"
                    }
                  ]
                }
              },
              "signers": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/signers"
                }
              },
              "data": {
                "type": "object"
              },
              "num_sponsoring": {
                "type": "integer"
              },
              "num_sponsered": {
                "type": "integer"
              },
              "sponser": {
                "$ref": "#/components/schemas/address"
              },
              "paging_token": {
                "type": "string"
              }
            },
            "required": [
              "id",
              "account_id",
              "sequence",
              "subentry_count",
              "last_modified_ledger",
              "last_modified_time",
              "thresholds",
              "flags",
              "balances",
              "signers",
              "data",
              "num_sponsoring",
              "num_sponsered",
              "paging_token"
            ]
          }
        }
      }
    }
  }
}